Reorganize project structure by pulling all of the app code and assets into app project.

This commit is contained in:
Adrian Malacoda 2016-09-25 04:54:22 -05:00
parent a3624e6b2e
commit c1d658ffb1
262 changed files with 183 additions and 185 deletions

View File

@ -23,6 +23,10 @@ import java.util.regex.Pattern
apply plugin: 'com.android.application'
android {
lintOptions {
disable 'MissingTranslation', 'ExtraTranslation'
}
compileSdkVersion 22
buildToolsVersion '22.0.1'
@ -54,8 +58,19 @@ android {
}
dependencies {
compile fileTree(dir: 'libs', include: ['*.jar'])
compile project(':libraries:sharedCode')
//compile 'com.spazedog.lib:rootfw_gen4:+@aar'
compile project(':libraries:FloatingActionButton')
compile 'org.apache.commons:commons-lang3:+'
compile 'com.googlecode.juniversalchardet:juniversalchardet:1.0.3'
compile('com.android.support:appcompat-v7:22.+') {
exclude group: 'com.android.support', module: 'support-v4'
}
compile 'com.android.support:support-v4:22.+'
compile 'com.github.gabrielemariotti.changeloglib:library:+'
compile 'commons-io:commons-io:2.4'
compile 'com.android.support:support-annotations:+'
compile files('../libs/markdownview-1.2.jar')
}
task incrementVersionCode << {

View File

View File

@ -19,6 +19,7 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.maskyn.fileeditorpro"
xmlns:tools="http://schemas.android.com/tools"
android:installLocation="auto">
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />
@ -38,7 +39,8 @@
android:hardwareAccelerated="true"
android:largeHeap="true"
android:supportsRtl="true"
android:name="sharedcode.turboeditor.application.MyApp"
android:name="com.maskyn.fileeditorpro.application.MyApp"
tools:replace="android:label"
>
<!-- android:alwaysRetainTaskState="true" -->
@ -117,7 +119,7 @@
</intent-filter>
</activity>
<activity
android:name="sharedcode.turboeditor.activity.SelectFileActivity"
android:name="com.maskyn.fileeditorpro.activity.SelectFileActivity"
android:configChanges="keyboardHidden|orientation|screenSize"
android:label="@string/open_a_file"
android:exported="true"
@ -153,7 +155,7 @@
android:name="com.sec.android.multiwindow.MINIMUM_SIZE_H"
android:value="598.0dip" />
<activity android:name="sharedcode.turboeditor.activity.MarkdownActivity" />
<activity android:name="com.maskyn.fileeditorpro.activity.MarkdownActivity" />
</application>

View File

@ -19,7 +19,7 @@
package com.maskyn.fileeditorpro;
import sharedcode.turboeditor.activity.MainActivity;
import com.maskyn.fileeditorpro.activity.MainActivity;
public class HomeActivity extends MainActivity {

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.activity;
package com.maskyn.fileeditorpro.activity;
import android.app.ProgressDialog;
import android.content.ActivityNotFoundException;
@ -88,39 +88,39 @@ import java.util.List;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import sharedcode.turboeditor.R;
import sharedcode.turboeditor.adapter.AdapterDrawer;
import sharedcode.turboeditor.dialogfragment.ChangelogDialog;
import sharedcode.turboeditor.dialogfragment.EditTextDialog;
import sharedcode.turboeditor.dialogfragment.FileInfoDialog;
import sharedcode.turboeditor.dialogfragment.FindTextDialog;
import sharedcode.turboeditor.dialogfragment.NewFileDetailsDialog;
import sharedcode.turboeditor.dialogfragment.NumberPickerDialog;
import sharedcode.turboeditor.dialogfragment.SaveFileDialog;
import sharedcode.turboeditor.preferences.PreferenceChangeType;
import sharedcode.turboeditor.preferences.PreferenceHelper;
import sharedcode.turboeditor.task.SaveFileTask;
import sharedcode.turboeditor.texteditor.EditTextPadding;
import sharedcode.turboeditor.texteditor.FileUtils;
import sharedcode.turboeditor.texteditor.LineUtils;
import sharedcode.turboeditor.texteditor.PageSystem;
import sharedcode.turboeditor.texteditor.PageSystemButtons;
import sharedcode.turboeditor.texteditor.Patterns;
import sharedcode.turboeditor.texteditor.SearchResult;
import sharedcode.turboeditor.util.AccessStorageApi;
import sharedcode.turboeditor.util.AccessoryView;
import sharedcode.turboeditor.util.AnimationUtils;
import sharedcode.turboeditor.util.AppInfoHelper;
import sharedcode.turboeditor.util.Device;
import sharedcode.turboeditor.util.GreatUri;
import sharedcode.turboeditor.util.IHomeActivity;
import sharedcode.turboeditor.util.MimeTypes;
import sharedcode.turboeditor.util.ProCheckUtils;
import sharedcode.turboeditor.util.ThemeUtils;
import sharedcode.turboeditor.util.ViewUtils;
import sharedcode.turboeditor.views.CustomDrawerLayout;
import sharedcode.turboeditor.views.DialogHelper;
import sharedcode.turboeditor.views.GoodScrollView;
import com.maskyn.fileeditorpro.R;
import com.maskyn.fileeditorpro.adapter.AdapterDrawer;
import com.maskyn.fileeditorpro.dialogfragment.ChangelogDialog;
import com.maskyn.fileeditorpro.dialogfragment.EditTextDialog;
import com.maskyn.fileeditorpro.dialogfragment.FileInfoDialog;
import com.maskyn.fileeditorpro.dialogfragment.FindTextDialog;
import com.maskyn.fileeditorpro.dialogfragment.NewFileDetailsDialog;
import com.maskyn.fileeditorpro.dialogfragment.NumberPickerDialog;
import com.maskyn.fileeditorpro.dialogfragment.SaveFileDialog;
import com.maskyn.fileeditorpro.preferences.PreferenceChangeType;
import com.maskyn.fileeditorpro.preferences.PreferenceHelper;
import com.maskyn.fileeditorpro.task.SaveFileTask;
import com.maskyn.fileeditorpro.texteditor.EditTextPadding;
import com.maskyn.fileeditorpro.texteditor.FileUtils;
import com.maskyn.fileeditorpro.texteditor.LineUtils;
import com.maskyn.fileeditorpro.texteditor.PageSystem;
import com.maskyn.fileeditorpro.texteditor.PageSystemButtons;
import com.maskyn.fileeditorpro.texteditor.Patterns;
import com.maskyn.fileeditorpro.texteditor.SearchResult;
import com.maskyn.fileeditorpro.util.AccessStorageApi;
import com.maskyn.fileeditorpro.util.AccessoryView;
import com.maskyn.fileeditorpro.util.AnimationUtils;
import com.maskyn.fileeditorpro.util.AppInfoHelper;
import com.maskyn.fileeditorpro.util.Device;
import com.maskyn.fileeditorpro.util.GreatUri;
import com.maskyn.fileeditorpro.util.IHomeActivity;
import com.maskyn.fileeditorpro.util.MimeTypes;
import com.maskyn.fileeditorpro.util.ProCheckUtils;
import com.maskyn.fileeditorpro.util.ThemeUtils;
import com.maskyn.fileeditorpro.util.ViewUtils;
import com.maskyn.fileeditorpro.views.CustomDrawerLayout;
import com.maskyn.fileeditorpro.views.DialogHelper;
import com.maskyn.fileeditorpro.views.GoodScrollView;
public abstract class MainActivity extends ActionBarActivity implements IHomeActivity, FindTextDialog
.SearchDialogInterface, GoodScrollView.ScrollInterface, PageSystem.PageSystemInterface,

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.activity;
package com.maskyn.fileeditorpro.activity;
import android.app.Activity;
import android.os.Bundle;

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.activity;
package com.maskyn.fileeditorpro.activity;
import android.content.Intent;
import android.net.Uri;
@ -51,13 +51,13 @@ import java.util.Arrays;
import java.util.Comparator;
import java.util.LinkedList;
import sharedcode.turboeditor.R;
import sharedcode.turboeditor.adapter.AdapterDetailedList;
import sharedcode.turboeditor.dialogfragment.EditTextDialog;
import sharedcode.turboeditor.preferences.PreferenceHelper;
import sharedcode.turboeditor.util.AlphanumComparator;
import sharedcode.turboeditor.util.Build;
import sharedcode.turboeditor.util.ThemeUtils;
import com.maskyn.fileeditorpro.R;
import com.maskyn.fileeditorpro.adapter.AdapterDetailedList;
import com.maskyn.fileeditorpro.dialogfragment.EditTextDialog;
import com.maskyn.fileeditorpro.preferences.PreferenceHelper;
import com.maskyn.fileeditorpro.util.AlphanumComparator;
import com.maskyn.fileeditorpro.util.Build;
import com.maskyn.fileeditorpro.util.ThemeUtils;
public class SelectFileActivity extends ActionBarActivity implements SearchView.OnQueryTextListener, AdapterView.OnItemClickListener, EditTextDialog.EditDialogListener {
private String currentFolder;

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.adapter;
package com.maskyn.fileeditorpro.adapter;
import android.content.Context;
import android.text.TextUtils;
@ -34,8 +34,8 @@ import org.apache.commons.io.FilenameUtils;
import java.util.Arrays;
import java.util.LinkedList;
import sharedcode.turboeditor.R;
import sharedcode.turboeditor.util.MimeTypes;
import com.maskyn.fileeditorpro.R;
import com.maskyn.fileeditorpro.util.MimeTypes;
public class AdapterDetailedList extends
ArrayAdapter<AdapterDetailedList.FileDetail> {

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.adapter;
package com.maskyn.fileeditorpro.adapter;
import android.content.Context;
import android.graphics.Typeface;
@ -31,8 +31,8 @@ import android.widget.TextView;
import java.util.LinkedList;
import sharedcode.turboeditor.R;
import sharedcode.turboeditor.util.GreatUri;
import com.maskyn.fileeditorpro.R;
import com.maskyn.fileeditorpro.util.GreatUri;
public class AdapterDrawer extends
ArrayAdapter<GreatUri> {

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.adapter;
package com.maskyn.fileeditorpro.adapter;
import android.content.Context;
import android.view.LayoutInflater;
@ -26,7 +26,7 @@ import android.view.ViewGroup;
import android.widget.ArrayAdapter;
import android.widget.TextView;
import sharedcode.turboeditor.R;
import com.maskyn.fileeditorpro.R;
public class AdapterTwoItem extends
ArrayAdapter<String> {

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.application;
package com.maskyn.fileeditorpro.application;
import android.app.Application;
import android.view.ViewConfiguration;

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.dialogfragment;
package com.maskyn.fileeditorpro.dialogfragment;
import android.app.AlertDialog;
import android.app.Dialog;
@ -30,8 +30,8 @@ import android.os.Bundle;
import android.text.Html;
import android.view.View;
import sharedcode.turboeditor.R;
import sharedcode.turboeditor.views.DialogHelper;
import com.maskyn.fileeditorpro.R;
import com.maskyn.fileeditorpro.views.DialogHelper;
/**
* Dialog fragment that shows some info about this application.

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.dialogfragment;
package com.maskyn.fileeditorpro.dialogfragment;
import android.app.AlertDialog;
import android.app.Dialog;
@ -33,8 +33,8 @@ import android.os.Bundle;
import android.view.LayoutInflater;
import it.gmariotti.changelibs.library.view.ChangeLogListView;
import sharedcode.turboeditor.R;
import sharedcode.turboeditor.util.Build;
import com.maskyn.fileeditorpro.R;
import com.maskyn.fileeditorpro.util.Build;
public class ChangelogDialog extends DialogFragment {

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.dialogfragment;
package com.maskyn.fileeditorpro.dialogfragment;
import android.app.AlertDialog;
import android.app.Dialog;
@ -31,8 +31,8 @@ import android.view.inputmethod.EditorInfo;
import android.widget.EditText;
import android.widget.TextView;
import sharedcode.turboeditor.R;
import sharedcode.turboeditor.views.DialogHelper;
import com.maskyn.fileeditorpro.R;
import com.maskyn.fileeditorpro.views.DialogHelper;
// ...
public class EditTextDialog extends DialogFragment implements TextView.OnEditorActionListener {

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.dialogfragment;
package com.maskyn.fileeditorpro.dialogfragment;
import android.app.AlertDialog;
import android.app.Dialog;
@ -32,8 +32,8 @@ import android.widget.ListView;
import org.mozilla.universalchardet.Constants;
import sharedcode.turboeditor.R;
import sharedcode.turboeditor.preferences.PreferenceHelper;
import com.maskyn.fileeditorpro.R;
import com.maskyn.fileeditorpro.preferences.PreferenceHelper;
public class EncodingDialog extends DialogFragment implements AdapterView.OnItemClickListener {

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.dialogfragment;
package com.maskyn.fileeditorpro.dialogfragment;
import android.app.AlertDialog;
import android.app.Dialog;
@ -34,11 +34,11 @@ import org.apache.commons.io.FileUtils;
import java.io.File;
import java.util.Date;
import sharedcode.turboeditor.R;
import sharedcode.turboeditor.adapter.AdapterTwoItem;
import sharedcode.turboeditor.util.AccessStorageApi;
import sharedcode.turboeditor.util.Device;
import sharedcode.turboeditor.views.DialogHelper;
import com.maskyn.fileeditorpro.R;
import com.maskyn.fileeditorpro.adapter.AdapterTwoItem;
import com.maskyn.fileeditorpro.util.AccessStorageApi;
import com.maskyn.fileeditorpro.util.Device;
import com.maskyn.fileeditorpro.views.DialogHelper;
// ...
public class FileInfoDialog extends DialogFragment {

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.dialogfragment;
package com.maskyn.fileeditorpro.dialogfragment;
import android.app.AlertDialog;
import android.app.Dialog;
@ -36,9 +36,9 @@ import java.util.LinkedList;
import java.util.regex.Matcher;
import java.util.regex.Pattern;
import sharedcode.turboeditor.R;
import sharedcode.turboeditor.texteditor.SearchResult;
import sharedcode.turboeditor.views.DialogHelper;
import com.maskyn.fileeditorpro.R;
import com.maskyn.fileeditorpro.texteditor.SearchResult;
import com.maskyn.fileeditorpro.views.DialogHelper;
// ...
public class FindTextDialog extends DialogFragment {

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.dialogfragment;
package com.maskyn.fileeditorpro.dialogfragment;
import android.annotation.SuppressLint;
import android.app.AlertDialog;
@ -34,12 +34,12 @@ import android.widget.EditText;
import java.io.File;
import java.io.IOException;
import sharedcode.turboeditor.R;
import sharedcode.turboeditor.activity.MainActivity;
import sharedcode.turboeditor.preferences.PreferenceHelper;
import sharedcode.turboeditor.task.SaveFileTask;
import sharedcode.turboeditor.util.GreatUri;
import sharedcode.turboeditor.views.DialogHelper;
import com.maskyn.fileeditorpro.R;
import com.maskyn.fileeditorpro.activity.MainActivity;
import com.maskyn.fileeditorpro.preferences.PreferenceHelper;
import com.maskyn.fileeditorpro.task.SaveFileTask;
import com.maskyn.fileeditorpro.util.GreatUri;
import com.maskyn.fileeditorpro.views.DialogHelper;
// ...
@SuppressLint("ValidFragment")

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.dialogfragment;
package com.maskyn.fileeditorpro.dialogfragment;
import android.app.AlertDialog;
import android.app.Dialog;
@ -27,8 +27,8 @@ import android.os.Bundle;
import android.view.View;
import android.widget.NumberPicker;
import sharedcode.turboeditor.R;
import sharedcode.turboeditor.views.DialogHelper;
import com.maskyn.fileeditorpro.R;
import com.maskyn.fileeditorpro.views.DialogHelper;
// ...
public class NumberPickerDialog extends DialogFragment {

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.dialogfragment;
package com.maskyn.fileeditorpro.dialogfragment;
import android.annotation.SuppressLint;
import android.app.AlertDialog;
@ -28,11 +28,11 @@ import android.net.Uri;
import android.os.Bundle;
import android.view.View;
import sharedcode.turboeditor.R;
import sharedcode.turboeditor.activity.MainActivity;
import sharedcode.turboeditor.task.SaveFileTask;
import sharedcode.turboeditor.util.GreatUri;
import sharedcode.turboeditor.views.DialogHelper;
import com.maskyn.fileeditorpro.R;
import com.maskyn.fileeditorpro.activity.MainActivity;
import com.maskyn.fileeditorpro.task.SaveFileTask;
import com.maskyn.fileeditorpro.util.GreatUri;
import com.maskyn.fileeditorpro.views.DialogHelper;
@SuppressLint("ValidFragment")
public class SaveFileDialog extends DialogFragment {

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.dialogfragment;
package com.maskyn.fileeditorpro.dialogfragment;
import android.app.AlertDialog;
import android.app.Dialog;
@ -28,8 +28,8 @@ import android.widget.AdapterView;
import android.widget.ArrayAdapter;
import android.widget.ListView;
import sharedcode.turboeditor.R;
import sharedcode.turboeditor.preferences.PreferenceHelper;
import com.maskyn.fileeditorpro.R;
import com.maskyn.fileeditorpro.preferences.PreferenceHelper;
public class ThemeDialog extends DialogFragment implements AdapterView.OnItemClickListener {

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.preferences;
package com.maskyn.fileeditorpro.preferences;
public enum PreferenceChangeType {
FONT_SIZE, ENCODING, SYNTAX, WRAP_CONTENT, MONOSPACE, LINE_NUMERS, THEME_CHANGE, TEXT_SUGGESTIONS, READ_ONLY, ACCESSORY_VIEW

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.preferences;
package com.maskyn.fileeditorpro.preferences;
import android.content.Context;
import android.content.SharedPreferences;
@ -26,7 +26,7 @@ import android.preference.PreferenceManager;
import java.io.File;
import sharedcode.turboeditor.util.Device;
import com.maskyn.fileeditorpro.util.Device;
public final class PreferenceHelper {

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.preferences;
package com.maskyn.fileeditorpro.preferences;
import android.app.Fragment;
import android.content.Context;
@ -31,14 +31,14 @@ import android.view.ViewGroup;
import android.widget.CompoundButton;
import android.widget.TextView;
import sharedcode.turboeditor.R;
import sharedcode.turboeditor.activity.MainActivity;
import sharedcode.turboeditor.dialogfragment.EncodingDialog;
import sharedcode.turboeditor.dialogfragment.NumberPickerDialog;
import sharedcode.turboeditor.dialogfragment.ThemeDialog;
import sharedcode.turboeditor.util.Device;
import sharedcode.turboeditor.util.ProCheckUtils;
import sharedcode.turboeditor.util.ViewUtils;
import com.maskyn.fileeditorpro.R;
import com.maskyn.fileeditorpro.activity.MainActivity;
import com.maskyn.fileeditorpro.dialogfragment.EncodingDialog;
import com.maskyn.fileeditorpro.dialogfragment.NumberPickerDialog;
import com.maskyn.fileeditorpro.dialogfragment.ThemeDialog;
import com.maskyn.fileeditorpro.util.Device;
import com.maskyn.fileeditorpro.util.ProCheckUtils;
import com.maskyn.fileeditorpro.util.ViewUtils;
public class SettingsFragment extends Fragment implements NumberPickerDialog.INumberPickerDialog, EncodingDialog.DialogListener, ThemeDialog.DialogListener {

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.task;
package com.maskyn.fileeditorpro.task;
import android.net.Uri;
import android.os.AsyncTask;
@ -36,10 +36,10 @@ import java.io.FileOutputStream;
import java.io.IOException;
import java.nio.charset.Charset;
import sharedcode.turboeditor.R;
import sharedcode.turboeditor.activity.MainActivity;
import sharedcode.turboeditor.util.Device;
import sharedcode.turboeditor.util.GreatUri;
import com.maskyn.fileeditorpro.R;
import com.maskyn.fileeditorpro.activity.MainActivity;
import com.maskyn.fileeditorpro.util.Device;
import com.maskyn.fileeditorpro.util.GreatUri;
public class SaveFileTask extends AsyncTask<Void, Void, Void> {

View File

@ -17,12 +17,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.texteditor;
package com.maskyn.fileeditorpro.texteditor;
import android.content.Context;
import sharedcode.turboeditor.preferences.PreferenceHelper;
import sharedcode.turboeditor.util.PixelDipConverter;
import com.maskyn.fileeditorpro.preferences.PreferenceHelper;
import com.maskyn.fileeditorpro.util.PixelDipConverter;
public class EditTextPadding {

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.texteditor;
package com.maskyn.fileeditorpro.texteditor;
import org.mozilla.universalchardet.UniversalDetector;

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.texteditor;
package com.maskyn.fileeditorpro.texteditor;
import android.text.Layout;
import android.text.TextUtils;

View File

@ -17,14 +17,14 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.texteditor;
package com.maskyn.fileeditorpro.texteditor;
import android.content.Context;
import java.util.LinkedList;
import java.util.List;
import sharedcode.turboeditor.preferences.PreferenceHelper;
import com.maskyn.fileeditorpro.preferences.PreferenceHelper;
public class PageSystem {

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.texteditor;
package com.maskyn.fileeditorpro.texteditor;
import android.content.Context;
import android.os.Handler;
@ -25,7 +25,7 @@ import android.view.View;
import com.faizmalkani.floatingactionbutton.FloatingActionButton;
import sharedcode.turboeditor.R;
import com.maskyn.fileeditorpro.R;
public class PageSystemButtons {

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.texteditor;
package com.maskyn.fileeditorpro.texteditor;
import java.util.regex.Pattern;

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.texteditor;
package com.maskyn.fileeditorpro.texteditor;
import java.util.LinkedList;

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.util;
package com.maskyn.fileeditorpro.util;
import android.annotation.SuppressLint;
import android.content.ContentUris;
@ -261,6 +261,6 @@ public class AccessStorageApi {
* @return Whether the Uri authority is Turbo Storage.
*/
public static boolean isTurboDocument(Uri uri) {
return "sharedcode.turboeditor.util.documents".equals(uri.getAuthority());
return "com.maskyn.fileeditorpro.util.documents".equals(uri.getAuthority());
}
}

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.util;
package com.maskyn.fileeditorpro.util;
import android.content.Context;
import android.util.AttributeSet;
@ -27,8 +27,8 @@ import android.view.View;
import android.widget.Button;
import android.widget.LinearLayout;
import sharedcode.turboeditor.R;
import sharedcode.turboeditor.preferences.PreferenceHelper;
import com.maskyn.fileeditorpro.R;
import com.maskyn.fileeditorpro.preferences.PreferenceHelper;
/**
* Created by mac on 15/02/15.

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.util;/*
package com.maskyn.fileeditorpro.util;/*
* The Alphanum Algorithm is an improved sorting algorithm for strings
* containing numbers. Instead of sorting numbers in ASCII order like
* a standard sort, this algorithm sorts numbers in numeric order.

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.util;
package com.maskyn.fileeditorpro.util;
import android.app.Activity;
import android.content.Intent;

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.util;
package com.maskyn.fileeditorpro.util;
import android.content.Context;
import android.content.pm.ApplicationInfo;

View File

@ -17,9 +17,9 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.util;
package com.maskyn.fileeditorpro.util;
import sharedcode.turboeditor.BuildConfig;
import com.maskyn.fileeditorpro.BuildConfig;
/**
* Created by Artem on 30.12.13.

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.util;
package com.maskyn.fileeditorpro.util;
import android.os.Build;

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.util;
package com.maskyn.fileeditorpro.util;
import android.net.Uri;

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.util;
package com.maskyn.fileeditorpro.util;
public interface IHomeActivity {
public abstract boolean showInterstitial();

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.util;
package com.maskyn.fileeditorpro.util;
public class MimeTypes {
public static final String[] MIME_TEXT = {

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.util;
package com.maskyn.fileeditorpro.util;
import android.content.Context;
import android.content.res.Resources;

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.util;
package com.maskyn.fileeditorpro.util;
import android.content.Context;

View File

@ -17,12 +17,12 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.util;
package com.maskyn.fileeditorpro.util;
import android.app.Activity;
import sharedcode.turboeditor.R;
import sharedcode.turboeditor.preferences.PreferenceHelper;
import com.maskyn.fileeditorpro.R;
import com.maskyn.fileeditorpro.preferences.PreferenceHelper;
public class ThemeUtils {

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.util;
package com.maskyn.fileeditorpro.util;
import android.content.Context;
import android.support.annotation.NonNull;

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.util;
package com.maskyn.fileeditorpro.util;
import android.graphics.Matrix;
import android.support.annotation.NonNull;

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.util.systemui;
package com.maskyn.fileeditorpro.util.systemui;
import android.app.Activity;
import android.os.Build;

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.util.systemui;
package com.maskyn.fileeditorpro.util.systemui;
import android.app.Activity;
import android.support.v7.app.ActionBar;

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.util.systemui;
package com.maskyn.fileeditorpro.util.systemui;
import android.annotation.TargetApi;
import android.app.Activity;

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.util.systemui;
package com.maskyn.fileeditorpro.util.systemui;
import android.annotation.TargetApi;
import android.app.ActionBar;

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.util.systemui;
package com.maskyn.fileeditorpro.util.systemui;
import android.annotation.TargetApi;
import android.app.Activity;

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.views;
package com.maskyn.fileeditorpro.views;
import android.content.Context;
import android.support.v4.widget.DrawerLayout;

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.views;
package com.maskyn.fileeditorpro.views;
import android.app.Activity;
import android.app.AlertDialog;
@ -37,8 +37,8 @@ import android.widget.TextView;
import org.apache.commons.lang3.builder.EqualsBuilder;
import org.apache.commons.lang3.builder.HashCodeBuilder;
import sharedcode.turboeditor.R;
import sharedcode.turboeditor.dialogfragment.AboutDialog;
import com.maskyn.fileeditorpro.R;
import com.maskyn.fileeditorpro.dialogfragment.AboutDialog;
/**
* Helper class for showing fragment dialogs.

View File

@ -17,7 +17,7 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
package sharedcode.turboeditor.views;
package com.maskyn.fileeditorpro.views;
import android.content.Context;
import android.os.Handler;

View File

Before

Width:  |  Height:  |  Size: 301 B

After

Width:  |  Height:  |  Size: 301 B

View File

Before

Width:  |  Height:  |  Size: 724 B

After

Width:  |  Height:  |  Size: 724 B

View File

Before

Width:  |  Height:  |  Size: 621 B

After

Width:  |  Height:  |  Size: 621 B

View File

Before

Width:  |  Height:  |  Size: 465 B

After

Width:  |  Height:  |  Size: 465 B

View File

Before

Width:  |  Height:  |  Size: 531 B

After

Width:  |  Height:  |  Size: 531 B

View File

Before

Width:  |  Height:  |  Size: 495 B

After

Width:  |  Height:  |  Size: 495 B

View File

Before

Width:  |  Height:  |  Size: 875 B

After

Width:  |  Height:  |  Size: 875 B

View File

Before

Width:  |  Height:  |  Size: 713 B

After

Width:  |  Height:  |  Size: 713 B

View File

Before

Width:  |  Height:  |  Size: 644 B

After

Width:  |  Height:  |  Size: 644 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 1.0 KiB

View File

Before

Width:  |  Height:  |  Size: 365 B

After

Width:  |  Height:  |  Size: 365 B

View File

Before

Width:  |  Height:  |  Size: 401 B

After

Width:  |  Height:  |  Size: 401 B

View File

Before

Width:  |  Height:  |  Size: 853 B

After

Width:  |  Height:  |  Size: 853 B

View File

Before

Width:  |  Height:  |  Size: 898 B

After

Width:  |  Height:  |  Size: 898 B

View File

Before

Width:  |  Height:  |  Size: 5.5 KiB

After

Width:  |  Height:  |  Size: 5.5 KiB

View File

Before

Width:  |  Height:  |  Size: 212 B

After

Width:  |  Height:  |  Size: 212 B

View File

Before

Width:  |  Height:  |  Size: 475 B

After

Width:  |  Height:  |  Size: 475 B

View File

Before

Width:  |  Height:  |  Size: 462 B

After

Width:  |  Height:  |  Size: 462 B

View File

Before

Width:  |  Height:  |  Size: 291 B

After

Width:  |  Height:  |  Size: 291 B

View File

Before

Width:  |  Height:  |  Size: 403 B

After

Width:  |  Height:  |  Size: 403 B

View File

Before

Width:  |  Height:  |  Size: 290 B

After

Width:  |  Height:  |  Size: 290 B

View File

Before

Width:  |  Height:  |  Size: 596 B

After

Width:  |  Height:  |  Size: 596 B

View File

Before

Width:  |  Height:  |  Size: 535 B

After

Width:  |  Height:  |  Size: 535 B

View File

Before

Width:  |  Height:  |  Size: 434 B

After

Width:  |  Height:  |  Size: 434 B

View File

Before

Width:  |  Height:  |  Size: 749 B

After

Width:  |  Height:  |  Size: 749 B

View File

Before

Width:  |  Height:  |  Size: 692 B

After

Width:  |  Height:  |  Size: 692 B

View File

Before

Width:  |  Height:  |  Size: 266 B

After

Width:  |  Height:  |  Size: 266 B

View File

Before

Width:  |  Height:  |  Size: 296 B

After

Width:  |  Height:  |  Size: 296 B

View File

Before

Width:  |  Height:  |  Size: 517 B

After

Width:  |  Height:  |  Size: 517 B

View File

Before

Width:  |  Height:  |  Size: 546 B

After

Width:  |  Height:  |  Size: 546 B

View File

Before

Width:  |  Height:  |  Size: 3.1 KiB

After

Width:  |  Height:  |  Size: 3.1 KiB

View File

Before

Width:  |  Height:  |  Size: 353 B

After

Width:  |  Height:  |  Size: 353 B

View File

Before

Width:  |  Height:  |  Size: 848 B

After

Width:  |  Height:  |  Size: 848 B

View File

Before

Width:  |  Height:  |  Size: 776 B

After

Width:  |  Height:  |  Size: 776 B

View File

Before

Width:  |  Height:  |  Size: 597 B

After

Width:  |  Height:  |  Size: 597 B

View File

Before

Width:  |  Height:  |  Size: 835 B

After

Width:  |  Height:  |  Size: 835 B

View File

Before

Width:  |  Height:  |  Size: 677 B

After

Width:  |  Height:  |  Size: 677 B

View File

Before

Width:  |  Height:  |  Size: 1.1 KiB

After

Width:  |  Height:  |  Size: 1.1 KiB

View File

Before

Width:  |  Height:  |  Size: 968 B

After

Width:  |  Height:  |  Size: 968 B

Some files were not shown because too many files have changed in this diff Show More