Home
last modified time | relevance | path

Searched refs:HORIZONTAL (Results 1 – 25 of 108) sorted by relevance

12345

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DItemAlignment.java17 import static android.support.v7.widget.RecyclerView.HORIZONTAL;
49 private int mOrientation = HORIZONTAL;
53 final public Axis horizontal = new Axis(HORIZONTAL);
69 if (mOrientation == HORIZONTAL) { in setOrientation()
DGridLayoutManager.java34 import static android.support.v7.widget.RecyclerView.HORIZONTAL;
169 if (orientation == HORIZONTAL) { in calculateItemAlignments()
237 if (mOrientation == HORIZONTAL) { in onTargetFound()
350 if (mOrientation == HORIZONTAL) { in computeScrollVectorForPosition()
411 private int mOrientation = HORIZONTAL;
644 if (orientation != HORIZONTAL && orientation != VERTICAL) { in setOrientation()
657 if (mOrientation == HORIZONTAL) { in onRtlPropertiesChanged()
767 if (mOrientation == HORIZONTAL) { in setVerticalMargin()
775 if (mOrientation == HORIZONTAL) { in setHorizontalMargin()
936 return mOrientation == HORIZONTAL || mNumRows > 1; in canScrollHorizontally()
[all …]
DWindowAlignment.java22 import static android.support.v7.widget.RecyclerView.HORIZONTAL;
273 private int mOrientation = HORIZONTAL;
293 if (mOrientation == HORIZONTAL) { in setOrientation()
DItemAlignmentFacetHelper.java17 import static android.support.v7.widget.RecyclerView.HORIZONTAL;
47 if (orientation == HORIZONTAL) { in getAlignmentPosition()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DLinearLayoutManagerWrapContentWithAspectRatioTest.java32 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
59 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) { in data()
76 HORIZONTAL == orientation, in data()
87 HORIZONTAL == orientation), in data()
113 int testOrientation = mConfig.mOrientation == VERTICAL ? HORIZONTAL : VERTICAL; in wrapContentAffectsOtherOrientation()
121 unlimitedSize |= testOrientation == HORIZONTAL; in wrapContentAffectsOtherOrientation()
134 testOrientation == HORIZONTAL ? MATCH_PARENT : WRAP_CONTENT, in wrapContentAffectsOtherOrientation()
138 testOrientation == HORIZONTAL ? MATCH_PARENT : WRAP_CONTENT, in wrapContentAffectsOtherOrientation()
DGridLayoutManagerCustomSizeInScrollDirectionTest.java18 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
44 new Config(3, HORIZONTAL, false), addDecorOffsets, addMargins}); in getParams()
84 if (mConfig.mOrientation == HORIZONTAL) { in customSizeInScrollDirectionTest()
102 if (mConfig.mOrientation == HORIZONTAL) { in customSizeInScrollDirectionTest()
116 final int size = mConfig.mOrientation == HORIZONTAL ? child.getWidth() in customSizeInScrollDirectionTest()
DLinearLayoutManagerWrapContentTest.java20 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
50 unspecifiedWithHintTest(mConfig.mOrientation == StaggeredGridLayoutManager.HORIZONTAL); in testUnspecifiedWithHint()
119 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) { in data()
131 new WrapContentConfig(HORIZONTAL == orientation, in data()
156 if (mConfig.mOrientation == HORIZONTAL) { in getVerticalGravity()
DGridLayoutManagerWrapContentWithAspectRatioTest.java31 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
51 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) { in params()
97 mTestOrientation = HORIZONTAL; in init()
118 mTestOrientation == HORIZONTAL ? MATCH_PARENT : WRAP_CONTENT, in testChildWithMultipleSpans()
122 mTestOrientation == HORIZONTAL ? 30 : 10, in testChildWithMultipleSpans()
204 mTestOrientation == HORIZONTAL ? MATCH_PARENT : WRAP_CONTENT, in testChildWithMatchParentInOtherDirection()
208 mTestOrientation == HORIZONTAL ? 15 : 10, in testChildWithMatchParentInOtherDirection()
284 mTestOrientation == HORIZONTAL ? 15 : 10, in testAllChildrenWrapContentInOtherDirection()
DLinearLayoutManagerTest.java37 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
91 new Config().orientation(HORIZONTAL).stackFromBottom(false).reverseLayout( in removeAnchorItemHorizontal()
98 new Config().orientation(HORIZONTAL).stackFromBottom(false).reverseLayout(true), in removeAnchorItemReverseHorizontal()
105 new Config().orientation(HORIZONTAL).stackFromBottom(true).reverseLayout(false), in removeAnchorItemStackFromEndHorizontal()
112 new Config().orientation(HORIZONTAL).stackFromBottom(true).reverseLayout(true), 100, in removeAnchorItemStackFromEndAndReverseHorizontal()
135 if (config.mOrientation == HORIZONTAL) { in removeAnchorItemTest()
151 if (config.mOrientation == HORIZONTAL) { in removeAnchorItemTest()
316 if (config.mOrientation == HORIZONTAL) { in keepFocusOnResizeTest()
DBaseGridLayoutManagerTest.java27 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
60 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) { in createBaseVariations()
77 if (mGlm.getOrientation() == GridLayoutManager.HORIZONTAL) { in getSize()
115 ", mOrientation=" + (mOrientation == GridLayoutManager.HORIZONTAL ? "h" : "v") + in toString()
DGridLayoutManagerTest.java43 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
281 layoutParamsTest(GridLayoutManager.HORIZONTAL); in layoutParams()
288 accessibilitySpanIndicesTest(HORIZONTAL); in horizontalAccessibilitySpanIndices()
316 orientation == HORIZONTAL ? itemInfo.getColumnIndex() : itemInfo.getRowIndex()); in accessibilitySpanIndicesTest()
319 orientation == HORIZONTAL ? itemInfo.getRowIndex() : itemInfo.getColumnIndex()); in accessibilitySpanIndicesTest()
322 orientation == HORIZONTAL ? itemInfo.getRowSpan() : itemInfo.getColumnSpan()); in accessibilitySpanIndicesTest()
555 new Config(3, 0).orientation(HORIZONTAL).reverseLayout( in removeAnchorItemHorizontal()
562 new Config(3, 0).orientation(HORIZONTAL).reverseLayout(true), in removeAnchorItemReverseHorizontal()
585 if (config.mOrientation == HORIZONTAL) { in removeAnchorItemTest()
601 if (config.mOrientation == HORIZONTAL) { in removeAnchorItemTest()
[all …]
DStaggeredGridLayoutManagerWrapContentTest.java21 import static android.support.v7.widget.StaggeredGridLayoutManager.HORIZONTAL;
57 unspecifiedWithHintTest(mOrientation == StaggeredGridLayoutManager.HORIZONTAL); in testUnspecifiedWithHint()
81 mOrientation = HORIZONTAL; in testSimpleHorizontal()
DLinearLayoutManagerPrepareForDropTest.java32 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
107 if (config.mOrientation == HORIZONTAL) { in prepareForDropTest()
142 if (config.mOrientation == HORIZONTAL) { in prepareForDropTest()
DGridLayoutManagerWrapContentTest.java21 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
62 lm.setOrientation(mHorizontal ? HORIZONTAL : VERTICAL); in createLayoutManager()
166 .aspectRatio(HORIZONTAL, .5f), in testSecondLineAffectingBordersWithAspectRatio()
DGridLayoutManagerCachedBordersTest.java28 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
72 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) { in cachedBordersTestConfigs()
DLinearLayoutManagerResizeTest.java32 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
78 if (config.mOrientation == HORIZONTAL) { in resize()
DLinearLayoutManagerBaseConfigSetTest.java38 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL;
218 if (config.mOrientation == HORIZONTAL) { in getFirstLastChildrenTest()
254 if (mConfig.mOrientation == HORIZONTAL) { in dontRecycleViewsTranslatedOutOfBoundsFromStart()
288 if (mConfig.mOrientation == HORIZONTAL) { in dontRecycleViewsTranslatedOutOfBoundsFromEnd()
/frameworks/support/v4/java/android/support/v4/widget/
DAutoScrollHelper.java133 private static final int HORIZONTAL = 0; field in AutoScrollHelper
294 mMaximumVelocity[HORIZONTAL] = horizontalMax / 1000f; in setMaximumVelocity()
312 mMinimumVelocity[HORIZONTAL] = horizontalMin / 1000f; in setMinimumVelocity()
333 mRelativeVelocity[HORIZONTAL] = horizontal / 1000f; in setRelativeVelocity()
373 mRelativeEdges[HORIZONTAL] = horizontal; in setRelativeEdges()
395 mMaximumEdges[HORIZONTAL] = horizontalMax; in setMaximumEdges()
468 HORIZONTAL, event.getX(), v.getWidth(), mTarget.getWidth()); in onTouch()
/frameworks/base/core/java/com/android/internal/widget/
DAutoScrollHelper.java132 private static final int HORIZONTAL = 0; field in AutoScrollHelper
293 mMaximumVelocity[HORIZONTAL] = horizontalMax / 1000f; in setMaximumVelocity()
311 mMinimumVelocity[HORIZONTAL] = horizontalMin / 1000f; in setMinimumVelocity()
332 mRelativeVelocity[HORIZONTAL] = horizontal / 1000f; in setRelativeVelocity()
372 mRelativeEdges[HORIZONTAL] = horizontal; in setRelativeEdges()
394 mMaximumEdges[HORIZONTAL] = horizontalMax; in setMaximumEdges()
467 HORIZONTAL, event.getX(), v.getWidth(), mTarget.getWidth()); in onTouch()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DGoneParentFocusedChild.java59 mLayout.setOrientation(LinearLayout.HORIZONTAL); in onCreate()
66 mGoneGroup.setOrientation(LinearLayout.HORIZONTAL); in onCreate()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DMultiLayersActivity.java37 row1.setOrientation(LinearLayout.HORIZONTAL); in onCreate()
42 row2.setOrientation(LinearLayout.HORIZONTAL); in onCreate()
/frameworks/base/graphics/java/android/graphics/drawable/
DClipDrawable.java54 public static final int HORIZONTAL = 1; field in ClipDrawable
186 if ((mState.mOrientation & HORIZONTAL) != 0) { in draw()
216 int mOrientation = HORIZONTAL;
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DNoIdTest.java44 mBinder.setOrientation(LinearLayout.HORIZONTAL); in testOnRoot()
46 assertEquals(LinearLayout.HORIZONTAL, linearLayout.getOrientation()); in testOnRoot()
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/
DGridWidgetTest.java61 if (mOrientation == BaseGridView.HORIZONTAL) {
192 if (mOrientation == BaseGridView.HORIZONTAL) { in scrollToBegin()
206 if (mOrientation == BaseGridView.HORIZONTAL) { in scrollToEnd()
227 if (mOrientation == BaseGridView.HORIZONTAL) { in sortByRows()
263 if (mOrientation == BaseGridView.HORIZONTAL) { in verifyMargin()
277 if (mOrientation == BaseGridView.HORIZONTAL) { in verifyBeginAligned()
309 if (mOrientation == BaseGridView.HORIZONTAL) { in getEndEdges()
377 mOrientation = BaseGridView.HORIZONTAL; in testThreeRowHorizontalBasic()
616 mOrientation = BaseGridView.HORIZONTAL; in testRedundantAppendRemove2()
654 mOrientation = BaseGridView.HORIZONTAL; in testItemMovedHorizontal()
[all …]
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DOrientationHelper.java39 public static final int HORIZONTAL = LinearLayout.HORIZONTAL; field in OrientationHelper
235 case HORIZONTAL: in createOrientationHelper()

12345