Home
last modified time | relevance | path

Searched refs:VERTICAL (Results 1 – 25 of 66) sorted by relevance

123

/packages/apps/Camera2/src/com/android/camera/ui/
DTopRightWeightedLayout.java69 fixGravityAndPadding(LinearLayout.VERTICAL); in checkOrientation()
70 setOrientation(LinearLayout.VERTICAL); in checkOrientation()
106 if (direction == LinearLayout.VERTICAL) { in fixGravityAndPadding()
118 if (direction == LinearLayout.VERTICAL) { in fixGravityAndPadding()
132 if (direction == LinearLayout.VERTICAL) { in fixGravityAndPadding()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterMirrorRepresentation.java41 NONE('N'), VERTICAL('V'), HORIZONTAL('H'), BOTH('B'); enumConstant
57 return VERTICAL; in fromValue()
126 || mMirror == Mirror.VERTICAL) { in isVertical()
141 mMirror = Mirror.VERTICAL; in cycle()
143 case VERTICAL: in cycle()
/packages/apps/Settings/src/com/android/settings/widget/
DChartSweepView.java88 public static final int VERTICAL = 1; field in ChartSweepView
182 if (mFollowAxis == VERTICAL) { in getTargetInset()
301 if (mFollowAxis == VERTICAL) { in invalidateLabelOffset()
435 if (mFollowAxis == VERTICAL) { in onTouchEvent()
456 if (mFollowAxis == VERTICAL) { in onTouchEvent()
491 if (mFollowAxis == VERTICAL) { in onTouchEvent()
547 if (mFollowAxis == VERTICAL) {
619 if (mFollowAxis == VERTICAL) {
656 if (mFollowAxis == VERTICAL) {
727 if (mFollowAxis == VERTICAL) {
DBottomLabelLayout.java85 setOrientation(stacked ? LinearLayout.VERTICAL : LinearLayout.HORIZONTAL); in setStacked()
95 return getOrientation() == LinearLayout.VERTICAL; in isStacked()
DMatchParentShrinkingLinearLayout.java47 @IntDef({HORIZONTAL, VERTICAL})
52 public static final int VERTICAL = 1; field in MatchParentShrinkingLinearLayout
323 if (mOrientation == VERTICAL) { in onDraw()
498 if (mOrientation == VERTICAL) { in getBaseline()
598 if (mOrientation == VERTICAL) { in onMeasure()
1091 if (mOrientation == VERTICAL) { in onLayout()
1428 } else if (mOrientation == VERTICAL) { in generateDefaultLayoutParams()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/
DCarUiLayoutStyle.java31 @IntDef({HORIZONTAL, VERTICAL})
36 int VERTICAL = LinearLayout.VERTICAL; field
DCarUiLinearLayoutStyle.java32 private int mLayoutOrientation = VERTICAL;
DCarUiGridLayoutStyle.java36 private int mLayoutOrientation = VERTICAL;
/packages/apps/Launcher3/tests/src/com/android/launcher3/touch/
DSingleAxisSwipeDetectorTest.java22 import static com.android.launcher3.touch.SingleAxisSwipeDetector.VERTICAL;
77 mDetector = new SingleAxisSwipeDetector(mMockConfig, mMockListener, VERTICAL, false); in setup()
87 mDetector = new SingleAxisSwipeDetector(mMockConfig, mMockListener, VERTICAL, false); in testDragStart_verticalPositive()
97 mDetector = new SingleAxisSwipeDetector(mMockConfig, mMockListener, VERTICAL, false); in testDragStart_verticalNegative()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DIconView.java38 public static final int VERTICAL = 0; field in IconView
82 if (getOrientation() == VERTICAL) { in computeTextPosition()
184 if (getOrientation() == VERTICAL && isHalfImage()) { in computeBitmapBounds()
233 if (getOrientation() == VERTICAL && isHalfImage()) { in onDraw()
DCategoryView.java37 public static final int VERTICAL = 0; field in CategoryView
93 if (getOrientation() == CategoryView.VERTICAL) { in drawSpacer()
187 if (getOrientation() == CategoryView.VERTICAL) { in onTouchEvent()
/packages/apps/Launcher3/src/com/android/launcher3/touch/
DPortraitPagedViewHandler.java21 import static com.android.launcher3.touch.SingleAxisSwipeDetector.VERTICAL;
286 taskMenuLayout.setOrientation(LinearLayout.VERTICAL); in setTaskOptionsMenuLayoutOrientation()
297 viewGroup.setOrientation(LinearLayout.VERTICAL); in setLayoutParamsForTaskMenuOptionItem()
327 return VERTICAL; in getUpDownSwipeDirection()
DAllAppsSwipeController.java33 super(l, SingleAxisSwipeDetector.VERTICAL); in AllAppsSwipeController()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/recyclerview/decorations/linear/
DLinearDividerItemDecoration.java60 } else if (mOrientation == LinearLayoutManager.VERTICAL) { in onDraw()
87 } else if (mOrientation == LinearLayoutManager.VERTICAL) { in getItemOffsets()
DLinearOffsetItemDecoration.java124 } else if (mOrientation == LinearLayoutManager.VERTICAL) { in getItemOffsets()
158 } else if (mOrientation == LinearLayoutManager.VERTICAL) { in onDraw()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DGeometryMathUtils.java222 type = Mirror.VERTICAL; in concatMirrorMatrix()
224 } else if (type == Mirror.VERTICAL) { in concatMirrorMatrix()
232 } else if (type == Mirror.VERTICAL) { in concatMirrorMatrix()
/packages/apps/Messaging/src/com/android/messaging/ui/
DAudioAttachmentView.java365 setOrientation(VERTICAL); in initializeViewsForMode()
372 setOrientation(VERTICAL); in initializeViewsForMode()
/packages/apps/Contacts/src/com/android/contacts/widget/
DMultiShrinkScroller.java1278 final int VERTICAL = 1; in updatePositionAndComputeDelta() local
1279 final float position = mLastEventPosition[VERTICAL]; in updatePositionAndComputeDelta()
1282 if (position < mLastEventPosition[VERTICAL] && mHasEverTouchedTheTop) { in updatePositionAndComputeDelta()
1287 return (position - mLastEventPosition[VERTICAL]) / elasticityFactor; in updatePositionAndComputeDelta()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DTransposedQuickSwitchTouchController.java25 super(launcher, SingleAxisSwipeDetector.VERTICAL); in TransposedQuickSwitchTouchController()
/packages/apps/Dialer/java/com/android/dialer/app/widget/
DDialpadSearchEmptyContentView.java36 OrientationUtil.isLandscape(getContext()) ? LinearLayout.HORIZONTAL : LinearLayout.VERTICAL; in inflateLayout()
/packages/apps/Settings/src/com/android/settings/
DTrustedCredentialsDialogBuilder.java115 mRootContainer.setOrientation(LinearLayout.VERTICAL); in DialogEventHandler()
311 certLayout.setOrientation(LinearLayout.VERTICAL); in getCertLayout()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/sharedlibrarysupport/
DSharedLibraryFactoryAdapterV1.java171 CarUiLayoutStyle.VERTICAL); in from()
200 case CarUiLayoutStyle.VERTICAL: in from()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DBottomLabelLayoutTest.java53 assertThat(mBottomLabelLayout.getOrientation()).isEqualTo(LinearLayout.VERTICAL); in testSetStacked_stackedTrue_layoutVertical()
/packages/services/Mtp/tests/src/com/android/mtp/
DTestResultActivity.java49 linearLayout.setOrientation(LinearLayout.VERTICAL); in onCreate()
/packages/services/Car/tests/DiagnosticTools/src/com/google/android/car/diagnostictools/
DECUListActivity.java64 mRecyclerView.getContext(), DividerItemDecoration.VERTICAL)); in onCreate()

123