rename shader package name

This commit is contained in:
pengfei.zhou 2019-07-22 15:40:28 +08:00
parent 3bb2bae50c
commit 309dd4ff55
10 changed files with 13 additions and 40 deletions

View File

@ -1,16 +1,11 @@
package com.github.penfeizhou.doric; package com.github.penfeizhou.doric;
import android.content.Context; import android.content.Context;
import android.view.ViewGroup;
import android.widget.FrameLayout;
import com.github.penfeizhou.doric.async.AsyncResult; import com.github.penfeizhou.doric.async.AsyncResult;
import com.github.penfeizhou.doric.extension.render.DoricShader;
import com.github.penfeizhou.doric.plugin.DoricJavaPlugin; import com.github.penfeizhou.doric.plugin.DoricJavaPlugin;
import com.github.penfeizhou.doric.utils.DoricMetaInfo; import com.github.penfeizhou.doric.utils.DoricMetaInfo;
import com.github.penfeizhou.doric.widget.GroupNode; import com.github.penfeizhou.doric.shader.RootNode;
import com.github.penfeizhou.doric.widget.RootNode;
import com.github.penfeizhou.doric.widget.StackNode;
import com.github.pengfeizhou.jscore.JSDecoder; import com.github.pengfeizhou.jscore.JSDecoder;
import java.util.HashMap; import java.util.HashMap;
@ -25,7 +20,6 @@ public class DoricContext {
private final String mContextId; private final String mContextId;
private final Map<String, DoricJavaPlugin> mPluginMap = new HashMap<>(); private final Map<String, DoricJavaPlugin> mPluginMap = new HashMap<>();
private final Context mContext; private final Context mContext;
private DoricShader doricShader = new DoricShader(getDriver().getRegistry());
private RootNode mRootNode = new RootNode(this); private RootNode mRootNode = new RootNode(this);
DoricContext(Context context, String contextId) { DoricContext(Context context, String contextId) {

View File

@ -3,11 +3,11 @@ package com.github.penfeizhou.doric;
import android.text.TextUtils; import android.text.TextUtils;
import com.github.penfeizhou.doric.plugin.ShaderPlugin; import com.github.penfeizhou.doric.plugin.ShaderPlugin;
import com.github.penfeizhou.doric.widget.ImageNode; import com.github.penfeizhou.doric.shader.ImageNode;
import com.github.penfeizhou.doric.widget.RootNode; import com.github.penfeizhou.doric.shader.RootNode;
import com.github.penfeizhou.doric.widget.StackNode; import com.github.penfeizhou.doric.shader.StackNode;
import com.github.penfeizhou.doric.widget.TextNode; import com.github.penfeizhou.doric.shader.TextNode;
import com.github.penfeizhou.doric.widget.ViewNode; import com.github.penfeizhou.doric.shader.ViewNode;
import com.github.penfeizhou.doric.utils.DoricMetaInfo; import com.github.penfeizhou.doric.utils.DoricMetaInfo;
import com.github.penfeizhou.doric.plugin.DoricJavaPlugin; import com.github.penfeizhou.doric.plugin.DoricJavaPlugin;
import com.github.penfeizhou.doric.plugin.ModalPlugin; import com.github.penfeizhou.doric.plugin.ModalPlugin;

View File

@ -1,17 +0,0 @@
package com.github.penfeizhou.doric.extension.render;
import com.github.penfeizhou.doric.DoricRegistry;
/**
* @Description: com.github.penfeizhou.doric.render
* @Author: pengfei.zhou
* @CreateDate: 2019-07-20
*/
public class DoricShader {
private final DoricRegistry mRegistry;
public DoricShader(DoricRegistry doricRegistry) {
mRegistry = doricRegistry;
}
}

View File

@ -1,14 +1,11 @@
package com.github.penfeizhou.doric.plugin; package com.github.penfeizhou.doric.plugin;
import android.view.ViewGroup;
import com.github.penfeizhou.doric.DoricContext; import com.github.penfeizhou.doric.DoricContext;
import com.github.penfeizhou.doric.extension.bridge.DoricMethod; import com.github.penfeizhou.doric.extension.bridge.DoricMethod;
import com.github.penfeizhou.doric.extension.bridge.DoricPlugin; import com.github.penfeizhou.doric.extension.bridge.DoricPlugin;
import com.github.penfeizhou.doric.utils.DoricLog; import com.github.penfeizhou.doric.utils.DoricLog;
import com.github.penfeizhou.doric.utils.ThreadMode; import com.github.penfeizhou.doric.utils.ThreadMode;
import com.github.penfeizhou.doric.widget.GroupNode; import com.github.penfeizhou.doric.shader.RootNode;
import com.github.penfeizhou.doric.widget.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;

View File

@ -1,4 +1,4 @@
package com.github.penfeizhou.doric.widget; package com.github.penfeizhou.doric.shader;
import android.util.SparseArray; import android.util.SparseArray;
import android.view.ViewGroup; import android.view.ViewGroup;

View File

@ -1,4 +1,4 @@
package com.github.penfeizhou.doric.widget; package com.github.penfeizhou.doric.shader;
import android.widget.ImageView; import android.widget.ImageView;

View File

@ -1,6 +1,5 @@
package com.github.penfeizhou.doric.widget; package com.github.penfeizhou.doric.shader;
import android.view.ViewGroup;
import android.widget.FrameLayout; import android.widget.FrameLayout;
import com.github.penfeizhou.doric.DoricContext; import com.github.penfeizhou.doric.DoricContext;

View File

@ -1,4 +1,4 @@
package com.github.penfeizhou.doric.widget; package com.github.penfeizhou.doric.shader;
import android.widget.FrameLayout; import android.widget.FrameLayout;

View File

@ -1,4 +1,4 @@
package com.github.penfeizhou.doric.widget; package com.github.penfeizhou.doric.shader;
import android.widget.TextView; import android.widget.TextView;

View File

@ -1,4 +1,4 @@
package com.github.penfeizhou.doric.widget; package com.github.penfeizhou.doric.shader;
import android.content.Context; import android.content.Context;
import android.view.View; import android.view.View;