Home
last modified time | relevance | path

Searched refs:isHorizontal (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java494 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 …]
/frameworks/base/core/java/android/view/
DGravity.java340 public static boolean isHorizontal(int gravity) { in isHorizontal() method in Gravity
/frameworks/base/core/java/android/widget/
DTableRow.java205 final boolean isHorizontalGravity = Gravity.isHorizontal(gravity); in measureChildBeforeLayout()
/frameworks/base/api/
Dcurrent.txt21798 method public static boolean isHorizontal(int);
D14.txt21798 method public static boolean isHorizontal(int);