rename package

This commit is contained in:
pengfei.zhou 2019-07-20 10:04:52 +08:00
parent 90cd14f105
commit 65fcd5c1fc
30 changed files with 69 additions and 78 deletions

View File

@ -1,16 +1,16 @@
<?xml version="1.0" encoding="utf-8"?> <?xml version="1.0" encoding="utf-8"?>
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.github.pengfeizhou.doricdemo"> package="com.github.penfeizhou.doricdemo">
<application <application
android:name=".MyApplication" android:name="com.github.penfeizhou.doricdemo.MyApplication"
android:allowBackup="true" android:allowBackup="true"
android:icon="@mipmap/ic_launcher" android:icon="@mipmap/ic_launcher"
android:label="@string/app_name" android:label="@string/app_name"
android:roundIcon="@mipmap/ic_launcher_round" android:roundIcon="@mipmap/ic_launcher_round"
android:supportsRtl="true" android:supportsRtl="true"
android:theme="@style/AppTheme"> android:theme="@style/AppTheme">
<activity android:name=".MainActivity"> <activity android:name="com.github.penfeizhou.doricdemo.MainActivity">
<intent-filter> <intent-filter>
<action android:name="android.intent.action.MAIN" /> <action android:name="android.intent.action.MAIN" />

View File

@ -1,10 +1,10 @@
package com.github.pengfeizhou.doricdemo; package com.github.penfeizhou.doricdemo;
import android.support.v7.app.AppCompatActivity; import android.support.v7.app.AppCompatActivity;
import android.os.Bundle; import android.os.Bundle;
import com.github.pengfeizhou.doric.DoricContext; import com.github.penfeizhou.doric.DoricContext;
import com.github.pengfeizhou.doric.utils.DoricUtils; import com.github.penfeizhou.doric.utils.DoricUtils;
public class MainActivity extends AppCompatActivity { public class MainActivity extends AppCompatActivity {

View File

@ -1,8 +1,8 @@
package com.github.pengfeizhou.doricdemo; package com.github.penfeizhou.doricdemo;
import android.app.Application; import android.app.Application;
import com.github.pengfeizhou.doric.Doric; import com.github.penfeizhou.doric.Doric;
/** /**
* @Description: Doric * @Description: Doric

View File

@ -4,7 +4,7 @@
xmlns:tools="http://schemas.android.com/tools" xmlns:tools="http://schemas.android.com/tools"
android:layout_width="match_parent" android:layout_width="match_parent"
android:layout_height="match_parent" android:layout_height="match_parent"
tools:context=".MainActivity"> tools:context="com.github.penfeizhou.doricdemo.MainActivity">
<TextView <TextView
android:layout_width="wrap_content" android:layout_width="wrap_content"

View File

@ -1,4 +1,4 @@
package com.github.pengfeizhou.doric.test; package com.github.penfeizhou.doric.test;
import android.content.Context; import android.content.Context;
import android.support.test.InstrumentationRegistry; import android.support.test.InstrumentationRegistry;

View File

@ -1,2 +1,2 @@
<manifest xmlns:android="http://schemas.android.com/apk/res/android" <manifest xmlns:android="http://schemas.android.com/apk/res/android"
package="com.github.pengfeizhou.doric" /> package="com.github.penfeizhou.doric" />

View File

@ -1,4 +1,4 @@
package com.github.pengfeizhou.doric; package com.github.penfeizhou.doric;
import android.app.Application; import android.app.Application;

View File

@ -1,10 +1,10 @@
package com.github.pengfeizhou.doric; package com.github.penfeizhou.doric;
import android.content.Context; import android.content.Context;
import com.github.pengfeizhou.doric.async.AsyncResult; import com.github.penfeizhou.doric.async.AsyncResult;
import com.github.pengfeizhou.doric.plugin.DoricNativePlugin; import com.github.penfeizhou.doric.plugin.DoricNativePlugin;
import com.github.pengfeizhou.doric.extension.bridge.DoricPluginInfo; import com.github.penfeizhou.doric.extension.bridge.DoricPluginInfo;
import com.github.pengfeizhou.jscore.JSDecoder; import com.github.pengfeizhou.jscore.JSDecoder;
import java.util.HashMap; import java.util.HashMap;

View File

@ -1,10 +1,8 @@
package com.github.pengfeizhou.doric; package com.github.penfeizhou.doric;
import android.content.Context; import android.content.Context;
import com.github.pengfeizhou.doric.async.AsyncCall; import com.github.penfeizhou.doric.async.AsyncResult;
import com.github.pengfeizhou.doric.async.AsyncResult;
import com.github.pengfeizhou.doric.utils.DoricLog;
import java.util.Map; import java.util.Map;
import java.util.concurrent.ConcurrentHashMap; import java.util.concurrent.ConcurrentHashMap;

View File

@ -1,13 +1,13 @@
package com.github.pengfeizhou.doric; package com.github.penfeizhou.doric;
import android.os.Handler; import android.os.Handler;
import android.os.Looper; import android.os.Looper;
import com.github.pengfeizhou.doric.async.AsyncCall; import com.github.penfeizhou.doric.async.AsyncCall;
import com.github.pengfeizhou.doric.async.AsyncResult; import com.github.penfeizhou.doric.async.AsyncResult;
import com.github.pengfeizhou.doric.engine.DoricJSEngine; import com.github.penfeizhou.doric.engine.DoricJSEngine;
import com.github.pengfeizhou.doric.utils.DoricConstant; import com.github.penfeizhou.doric.utils.DoricConstant;
import com.github.pengfeizhou.doric.utils.DoricLog; import com.github.penfeizhou.doric.utils.DoricLog;
import com.github.pengfeizhou.jscore.JSDecoder; import com.github.pengfeizhou.jscore.JSDecoder;
import java.util.concurrent.Callable; import java.util.concurrent.Callable;

View File

@ -1,4 +1,4 @@
package com.github.pengfeizhou.doric; package com.github.penfeizhou.doric;
import android.content.Context; import android.content.Context;
import android.os.Build; import android.os.Build;

View File

@ -1,7 +1,7 @@
package com.github.pengfeizhou.doric; package com.github.penfeizhou.doric;
import com.github.pengfeizhou.doric.async.AsyncResult; import com.github.penfeizhou.doric.async.AsyncResult;
import com.github.pengfeizhou.jscore.JSDecoder; import com.github.pengfeizhou.jscore.JSDecoder;
/** /**

View File

@ -1,4 +1,4 @@
package com.github.pengfeizhou.doric.async; package com.github.penfeizhou.doric.async;
import android.os.Handler; import android.os.Handler;
import android.os.Looper; import android.os.Looper;

View File

@ -1,4 +1,4 @@
package com.github.pengfeizhou.doric.async; package com.github.penfeizhou.doric.async;
/** /**
* @Description: com.github.pengfeizhou.doric.async * @Description: com.github.pengfeizhou.doric.async

View File

@ -1,4 +1,4 @@
package com.github.pengfeizhou.doric.async; package com.github.penfeizhou.doric.async;
/** /**
* @Description: com.github.pengfeizhou.doric.async * @Description: com.github.pengfeizhou.doric.async

View File

@ -1,4 +1,4 @@
package com.github.pengfeizhou.doric.engine; package com.github.penfeizhou.doric.engine;
import android.os.Handler; import android.os.Handler;
import android.os.HandlerThread; import android.os.HandlerThread;
@ -6,12 +6,12 @@ import android.os.Looper;
import android.os.Message; import android.os.Message;
import android.text.TextUtils; import android.text.TextUtils;
import com.github.pengfeizhou.doric.Doric; import com.github.penfeizhou.doric.Doric;
import com.github.pengfeizhou.doric.extension.bridge.DoricBridgeExtension; import com.github.penfeizhou.doric.extension.bridge.DoricBridgeExtension;
import com.github.pengfeizhou.doric.utils.DoricConstant; import com.github.penfeizhou.doric.extension.timer.DoricTimerExtension;
import com.github.pengfeizhou.doric.utils.DoricLog; import com.github.penfeizhou.doric.utils.DoricConstant;
import com.github.pengfeizhou.doric.extension.timer.DoricTimerExtension; import com.github.penfeizhou.doric.utils.DoricLog;
import com.github.pengfeizhou.doric.utils.DoricUtils; import com.github.penfeizhou.doric.utils.DoricUtils;
import com.github.pengfeizhou.jscore.JSDecoder; import com.github.pengfeizhou.jscore.JSDecoder;
import com.github.pengfeizhou.jscore.JavaFunction; import com.github.pengfeizhou.jscore.JavaFunction;
import com.github.pengfeizhou.jscore.JavaValue; import com.github.pengfeizhou.jscore.JavaValue;

View File

@ -1,4 +1,4 @@
package com.github.pengfeizhou.doric.engine; package com.github.penfeizhou.doric.engine;
import com.github.pengfeizhou.jscore.JSDecoder; import com.github.pengfeizhou.jscore.JSDecoder;
import com.github.pengfeizhou.jscore.JSExecutor; import com.github.pengfeizhou.jscore.JSExecutor;

View File

@ -1,4 +1,4 @@
package com.github.pengfeizhou.doric.engine; package com.github.penfeizhou.doric.engine;
import com.github.pengfeizhou.jscore.JSDecoder; import com.github.pengfeizhou.jscore.JSDecoder;
import com.github.pengfeizhou.jscore.JSRuntimeException; import com.github.pengfeizhou.jscore.JSRuntimeException;

View File

@ -1,19 +1,16 @@
package com.github.pengfeizhou.doric.extension.bridge; package com.github.penfeizhou.doric.extension.bridge;
import android.text.TextUtils; import android.text.TextUtils;
import com.github.pengfeizhou.doric.Doric; import com.github.penfeizhou.doric.DoricContext;
import com.github.pengfeizhou.doric.DoricContext; import com.github.penfeizhou.doric.plugin.DoricNativePlugin;
import com.github.pengfeizhou.doric.DoricContextManager; import com.github.penfeizhou.doric.plugin.ModalPlugin;
import com.github.pengfeizhou.doric.DoricDriver; import com.github.penfeizhou.doric.DoricContextManager;
import com.github.pengfeizhou.doric.plugin.DoricNativePlugin; import com.github.penfeizhou.doric.utils.DoricLog;
import com.github.pengfeizhou.doric.plugin.ModalPlugin; import com.github.penfeizhou.doric.utils.DoricUtils;
import com.github.pengfeizhou.doric.utils.DoricLog;
import com.github.pengfeizhou.doric.utils.DoricUtils;
import com.github.pengfeizhou.jscore.JSDecoder; import com.github.pengfeizhou.jscore.JSDecoder;
import com.github.pengfeizhou.jscore.JavaValue; import com.github.pengfeizhou.jscore.JavaValue;
import java.lang.reflect.InvocationTargetException;
import java.lang.reflect.Method; import java.lang.reflect.Method;
import java.util.HashMap; import java.util.HashMap;
import java.util.Map; import java.util.Map;

View File

@ -1,4 +1,4 @@
package com.github.pengfeizhou.doric.extension.bridge; package com.github.penfeizhou.doric.extension.bridge;
import java.lang.annotation.Documented; import java.lang.annotation.Documented;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;

View File

@ -1,4 +1,4 @@
package com.github.pengfeizhou.doric.extension.bridge; package com.github.penfeizhou.doric.extension.bridge;
import java.lang.annotation.Documented; import java.lang.annotation.Documented;
import java.lang.annotation.ElementType; import java.lang.annotation.ElementType;

View File

@ -1,10 +1,10 @@
package com.github.pengfeizhou.doric.extension.bridge; package com.github.penfeizhou.doric.extension.bridge;
import android.text.TextUtils; import android.text.TextUtils;
import com.github.pengfeizhou.doric.DoricContext; import com.github.penfeizhou.doric.DoricContext;
import com.github.pengfeizhou.doric.plugin.DoricNativePlugin; import com.github.penfeizhou.doric.plugin.DoricNativePlugin;
import com.github.pengfeizhou.doric.utils.DoricLog; import com.github.penfeizhou.doric.utils.DoricLog;
import java.lang.reflect.Constructor; import java.lang.reflect.Constructor;
import java.lang.reflect.Method; import java.lang.reflect.Method;

View File

@ -1,7 +1,7 @@
package com.github.pengfeizhou.doric.extension.bridge; package com.github.penfeizhou.doric.extension.bridge;
import com.github.pengfeizhou.doric.DoricContext; import com.github.penfeizhou.doric.DoricContext;
import com.github.pengfeizhou.doric.utils.DoricConstant; import com.github.penfeizhou.doric.utils.DoricConstant;
import com.github.pengfeizhou.jscore.JavaValue; import com.github.pengfeizhou.jscore.JavaValue;
/** /**

View File

@ -1,4 +1,4 @@
package com.github.pengfeizhou.doric.extension.timer; package com.github.penfeizhou.doric.extension.timer;
import android.os.Handler; import android.os.Handler;
import android.os.Looper; import android.os.Looper;

View File

@ -1,6 +1,6 @@
package com.github.pengfeizhou.doric.plugin; package com.github.penfeizhou.doric.plugin;
import com.github.pengfeizhou.doric.DoricContext; import com.github.penfeizhou.doric.DoricContext;
/** /**
* @Description: Doric * @Description: Doric

View File

@ -1,11 +1,11 @@
package com.github.pengfeizhou.doric.plugin; package com.github.penfeizhou.doric.plugin;
import android.widget.Toast; import android.widget.Toast;
import com.github.pengfeizhou.doric.DoricContext; import com.github.penfeizhou.doric.DoricContext;
import com.github.pengfeizhou.doric.extension.bridge.DoricComponent; import com.github.penfeizhou.doric.extension.bridge.DoricComponent;
import com.github.pengfeizhou.doric.extension.bridge.DoricMethod; import com.github.penfeizhou.doric.extension.bridge.DoricMethod;
import com.github.pengfeizhou.doric.extension.bridge.DoricPromise; import com.github.penfeizhou.doric.extension.bridge.DoricPromise;
import com.github.pengfeizhou.jscore.ArchiveException; import com.github.pengfeizhou.jscore.ArchiveException;
import com.github.pengfeizhou.jscore.JSDecoder; import com.github.pengfeizhou.jscore.JSDecoder;

View File

@ -1,4 +1,4 @@
package com.github.pengfeizhou.doric.utils; package com.github.penfeizhou.doric.utils;
/** /**
* @Description: Doric * @Description: Doric

View File

@ -1,9 +1,9 @@
package com.github.pengfeizhou.doric.utils; package com.github.penfeizhou.doric.utils;
import android.text.TextUtils; import android.text.TextUtils;
import android.util.Log; import android.util.Log;
import com.github.pengfeizhou.doric.Doric; import com.github.penfeizhou.doric.Doric;
/** /**
* @Description: Doric * @Description: Doric

View File

@ -1,15 +1,11 @@
package com.github.pengfeizhou.doric.utils; package com.github.penfeizhou.doric.utils;
import android.content.res.AssetManager; import android.content.res.AssetManager;
import android.os.Handler;
import android.os.Looper;
import android.support.annotation.NonNull; import android.support.annotation.NonNull;
import com.github.pengfeizhou.doric.Doric; import com.github.penfeizhou.doric.Doric;
import com.github.pengfeizhou.jscore.ArchiveException;
import com.github.pengfeizhou.jscore.JSArray; import com.github.pengfeizhou.jscore.JSArray;
import com.github.pengfeizhou.jscore.JSDecoder; import com.github.pengfeizhou.jscore.JSDecoder;
import com.github.pengfeizhou.jscore.JSNull;
import com.github.pengfeizhou.jscore.JSValue; import com.github.pengfeizhou.jscore.JSValue;
import com.github.pengfeizhou.jscore.JavaValue; import com.github.pengfeizhou.jscore.JavaValue;

View File

@ -1,4 +1,4 @@
package com.github.pengfeizhou.doric.test; package com.github.penfeizhou.doric.test;
import org.junit.Test; import org.junit.Test;