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

项目: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();
  }
}
项目:ReactNativeSignatureExample    文件:ReactHorizontalScrollViewManager.java   
@ReactProp(name = ReactClippingViewGroupHelper.PROP_REMOVE_CLIPPED_SUBVIEWS)
public void setRemoveClippedSubviews(ReactHorizontalScrollView view, boolean removeClippedSubviews) {
  view.setRemoveClippedSubviews(removeClippedSubviews);
}
项目:ReactNativeSignatureExample    文件:ReactScrollViewManager.java   
@ReactProp(name = ReactClippingViewGroupHelper.PROP_REMOVE_CLIPPED_SUBVIEWS)
public void setRemoveClippedSubviews(ReactScrollView view, boolean removeClippedSubviews) {
  view.setRemoveClippedSubviews(removeClippedSubviews);
}
项目:react-native-ibeacon-android    文件:ReactHorizontalScrollViewManager.java   
@ReactProp(name = ReactClippingViewGroupHelper.PROP_REMOVE_CLIPPED_SUBVIEWS)
public void setRemoveClippedSubviews(ReactHorizontalScrollView view, boolean removeClippedSubviews) {
  view.setRemoveClippedSubviews(removeClippedSubviews);
}
项目:react-native-ibeacon-android    文件:ReactScrollViewManager.java   
@ReactProp(name = ReactClippingViewGroupHelper.PROP_REMOVE_CLIPPED_SUBVIEWS)
public void setRemoveClippedSubviews(ReactScrollView view, boolean removeClippedSubviews) {
  view.setRemoveClippedSubviews(removeClippedSubviews);
}
项目:react-native-box-loaders    文件:ReactHorizontalScrollViewManager.java   
@ReactProp(name = ReactClippingViewGroupHelper.PROP_REMOVE_CLIPPED_SUBVIEWS)
public void setRemoveClippedSubviews(ReactHorizontalScrollView view, boolean removeClippedSubviews) {
  view.setRemoveClippedSubviews(removeClippedSubviews);
}
项目:react-native-box-loaders    文件:ReactScrollViewManager.java   
@ReactProp(name = ReactClippingViewGroupHelper.PROP_REMOVE_CLIPPED_SUBVIEWS)
public void setRemoveClippedSubviews(ReactScrollView view, boolean removeClippedSubviews) {
  view.setRemoveClippedSubviews(removeClippedSubviews);
}