/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
D | ItemAlignment.java | 17 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()
|
D | GridLayoutManager.java | 34 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 …]
|
D | WindowAlignment.java | 22 import static android.support.v7.widget.RecyclerView.HORIZONTAL; 273 private int mOrientation = HORIZONTAL; 293 if (mOrientation == HORIZONTAL) { in setOrientation()
|
D | ItemAlignmentFacetHelper.java | 17 import static android.support.v7.widget.RecyclerView.HORIZONTAL; 47 if (orientation == HORIZONTAL) { in getAlignmentPosition()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | LinearLayoutManagerWrapContentWithAspectRatioTest.java | 32 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()
|
D | GridLayoutManagerCustomSizeInScrollDirectionTest.java | 18 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()
|
D | LinearLayoutManagerWrapContentTest.java | 20 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()
|
D | GridLayoutManagerWrapContentWithAspectRatioTest.java | 31 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()
|
D | LinearLayoutManagerTest.java | 37 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()
|
D | BaseGridLayoutManagerTest.java | 27 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()
|
D | GridLayoutManagerTest.java | 43 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 …]
|
D | StaggeredGridLayoutManagerWrapContentTest.java | 21 import static android.support.v7.widget.StaggeredGridLayoutManager.HORIZONTAL; 57 unspecifiedWithHintTest(mOrientation == StaggeredGridLayoutManager.HORIZONTAL); in testUnspecifiedWithHint() 81 mOrientation = HORIZONTAL; in testSimpleHorizontal()
|
D | LinearLayoutManagerPrepareForDropTest.java | 32 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL; 107 if (config.mOrientation == HORIZONTAL) { in prepareForDropTest() 142 if (config.mOrientation == HORIZONTAL) { in prepareForDropTest()
|
D | GridLayoutManagerWrapContentTest.java | 21 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL; 62 lm.setOrientation(mHorizontal ? HORIZONTAL : VERTICAL); in createLayoutManager() 166 .aspectRatio(HORIZONTAL, .5f), in testSecondLineAffectingBordersWithAspectRatio()
|
D | GridLayoutManagerCachedBordersTest.java | 28 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL; 72 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) { in cachedBordersTestConfigs()
|
D | LinearLayoutManagerResizeTest.java | 32 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL; 78 if (config.mOrientation == HORIZONTAL) { in resize()
|
D | LinearLayoutManagerBaseConfigSetTest.java | 38 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/ |
D | AutoScrollHelper.java | 133 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/ |
D | AutoScrollHelper.java | 132 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/ |
D | GoneParentFocusedChild.java | 59 mLayout.setOrientation(LinearLayout.HORIZONTAL); in onCreate() 66 mGoneGroup.setOrientation(LinearLayout.HORIZONTAL); in onCreate()
|
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/ |
D | MultiLayersActivity.java | 37 row1.setOrientation(LinearLayout.HORIZONTAL); in onCreate() 42 row2.setOrientation(LinearLayout.HORIZONTAL); in onCreate()
|
/frameworks/base/graphics/java/android/graphics/drawable/ |
D | ClipDrawable.java | 54 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/ |
D | NoIdTest.java | 44 mBinder.setOrientation(LinearLayout.HORIZONTAL); in testOnRoot() 46 assertEquals(LinearLayout.HORIZONTAL, linearLayout.getOrientation()); in testOnRoot()
|
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/ |
D | GridWidgetTest.java | 61 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/ |
D | OrientationHelper.java | 39 public static final int HORIZONTAL = LinearLayout.HORIZONTAL; field in OrientationHelper 235 case HORIZONTAL: in createOrientationHelper()
|