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 @@ -868,6 +868,7 @@ protected void finalize() throws Throwable {
+ " or in the onDestroyView() of your hosting Fragment.");
}

@Override
public int getRootViewTag() {
return mRootViewTag;
}
Expand All @@ -876,6 +877,7 @@ private boolean isRootViewTagSet() {
return mRootViewTag != 0 && mRootViewTag != NO_ID;
}

@Override
public void setRootViewTag(int rootViewTag) {
mRootViewTag = rootViewTag;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -567,6 +567,7 @@ public EventDispatcher getEventDispatcher() {
return null;
}

@Override
@ReactMethod
public void sendAccessibilityEvent(int tag, int eventType) {
int uiManagerType = ViewUtil.getUIManagerType(tag);
Expand Down Expand Up @@ -601,10 +602,12 @@ public void addUIBlock(UIBlock block) {}
*/
public void prependUIBlock(UIBlock block) {}

@Override
public void addUIManagerEventListener(UIManagerListener listener) {
mUIManagerListeners.add(listener);
}

@Override
public void removeUIManagerEventListener(UIManagerListener listener) {
mUIManagerListeners.remove(listener);
}
Expand All @@ -631,6 +634,7 @@ public void invalidateNodeLayout(int tag) {}
* Updates the styles of the {@link ReactShadowNode} based on the Measure specs received by
* parameters. offsetX and offsetY aren't used in non-Fabric, so they're ignored here.
*/
@Override
public void updateRootLayoutSpecs(
final int rootViewTag,
final int widthMeasureSpec,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -240,6 +240,7 @@ public void onInitializeAccessibilityNodeInfo(AccessibilityNodeInfo info) {
}
}

@Override
public boolean getScrollEnabled() {
return mScrollEnabled;
}
Expand Down Expand Up @@ -1599,6 +1600,7 @@ public void setBorderStyle(@Nullable String style) {
* <p>`smoothScrollTo` changes `contentOffset` and we need to keep `contentOffset` in sync between
* scroll view and state. Calling raw `smoothScrollTo` doesn't update state.
*/
@Override
public void reactSmoothScrollTo(int x, int y) {
ReactScrollViewHelper.smoothScrollTo(this, x, y);
setPendingContentOffsets(x, y);
Expand Down Expand Up @@ -1742,6 +1744,7 @@ private void adjustPositionForContentChangeRTL(int left, int right, int oldLeft,
}

@Nullable
@Override
public StateWrapper getStateWrapper() {
return mStateWrapper;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
* This source code is licensed under the MIT license found in the
* LICENSE file in the root directory of this source tree.
*
* @generated SignedSource<<fefaf14f0291216b635ea0c356e9929c>>
* @generated SignedSource<<f31741d016231b75604a72aa89dd6923>>
*/

/**
Expand Down Expand Up @@ -300,6 +300,7 @@ public void setScrollEnabled(boolean scrollEnabled) {
mScrollEnabled = scrollEnabled;
}

@Override
public boolean getScrollEnabled() {
return mScrollEnabled;
}
Expand Down Expand Up @@ -888,6 +889,7 @@ private int getMaxScrollY() {
}

@Nullable
@Override
public StateWrapper getStateWrapper() {
return mStateWrapper;
}
Expand Down Expand Up @@ -1353,6 +1355,7 @@ public void setContentOffset(@Nullable ReadableMap value) {
* <p>`smoothScrollTo` changes `contentOffset` and we need to keep `contentOffset` in sync between
* scroll view and state. Calling raw `smoothScrollTo` doesn't update state.
*/
@Override
public void reactSmoothScrollTo(int x, int y) {
ReactScrollViewHelper.smoothScrollTo(this, x, y);
setPendingContentOffsets(x, y);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,7 @@ public void setScrollEnabled(boolean scrollEnabled) {
mScrollEnabled = scrollEnabled;
}

@Override
public boolean getScrollEnabled() {
return mScrollEnabled;
}
Expand Down Expand Up @@ -880,6 +881,7 @@ private int getMaxScrollY() {
}

@Nullable
@Override
public StateWrapper getStateWrapper() {
return mStateWrapper;
}
Expand Down Expand Up @@ -1345,6 +1347,7 @@ public void setContentOffset(@Nullable ReadableMap value) {
* <p>`smoothScrollTo` changes `contentOffset` and we need to keep `contentOffset` in sync between
* scroll view and state. Calling raw `smoothScrollTo` doesn't update state.
*/
@Override
public void reactSmoothScrollTo(int x, int y) {
ReactScrollViewHelper.smoothScrollTo(this, x, y);
setPendingContentOffsets(x, y);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,7 @@ public void setHyphenationFrequency(int hyphenationFrequency) {
mShouldAdjustSpannableFontSize = true;
}

@Override
public void setLetterSpacing(float letterSpacing) {
if (Float.isNaN(letterSpacing)) {
return;
Expand Down
Loading