Searched refs:isHorizontal (Results 1 - 4 of 4) sorted by relevance

/frameworks/base/core/java/com/android/internal/widget/
H A DSlidingTab.java496 if (isHorizontal()) {
536 mThreshold = isHorizontal() ? THRESHOLD : 1.0f - THRESHOLD;
541 mThreshold = isHorizontal() ? 1.0f - THRESHOLD : THRESHOLD;
588 float position = isHorizontal() ? x : y;
589 float target = mThreshold * (isHorizontal() ? getWidth() : getHeight());
591 if (isHorizontal()) {
642 if (isHorizontal()) {
709 return isHorizontal() && y > - TRACKING_MARGIN && y < TRACKING_MARGIN + view.getHeight()
710 || !isHorizontal() && x > -TRACKING_MARGIN && x < TRACKING_MARGIN + view.getWidth();
713 private boolean isHorizontal() { method in class:SlidingTab
[all...]
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DMultiPaneChallengeLayout.java271 } else if (Gravity.isHorizontal(lp.gravity)) {
397 final boolean isHorizontal = Gravity.isHorizontal(gravity);
435 if (adjustPadding && isHorizontal && !isVertical) {
445 if (adjustPadding && isHorizontal && !isVertical) {
/frameworks/base/core/java/android/view/
H A DGravity.java397 public static boolean isHorizontal(int gravity) { method in class:Gravity
/frameworks/base/core/java/android/widget/
H A DTableRow.java207 final boolean isHorizontalGravity = Gravity.isHorizontal(gravity);

Completed in 361 milliseconds