/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ItemAlignment.java | 17 import static android.support.v7.widget.RecyclerView.HORIZONTAL; 45 private int mOrientation = HORIZONTAL; 49 final public Axis horizontal = new Axis(HORIZONTAL); 65 if (mOrientation == HORIZONTAL) {
|
/frameworks/base/tools/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/base/core/tests/coretests/src/android/widget/focus/ |
H A D | GoneParentFocusedChild.java | 59 mLayout.setOrientation(LinearLayout.HORIZONTAL); 66 mGoneGroup.setOrientation(LinearLayout.HORIZONTAL);
|
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/ |
H A D | BottomLabelLayoutTest.java | 48 mBottomLabelLayout.setOrientation(LinearLayout.HORIZONTAL); 67 assertThat(mBottomLabelLayout.getOrientation()).isEqualTo(LinearLayout.HORIZONTAL);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | LinearLayoutManagerWrapContentWithAspectRatioTest.java | 19 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL; 60 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) { 77 HORIZONTAL == orientation, 88 HORIZONTAL == orientation), 114 int testOrientation = mConfig.mOrientation == VERTICAL ? HORIZONTAL : VERTICAL; 122 unlimitedSize |= testOrientation == HORIZONTAL; 135 testOrientation == HORIZONTAL ? MATCH_PARENT : WRAP_CONTENT, 139 testOrientation == HORIZONTAL ? MATCH_PARENT : WRAP_CONTENT,
|
H A D | GridLayoutManagerCustomSizeInScrollDirectionTest.java | 18 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL; 46 new Config(3, HORIZONTAL, false), addDecorOffsets, addMargins}); 86 if (mConfig.mOrientation == HORIZONTAL) { 104 if (mConfig.mOrientation == HORIZONTAL) { 118 final int size = mConfig.mOrientation == HORIZONTAL ? child.getWidth()
|
H A D | LinearLayoutManagerWrapContentTest.java | 20 import static android.support.v7.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 | LinearLayoutManagerCacheTest.java | 19 import static android.support.v7.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 android.support.v7.widget.LinearLayoutManager.HORIZONTAL; 77 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) {
|
H A D | LinearLayoutManagerResizeTest.java | 19 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL; 76 if (config.mOrientation == HORIZONTAL) {
|
H A D | BaseGridLayoutManagerTest.java | 18 import static android.support.v7.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 | GridLayoutManagerCacheTest.java | 19 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL; 116 if ((config.mOrientation == HORIZONTAL && mDx == 0) 122 boolean reverseScroll = config.mOrientation == HORIZONTAL ? mDx < 0 : mDy < 0;
|
H A D | LinearLayoutManagerPrepareForDropTest.java | 19 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL; 130 if (config.mOrientation == HORIZONTAL) { 165 if (config.mOrientation == HORIZONTAL) {
|
H A D | StaggeredGridLayoutManagerCacheTest.java | 19 import static android.support.v7.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 | 21 import static android.support.v7.widget.StaggeredGridLayoutManager.HORIZONTAL; 62 unspecifiedWithHintTest(mOrientation == StaggeredGridLayoutManager.HORIZONTAL); 86 mOrientation = HORIZONTAL;
|
/frameworks/support/frameworks/support/samples/Support7Demos/src/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
|
H A D | GridLayoutManagerActivity.java | 57 return mLayoutManager.getOrientation() == LinearLayoutManager.HORIZONTAL; 62 mLayoutManager.setOrientation(newValue ? LinearLayoutManager.HORIZONTAL
|
/frameworks/support/samples/Support7Demos/src/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/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/core-ui/java/android/support/v4/widget/ |
H A D | AutoScrollHelper.java | 132 private static final int HORIZONTAL = 0; field in class:AutoScrollHelper 293 mMaximumVelocity[HORIZONTAL] = horizontalMax / 1000f; 311 mMinimumVelocity[HORIZONTAL] = horizontalMin / 1000f; 332 mRelativeVelocity[HORIZONTAL] = horizontal / 1000f; 372 mRelativeEdges[HORIZONTAL] = horizontal; 394 mMaximumEdges[HORIZONTAL] = horizontalMax; 467 HORIZONTAL, event.getX(), v.getWidth(), mTarget.getWidth());
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | DividerItemDecoration.java | 32 * between items of a {@link LinearLayoutManager}. It supports both {@link #HORIZONTAL} and 42 public static final int HORIZONTAL = LinearLayout.HORIZONTAL; field in class:DividerItemDecoration 51 * Current orientation. Either {@link #HORIZONTAL} or {@link #VERTICAL}. 62 * @param orientation Divider orientation. Should be {@link #HORIZONTAL} or {@link #VERTICAL}. 79 * @param orientation {@link #HORIZONTAL} or {@link #VERTICAL} 82 if (orientation != HORIZONTAL && orientation != VERTICAL) { 84 "Invalid orientation. It should be either HORIZONTAL or VERTICAL");
|