Java 类com.facebook.react.modules.debug.AnimationsDebugModule 实例源码

项目:ReactNativeSignatureExample    文件:CoreModulesPackage.java   
@Override
public List<NativeModule> createNativeModules(
    ReactApplicationContext catalystApplicationContext) {
  Systrace.beginSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE, "createUIManagerModule");
  UIManagerModule uiManagerModule;
  try {
    List<ViewManager> viewManagersList = mReactInstanceManager.createAllViewManagers(
        catalystApplicationContext);
    uiManagerModule = new UIManagerModule(
        catalystApplicationContext,
        viewManagersList,
        mUIImplementationProvider.createUIImplementation(
            catalystApplicationContext,
            viewManagersList));
  } finally {
    Systrace.endSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE);
  }

  return Arrays.<NativeModule>asList(
      new AnimationsDebugModule(
          catalystApplicationContext,
          mReactInstanceManager.getDevSupportManager().getDevSettings()),
      new AndroidInfoModule(),
      new DeviceEventManagerModule(catalystApplicationContext, mHardwareBackBtnHandler),
      new ExceptionsManagerModule(mReactInstanceManager.getDevSupportManager()),
      new Timing(catalystApplicationContext),
      new SourceCodeModule(
          mReactInstanceManager.getSourceUrl(),
          mReactInstanceManager.getDevSupportManager().getSourceMapUrl()),
      uiManagerModule,
      new DebugComponentOwnershipModule(catalystApplicationContext));
}
项目:react-native-ibeacon-android    文件:CoreModulesPackage.java   
@Override
public List<NativeModule> createNativeModules(
    ReactApplicationContext catalystApplicationContext) {
  Systrace.beginSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE, "createUIManagerModule");
  UIManagerModule uiManagerModule;
  try {
    List<ViewManager> viewManagersList = mReactInstanceManager.createAllViewManagers(
        catalystApplicationContext);
    uiManagerModule = new UIManagerModule(
        catalystApplicationContext,
        viewManagersList,
        mUIImplementationProvider.createUIImplementation(
            catalystApplicationContext,
            viewManagersList));
  } finally {
    Systrace.endSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE);
  }

  return Arrays.<NativeModule>asList(
      new AnimationsDebugModule(
          catalystApplicationContext,
          mReactInstanceManager.getDevSupportManager().getDevSettings()),
      new AndroidInfoModule(),
      new DeviceEventManagerModule(catalystApplicationContext, mHardwareBackBtnHandler),
      new ExceptionsManagerModule(mReactInstanceManager.getDevSupportManager()),
      new Timing(catalystApplicationContext),
      new SourceCodeModule(
          mReactInstanceManager.getSourceUrl(),
          mReactInstanceManager.getDevSupportManager().getSourceMapUrl()),
      uiManagerModule,
      new DebugComponentOwnershipModule(catalystApplicationContext));
}
项目:react-native-box-loaders    文件:CoreModulesPackage.java   
@Override
public List<NativeModule> createNativeModules(
    ReactApplicationContext catalystApplicationContext) {
  Systrace.beginSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE, "createUIManagerModule");
  UIManagerModule uiManagerModule;
  try {
    List<ViewManager> viewManagersList = mReactInstanceManager.createAllViewManagers(
        catalystApplicationContext);
    uiManagerModule = new UIManagerModule(
        catalystApplicationContext,
        viewManagersList,
        mUIImplementationProvider.createUIImplementation(
            catalystApplicationContext,
            viewManagersList));
  } finally {
    Systrace.endSection(Systrace.TRACE_TAG_REACT_JAVA_BRIDGE);
  }

  return Arrays.<NativeModule>asList(
      new AnimationsDebugModule(
          catalystApplicationContext,
          mReactInstanceManager.getDevSupportManager().getDevSettings()),
      new AndroidInfoModule(),
      new DeviceEventManagerModule(catalystApplicationContext, mHardwareBackBtnHandler),
      new ExceptionsManagerModule(mReactInstanceManager.getDevSupportManager()),
      new Timing(catalystApplicationContext),
      new SourceCodeModule(
          mReactInstanceManager.getSourceUrl(),
          mReactInstanceManager.getDevSupportManager().getSourceMapUrl()),
      uiManagerModule,
      new JSCHeapCapture(catalystApplicationContext),
      new DebugComponentOwnershipModule(catalystApplicationContext));
}