Searched refs:VERTICAL (Results 1 - 25 of 165) sorted by relevance

1234567

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DItemAlignment.java18 import static androidx.recyclerview.widget.RecyclerView.VERTICAL;
47 final public Axis vertical = new Axis(VERTICAL);
H A DListRowView.java53 setOrientation(LinearLayout.VERTICAL);
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DGridLayoutManagerCachedBordersTest.java20 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 DLinearLayoutManagerWrapContentWithAspectRatioTest.java23 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 DGridLayoutManagerRtlTest.java20 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 DLinearLayoutManagerWrapContentTest.java20 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 DRecyclerViewFocusTest.java54 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 DGridLayoutManagerWrapContentWithAspectRatioTest.java26 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 DGridLayoutManagerCacheTest.java20 import static androidx.recyclerview.widget.LinearLayoutManager.VERTICAL;
117 || (config.mOrientation == VERTICAL && mDy == 0)) {
H A DLinearLayoutManagerCacheTest.java20 import static androidx.recyclerview.widget.LinearLayoutManager.VERTICAL;
107 || (config.mOrientation == VERTICAL && mDy == 0)) {
/frameworks/base/core/tests/coretests/src/android/view/
H A DMerge.java38 mLayout.setOrientation(LinearLayout.VERTICAL);
/frameworks/support/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DStaggeredGridLayoutManagerActivity.java32 return new StaggeredGridLayoutManager(3, StaggeredGridLayoutManager.VERTICAL);
H A DLinearLayoutManagerActivity.java38 return new LinearLayoutManager(this, LinearLayoutManager.VERTICAL, false);
60 : LinearLayoutManager.VERTICAL);
/frameworks/support/samples/Support7Demos/src/main/java/com/example/android/supportv7/widget/
H A DStaggeredGridLayoutManagerActivity.java32 return new StaggeredGridLayoutManager(3, StaggeredGridLayoutManager.VERTICAL);
H A DLinearLayoutManagerActivity.java38 return new LinearLayoutManager(this, LinearLayoutManager.VERTICAL, false);
60 : LinearLayoutManager.VERTICAL);
/frameworks/base/tests/GridLayoutTest/src/com/android/test/layout/
H A DGridLayoutTest.java26 import static android.widget.GridLayout.VERTICAL;
32 container.setOrientation(VERTICAL);
H A DLinearLayoutTest.java30 container.setOrientation(LinearLayout.VERTICAL);
/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DDividerItemDecoration.java34 * {@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 DButtonBarLayout.java54 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 DManyEditTextActivityScrollResize.java43 layout.setOrientation(LinearLayout.VERTICAL);
H A DDialogActivity.java47 mLayout.setOrientation(LinearLayout.VERTICAL);
98 layout.setOrientation(LinearLayout.VERTICAL);
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DNoIdTest.java34 mBinder.setOrientation(LinearLayout.VERTICAL);
43 assertEquals(LinearLayout.VERTICAL, linearLayout.getOrientation());
/frameworks/support/compat/src/main/java/androidx/core/widget/
H A DAutoScrollHelper.java135 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 DButtonBarLayout.java59 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 DTextGammaActivity.java38 layout.setOrientation(LinearLayout.VERTICAL);
89 layout.setOrientation(LinearLayout.VERTICAL);

Completed in 135 milliseconds

1234567