Reorganize project structure by pulling all of the app code and assets into app project.
@ -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 << {
|
||||
|
0
app/private/cache/retriever/catalog.xml
vendored
Normal 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>
|
||||
|
||||
|
@ -19,7 +19,7 @@
|
||||
|
||||
package com.maskyn.fileeditorpro;
|
||||
|
||||
import sharedcode.turboeditor.activity.MainActivity;
|
||||
import com.maskyn.fileeditorpro.activity.MainActivity;
|
||||
|
||||
public class HomeActivity extends MainActivity {
|
||||
|
||||
|
@ -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,
|
@ -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;
|
@ -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;
|
@ -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> {
|
@ -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> {
|
@ -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> {
|
@ -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;
|
@ -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.
|
@ -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 {
|
||||
|
@ -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 {
|
@ -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 {
|
||||
|
@ -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 {
|
@ -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 {
|
@ -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")
|
@ -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 {
|
@ -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 {
|
@ -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 {
|
||||
|
@ -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
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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> {
|
||||
|
@ -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 {
|
||||
|
@ -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;
|
||||
|
@ -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;
|
@ -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 {
|
||||
|
@ -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 {
|
||||
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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());
|
||||
}
|
||||
}
|
@ -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.
|
@ -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.
|
@ -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;
|
@ -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;
|
@ -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.
|
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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();
|
@ -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 = {
|
@ -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;
|
@ -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;
|
||||
|
@ -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 {
|
||||
|
@ -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;
|
@ -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;
|
@ -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;
|
@ -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;
|
@ -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;
|
@ -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;
|
@ -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;
|
@ -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;
|
@ -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.
|
@ -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;
|
Before Width: | Height: | Size: 301 B After Width: | Height: | Size: 301 B |
Before Width: | Height: | Size: 724 B After Width: | Height: | Size: 724 B |
Before Width: | Height: | Size: 621 B After Width: | Height: | Size: 621 B |
Before Width: | Height: | Size: 465 B After Width: | Height: | Size: 465 B |
Before Width: | Height: | Size: 615 B After Width: | Height: | Size: 615 B |
Before Width: | Height: | Size: 531 B After Width: | Height: | Size: 531 B |
Before Width: | Height: | Size: 495 B After Width: | Height: | Size: 495 B |
Before Width: | Height: | Size: 875 B After Width: | Height: | Size: 875 B |
Before Width: | Height: | Size: 713 B After Width: | Height: | Size: 713 B |
Before Width: | Height: | Size: 644 B After Width: | Height: | Size: 644 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 1.0 KiB After Width: | Height: | Size: 1.0 KiB |
Before Width: | Height: | Size: 365 B After Width: | Height: | Size: 365 B |
Before Width: | Height: | Size: 401 B After Width: | Height: | Size: 401 B |
Before Width: | Height: | Size: 853 B After Width: | Height: | Size: 853 B |
Before Width: | Height: | Size: 898 B After Width: | Height: | Size: 898 B |
Before Width: | Height: | Size: 5.5 KiB After Width: | Height: | Size: 5.5 KiB |
Before Width: | Height: | Size: 212 B After Width: | Height: | Size: 212 B |
Before Width: | Height: | Size: 475 B After Width: | Height: | Size: 475 B |
Before Width: | Height: | Size: 462 B After Width: | Height: | Size: 462 B |
Before Width: | Height: | Size: 291 B After Width: | Height: | Size: 291 B |
Before Width: | Height: | Size: 377 B After Width: | Height: | Size: 377 B |
Before Width: | Height: | Size: 403 B After Width: | Height: | Size: 403 B |
Before Width: | Height: | Size: 290 B After Width: | Height: | Size: 290 B |
Before Width: | Height: | Size: 596 B After Width: | Height: | Size: 596 B |
Before Width: | Height: | Size: 535 B After Width: | Height: | Size: 535 B |
Before Width: | Height: | Size: 434 B After Width: | Height: | Size: 434 B |
Before Width: | Height: | Size: 749 B After Width: | Height: | Size: 749 B |
Before Width: | Height: | Size: 692 B After Width: | Height: | Size: 692 B |
Before Width: | Height: | Size: 266 B After Width: | Height: | Size: 266 B |
Before Width: | Height: | Size: 296 B After Width: | Height: | Size: 296 B |
Before Width: | Height: | Size: 517 B After Width: | Height: | Size: 517 B |
Before Width: | Height: | Size: 546 B After Width: | Height: | Size: 546 B |
Before Width: | Height: | Size: 3.1 KiB After Width: | Height: | Size: 3.1 KiB |
Before Width: | Height: | Size: 353 B After Width: | Height: | Size: 353 B |
Before Width: | Height: | Size: 848 B After Width: | Height: | Size: 848 B |
Before Width: | Height: | Size: 776 B After Width: | Height: | Size: 776 B |
Before Width: | Height: | Size: 597 B After Width: | Height: | Size: 597 B |
Before Width: | Height: | Size: 775 B After Width: | Height: | Size: 775 B |
Before Width: | Height: | Size: 835 B After Width: | Height: | Size: 835 B |
Before Width: | Height: | Size: 677 B After Width: | Height: | Size: 677 B |
Before Width: | Height: | Size: 1.1 KiB After Width: | Height: | Size: 1.1 KiB |
Before Width: | Height: | Size: 968 B After Width: | Height: | Size: 968 B |