Home
last modified time | relevance | path

Searched refs:HORIZONTAL (Results 1 – 25 of 71) sorted by relevance

123

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
DScrollAdapterView.java149 public static final int HORIZONTAL = 0; field in ScrollAdapterView
161 private int mOrientation = HORIZONTAL;
476 setOrientation(a.getInt(R.styleable.ScrollAdapterView_orientation, HORIZONTAL));
578 if (mOrientation == HORIZONTAL) {
682 (mOrientation == HORIZONTAL ? View.FOCUS_RIGHT : View.FOCUS_DOWN) :
683 (mOrientation == HORIZONTAL ? View.FOCUS_LEFT : View.FOCUS_UP);
929 if (mOrientation == HORIZONTAL) {
974 if (mOrientation == HORIZONTAL) {
1073 if (mOrientation == HORIZONTAL) {
1084 if (mOrientation == HORIZONTAL) {
[all …]
DScrollController.java617 private int mOrientation = ScrollAdapterView.HORIZONTAL;
670 if (mOrientation == ScrollAdapterView.HORIZONTAL) { in setOrientation()
841 if (mOrientation == ScrollAdapterView.HORIZONTAL) { in startScrollByMain()
871 if (mOrientation == ScrollAdapterView.HORIZONTAL) { in setScrollCenterByMain()
946 return mOrientation == ScrollAdapterView.HORIZONTAL ? in isMainAxisMovingForward()
951 return mOrientation == ScrollAdapterView.HORIZONTAL ? in isSecondAxisMovingForward()
/packages/apps/Car/Launcher/libs/appgrid/lib/tests/src/com/android/car/carlauncher/
DAppGridAdapterTest.java61 PageOrientation.HORIZONTAL, in testPageRounding_getItemCount_getPageCount()
89 PageOrientation.HORIZONTAL, in testPageRounding_getItemCount_getPageCount()
118 PageOrientation.HORIZONTAL, in updatePageScrollDestination_testLeftScrollDestinations()
153 /* pageOrientation */ PageOrientation.HORIZONTAL, in updatePageScrollDestination_testRightScrollDestinations()
196 PageOrientation.HORIZONTAL, in getNextRotaryFocus_testLeftRightRotations()
202 PageOrientation.HORIZONTAL); in getNextRotaryFocus_testLeftRightRotations()
249 PageOrientation.HORIZONTAL, in getNextRotaryFocus_testInvalidRotation()
255 PageOrientation.HORIZONTAL); in getNextRotaryFocus_testInvalidRotation()
DAppGridPageSnapperTest.java102 GridLayoutManager.HORIZONTAL, false); in testScrollToNextPage()
151 GridLayoutManager.HORIZONTAL, in testSwipeRightAndStayOnCurrentPage()
201 GridLayoutManager.HORIZONTAL, in testScrollToPrevPage()
274 GridLayoutManager.HORIZONTAL, false); in testScrollLeftAndStayOnCurrentPage()
334 GridLayoutManager.HORIZONTAL, false); in testOnFlingRight()
377 GridLayoutManager.HORIZONTAL, false); in testOnFlingLeft()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DFilterMirrorRepresentation.java41 NONE('N'), VERTICAL('V'), HORIZONTAL('H'), BOTH('B'); enumConstant
59 return HORIZONTAL; in fromValue()
118 || mMirror == Mirror.HORIZONTAL) { in isHorizontal()
135 mMirror = Mirror.HORIZONTAL; in cycle()
137 case HORIZONTAL: in cycle()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/
DAppGridConstants.java34 PageOrientation.HORIZONTAL,
38 int HORIZONTAL = 0; field
72 return pageOrientation == PageOrientation.HORIZONTAL; in isHorizontal()
/packages/apps/Launcher3/tests/src/com/android/launcher3/touch/
DSingleAxisSwipeDetectorTest.java21 import static com.android.launcher3.touch.SingleAxisSwipeDetector.HORIZONTAL;
121 mMockConfig, mMockListener, HORIZONTAL, false); in testDragStart_horizontalPositive()
133 mMockConfig, mMockListener, HORIZONTAL, false); in testDragStart_horizontalNegative()
145 mMockConfig, mMockListener, HORIZONTAL, true); in testDragStart_horizontalRtlPositive()
157 mMockConfig, mMockListener, HORIZONTAL, true); in testDragStart_horizontalRtlNegative()
/packages/apps/Camera2/src/com/android/camera/ui/
DTopRightWeightedLayout.java57 final boolean isHorizontal = LinearLayout.HORIZONTAL == getOrientation(); in checkOrientation()
62 fixGravityAndPadding(LinearLayout.HORIZONTAL); in checkOrientation()
63 setOrientation(LinearLayout.HORIZONTAL); in checkOrientation()
/packages/apps/Settings/tests/robotests/src/com/android/settings/widget/
DBottomLabelLayoutTest.java42 mBottomLabelLayout.setOrientation(LinearLayout.HORIZONTAL); in setUp()
61 assertThat(mBottomLabelLayout.getOrientation()).isEqualTo(LinearLayout.HORIZONTAL); in testSetStacked_stackedFalse_layoutHorizontal()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DIconView.java39 public static final int HORIZONTAL = 1; field in IconView
45 private int mOrientation = HORIZONTAL;
91 if (mOrientation == HORIZONTAL) { in needsCenterText()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DDisplayAspectRatioLinearLayout.kt44 if (orientation == HORIZONTAL) { in <lambda>()
72 if (orientation == HORIZONTAL) { in <lambda>()
/packages/apps/Car/Notification/src/com/android/car/notification/
DHeadsUpNotificationOnTouchListener.java100 HORIZONTAL, VERTICAL; enumConstant
105 return HORIZONTAL; in getOppositeAxis()
119 ? Axis.VERTICAL : Axis.HORIZONTAL; in HeadsUpNotificationOnTouchListener()
/packages/apps/ThemePicker/src/com/android/customization/picker/color/ui/binder/
DColorPickerBinder.kt61 LinearLayoutManager(view.context, RecyclerView.HORIZONTAL, false) in <lambda>()
77 LinearLayoutManager(view.context, RecyclerView.HORIZONTAL, false) in <lambda>()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DWallpaperControlButtonGroup.java67 if (mOrientation == LinearLayout.HORIZONTAL) { in WallpaperControlButtonGroup()
68 buttonGroupContainer.setOrientation(LinearLayout.HORIZONTAL); in WallpaperControlButtonGroup()
/packages/apps/ThemePicker/src/com/android/customization/picker/quickaffordance/ui/binder/
DKeyguardQuickAffordancePickerBinder.kt67 LinearLayoutManager(view.context, RecyclerView.HORIZONTAL, false) in <lambda>()
100 LinearLayoutManager(view.context, RecyclerView.HORIZONTAL, false) in <lambda>()
/packages/apps/Dialer/java/com/android/dialer/app/widget/
DDialpadSearchEmptyContentView.java36 OrientationUtil.isLandscape(getContext()) ? LinearLayout.HORIZONTAL : LinearLayout.VERTICAL; in inflateLayout()
/packages/apps/TV/src/com/android/tv/guide/
DTimelineGridView.java38 new LinearLayoutManager(context, LinearLayoutManager.HORIZONTAL, false) { in TimelineGridView()
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/recyclerview/
DAppGridLayoutManager.java37 ? GridLayoutManager.HORIZONTAL : GridLayoutManager.VERTICAL, false); in AppGridLayoutManager()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/ui/
DCustomizationToolUI.kt94 LinearLayoutManager.HORIZONTAL, in <lambda>()
111 LinearLayoutManager.HORIZONTAL, in <lambda>()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DEqualWidthContainer.kt37 orientation = if (neededWidth <= availableWidth) HORIZONTAL else VERTICAL in onMeasure()
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/endtoend/
DTestActivity.java43 layout.setOrientation(LinearLayout.HORIZONTAL); in onCreate()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/v33/widget/
DSafetyProtectionSectionView.kt51 orientation = HORIZONTAL
/packages/apps/Settings/src/com/android/settings/widget/
DBottomLabelLayout.java83 setOrientation(stacked ? LinearLayout.VERTICAL : LinearLayout.HORIZONTAL); in setStacked()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DEllipsizeLayout.kt72 if (orientation == HORIZONTAL && in onMeasure()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/
DSafetyProtectionSectionView.java60 setOrientation(HORIZONTAL); in init()

123