change domain name to doric.pub
This commit is contained in:
parent
f9b599e7cf
commit
a72bd3df37
@ -1,17 +1,18 @@
|
|||||||
<?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.penfeizhou.doricdemo">
|
package="pub.doric.demo">
|
||||||
|
|
||||||
<uses-permission android:name="android.permission.INTERNET" />
|
<uses-permission android:name="android.permission.INTERNET" />
|
||||||
<application
|
<application
|
||||||
android:name="com.github.penfeizhou.doricdemo.MyApplication"
|
android:name=".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:networkSecurityConfig="@xml/network_security_config"
|
||||||
android:roundIcon="@mipmap/ic_launcher_round"
|
android:roundIcon="@mipmap/ic_launcher_round"
|
||||||
android:supportsRtl="true"
|
android:supportsRtl="true"
|
||||||
android:networkSecurityConfig="@xml/network_security_config"
|
|
||||||
android:theme="@style/AppTheme">
|
android:theme="@style/AppTheme">
|
||||||
<activity android:name="com.github.penfeizhou.doricdemo.MainActivity">
|
<activity android:name=".MainActivity">
|
||||||
<intent-filter>
|
<intent-filter>
|
||||||
<action android:name="android.intent.action.MAIN" />
|
<action android:name="android.intent.action.MAIN" />
|
||||||
|
|
||||||
|
@ -1,8 +1,9 @@
|
|||||||
package com.github.penfeizhou.doricdemo;
|
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.DoricComponent;
|
package pub.doric.demo;
|
||||||
import com.github.penfeizhou.doric.DoricLibrary;
|
|
||||||
import com.github.penfeizhou.doric.DoricRegistry;
|
import pub.doric.DoricComponent;
|
||||||
|
import pub.doric.DoricLibrary;
|
||||||
|
import pub.doric.DoricRegistry;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: com.github.penfeizhou.doricdemo
|
* @Description: com.github.penfeizhou.doricdemo
|
@ -1,13 +1,13 @@
|
|||||||
package com.github.penfeizhou.doricdemo;
|
package pub.doric.demo;
|
||||||
|
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.DoricContext;
|
import pub.doric.DoricContext;
|
||||||
import com.github.penfeizhou.doric.extension.bridge.DoricMethod;
|
import pub.doric.extension.bridge.DoricMethod;
|
||||||
import com.github.penfeizhou.doric.extension.bridge.DoricPlugin;
|
import pub.doric.extension.bridge.DoricPlugin;
|
||||||
import com.github.penfeizhou.doric.extension.bridge.DoricPromise;
|
import pub.doric.extension.bridge.DoricPromise;
|
||||||
import com.github.penfeizhou.doric.plugin.DoricJavaPlugin;
|
import pub.doric.plugin.DoricJavaPlugin;
|
||||||
import com.github.penfeizhou.doric.utils.ThreadMode;
|
import pub.doric.utils.ThreadMode;
|
||||||
import com.github.pengfeizhou.jscore.JavaValue;
|
import com.github.pengfeizhou.jscore.JavaValue;
|
||||||
|
|
||||||
/**
|
/**
|
@ -1,14 +1,14 @@
|
|||||||
package com.github.penfeizhou.doricdemo;
|
package pub.doric.demo;
|
||||||
|
|
||||||
import android.support.v7.app.AppCompatActivity;
|
import android.support.v7.app.AppCompatActivity;
|
||||||
import android.os.Bundle;
|
import android.os.Bundle;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
import android.widget.FrameLayout;
|
import android.widget.FrameLayout;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.Doric;
|
import pub.doric.Doric;
|
||||||
import com.github.penfeizhou.doric.DoricContext;
|
import pub.doric.DoricContext;
|
||||||
import com.github.penfeizhou.doric.dev.LocalServer;
|
import pub.doric.dev.LocalServer;
|
||||||
import com.github.penfeizhou.doric.utils.DoricUtils;
|
import pub.doric.utils.DoricUtils;
|
||||||
|
|
||||||
import java.io.IOException;
|
import java.io.IOException;
|
||||||
|
|
@ -1,9 +1,9 @@
|
|||||||
package com.github.penfeizhou.doricdemo;
|
package pub.doric.demo;
|
||||||
|
|
||||||
import android.app.Application;
|
import android.app.Application;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.Doric;
|
import pub.doric.Doric;
|
||||||
import com.github.penfeizhou.doric.DoricRegistry;
|
import pub.doric.DoricRegistry;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: Doric
|
* @Description: Doric
|
@ -1,4 +1,4 @@
|
|||||||
package com.github.penfeizhou.doricdemo;
|
package pub.doric.demo;
|
||||||
|
|
||||||
import com.bumptech.glide.annotation.GlideModule;
|
import com.bumptech.glide.annotation.GlideModule;
|
||||||
import com.bumptech.glide.module.AppGlideModule;
|
import com.bumptech.glide.module.AppGlideModule;
|
@ -3,7 +3,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="com.github.penfeizhou.doricdemo.MainActivity">
|
tools:context="com.github.penfeizhou.doricdemo.pub.doric.demo.MainActivity">
|
||||||
|
|
||||||
<FrameLayout
|
<FrameLayout
|
||||||
android:id="@+id/root"
|
android:id="@+id/root"
|
||||||
|
@ -1,26 +0,0 @@
|
|||||||
package com.github.penfeizhou.doric.test;
|
|
||||||
|
|
||||||
import android.content.Context;
|
|
||||||
import android.support.test.InstrumentationRegistry;
|
|
||||||
import android.support.test.runner.AndroidJUnit4;
|
|
||||||
|
|
||||||
import org.junit.Test;
|
|
||||||
import org.junit.runner.RunWith;
|
|
||||||
|
|
||||||
import static org.junit.Assert.*;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Instrumented test, which will execute on an Android device.
|
|
||||||
*
|
|
||||||
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
|
|
||||||
*/
|
|
||||||
@RunWith(AndroidJUnit4.class)
|
|
||||||
public class ExampleInstrumentedTest {
|
|
||||||
@Test
|
|
||||||
public void useAppContext() {
|
|
||||||
// Context of the app under test.
|
|
||||||
Context appContext = InstrumentationRegistry.getTargetContext();
|
|
||||||
|
|
||||||
assertEquals("com.github.penfeizhou.doric.test", appContext.getPackageName());
|
|
||||||
}
|
|
||||||
}
|
|
@ -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.penfeizhou.doric" />
|
package="pub.doric" />
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
package com.github.penfeizhou.doric;
|
package pub.doric;
|
||||||
|
|
||||||
import android.app.Application;
|
import android.app.Application;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.github.penfeizhou.doric;
|
package pub.doric;
|
||||||
|
|
||||||
import java.lang.annotation.Documented;
|
import java.lang.annotation.Documented;
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
@ -1,13 +1,12 @@
|
|||||||
package com.github.penfeizhou.doric;
|
package pub.doric;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.view.ViewGroup;
|
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.async.AsyncResult;
|
import pub.doric.async.AsyncResult;
|
||||||
import com.github.penfeizhou.doric.plugin.DoricJavaPlugin;
|
import pub.doric.plugin.DoricJavaPlugin;
|
||||||
import com.github.penfeizhou.doric.utils.DoricConstant;
|
import pub.doric.utils.DoricConstant;
|
||||||
import com.github.penfeizhou.doric.utils.DoricMetaInfo;
|
import pub.doric.utils.DoricMetaInfo;
|
||||||
import com.github.penfeizhou.doric.shader.RootNode;
|
import pub.doric.shader.RootNode;
|
||||||
import com.github.pengfeizhou.jscore.JSDecoder;
|
import com.github.pengfeizhou.jscore.JSDecoder;
|
||||||
import com.github.pengfeizhou.jscore.JSONBuilder;
|
import com.github.pengfeizhou.jscore.JSONBuilder;
|
||||||
|
|
@ -1,8 +1,8 @@
|
|||||||
package com.github.penfeizhou.doric;
|
package pub.doric;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.async.AsyncResult;
|
import pub.doric.async.AsyncResult;
|
||||||
|
|
||||||
import java.util.Collection;
|
import java.util.Collection;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
@ -1,15 +1,15 @@
|
|||||||
package com.github.penfeizhou.doric;
|
package pub.doric;
|
||||||
|
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
import android.os.Looper;
|
import android.os.Looper;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.async.AsyncCall;
|
import pub.doric.async.AsyncCall;
|
||||||
import com.github.penfeizhou.doric.async.AsyncResult;
|
import pub.doric.async.AsyncResult;
|
||||||
import com.github.penfeizhou.doric.dev.WSClient;
|
import pub.doric.dev.WSClient;
|
||||||
import com.github.penfeizhou.doric.engine.DoricJSEngine;
|
import pub.doric.engine.DoricJSEngine;
|
||||||
import com.github.penfeizhou.doric.utils.DoricConstant;
|
import pub.doric.utils.DoricConstant;
|
||||||
import com.github.penfeizhou.doric.utils.DoricLog;
|
import pub.doric.utils.DoricLog;
|
||||||
import com.github.penfeizhou.doric.utils.ThreadMode;
|
import pub.doric.utils.ThreadMode;
|
||||||
import com.github.pengfeizhou.jscore.JSDecoder;
|
import com.github.pengfeizhou.jscore.JSDecoder;
|
||||||
|
|
||||||
import java.util.concurrent.Callable;
|
import java.util.concurrent.Callable;
|
@ -1,4 +1,4 @@
|
|||||||
package com.github.penfeizhou.doric;
|
package pub.doric;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: com.github.penfeizhou.doric
|
* @Description: com.github.penfeizhou.doric
|
@ -1,4 +1,4 @@
|
|||||||
package com.github.penfeizhou.doric;
|
package pub.doric;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.os.Build;
|
import android.os.Build;
|
@ -1,18 +1,18 @@
|
|||||||
package com.github.penfeizhou.doric;
|
package pub.doric;
|
||||||
|
|
||||||
import android.text.TextUtils;
|
import android.text.TextUtils;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.plugin.ShaderPlugin;
|
import pub.doric.plugin.ShaderPlugin;
|
||||||
import com.github.penfeizhou.doric.shader.HLayoutNode;
|
import pub.doric.shader.HLayoutNode;
|
||||||
import com.github.penfeizhou.doric.shader.ImageNode;
|
import pub.doric.shader.ImageNode;
|
||||||
import com.github.penfeizhou.doric.shader.RootNode;
|
import pub.doric.shader.RootNode;
|
||||||
import com.github.penfeizhou.doric.shader.StackNode;
|
import pub.doric.shader.StackNode;
|
||||||
import com.github.penfeizhou.doric.shader.TextNode;
|
import pub.doric.shader.TextNode;
|
||||||
import com.github.penfeizhou.doric.shader.VLayoutNode;
|
import pub.doric.shader.VLayoutNode;
|
||||||
import com.github.penfeizhou.doric.shader.ViewNode;
|
import pub.doric.shader.ViewNode;
|
||||||
import com.github.penfeizhou.doric.utils.DoricMetaInfo;
|
import pub.doric.utils.DoricMetaInfo;
|
||||||
import com.github.penfeizhou.doric.plugin.DoricJavaPlugin;
|
import pub.doric.plugin.DoricJavaPlugin;
|
||||||
import com.github.penfeizhou.doric.plugin.ModalPlugin;
|
import pub.doric.plugin.ModalPlugin;
|
||||||
|
|
||||||
import java.util.HashMap;
|
import java.util.HashMap;
|
||||||
import java.util.HashSet;
|
import java.util.HashSet;
|
@ -1,8 +1,8 @@
|
|||||||
package com.github.penfeizhou.doric;
|
package pub.doric;
|
||||||
|
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.async.AsyncResult;
|
import pub.doric.async.AsyncResult;
|
||||||
import com.github.penfeizhou.doric.utils.ThreadMode;
|
import pub.doric.utils.ThreadMode;
|
||||||
import com.github.pengfeizhou.jscore.JSDecoder;
|
import com.github.pengfeizhou.jscore.JSDecoder;
|
||||||
|
|
||||||
import java.util.concurrent.Callable;
|
import java.util.concurrent.Callable;
|
@ -1,4 +1,4 @@
|
|||||||
package com.github.penfeizhou.doric.async;
|
package pub.doric.async;
|
||||||
|
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
import android.os.Looper;
|
import android.os.Looper;
|
@ -1,4 +1,4 @@
|
|||||||
package com.github.penfeizhou.doric.async;
|
package pub.doric.async;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: com.github.penfeizhou.doric.async
|
* @Description: com.github.penfeizhou.doric.async
|
@ -1,4 +1,4 @@
|
|||||||
package com.github.penfeizhou.doric.async;
|
package pub.doric.async;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: com.github.penfeizhou.doric.async
|
* @Description: com.github.penfeizhou.doric.async
|
@ -1,4 +1,4 @@
|
|||||||
package com.github.penfeizhou.doric.dev;
|
package pub.doric.dev;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.res.AssetManager;
|
import android.content.res.AssetManager;
|
||||||
@ -6,9 +6,9 @@ import android.net.Uri;
|
|||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
import android.webkit.MimeTypeMap;
|
import android.webkit.MimeTypeMap;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.DoricContext;
|
import pub.doric.DoricContext;
|
||||||
import com.github.penfeizhou.doric.DoricContextManager;
|
import pub.doric.DoricContextManager;
|
||||||
import com.github.penfeizhou.doric.DoricDriver;
|
|
||||||
import com.github.pengfeizhou.jscore.JSONBuilder;
|
import com.github.pengfeizhou.jscore.JSONBuilder;
|
||||||
|
|
||||||
import org.json.JSONArray;
|
import org.json.JSONArray;
|
@ -1,13 +1,11 @@
|
|||||||
package com.github.penfeizhou.doric.dev;
|
package pub.doric.dev;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.DoricContext;
|
import pub.doric.DoricContext;
|
||||||
import com.github.penfeizhou.doric.DoricContextManager;
|
import pub.doric.DoricContextManager;
|
||||||
import com.github.penfeizhou.doric.DoricDriver;
|
|
||||||
|
|
||||||
import org.json.JSONException;
|
import org.json.JSONException;
|
||||||
import org.json.JSONObject;
|
import org.json.JSONObject;
|
||||||
|
|
||||||
import java.util.Set;
|
|
||||||
import java.util.concurrent.TimeUnit;
|
import java.util.concurrent.TimeUnit;
|
||||||
|
|
||||||
import okhttp3.OkHttpClient;
|
import okhttp3.OkHttpClient;
|
@ -1,4 +1,4 @@
|
|||||||
package com.github.penfeizhou.doric.engine;
|
package pub.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.penfeizhou.doric.DoricRegistry;
|
import pub.doric.DoricRegistry;
|
||||||
import com.github.penfeizhou.doric.extension.bridge.DoricBridgeExtension;
|
import pub.doric.extension.bridge.DoricBridgeExtension;
|
||||||
import com.github.penfeizhou.doric.extension.timer.DoricTimerExtension;
|
import pub.doric.extension.timer.DoricTimerExtension;
|
||||||
import com.github.penfeizhou.doric.utils.DoricConstant;
|
import pub.doric.utils.DoricConstant;
|
||||||
import com.github.penfeizhou.doric.utils.DoricLog;
|
import pub.doric.utils.DoricLog;
|
||||||
import com.github.penfeizhou.doric.utils.DoricUtils;
|
import pub.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;
|
@ -1,4 +1,4 @@
|
|||||||
package com.github.penfeizhou.doric.engine;
|
package pub.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;
|
@ -1,4 +1,4 @@
|
|||||||
package com.github.penfeizhou.doric.engine;
|
package pub.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;
|
@ -1,13 +1,13 @@
|
|||||||
package com.github.penfeizhou.doric.extension.bridge;
|
package pub.doric.extension.bridge;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.DoricContext;
|
import pub.doric.DoricContext;
|
||||||
import com.github.penfeizhou.doric.DoricRegistry;
|
|
||||||
import com.github.penfeizhou.doric.async.AsyncResult;
|
import pub.doric.async.AsyncResult;
|
||||||
import com.github.penfeizhou.doric.plugin.DoricJavaPlugin;
|
import pub.doric.plugin.DoricJavaPlugin;
|
||||||
import com.github.penfeizhou.doric.DoricContextManager;
|
import pub.doric.DoricContextManager;
|
||||||
import com.github.penfeizhou.doric.utils.DoricLog;
|
import pub.doric.utils.DoricLog;
|
||||||
import com.github.penfeizhou.doric.utils.DoricMetaInfo;
|
import pub.doric.utils.DoricMetaInfo;
|
||||||
import com.github.penfeizhou.doric.utils.DoricUtils;
|
import pub.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;
|
||||||
|
|
@ -1,6 +1,6 @@
|
|||||||
package com.github.penfeizhou.doric.extension.bridge;
|
package pub.doric.extension.bridge;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.utils.ThreadMode;
|
import pub.doric.utils.ThreadMode;
|
||||||
|
|
||||||
import java.lang.annotation.Documented;
|
import java.lang.annotation.Documented;
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
@ -1,4 +1,4 @@
|
|||||||
package com.github.penfeizhou.doric.extension.bridge;
|
package pub.doric.extension.bridge;
|
||||||
|
|
||||||
import java.lang.annotation.Documented;
|
import java.lang.annotation.Documented;
|
||||||
import java.lang.annotation.ElementType;
|
import java.lang.annotation.ElementType;
|
@ -1,7 +1,7 @@
|
|||||||
package com.github.penfeizhou.doric.extension.bridge;
|
package pub.doric.extension.bridge;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.DoricContext;
|
import pub.doric.DoricContext;
|
||||||
import com.github.penfeizhou.doric.utils.DoricConstant;
|
import pub.doric.utils.DoricConstant;
|
||||||
import com.github.pengfeizhou.jscore.JavaValue;
|
import com.github.pengfeizhou.jscore.JavaValue;
|
||||||
|
|
||||||
/**
|
/**
|
@ -1,4 +1,4 @@
|
|||||||
package com.github.penfeizhou.doric.extension.timer;
|
package pub.doric.extension.timer;
|
||||||
|
|
||||||
import android.os.Handler;
|
import android.os.Handler;
|
||||||
import android.os.Looper;
|
import android.os.Looper;
|
@ -1,7 +1,7 @@
|
|||||||
package com.github.penfeizhou.doric.plugin;
|
package pub.doric.plugin;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.DoricContext;
|
import pub.doric.DoricContext;
|
||||||
import com.github.penfeizhou.doric.utils.DoricContextHolder;
|
import pub.doric.utils.DoricContextHolder;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: Doric
|
* @Description: Doric
|
@ -1,12 +1,12 @@
|
|||||||
package com.github.penfeizhou.doric.plugin;
|
package pub.doric.plugin;
|
||||||
|
|
||||||
import android.widget.Toast;
|
import android.widget.Toast;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.DoricContext;
|
import pub.doric.DoricContext;
|
||||||
import com.github.penfeizhou.doric.extension.bridge.DoricPlugin;
|
import pub.doric.extension.bridge.DoricPlugin;
|
||||||
import com.github.penfeizhou.doric.extension.bridge.DoricMethod;
|
import pub.doric.extension.bridge.DoricMethod;
|
||||||
import com.github.penfeizhou.doric.extension.bridge.DoricPromise;
|
import pub.doric.extension.bridge.DoricPromise;
|
||||||
import com.github.penfeizhou.doric.utils.ThreadMode;
|
import pub.doric.utils.ThreadMode;
|
||||||
import com.github.pengfeizhou.jscore.ArchiveException;
|
import com.github.pengfeizhou.jscore.ArchiveException;
|
||||||
import com.github.pengfeizhou.jscore.JSDecoder;
|
import com.github.pengfeizhou.jscore.JSDecoder;
|
||||||
|
|
@ -1,11 +1,11 @@
|
|||||||
package com.github.penfeizhou.doric.plugin;
|
package pub.doric.plugin;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.DoricContext;
|
import pub.doric.DoricContext;
|
||||||
import com.github.penfeizhou.doric.extension.bridge.DoricMethod;
|
import pub.doric.extension.bridge.DoricMethod;
|
||||||
import com.github.penfeizhou.doric.extension.bridge.DoricPlugin;
|
import pub.doric.extension.bridge.DoricPlugin;
|
||||||
import com.github.penfeizhou.doric.utils.DoricLog;
|
import pub.doric.utils.DoricLog;
|
||||||
import com.github.penfeizhou.doric.utils.ThreadMode;
|
import pub.doric.utils.ThreadMode;
|
||||||
import com.github.penfeizhou.doric.shader.RootNode;
|
import pub.doric.shader.RootNode;
|
||||||
import com.github.pengfeizhou.jscore.JSDecoder;
|
import com.github.pengfeizhou.jscore.JSDecoder;
|
||||||
import com.github.pengfeizhou.jscore.JSObject;
|
import com.github.pengfeizhou.jscore.JSObject;
|
||||||
|
|
@ -1,8 +1,7 @@
|
|||||||
package com.github.penfeizhou.doric.shader;
|
package pub.doric.shader;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.graphics.Canvas;
|
import android.graphics.Canvas;
|
||||||
import android.graphics.Color;
|
|
||||||
import android.graphics.Paint;
|
import android.graphics.Paint;
|
||||||
import android.graphics.Path;
|
import android.graphics.Path;
|
||||||
import android.graphics.RectF;
|
import android.graphics.RectF;
|
@ -1,10 +1,10 @@
|
|||||||
package com.github.penfeizhou.doric.shader;
|
package pub.doric.shader;
|
||||||
|
|
||||||
import android.util.SparseArray;
|
import android.util.SparseArray;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.DoricContext;
|
import pub.doric.DoricContext;
|
||||||
import com.github.penfeizhou.doric.utils.DoricUtils;
|
import pub.doric.utils.DoricUtils;
|
||||||
import com.github.pengfeizhou.jscore.JSArray;
|
import com.github.pengfeizhou.jscore.JSArray;
|
||||||
import com.github.pengfeizhou.jscore.JSObject;
|
import com.github.pengfeizhou.jscore.JSObject;
|
||||||
import com.github.pengfeizhou.jscore.JSValue;
|
import com.github.pengfeizhou.jscore.JSValue;
|
@ -1,9 +1,9 @@
|
|||||||
package com.github.penfeizhou.doric.shader;
|
package pub.doric.shader;
|
||||||
|
|
||||||
import android.widget.LinearLayout;
|
import android.widget.LinearLayout;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.DoricContext;
|
import pub.doric.DoricContext;
|
||||||
import com.github.penfeizhou.doric.extension.bridge.DoricPlugin;
|
import pub.doric.extension.bridge.DoricPlugin;
|
||||||
import com.github.pengfeizhou.jscore.JSObject;
|
import com.github.pengfeizhou.jscore.JSObject;
|
||||||
|
|
||||||
/**
|
/**
|
@ -1,4 +1,4 @@
|
|||||||
package com.github.penfeizhou.doric.shader;
|
package pub.doric.shader;
|
||||||
|
|
||||||
import android.graphics.drawable.Drawable;
|
import android.graphics.drawable.Drawable;
|
||||||
import android.support.annotation.Nullable;
|
import android.support.annotation.Nullable;
|
||||||
@ -10,8 +10,8 @@ import com.bumptech.glide.load.DataSource;
|
|||||||
import com.bumptech.glide.load.engine.GlideException;
|
import com.bumptech.glide.load.engine.GlideException;
|
||||||
import com.bumptech.glide.request.RequestListener;
|
import com.bumptech.glide.request.RequestListener;
|
||||||
import com.bumptech.glide.request.target.Target;
|
import com.bumptech.glide.request.target.Target;
|
||||||
import com.github.penfeizhou.doric.DoricContext;
|
import pub.doric.DoricContext;
|
||||||
import com.github.penfeizhou.doric.extension.bridge.DoricPlugin;
|
import pub.doric.extension.bridge.DoricPlugin;
|
||||||
import com.github.pengfeizhou.jscore.JSObject;
|
import com.github.pengfeizhou.jscore.JSObject;
|
||||||
import com.github.pengfeizhou.jscore.JSValue;
|
import com.github.pengfeizhou.jscore.JSValue;
|
||||||
|
|
@ -1,11 +1,11 @@
|
|||||||
package com.github.penfeizhou.doric.shader;
|
package pub.doric.shader;
|
||||||
|
|
||||||
import android.graphics.drawable.ShapeDrawable;
|
import android.graphics.drawable.ShapeDrawable;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
import android.widget.LinearLayout;
|
import android.widget.LinearLayout;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.DoricContext;
|
import pub.doric.DoricContext;
|
||||||
import com.github.penfeizhou.doric.utils.DoricUtils;
|
import pub.doric.utils.DoricUtils;
|
||||||
import com.github.pengfeizhou.jscore.JSObject;
|
import com.github.pengfeizhou.jscore.JSObject;
|
||||||
import com.github.pengfeizhou.jscore.JSValue;
|
import com.github.pengfeizhou.jscore.JSValue;
|
||||||
|
|
@ -1,11 +1,11 @@
|
|||||||
package com.github.penfeizhou.doric.shader;
|
package pub.doric.shader;
|
||||||
|
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
import android.widget.FrameLayout;
|
import android.widget.FrameLayout;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.DoricContext;
|
import pub.doric.DoricContext;
|
||||||
import com.github.penfeizhou.doric.extension.bridge.DoricPlugin;
|
import pub.doric.extension.bridge.DoricPlugin;
|
||||||
import com.github.pengfeizhou.jscore.JSObject;
|
import com.github.pengfeizhou.jscore.JSObject;
|
||||||
|
|
||||||
/**
|
/**
|
@ -1,10 +1,10 @@
|
|||||||
package com.github.penfeizhou.doric.shader;
|
package pub.doric.shader;
|
||||||
|
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
import android.widget.FrameLayout;
|
import android.widget.FrameLayout;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.DoricContext;
|
import pub.doric.DoricContext;
|
||||||
import com.github.penfeizhou.doric.extension.bridge.DoricPlugin;
|
import pub.doric.extension.bridge.DoricPlugin;
|
||||||
import com.github.pengfeizhou.jscore.JSObject;
|
import com.github.pengfeizhou.jscore.JSObject;
|
||||||
import com.github.pengfeizhou.jscore.JSValue;
|
import com.github.pengfeizhou.jscore.JSValue;
|
||||||
|
|
@ -1,11 +1,11 @@
|
|||||||
package com.github.penfeizhou.doric.shader;
|
package pub.doric.shader;
|
||||||
|
|
||||||
import android.util.TypedValue;
|
import android.util.TypedValue;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
import android.widget.TextView;
|
import android.widget.TextView;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.DoricContext;
|
import pub.doric.DoricContext;
|
||||||
import com.github.penfeizhou.doric.extension.bridge.DoricPlugin;
|
import pub.doric.extension.bridge.DoricPlugin;
|
||||||
import com.github.pengfeizhou.jscore.JSObject;
|
import com.github.pengfeizhou.jscore.JSObject;
|
||||||
import com.github.pengfeizhou.jscore.JSValue;
|
import com.github.pengfeizhou.jscore.JSValue;
|
||||||
|
|
@ -1,9 +1,9 @@
|
|||||||
package com.github.penfeizhou.doric.shader;
|
package pub.doric.shader;
|
||||||
|
|
||||||
import android.widget.LinearLayout;
|
import android.widget.LinearLayout;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.DoricContext;
|
import pub.doric.DoricContext;
|
||||||
import com.github.penfeizhou.doric.extension.bridge.DoricPlugin;
|
import pub.doric.extension.bridge.DoricPlugin;
|
||||||
import com.github.pengfeizhou.jscore.JSObject;
|
import com.github.pengfeizhou.jscore.JSObject;
|
||||||
|
|
||||||
/**
|
/**
|
@ -1,16 +1,16 @@
|
|||||||
package com.github.penfeizhou.doric.shader;
|
package pub.doric.shader;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
import android.view.ViewGroup;
|
import android.view.ViewGroup;
|
||||||
import android.widget.FrameLayout;
|
import android.widget.FrameLayout;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.DoricContext;
|
import pub.doric.DoricContext;
|
||||||
import com.github.penfeizhou.doric.DoricRegistry;
|
import pub.doric.DoricRegistry;
|
||||||
import com.github.penfeizhou.doric.utils.DoricContextHolder;
|
import pub.doric.utils.DoricContextHolder;
|
||||||
import com.github.penfeizhou.doric.utils.DoricConstant;
|
import pub.doric.utils.DoricConstant;
|
||||||
import com.github.penfeizhou.doric.utils.DoricMetaInfo;
|
import pub.doric.utils.DoricMetaInfo;
|
||||||
import com.github.penfeizhou.doric.utils.DoricUtils;
|
import pub.doric.utils.DoricUtils;
|
||||||
import com.github.pengfeizhou.jscore.JSObject;
|
import com.github.pengfeizhou.jscore.JSObject;
|
||||||
import com.github.pengfeizhou.jscore.JSValue;
|
import com.github.pengfeizhou.jscore.JSValue;
|
||||||
|
|
@ -1,4 +1,4 @@
|
|||||||
package com.github.penfeizhou.doric.utils;
|
package pub.doric.utils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: Doric
|
* @Description: Doric
|
@ -1,6 +1,6 @@
|
|||||||
package com.github.penfeizhou.doric.utils;
|
package pub.doric.utils;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.DoricContext;
|
import pub.doric.DoricContext;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: com.github.penfeizhou.doric.utils
|
* @Description: com.github.penfeizhou.doric.utils
|
@ -1,9 +1,9 @@
|
|||||||
package com.github.penfeizhou.doric.utils;
|
package pub.doric.utils;
|
||||||
|
|
||||||
import android.text.TextUtils;
|
import android.text.TextUtils;
|
||||||
import android.util.Log;
|
import android.util.Log;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.Doric;
|
import pub.doric.Doric;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: Doric
|
* @Description: Doric
|
@ -1,10 +1,10 @@
|
|||||||
package com.github.penfeizhou.doric.utils;
|
package pub.doric.utils;
|
||||||
|
|
||||||
import android.text.TextUtils;
|
import android.text.TextUtils;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.DoricContext;
|
import pub.doric.DoricContext;
|
||||||
import com.github.penfeizhou.doric.extension.bridge.DoricMethod;
|
import pub.doric.extension.bridge.DoricMethod;
|
||||||
import com.github.penfeizhou.doric.extension.bridge.DoricPlugin;
|
import pub.doric.extension.bridge.DoricPlugin;
|
||||||
|
|
||||||
import java.lang.reflect.Constructor;
|
import java.lang.reflect.Constructor;
|
||||||
import java.lang.reflect.Method;
|
import java.lang.reflect.Method;
|
@ -1,4 +1,4 @@
|
|||||||
package com.github.penfeizhou.doric.utils;
|
package pub.doric.utils;
|
||||||
|
|
||||||
import android.content.Context;
|
import android.content.Context;
|
||||||
import android.content.res.AssetManager;
|
import android.content.res.AssetManager;
|
||||||
@ -7,7 +7,7 @@ import android.util.DisplayMetrics;
|
|||||||
import android.view.Display;
|
import android.view.Display;
|
||||||
import android.view.WindowManager;
|
import android.view.WindowManager;
|
||||||
|
|
||||||
import com.github.penfeizhou.doric.Doric;
|
import pub.doric.Doric;
|
||||||
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.JSONBuilder;
|
import com.github.pengfeizhou.jscore.JSONBuilder;
|
@ -1,4 +1,4 @@
|
|||||||
package com.github.penfeizhou.doric.utils;
|
package pub.doric.utils;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @Description: com.github.penfeizhou.doric.utils
|
* @Description: com.github.penfeizhou.doric.utils
|
@ -1,17 +0,0 @@
|
|||||||
package com.github.penfeizhou.doric.test;
|
|
||||||
|
|
||||||
import org.junit.Test;
|
|
||||||
|
|
||||||
import static org.junit.Assert.*;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* Example local unit test, which will execute on the development machine (host).
|
|
||||||
*
|
|
||||||
* @see <a href="http://d.android.com/tools/testing">Testing documentation</a>
|
|
||||||
*/
|
|
||||||
public class ExampleUnitTest {
|
|
||||||
@Test
|
|
||||||
public void addition_isCorrect() {
|
|
||||||
assertEquals(4, 2 + 2);
|
|
||||||
}
|
|
||||||
}
|
|
Reference in New Issue
Block a user