Searched refs:isHorizontal (Results 1 – 5 of 5) sorted by relevance
494 if (isHorizontal()) { in onMeasure()534 mThreshold = isHorizontal() ? THRESHOLD : 1.0f - THRESHOLD; in onInterceptTouchEvent()539 mThreshold = isHorizontal() ? 1.0f - THRESHOLD : THRESHOLD; in onInterceptTouchEvent()586 float position = isHorizontal() ? x : y; in onTouchEvent()587 float target = mThreshold * (isHorizontal() ? getWidth() : getHeight()); in onTouchEvent()589 if (isHorizontal()) { in onTouchEvent()640 if (isHorizontal()) {707 return isHorizontal() && y > - TRACKING_MARGIN && y < TRACKING_MARGIN + view.getHeight()708 || !isHorizontal() && x > -TRACKING_MARGIN && x < TRACKING_MARGIN + view.getWidth();711 private boolean isHorizontal() {[all …]
340 public static boolean isHorizontal(int gravity) { in isHorizontal() method in Gravity
205 final boolean isHorizontalGravity = Gravity.isHorizontal(gravity); in measureChildBeforeLayout()
21798 method public static boolean isHorizontal(int);