/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | ItemAlignment.java | 17 import static androidx.recyclerview.widget.RecyclerView.HORIZONTAL; 45 private int mOrientation = HORIZONTAL; 49 final public Axis horizontal = new Axis(HORIZONTAL); 65 if (mOrientation == HORIZONTAL) {
|
/frameworks/support/viewpager2/src/androidTest/java/androidx/viewpager2/widget/ |
H A D | OrientationTest.java | 42 assertThat(viewPager.getOrientation(), equalTo(Orientation.HORIZONTAL)); 48 assertThat(viewPager.getOrientation(), equalTo(Orientation.HORIZONTAL)); 53 assertOrientationCorrect(R.layout.orientation_default, Orientation.HORIZONTAL); 58 assertOrientationCorrect(R.layout.orientation_horizontal, Orientation.HORIZONTAL);
|
H A D | SwipeTest.java | 27 import static androidx.viewpager2.widget.ViewPager2.Orientation.HORIZONTAL; 141 NO_CONFIG_CHANGES, NO_MUTATIONS, 8, activityClass, HORIZONTAL)); 147 activityClass, HORIZONTAL)); 150 asList(3, 5, 7), NO_MUTATIONS, 7, activityClass, HORIZONTAL)); 154 NO_MUTATIONS, 10, activityClass, HORIZONTAL)); 157 NO_CONFIG_CHANGES, NO_MUTATIONS, 10, activityClass, HORIZONTAL)); 160 NO_CONFIG_CHANGES, NO_MUTATIONS, 10, activityClass, HORIZONTAL)); 167 Pair.create(5, 500)), 7, FragmentAdapterActivity.class, HORIZONTAL)); 236 totalPages, activityClass, HORIZONTAL);
|
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
H A D | TitleBar.java | 31 super(context, LinearLayout.HORIZONTAL, "/bars/title_bar.xml", "title_bar.xml",
|
H A D | ThemePreviewNavigationBar.java | 44 LinearLayout.HORIZONTAL, // In this mode, it doesn't need to be render vertically
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | StaggeredGridLayoutManagerActivity.java | 34 return new StaggeredGridLayoutManager(3, StaggeredGridLayoutManager.HORIZONTAL);
|
H A D | LinearLayoutManagerActivity.java | 54 return mLayoutManager.getOrientation() == LinearLayoutManager.HORIZONTAL; 59 mLayoutManager.setOrientation(newValue ? LinearLayoutManager.HORIZONTAL
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | StaggeredGridLayoutManagerActivity.java | 34 return new StaggeredGridLayoutManager(3, StaggeredGridLayoutManager.HORIZONTAL);
|
H A D | LinearLayoutManagerActivity.java | 54 return mLayoutManager.getOrientation() == LinearLayoutManager.HORIZONTAL; 59 mLayoutManager.setOrientation(newValue ? LinearLayoutManager.HORIZONTAL
|
/frameworks/base/core/tests/coretests/src/android/widget/focus/ |
H A D | GoneParentFocusedChild.java | 59 mLayout.setOrientation(LinearLayout.HORIZONTAL); 66 mGoneGroup.setOrientation(LinearLayout.HORIZONTAL);
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | LinearLayoutManagerWrapContentWithAspectRatioTest.java | 22 import static androidx.recyclerview.widget.LinearLayoutManager.HORIZONTAL; 61 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) { 78 HORIZONTAL == orientation, 89 HORIZONTAL == orientation), 115 int testOrientation = mConfig.mOrientation == VERTICAL ? HORIZONTAL : VERTICAL; 123 unlimitedSize |= testOrientation == HORIZONTAL; 136 testOrientation == HORIZONTAL ? MATCH_PARENT : WRAP_CONTENT, 140 testOrientation == HORIZONTAL ? MATCH_PARENT : WRAP_CONTENT,
|
H A D | GridLayoutManagerCustomSizeInScrollDirectionTest.java | 18 import static androidx.recyclerview.widget.LinearLayoutManager.HORIZONTAL; 48 new Config(3, HORIZONTAL, false), addDecorOffsets, addMargins}); 88 if (mConfig.mOrientation == HORIZONTAL) { 106 if (mConfig.mOrientation == HORIZONTAL) { 120 final int size = mConfig.mOrientation == HORIZONTAL ? child.getWidth()
|
H A D | LinearLayoutManagerWrapContentTest.java | 19 import static androidx.recyclerview.widget.LinearLayoutManager.HORIZONTAL; 53 unspecifiedWithHintTest(mConfig.mOrientation == StaggeredGridLayoutManager.HORIZONTAL); 122 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) { 134 new WrapContentConfig(HORIZONTAL == orientation, 159 if (mConfig.mOrientation == HORIZONTAL) {
|
H A D | GridLayoutManagerCacheTest.java | 19 import static androidx.recyclerview.widget.LinearLayoutManager.HORIZONTAL; 116 if ((config.mOrientation == HORIZONTAL && mDx == 0) 122 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0;
|
H A D | LinearLayoutManagerCacheTest.java | 19 import static androidx.recyclerview.widget.LinearLayoutManager.HORIZONTAL; 106 if ((config.mOrientation == HORIZONTAL && mDx == 0) 110 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0;
|
H A D | GridLayoutManagerCachedBordersTest.java | 19 import static androidx.recyclerview.widget.LinearLayoutManager.HORIZONTAL; 77 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) {
|
H A D | LinearLayoutManagerResizeTest.java | 19 import static androidx.recyclerview.widget.LinearLayoutManager.HORIZONTAL; 76 if (config.mOrientation == HORIZONTAL) {
|
H A D | BaseGridLayoutManagerTest.java | 18 import static androidx.recyclerview.widget.LinearLayoutManager.HORIZONTAL; 64 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) { 96 if (mGlm.getOrientation() == GridLayoutManager.HORIZONTAL) { 134 + ",mOrientation=" + (mOrientation == GridLayoutManager.HORIZONTAL ? "h" : "v") 198 if (getOrientation() == RecyclerView.HORIZONTAL) { 203 RecyclerView.HORIZONTAL); 241 if (getOrientation() == HORIZONTAL) {
|
H A D | LinearLayoutManagerPrepareForDropTest.java | 19 import static androidx.recyclerview.widget.LinearLayoutManager.HORIZONTAL; 133 if (config.mOrientation == HORIZONTAL) { 168 if (config.mOrientation == HORIZONTAL) {
|
H A D | StaggeredGridLayoutManagerCacheTest.java | 19 import static androidx.recyclerview.widget.LinearLayoutManager.HORIZONTAL; 130 if ((config.mOrientation == HORIZONTAL && mDx == 0) 136 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0;
|
H A D | StaggeredGridLayoutManagerWrapContentTest.java | 22 import static androidx.recyclerview.widget.StaggeredGridLayoutManager.HORIZONTAL; 61 unspecifiedWithHintTest(mOrientation == StaggeredGridLayoutManager.HORIZONTAL); 86 mOrientation = HORIZONTAL;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | MultiLayersActivity.java | 37 row1.setOrientation(LinearLayout.HORIZONTAL); 42 row2.setOrientation(LinearLayout.HORIZONTAL);
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
H A D | NoIdTest.java | 44 mBinder.setOrientation(LinearLayout.HORIZONTAL); 46 assertEquals(LinearLayout.HORIZONTAL, linearLayout.getOrientation());
|
/frameworks/support/compat/src/main/java/androidx/core/widget/ |
H A D | AutoScrollHelper.java | 134 private static final int HORIZONTAL = 0; field in class:AutoScrollHelper 296 mMaximumVelocity[HORIZONTAL] = horizontalMax / 1000f; 315 mMinimumVelocity[HORIZONTAL] = horizontalMin / 1000f; 337 mRelativeVelocity[HORIZONTAL] = horizontal / 1000f; 379 mRelativeEdges[HORIZONTAL] = horizontal; 402 mMaximumEdges[HORIZONTAL] = horizontalMax; 478 HORIZONTAL, event.getX(), v.getWidth(), mTarget.getWidth());
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | DividerItemDecoration.java | 33 * between items of a {@link LinearLayoutManager}. It supports both {@link #HORIZONTAL} and 43 public static final int HORIZONTAL = LinearLayout.HORIZONTAL; field in class:DividerItemDecoration 52 * Current orientation. Either {@link #HORIZONTAL} or {@link #VERTICAL}. 63 * @param orientation Divider orientation. Should be {@link #HORIZONTAL} or {@link #VERTICAL}. 80 * @param orientation {@link #HORIZONTAL} or {@link #VERTICAL} 83 if (orientation != HORIZONTAL && orientation != VERTICAL) { 85 "Invalid orientation. It should be either HORIZONTAL or VERTICAL");
|