/frameworks/support/leanback/src/main/java/androidx/leanback/widget/ |
H A D | ItemAlignment.java | 18 import static androidx.recyclerview.widget.RecyclerView.VERTICAL; 47 final public Axis vertical = new Axis(VERTICAL);
|
H A D | ListRowView.java | 53 setOrientation(LinearLayout.VERTICAL);
|
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/ |
H A D | GridLayoutManagerCachedBordersTest.java | 20 import static androidx.recyclerview.widget.LinearLayoutManager.VERTICAL; 58 final boolean vertical = mConfig.mOrientation == GridLayoutManager.VERTICAL; 77 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) {
|
H A D | LinearLayoutManagerWrapContentWithAspectRatioTest.java | 23 import static androidx.recyclerview.widget.LinearLayoutManager.VERTICAL; 61 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) { 79 VERTICAL == orientation), 88 VERTICAL == orientation, 115 int testOrientation = mConfig.mOrientation == VERTICAL ? HORIZONTAL : VERTICAL; 119 unlimitedSize = testOrientation == VERTICAL; 137 testOrientation == VERTICAL ? MATCH_PARENT : WRAP_CONTENT) 141 testOrientation == VERTICAL ? MATCH_PARENT : WRAP_CONTENT)
|
H A D | GridLayoutManagerRtlTest.java | 20 import static androidx.recyclerview.widget.LinearLayoutManager.VERTICAL; 78 if (mOneLine && mConfig.mOrientation != VERTICAL) { 124 final int secondChildPos = mConfig.mOrientation == VERTICAL ? 1 131 if (mConfig.mOrientation == VERTICAL || !mConfig.mReverseLayout) {
|
H A D | LinearLayoutManagerWrapContentTest.java | 20 import static androidx.recyclerview.widget.LinearLayoutManager.VERTICAL; 122 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) { 135 VERTICAL == orientation, new Rect(padding)) 171 if (mConfig.mOrientation == VERTICAL) {
|
H A D | RecyclerViewFocusTest.java | 54 setupRecyclerView(true, RecyclerView.VERTICAL, true); 66 setupRecyclerView(false, RecyclerView.VERTICAL, true); 76 setupRecyclerView(true, RecyclerView.VERTICAL, true); 87 setupRecyclerView(true, RecyclerView.VERTICAL, true); 99 setupRecyclerView(true, RecyclerView.VERTICAL, true); 129 setupRecyclerView(true, RecyclerView.VERTICAL, true); 172 setupRecyclerView(true, RecyclerView.VERTICAL, true);
|
H A D | GridLayoutManagerWrapContentWithAspectRatioTest.java | 26 import static androidx.recyclerview.widget.LinearLayoutManager.VERTICAL; 51 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) { 96 if (mConfig.mOrientation == VERTICAL) { 100 mTestOrientation = VERTICAL; 119 mTestOrientation == VERTICAL ? MATCH_PARENT : WRAP_CONTENT); 123 mTestOrientation == VERTICAL ? 30 : 10, WRAP_CONTENT, WRAP_CONTENT); 205 mTestOrientation == VERTICAL ? MATCH_PARENT : WRAP_CONTENT); 209 mTestOrientation == VERTICAL ? 15 : 10, WRAP_CONTENT, WRAP_CONTENT); 285 mTestOrientation == VERTICAL ? 15 : 10, WRAP_CONTENT, WRAP_CONTENT);
|
H A D | GridLayoutManagerCacheTest.java | 20 import static androidx.recyclerview.widget.LinearLayoutManager.VERTICAL; 117 || (config.mOrientation == VERTICAL && mDy == 0)) {
|
H A D | LinearLayoutManagerCacheTest.java | 20 import static androidx.recyclerview.widget.LinearLayoutManager.VERTICAL; 107 || (config.mOrientation == VERTICAL && mDy == 0)) {
|
/frameworks/base/core/tests/coretests/src/android/view/ |
H A D | Merge.java | 38 mLayout.setOrientation(LinearLayout.VERTICAL);
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | StaggeredGridLayoutManagerActivity.java | 32 return new StaggeredGridLayoutManager(3, StaggeredGridLayoutManager.VERTICAL);
|
H A D | LinearLayoutManagerActivity.java | 38 return new LinearLayoutManager(this, LinearLayoutManager.VERTICAL, false); 60 : LinearLayoutManager.VERTICAL);
|
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/ |
H A D | StaggeredGridLayoutManagerActivity.java | 32 return new StaggeredGridLayoutManager(3, StaggeredGridLayoutManager.VERTICAL);
|
H A D | LinearLayoutManagerActivity.java | 38 return new LinearLayoutManager(this, LinearLayoutManager.VERTICAL, false); 60 : LinearLayoutManager.VERTICAL);
|
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/ |
H A D | GridLayoutTest.java | 26 import static android.widget.GridLayout.VERTICAL; 32 container.setOrientation(VERTICAL);
|
H A D | LinearLayoutTest.java | 30 container.setOrientation(LinearLayout.VERTICAL);
|
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/ |
H A D | DividerItemDecoration.java | 34 * {@link #VERTICAL} orientations. 44 public static final int VERTICAL = LinearLayout.VERTICAL; 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"); 107 if (mOrientation == VERTICAL) { 175 if (mOrientation == VERTICAL) { [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ButtonBarLayout.java | 54 if (!mAllowStacking && getOrientation() == LinearLayout.VERTICAL) { 146 setOrientation(stacked ? LinearLayout.VERTICAL : LinearLayout.HORIZONTAL); 163 return getOrientation() == LinearLayout.VERTICAL;
|
/frameworks/base/tests/ImfTest/src/com/android/imftest/samples/ |
H A D | ManyEditTextActivityScrollResize.java | 43 layout.setOrientation(LinearLayout.VERTICAL);
|
H A D | DialogActivity.java | 47 mLayout.setOrientation(LinearLayout.VERTICAL); 98 layout.setOrientation(LinearLayout.VERTICAL);
|
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
H A D | NoIdTest.java | 34 mBinder.setOrientation(LinearLayout.VERTICAL); 43 assertEquals(LinearLayout.VERTICAL, linearLayout.getOrientation());
|
/frameworks/support/compat/src/main/java/androidx/core/widget/ |
H A D | AutoScrollHelper.java | 135 private static final int VERTICAL = 1; field in class:AutoScrollHelper 297 mMaximumVelocity[VERTICAL] = verticalMax / 1000f; 316 mMinimumVelocity[VERTICAL] = verticalMin / 1000f; 338 mRelativeVelocity[VERTICAL] = vertical / 1000f; 380 mRelativeEdges[VERTICAL] = vertical; 403 mMaximumEdges[VERTICAL] = verticalMax; 480 VERTICAL, event.getY(), v.getHeight(), mTarget.getHeight());
|
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/ |
H A D | ButtonBarLayout.java | 59 if (!mAllowStacking && getOrientation() == LinearLayout.VERTICAL) { 154 setOrientation(stacked ? LinearLayout.VERTICAL : LinearLayout.HORIZONTAL); 171 return getOrientation() == LinearLayout.VERTICAL;
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
H A D | TextGammaActivity.java | 38 layout.setOrientation(LinearLayout.VERTICAL); 89 layout.setOrientation(LinearLayout.VERTICAL);
|