Home
last modified time | relevance | path

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

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonRipple.java162 private boolean isHorizontal() { in isHorizontal() method in KeyButtonRipple
336 if (isHorizontal()) { in setExtendStart()
344 return isHorizontal() ? mLeftProp : mTopProp; in getExtendStart()
352 if (isHorizontal()) { in setExtendEnd()
360 return isHorizontal() ? mRightProp : mBottomProp; in getExtendEnd()
364 return isHorizontal() ? getBounds().width() : getBounds().height(); in getExtendSize()
368 int size = isHorizontal() ? getBounds().width() : getBounds().height(); in getRippleSize()
392 if (isHorizontal()) { in enterHardware()
/frameworks/base/core/java/com/android/internal/widget/
DSlidingTab.java510 if (isHorizontal()) { in onMeasure()
550 mThreshold = isHorizontal() ? THRESHOLD : 1.0f - THRESHOLD; in onInterceptTouchEvent()
555 mThreshold = isHorizontal() ? 1.0f - THRESHOLD : THRESHOLD; in onInterceptTouchEvent()
602 float position = isHorizontal() ? x : y; in onTouchEvent()
603 float target = mThreshold * (isHorizontal() ? getWidth() : getHeight()); in onTouchEvent()
605 if (isHorizontal()) { in onTouchEvent()
656 if (isHorizontal()) {
724 return isHorizontal() && y > - TRACKING_MARGIN && y < TRACKING_MARGIN + view.getHeight()
725 || !isHorizontal() && x > -TRACKING_MARGIN && x < TRACKING_MARGIN + view.getWidth();
728 private boolean isHorizontal() {
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/brightline/
DFalsingClassifier.java48 boolean isHorizontal() { in isHorizontal() method in FalsingClassifier
49 return mDataProvider.isHorizontal(); in isHorizontal()
DDistanceClassifier.java168 if (isHorizontal()) { in getPassedDistanceThreshold()
184 if (isHorizontal()) { in getPassedFlingThreshold()
DFalsingDataProvider.java144 boolean isHorizontal() { in isHorizontal() method in FalsingDataProvider
164 return !isHorizontal(); in isVertical()
DZigZagClassifier.java92 if (isHorizontal()) { in isFalseTouch()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/statusbar/hvac/
DAnimatedTemperatureView.java66 static boolean isHorizontal(int gravity) { in isHorizontal() method in AnimatedTemperatureView
67 return Gravity.isHorizontal(gravity) in isHorizontal()
173 if (isHorizontal(mGravity)) { in generateTextView()
DTemperatureTextAnimator.java19 import static com.android.systemui.statusbar.hvac.AnimatedTemperatureView.isHorizontal;
111 if (!isHorizontal(gravity)) { in setupAnimations()
DTemperatureBackgroundAnimator.java19 import static com.android.systemui.statusbar.hvac.AnimatedTemperatureView.isHorizontal;
90 if (isHorizontal(gravity)) { in setupAnimations()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/brightline/
DFalsingDataProviderTest.java176 assertThat(mDataProvider.isHorizontal(), is(false)); in test_isHorizontal()
181 assertThat(mDataProvider.isHorizontal(), is(true)); in test_isHorizontal()
186 assertThat(mDataProvider.isHorizontal(), is(true)); in test_isHorizontal()
/frameworks/native/services/surfaceflinger/
DLayerStats.h44 static const char* destinationLocation(int32_t location, int32_t range, bool isHorizontal);
DLayerStats.cpp129 const char* LayerStats::destinationLocation(int32_t location, int32_t range, bool isHorizontal) { in destinationLocation() argument
133 if (isHorizontal) { in destinationLocation()
/frameworks/base/packages/SystemUI/src/com/android/systemui/pip/phone/
DPipTouchHandler.java688 final boolean isHorizontal = Math.abs(vel.x) > Math.abs(vel.y);
695 final boolean isFlingToBot = isFling && vel.y > 0 && !isHorizontal
709 final boolean isFlingToEdge = isFling && isHorizontal && mMovementWithinMinimize
/frameworks/base/core/java/android/widget/
DTableRow.java207 final boolean isHorizontalGravity = Gravity.isHorizontal(gravity); in measureChildBeforeLayout()
/frameworks/base/core/java/android/view/
DGravity.java397 public static boolean isHorizontal(int gravity) { in isHorizontal() method in Gravity
/frameworks/base/graphics/java/android/graphics/drawable/
DLayerDrawable.java1620 if (!Gravity.isHorizontal(gravity)) {
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt32194 method public static boolean isHorizontal(int);
/frameworks/base/non-updatable-api/
Dcurrent.txt50142 method public static boolean isHorizontal(int);
/frameworks/base/api/
Dcurrent.txt50286 method public static boolean isHorizontal(int);