Java 类com.facebook.react.uimanager.LayoutShadowNode 实例源码

项目:react-native-amap    文件:AMapMarkerManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
    // we use a custom shadow node that emits the width/height of the view
    // after layout with the updateExtraData method. Without this, we can't generate
    // a bitmap of the appropriate width/height of the rendered view.
    return new SizeReportingShadowNode();
}
项目:react-native-svg    文件:RenderableViewManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
    switch (mClassName) {
        case CLASS_GROUP:
            return new GroupShadowNode();
        case CLASS_PATH:
            return new PathShadowNode();
        case CLASS_CIRCLE:
            return new CircleShadowNode();
        case CLASS_ELLIPSE:
            return new EllipseShadowNode();
        case CLASS_LINE:
            return new LineShadowNode();
        case CLASS_RECT:
            return new RectShadowNode();
        case CLASS_TEXT:
            return new TextShadowNode();
        case CLASS_TSPAN:
            return new TSpanShadowNode();
        case CLASS_TEXT_PATH:
            return new TextPathShadowNode();
        case CLASS_IMAGE:
            return new ImageShadowNode();
        case CLASS_CLIP_PATH:
            return new ClipPathShadowNode();
        case CLASS_DEFS:
            return new DefsShadowNode();
        case CLASS_USE:
            return new UseShadowNode();
        case CLASS_SYMBOL:
            return new SymbolShadowNode();
        case CLASS_LINEAR_GRADIENT:
            return new LinearGradientShadowNode();
        case CLASS_RADIAL_GRADIENT:
            return new RadialGradientShadowNode();
        default:
            throw new IllegalStateException("Unexpected type " + mClassName);
    }
}
项目:react-native-svg    文件:RenderableViewManager.java   
@Override
public Class<? extends LayoutShadowNode> getShadowNodeClass() {
    switch (mClassName) {
        case CLASS_GROUP:
            return GroupShadowNode.class;
        case CLASS_PATH:
            return PathShadowNode.class;
        case CLASS_CIRCLE:
            return CircleShadowNode.class;
        case CLASS_ELLIPSE:
            return EllipseShadowNode.class;
        case CLASS_LINE:
            return LineShadowNode.class;
        case CLASS_RECT:
            return RectShadowNode.class;
        case CLASS_TEXT:
            return TextShadowNode.class;
        case CLASS_TSPAN:
            return TSpanShadowNode.class;
        case CLASS_TEXT_PATH:
            return TextPathShadowNode.class;
        case CLASS_IMAGE:
            return ImageShadowNode.class;
        case CLASS_CLIP_PATH:
            return ClipPathShadowNode.class;
        case CLASS_DEFS:
            return DefsShadowNode.class;
        case CLASS_USE:
            return UseShadowNode.class;
        case CLASS_SYMBOL:
            return SymbolShadowNode.class;
        case CLASS_LINEAR_GRADIENT:
            return LinearGradientShadowNode.class;
        case CLASS_RADIAL_GRADIENT:
            return RadialGradientShadowNode.class;
        default:
            throw new IllegalStateException("Unexpected type " + mClassName);
    }
}
项目:RNLearn_Project1    文件:RCTModalHostManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new FlatReactModalShadowNode();
}
项目:RNLearn_Project1    文件:RCTModalHostManager.java   
@Override
public Class<? extends LayoutShadowNode> getShadowNodeClass() {
  return FlatReactModalShadowNode.class;
}
项目:RNLearn_Project1    文件:ReactTextInputManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ReactTextInputShadowNode();
}
项目:RNLearn_Project1    文件:ReactTextInputManager.java   
@Override
public Class<? extends LayoutShadowNode> getShadowNodeClass() {
  return ReactTextInputShadowNode.class;
}
项目:RNLearn_Project1    文件:ReactSwitchManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ReactSwitchShadowNode();
}
项目:RNLearn_Project1    文件:ReactSliderManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ReactSliderShadowNode();
}
项目:RNLearn_Project1    文件:ReactModalHostManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ModalHostShadowNode();
}
项目:RNLearn_Project1    文件:ReactModalHostManager.java   
@Override
public Class<? extends LayoutShadowNode> getShadowNodeClass() {
  return ModalHostShadowNode.class;
}
项目:RNLearn_Project1    文件:RCTModalHostManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new FlatReactModalShadowNode();
}
项目:RNLearn_Project1    文件:RCTModalHostManager.java   
@Override
public Class<? extends LayoutShadowNode> getShadowNodeClass() {
  return FlatReactModalShadowNode.class;
}
项目:RNLearn_Project1    文件:ReactTextInputManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ReactTextInputShadowNode();
}
项目:RNLearn_Project1    文件:ReactTextInputManager.java   
@Override
public Class<? extends LayoutShadowNode> getShadowNodeClass() {
  return ReactTextInputShadowNode.class;
}
项目:RNLearn_Project1    文件:ReactSwitchManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ReactSwitchShadowNode();
}
项目:RNLearn_Project1    文件:ReactSliderManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ReactSliderShadowNode();
}
项目:RNLearn_Project1    文件:ReactModalHostManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ModalHostShadowNode();
}
项目:RNLearn_Project1    文件:ReactModalHostManager.java   
@Override
public Class<? extends LayoutShadowNode> getShadowNodeClass() {
  return ModalHostShadowNode.class;
}
项目:ReactNativeSignatureExample    文件:ReactTextInputManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ReactTextInputShadowNode();
}
项目:ReactNativeSignatureExample    文件:ReactTextInputManager.java   
@Override
public Class<? extends LayoutShadowNode> getShadowNodeClass() {
  return ReactTextInputShadowNode.class;
}
项目:ReactNativeSignatureExample    文件:ReactSwitchManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ReactSwitchShadowNode();
}
项目:react-native-spinner-android    文件:SpinnerManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
    return new SpinnerShadowNode();
}
项目:react-native-ibeacon-android    文件:ReactTextInputManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ReactTextInputShadowNode();
}
项目:react-native-ibeacon-android    文件:ReactTextInputManager.java   
@Override
public Class<? extends LayoutShadowNode> getShadowNodeClass() {
  return ReactTextInputShadowNode.class;
}
项目:react-native-ibeacon-android    文件:ReactSwitchManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ReactSwitchShadowNode();
}
项目:react-native-box-loaders    文件:ReactTextInputManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ReactTextInputShadowNode();
}
项目:react-native-box-loaders    文件:ReactTextInputManager.java   
@Override
public Class<? extends LayoutShadowNode> getShadowNodeClass() {
  return ReactTextInputShadowNode.class;
}
项目:react-native-box-loaders    文件:ReactSwitchManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ReactSwitchShadowNode();
}
项目:react-native-box-loaders    文件:ReactSliderManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ReactSliderShadowNode();
}
项目:react-native-box-loaders    文件:ReactModalHostManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ModalHostShadowNode();
}
项目:react-native-box-loaders    文件:ReactModalHostManager.java   
@Override
public Class<? extends LayoutShadowNode> getShadowNodeClass() {
  return ModalHostShadowNode.class;
}
项目:Ironman    文件:ReactTextInputManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ReactTextInputShadowNode();
}
项目:Ironman    文件:ReactTextInputManager.java   
@Override
public Class<? extends LayoutShadowNode> getShadowNodeClass() {
  return ReactTextInputShadowNode.class;
}
项目:Ironman    文件:ReactSwitchManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ReactSwitchShadowNode();
}
项目:Ironman    文件:ReactSliderManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ReactSliderShadowNode();
}
项目:Ironman    文件:ReactModalHostManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ModalHostShadowNode();
}
项目:Ironman    文件:ReactModalHostManager.java   
@Override
public Class<? extends LayoutShadowNode> getShadowNodeClass() {
  return ModalHostShadowNode.class;
}
项目:react-native-bottom-sheet-behavior    文件:FloatingActionButtonManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
    return new FloatingActionButtonShadowNode();
}
项目:BaiduMapKit    文件:BaiduMapViewManager.java   
@Override
public LayoutShadowNode createShadowNodeInstance() {
    return new BaiduMapShadowNode();
}