Remove logical adjustments from FlatViewGroup.

Summary: These were needed until recent changes in DrawView.

Reviewed By: ahmedre

Differential Revision: D3646707
This commit is contained in:
Seth Kirby
2016-12-19 13:40:30 -08:00
committed by Ahmed El-Helw
parent dfc815cb19
commit 28654aef65
6 changed files with 10 additions and 26 deletions
@@ -51,19 +51,16 @@ import com.facebook.react.uimanager.UIViewOperationQueue;
private final @Nullable DrawCommand[] mDrawCommands;
private final @Nullable AttachDetachListener[] mAttachDetachListeners;
private final @Nullable NodeRegion[] mNodeRegions;
private final Rect mLogicalAdjustment;
private UpdateMountState(
int reactTag,
@Nullable DrawCommand[] drawCommands,
@Nullable AttachDetachListener[] listeners,
@Nullable NodeRegion[] nodeRegions,
Rect logicalAdjustment) {
@Nullable NodeRegion[] nodeRegions) {
mReactTag = reactTag;
mDrawCommands = drawCommands;
mAttachDetachListeners = listeners;
mNodeRegions = nodeRegions;
mLogicalAdjustment = logicalAdjustment;
}
@Override
@@ -72,8 +69,7 @@ import com.facebook.react.uimanager.UIViewOperationQueue;
mReactTag,
mDrawCommands,
mAttachDetachListeners,
mNodeRegions,
mLogicalAdjustment);
mNodeRegions);
}
}
@@ -355,14 +351,12 @@ import com.facebook.react.uimanager.UIViewOperationQueue;
int reactTag,
@Nullable DrawCommand[] drawCommands,
@Nullable AttachDetachListener[] listeners,
@Nullable NodeRegion[] nodeRegions,
Rect logicalOffset) {
@Nullable NodeRegion[] nodeRegions) {
enqueueUIOperation(new UpdateMountState(
reactTag,
drawCommands,
listeners,
nodeRegions,
logicalOffset));
nodeRegions));
}
public void enqueueUpdateViewGroup(int reactTag, int[] viewsToAdd, int[] viewsToDetach) {