com.facebook.react.uimanager.LayoutShadowNode Java Examples

The following examples show how to use com.facebook.react.uimanager.LayoutShadowNode. You can vote up the ones you like or vote down the ones you don't like, and go to the original project or source file by following the links above each example. You may check out the related API usage on the sidebar.
Example #1
Source File: AMapMarkerManager.java    From react-native-amap with MIT License 5 votes vote down vote up
@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();
}
 
Example #2
Source File: TranslucentModalHostManager.java    From react-native-modal-translucent with MIT License 4 votes vote down vote up
@Override
public LayoutShadowNode createShadowNodeInstance() {
    return new TranslucentModalHostShadowNode();
}
 
Example #3
Source File: TranslucentModalHostManager.java    From react-native-modal-translucent with MIT License 4 votes vote down vote up
@Override
public Class<? extends LayoutShadowNode> getShadowNodeClass() {
    return TranslucentModalHostShadowNode.class;
}
 
Example #4
Source File: ReactTextInputManager.java    From react-native-GPay with MIT License 4 votes vote down vote up
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ReactTextInputShadowNode();
}
 
Example #5
Source File: ReactTextInputManager.java    From react-native-GPay with MIT License 4 votes vote down vote up
@Override
public Class<? extends LayoutShadowNode> getShadowNodeClass() {
  return ReactTextInputShadowNode.class;
}
 
Example #6
Source File: ReactSwitchManager.java    From react-native-GPay with MIT License 4 votes vote down vote up
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ReactSwitchShadowNode();
}
 
Example #7
Source File: ReactSliderManager.java    From react-native-GPay with MIT License 4 votes vote down vote up
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ReactSliderShadowNode();
}
 
Example #8
Source File: ReactModalHostManager.java    From react-native-GPay with MIT License 4 votes vote down vote up
@Override
public LayoutShadowNode createShadowNodeInstance() {
  return new ModalHostShadowNode();
}
 
Example #9
Source File: ReactModalHostManager.java    From react-native-GPay with MIT License 4 votes vote down vote up
@Override
public Class<? extends LayoutShadowNode> getShadowNodeClass() {
  return ModalHostShadowNode.class;
}
 
Example #10
Source File: ReactTextShadowNode.java    From react-native-GPay with MIT License 4 votes vote down vote up
@Override
protected LayoutShadowNode copy() {
  return new ReactTextShadowNode(this);
}
 
Example #11
Source File: FloatingActionButtonManager.java    From react-native-bottom-sheet-behavior with MIT License 4 votes vote down vote up
@Override
public LayoutShadowNode createShadowNodeInstance() {
    return new FloatingActionButtonShadowNode();
}
 
Example #12
Source File: BaiduMapViewManager.java    From BaiduMapKit with MIT License 4 votes vote down vote up
@Override
public LayoutShadowNode createShadowNodeInstance() {
    return new BaiduMapShadowNode();
}