Home
last modified time | relevance | path

Searched refs:isVertical (Results 1 – 24 of 24) sorted by relevance

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/classifier/
DTypeClassifierTest.java63 when(mDataProvider.isVertical()).thenReturn(true); in testPass_QuickSettings()
75 when(mDataProvider.isVertical()).thenReturn(false); in testFalse_QuickSettings()
79 when(mDataProvider.isVertical()).thenReturn(true); in testFalse_QuickSettings()
86 when(mDataProvider.isVertical()).thenReturn(true); in testPass_PulseExpand()
98 when(mDataProvider.isVertical()).thenReturn(false); in testFalse_PulseExpand()
102 when(mDataProvider.isVertical()).thenReturn(true); in testFalse_PulseExpand()
109 when(mDataProvider.isVertical()).thenReturn(true); in testPass_NotificationDragDown()
121 when(mDataProvider.isVertical()).thenReturn(false); in testFalse_NotificationDragDown()
125 when(mDataProvider.isVertical()).thenReturn(true); in testFalse_NotificationDragDown()
132 when(mDataProvider.isVertical()).thenReturn(false); in testPass_NotificationDismiss()
[all …]
DDiagonalClassifierTest.java181 when(mDataProvider.isVertical()).thenReturn(false); in testFail_DiagonalSwipe()
199 when(mDataProvider.isVertical()).thenReturn(true); in testFail_DiagonalSwipe()
DFalsingDataProviderTest.java229 assertThat(mDataProvider.isVertical()).isFalse(); in test_isVertical()
234 assertThat(mDataProvider.isVertical()).isTrue(); in test_isVertical()
239 assertThat(mDataProvider.isVertical()).isTrue(); in test_isVertical()
/frameworks/base/packages/SystemUI/compose/scene/src/com/android/compose/grid/
DGrids.kt48 isVertical = true, in <lambda>()
74 isVertical = false, in HorizontalGrid()
85 isVertical: Boolean, in Grid()
109 if (isVertical) { in Grid()
152 if (isVertical) { in Grid()
/frameworks/base/core/java/com/android/internal/widget/
DRemeasuringLinearLayout.java60 boolean isVertical = getOrientation() == LinearLayout.VERTICAL; in onMeasure()
69 if (!isWrapContent || lp.height != LayoutParams.MATCH_PARENT || isVertical) { in onMeasure()
71 height = Math.max(height, isVertical ? height + childHeight : childHeight); in onMeasure()
DNotificationOptimizedLinearLayout.java252 final boolean isVertical = getOrientation() == VERTICAL; in getSingleWeightedChild()
259 if ((!isVertical && lp.width == ViewGroup.LayoutParams.MATCH_PARENT) in getSingleWeightedChild()
260 || (isVertical && lp.height == ViewGroup.LayoutParams.MATCH_PARENT)) { in getSingleWeightedChild()
283 if ((isVertical && !isHeightWrapContentOrZero) in getSingleWeightedChild()
284 || (!isVertical && !isWidthWrapContentOrZero)) { in getSingleWeightedChild()
/frameworks/base/packages/SystemUI/src/com/android/systemui/classifier/
DFalsingClassifier.java70 boolean isVertical() { in isVertical() method in FalsingClassifier
71 return mDataProvider.isVertical(); in isVertical()
DTypeClassifier.java55 boolean vertical = isVertical(); in calculateFalsingResult()
114 interactionType, isVertical(), isUp(), isRight()); in getReason()
DDiagonalClassifier.java81 if (isVertical()) { in calculateFalsingResult()
99 isVertical()); in getReason()
DFalsingDataProvider.java257 public boolean isVertical() { in isVertical() method in FalsingDataProvider
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DNearestTouchFrame.java80 int[] attrsArray = new int[] {R.attr.isVertical}; in NearestTouchFrame()
163 void setIsVertical(boolean isVertical) {
164 mIsVertical = isVertical;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DLightRevealScrim.kt93 data class LinearLightRevealEffect(private val isVertical: Boolean) : LightRevealEffect { constant in com.android.systemui.statusbar.LinearLightRevealEffect
125 if (isVertical) { in setRevealAmountOnScrim()
159 data class LinearSideLightRevealEffect(private val isVertical: Boolean) : LightRevealEffect { constant in com.android.systemui.statusbar.LinearSideLightRevealEffect
173 if (isVertical) { in setRevealAmountOnScrim()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/scroll/
DCropView.java188 float deltaPx = isVertical(mCurrentDraggingBoundary) in onTouchEvent()
288 private static boolean isVertical(CropBoundary boundary) { in isVertical() method in CropView
398 if (mCropInteractionListener != null && isVertical(mCurrentDraggingBoundary)) { in updateListener()
478 if (isVertical(boundary)) { in pixelDistanceToFraction()
622 if (isVertical(boundary)) { in getNodeRect()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DLayout.java383 boolean isVertical = mBuilder.isNavBarVertical(); in createNavBar()
384 int w = isVertical ? size : MATCH_PARENT; in createNavBar()
385 int h = isVertical ? MATCH_PARENT : size; in createNavBar()
387 … params.addRule(isVertical ? RelativeLayout.ALIGN_PARENT_END : RelativeLayout.ALIGN_PARENT_BOTTOM); in createNavBar()
/frameworks/base/core/java/android/widget/
DSlidingDrawer.java313 final boolean isVertical = mVertical; in dispatchDraw()
320 if (isVertical) { in dispatchDraw()
327 canvas.translate(isVertical ? 0 : handle.getLeft() - mTopOffset, in dispatchDraw()
328 isVertical ? handle.getTop() - mTopOffset : 0); in dispatchDraw()
/frameworks/base/core/java/android/view/
DGravity.java420 public static boolean isVertical(int gravity) { in isVertical() method in Gravity
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBarView.java938 public boolean isVertical() { in isVertical() method in NavigationBarView
1195 void onVerticalChanged(boolean isVertical); in onVerticalChanged() argument
DNavigationBar.java1424 private void onVerticalChanged(boolean isVertical) { in onVerticalChanged() argument
1428 mShadeViewController.setQsScrimEnabled(!isVertical); in onVerticalChanged()
/frameworks/base/graphics/java/android/graphics/drawable/
DLayerDrawable.java1628 if (!Gravity.isVertical(gravity)) {
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/base/boot/
Dboot-image-profile.txt16161 HSPLandroid/view/Gravity;->isVertical(I)Z
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt32195 method public static boolean isVertical(int);
/frameworks/base/config/
Dboot-image-profile.txt16225 HSPLandroid/view/Gravity;->isVertical(I)Z
/frameworks/base/core/api/
Dcurrent.txt50945 method public static boolean isVertical(int);