Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -31,45 +31,53 @@ public class NativeViewHierarchyManager {
/**
* @deprecated Use new architecture instead.
*/
@Deprecated
public NativeViewHierarchyManager(ViewManagerRegistry viewManagers) {}

/**
* @deprecated Use new architecture instead.
*/
@Deprecated
public NativeViewHierarchyManager(ViewManagerRegistry viewManagers, RootViewManager manager) {}

/**
* @deprecated Use new architecture instead.
*/
@Deprecated
public final synchronized @Nullable View resolveView(int tag) {
return null;
}

/**
* @deprecated Use new architecture instead.
*/
@Deprecated
public final synchronized @Nullable ViewManager resolveViewManager(int tag) {
return null;
}

/**
* @deprecated Use new architecture instead.
*/
@Deprecated
public void setLayoutAnimationEnabled(boolean enabled) {}

/**
* @deprecated Use new architecture instead.
*/
@Deprecated
public synchronized void updateInstanceHandle(int tag, long instanceHandle) {}

/**
* @deprecated Use new architecture instead.
*/
@Deprecated
public synchronized void updateProperties(int tag, ReactStylesDiffMap props) {}

/**
* @deprecated Use new architecture instead.
*/
@Deprecated
public synchronized void updateViewExtraData(int tag, Object extraData) {}

/**
Expand All @@ -82,6 +90,7 @@ public void updateLayout(int tag, int x, int y, int width, int height) {}
/**
* @deprecated Use new architecture instead.
*/
@Deprecated
public synchronized void updateLayout(
int parentTag,
int tag,
Expand All @@ -94,13 +103,15 @@ public synchronized void updateLayout(
/**
* @deprecated Use new architecture instead.
*/
@Deprecated
public synchronized long getInstanceHandle(int reactTag) {
return 0;
}

/**
* @deprecated Use new architecture instead.
*/
@Deprecated
public synchronized void createView(
ThemedReactContext themedContext,
int tag,
Expand All @@ -110,6 +121,7 @@ public synchronized void createView(
/**
* @deprecated Use new architecture instead.
*/
@Deprecated
public synchronized void manageChildren(
int tag,
@Nullable int[] indicesToRemove,
Expand All @@ -119,61 +131,72 @@ public synchronized void manageChildren(
/**
* @deprecated Use new architecture instead.
*/
@Deprecated
public synchronized void setChildren(int tag, ReadableArray childrenTags) {}

/**
* @deprecated Use new architecture instead.
*/
@Deprecated
public synchronized void addRootView(int tag, View view) {}

/**
* @deprecated Use new architecture instead.
*/
@Deprecated
protected final synchronized void addRootViewGroup(int tag, View view) {}

/**
* @deprecated Use new architecture instead.
*/
@Deprecated
protected synchronized void dropView(View view) {}

/**
* @deprecated Use new architecture instead.
*/
@Deprecated
public synchronized void removeRootView(int rootViewTag) {}

/**
* @deprecated Use new architecture instead.
*/
@Deprecated
public synchronized int getRootViewNum() {
return 0;
}

/**
* @deprecated Use new architecture instead.
*/
@Deprecated
public synchronized void measure(int tag, int[] outputBuffer) {}

/**
* @deprecated Use new architecture instead.
*/
@Deprecated
public synchronized void measureInWindow(int tag, int[] outputBuffer) {}

/**
* @deprecated Use new architecture instead.
*/
@Deprecated
public synchronized int findTargetTagForTouch(int reactTag, float touchX, float touchY) {
return 0;
}

/**
* @deprecated Use new architecture instead.
*/
@Deprecated
public synchronized void setJSResponder(
int reactTag, int initialReactTag, boolean blockNativeResponder) {}

/**
* @deprecated Use new architecture instead.
*/
@Deprecated
public synchronized void clearJSResponder() {}

/**
Expand All @@ -186,11 +209,13 @@ public synchronized void dispatchCommand(
/**
* @deprecated Use new architecture instead.
*/
@Deprecated
public synchronized void dispatchCommand(
int reactTag, String commandId, @Nullable ReadableArray args) {}

/**
* @deprecated Use new architecture instead.
*/
@Deprecated
public synchronized void sendAccessibilityEvent(int tag, int eventType) {}
}
Original file line number Diff line number Diff line change
Expand Up @@ -58,27 +58,31 @@ protected UIImplementation(
/**
* @deprecated This method is a stub and always returns null.
*/
@Deprecated
protected ReactShadowNode createRootShadowNode() {
return null;
}

/**
* @deprecated This method is a stub and always returns null.
*/
@Deprecated
protected ReactShadowNode createShadowNode(String className) {
return null;
}

/**
* @deprecated This method is a stub and always returns null.
*/
@Deprecated
public final ReactShadowNode resolveShadowNode(int reactTag) {
return null;
}

/**
* @deprecated This method is a stub and always returns null.
*/
@Deprecated
protected final @Nullable ViewManager resolveViewManager(String className) {
return null;
}
Expand Down
Loading