Searched refs:isHorizontal (Results 1 – 9 of 9) sorted by relevance
129 private boolean isHorizontal() { in isHorizontal() method in KeyButtonRipple247 if (isHorizontal()) { in setExtendStart()255 return isHorizontal() ? mLeftProp : mTopProp; in getExtendStart()263 if (isHorizontal()) { in setExtendEnd()271 return isHorizontal() ? mRightProp : mBottomProp; in getExtendEnd()275 return isHorizontal() ? getBounds().width() : getBounds().height(); in getExtendSize()279 int size = isHorizontal() ? getBounds().width() : getBounds().height(); in getRippleSize()302 if (isHorizontal()) { in enterHardware()
504 if (isHorizontal()) { in onMeasure()544 mThreshold = isHorizontal() ? THRESHOLD : 1.0f - THRESHOLD; in onInterceptTouchEvent()549 mThreshold = isHorizontal() ? 1.0f - THRESHOLD : THRESHOLD; in onInterceptTouchEvent()596 float position = isHorizontal() ? x : y; in onTouchEvent()597 float target = mThreshold * (isHorizontal() ? getWidth() : getHeight()); in onTouchEvent()599 if (isHorizontal()) { in onTouchEvent()650 if (isHorizontal()) {717 return isHorizontal() && y > - TRACKING_MARGIN && y < TRACKING_MARGIN + view.getHeight()718 || !isHorizontal() && x > -TRACKING_MARGIN && x < TRACKING_MARGIN + view.getWidth();721 private boolean isHorizontal() {[all …]
397 public static boolean isHorizontal(int gravity) { in isHorizontal() method in Gravity
206 final boolean isHorizontalGravity = Gravity.isHorizontal(gravity); in measureChildBeforeLayout()
1596 if (!Gravity.isHorizontal(gravity)) {
32194 method public static boolean isHorizontal(int);
40937 method public static boolean isHorizontal(int);
41016 method public static boolean isHorizontal(int);
43937 method public static boolean isHorizontal(int);