Java 类com.facebook.react.views.view.ReactClippingViewGroup 实例源码

项目:ReactNativeSignatureExample    文件:ReactScrollView.java   
@Override
public void updateClippingRect() {
  if (!mRemoveClippedSubviews) {
    return;
  }

  Assertions.assertNotNull(mClippingRect);

  ReactClippingViewGroupHelper.calculateClippingRect(this, mClippingRect);
  View contentView = getChildAt(0);
  if (contentView instanceof ReactClippingViewGroup) {
    ((ReactClippingViewGroup) contentView).updateClippingRect();
  }
}
项目:ReactNativeSignatureExample    文件:ReactHorizontalScrollView.java   
@Override
public void updateClippingRect() {
  if (!mRemoveClippedSubviews) {
    return;
  }

  Assertions.assertNotNull(mClippingRect);

  ReactClippingViewGroupHelper.calculateClippingRect(this, mClippingRect);
  View contentView = getChildAt(0);
  if (contentView instanceof ReactClippingViewGroup) {
    ((ReactClippingViewGroup) contentView).updateClippingRect();
  }
}
项目:react-native-ibeacon-android    文件:ReactScrollView.java   
@Override
public void updateClippingRect() {
  if (!mRemoveClippedSubviews) {
    return;
  }

  Assertions.assertNotNull(mClippingRect);

  ReactClippingViewGroupHelper.calculateClippingRect(this, mClippingRect);
  View contentView = getChildAt(0);
  if (contentView instanceof ReactClippingViewGroup) {
    ((ReactClippingViewGroup) contentView).updateClippingRect();
  }
}
项目:react-native-ibeacon-android    文件:ReactHorizontalScrollView.java   
@Override
public void updateClippingRect() {
  if (!mRemoveClippedSubviews) {
    return;
  }

  Assertions.assertNotNull(mClippingRect);

  ReactClippingViewGroupHelper.calculateClippingRect(this, mClippingRect);
  View contentView = getChildAt(0);
  if (contentView instanceof ReactClippingViewGroup) {
    ((ReactClippingViewGroup) contentView).updateClippingRect();
  }
}
项目:react-native-box-loaders    文件:ReactScrollView.java   
@Override
public void updateClippingRect() {
  if (!mRemoveClippedSubviews) {
    return;
  }

  Assertions.assertNotNull(mClippingRect);

  ReactClippingViewGroupHelper.calculateClippingRect(this, mClippingRect);
  View contentView = getChildAt(0);
  if (contentView instanceof ReactClippingViewGroup) {
    ((ReactClippingViewGroup) contentView).updateClippingRect();
  }
}
项目:react-native-box-loaders    文件:ReactHorizontalScrollView.java   
@Override
public void updateClippingRect() {
  if (!mRemoveClippedSubviews) {
    return;
  }

  Assertions.assertNotNull(mClippingRect);

  ReactClippingViewGroupHelper.calculateClippingRect(this, mClippingRect);
  View contentView = getChildAt(0);
  if (contentView instanceof ReactClippingViewGroup) {
    ((ReactClippingViewGroup) contentView).updateClippingRect();
  }
}