Skip to content

Commit b9df4cc

Browse files
committed
refactor code
1 parent 7af0395 commit b9df4cc

File tree

76 files changed

+177
-177
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

76 files changed

+177
-177
lines changed

app/src/main/java/com/duy/editor/theme/EditorThemeFragment.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
package com.duy.editor.theme;
22

33
import android.content.Context;
4-
import android.core.text.SpannableStringBuilder;
4+
import com.duy.ide.editor.core.text.SpannableStringBuilder;
55
import android.os.Bundle;
66
import android.support.annotation.NonNull;
77
import android.support.annotation.Nullable;

app/src/main/res/layout/list_item_theme.xml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -29,11 +29,11 @@
2929

3030
</LinearLayout>
3131

32-
<android.core.widget.EditAreaView
32+
<com.duy.ide.editor.core.widget.EditAreaView
3333
android:id="@+id/editor_view"
3434
android:layout_width="match_parent"
3535
android:layout_height="wrap_content">
3636

37-
</android.core.widget.EditAreaView>
37+
</com.duy.ide.editor.core.widget.EditAreaView>
3838
</LinearLayout>
3939

libeditor/src/main/java/com/duy/ide/editor/content/UndoRedoHelper.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,8 +5,8 @@
55

66
import android.content.SharedPreferences;
77
import android.content.SharedPreferences.Editor;
8-
import android.core.content.IUndoManager;
9-
import android.core.widget.BaseEditorView;
8+
import com.duy.ide.editor.core.content.IUndoManager;
9+
import com.duy.ide.editor.core.widget.BaseEditorView;
1010
import android.text.Editable;
1111
import android.text.Selection;
1212
import android.text.TextUtils;

libeditor/src/main/java/com/duy/ide/editor/content/UndoRedoManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818

1919
import android.content.Context;
2020
import android.content.SharedPreferences;
21-
import android.core.widget.BaseEditorView;
21+
import com.duy.ide.editor.core.widget.BaseEditorView;
2222
import android.support.annotation.Nullable;
2323

2424
import java.io.File;

libeditor/src/main/java/android/core/content/IUndoManager.java renamed to libeditor/src/main/java/com/duy/ide/editor/core/content/IUndoManager.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package android.core.content;
17+
package com.duy.ide.editor.core.content;
1818

1919
/**
2020
* Created by Duy on 26-Apr-18.

libeditor/src/main/java/android/core/content/ParcelableParcel.java renamed to libeditor/src/main/java/com/duy/ide/editor/core/content/ParcelableParcel.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
*/
1818

19-
package android.core.content;
19+
package com.duy.ide.editor.core.content;
2020

2121
import android.os.Parcel;
2222
import android.os.Parcelable;

libeditor/src/main/java/android/core/content/UndoManager.java renamed to libeditor/src/main/java/com/duy/ide/editor/core/content/UndoManager.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,9 +14,9 @@
1414
* limitations under the License.
1515
*/
1616

17-
package android.core.content;
17+
package com.duy.ide.editor.core.content;
1818

19-
import android.core.text.TextUtils;
19+
import com.duy.ide.editor.core.text.TextUtils;
2020
import android.os.Parcel;
2121
import android.os.Parcelable;
2222
import android.support.v4.util.ArrayMap;

libeditor/src/main/java/android/core/content/UndoOperation.java renamed to libeditor/src/main/java/com/duy/ide/editor/core/content/UndoOperation.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package android.core.content;
17+
package com.duy.ide.editor.core.content;
1818

1919
import android.os.Parcel;
2020
import android.os.Parcelable;

libeditor/src/main/java/android/core/content/UndoOwner.java renamed to libeditor/src/main/java/com/duy/ide/editor/core/content/UndoOwner.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
package android.core.content;
17+
package com.duy.ide.editor.core.content;
1818

1919
/**
2020
* Representation of an owner of {@link UndoOperation} objects in an {@link UndoManager}.

libeditor/src/main/java/android/core/detector/CharsetDetector.java renamed to libeditor/src/main/java/com/duy/ide/editor/core/detector/CharsetDetector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
*
1717
*/
1818

19-
package android.core.detector;
19+
package com.duy.ide.editor.core.detector;
2020

2121
import org.mozilla.intl.chardet.nsDetector;
2222
import org.mozilla.intl.chardet.nsICharsetDetectionObserver;

0 commit comments

Comments
 (0)