/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/ |
D | ScrollAdapterView.java | 149 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 …]
|
D | ScrollController.java | 617 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/ |
D | AppGridAdapterTest.java | 61 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()
|
D | AppGridPageSnapperTest.java | 102 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/ |
D | FilterMirrorRepresentation.java | 41 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/ |
D | AppGridConstants.java | 34 PageOrientation.HORIZONTAL, 38 int HORIZONTAL = 0; field 72 return pageOrientation == PageOrientation.HORIZONTAL; in isHorizontal()
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/touch/ |
D | SingleAxisSwipeDetectorTest.java | 21 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/ |
D | TopRightWeightedLayout.java | 57 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/ |
D | BottomLabelLayoutTest.java | 42 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/ |
D | IconView.java | 39 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/ |
D | DisplayAspectRatioLinearLayout.kt | 44 if (orientation == HORIZONTAL) { in <lambda>() 72 if (orientation == HORIZONTAL) { in <lambda>()
|
/packages/apps/Car/Notification/src/com/android/car/notification/ |
D | HeadsUpNotificationOnTouchListener.java | 100 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/ |
D | ColorPickerBinder.kt | 61 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/ |
D | WallpaperControlButtonGroup.java | 67 if (mOrientation == LinearLayout.HORIZONTAL) { in WallpaperControlButtonGroup() 68 buttonGroupContainer.setOrientation(LinearLayout.HORIZONTAL); in WallpaperControlButtonGroup()
|
/packages/apps/ThemePicker/src/com/android/customization/picker/quickaffordance/ui/binder/ |
D | KeyguardQuickAffordancePickerBinder.kt | 67 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/ |
D | DialpadSearchEmptyContentView.java | 36 OrientationUtil.isLandscape(getContext()) ? LinearLayout.HORIZONTAL : LinearLayout.VERTICAL; in inflateLayout()
|
/packages/apps/TV/src/com/android/tv/guide/ |
D | TimelineGridView.java | 38 new LinearLayoutManager(context, LinearLayoutManager.HORIZONTAL, false) { in TimelineGridView()
|
/packages/apps/Car/Launcher/libs/appgrid/lib/src/com/android/car/carlauncher/recyclerview/ |
D | AppGridLayoutManager.java | 37 ? GridLayoutManager.HORIZONTAL : GridLayoutManager.VERTICAL, false); in AppGridLayoutManager()
|
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/ui/ |
D | CustomizationToolUI.kt | 94 LinearLayoutManager.HORIZONTAL, in <lambda>() 111 LinearLayoutManager.HORIZONTAL, in <lambda>()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/ |
D | EqualWidthContainer.kt | 37 orientation = if (neededWidth <= availableWidth) HORIZONTAL else VERTICAL in onMeasure()
|
/packages/modules/AdServices/sdksandbox/tests/cts/endtoendtests/src/com/android/tests/sdksandbox/endtoend/ |
D | TestActivity.java | 43 layout.setOrientation(LinearLayout.HORIZONTAL); in onCreate()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/v33/widget/ |
D | SafetyProtectionSectionView.kt | 51 orientation = HORIZONTAL
|
/packages/apps/Settings/src/com/android/settings/widget/ |
D | BottomLabelLayout.java | 83 setOrientation(stacked ? LinearLayout.VERTICAL : LinearLayout.HORIZONTAL); in setStacked()
|
/packages/apps/DeskClock/src/com/android/deskclock/widget/ |
D | EllipsizeLayout.kt | 72 if (orientation == HORIZONTAL && in onMeasure()
|
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/ |
D | SafetyProtectionSectionView.java | 60 setOrientation(HORIZONTAL); in init()
|