Searched refs:HORIZONTAL (Results 1 - 25 of 109) sorted by relevance

12345

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DItemAlignment.java17 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 DTitleBar.java31 super(context, LinearLayout.HORIZONTAL, "/bars/title_bar.xml", "title_bar.xml",
H A DThemePreviewNavigationBar.java44 LinearLayout.HORIZONTAL, // In this mode, it doesn't need to be render vertically
/frameworks/base/core/tests/coretests/src/android/widget/focus/
H A DGoneParentFocusedChild.java59 mLayout.setOrientation(LinearLayout.HORIZONTAL);
66 mGoneGroup.setOrientation(LinearLayout.HORIZONTAL);
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/graph/
H A DBottomLabelLayoutTest.java48 mBottomLabelLayout.setOrientation(LinearLayout.HORIZONTAL);
67 assertThat(mBottomLabelLayout.getOrientation()).isEqualTo(LinearLayout.HORIZONTAL);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DLinearLayoutManagerWrapContentWithAspectRatioTest.java19 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 DGridLayoutManagerCustomSizeInScrollDirectionTest.java18 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 DLinearLayoutManagerWrapContentTest.java20 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 DLinearLayoutManagerCacheTest.java19 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 DGridLayoutManagerCachedBordersTest.java19 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
77 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) {
H A DLinearLayoutManagerResizeTest.java19 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
76 if (config.mOrientation == HORIZONTAL) {
H A DBaseGridLayoutManagerTest.java18 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 DGridLayoutManagerCacheTest.java19 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 DLinearLayoutManagerPrepareForDropTest.java19 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
130 if (config.mOrientation == HORIZONTAL) {
165 if (config.mOrientation == HORIZONTAL) {
H A DStaggeredGridLayoutManagerCacheTest.java19 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 DStaggeredGridLayoutManagerWrapContentTest.java21 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 DStaggeredGridLayoutManagerActivity.java34 return new StaggeredGridLayoutManager(3, StaggeredGridLayoutManager.HORIZONTAL);
H A DLinearLayoutManagerActivity.java54 return mLayoutManager.getOrientation() == LinearLayoutManager.HORIZONTAL;
59 mLayoutManager.setOrientation(newValue ? LinearLayoutManager.HORIZONTAL
H A DGridLayoutManagerActivity.java57 return mLayoutManager.getOrientation() == LinearLayoutManager.HORIZONTAL;
62 mLayoutManager.setOrientation(newValue ? LinearLayoutManager.HORIZONTAL
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/widget/
H A DStaggeredGridLayoutManagerActivity.java34 return new StaggeredGridLayoutManager(3, StaggeredGridLayoutManager.HORIZONTAL);
H A DLinearLayoutManagerActivity.java54 return mLayoutManager.getOrientation() == LinearLayoutManager.HORIZONTAL;
59 mLayoutManager.setOrientation(newValue ? LinearLayoutManager.HORIZONTAL
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
H A DMultiLayersActivity.java37 row1.setOrientation(LinearLayout.HORIZONTAL);
42 row2.setOrientation(LinearLayout.HORIZONTAL);
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DNoIdTest.java44 mBinder.setOrientation(LinearLayout.HORIZONTAL);
46 assertEquals(LinearLayout.HORIZONTAL, linearLayout.getOrientation());
/frameworks/support/core-ui/java/android/support/v4/widget/
H A DAutoScrollHelper.java132 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 DDividerItemDecoration.java32 * 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");

Completed in 451 milliseconds

12345