Searched refs:isHorizontal (Results 1 – 11 of 11) sorted by relevance
136 private boolean isHorizontal() { in isHorizontal() method in KeyButtonRipple267 if (isHorizontal()) { in setExtendStart()275 return isHorizontal() ? mLeftProp : mTopProp; in getExtendStart()283 if (isHorizontal()) { in setExtendEnd()291 return isHorizontal() ? mRightProp : mBottomProp; in getExtendEnd()295 return isHorizontal() ? getBounds().width() : getBounds().height(); in getExtendSize()299 int size = isHorizontal() ? getBounds().width() : getBounds().height(); in getRippleSize()322 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 …]
659 final boolean isHorizontal = Math.abs(vel.x) > Math.abs(vel.y);666 final boolean isFlingToBot = isFling && vel.y > 0 && !isHorizontal681 final boolean isFlingToEdge = isFling && isHorizontal && mMovementWithinMinimize
397 public static boolean isHorizontal(int gravity) { in isHorizontal() method in Gravity
206 final boolean isHorizontalGravity = Gravity.isHorizontal(gravity); in measureChildBeforeLayout()
1613 if (!Gravity.isHorizontal(gravity)) {
32194 method public static boolean isHorizontal(int);
44139 method public static boolean isHorizontal(int);
44582 method public static boolean isHorizontal(int);
47726 method public static boolean isHorizontal(int);
32154 HSPLandroid/view/Gravity;->isHorizontal(I)Z