/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 | 35 import static android.support.v7.widget.RecyclerView.HORIZONTAL; 172 if (orientation == HORIZONTAL) { in calculateItemAlignments() 218 if (mOrientation == HORIZONTAL) { in onTargetFound() 331 if (mOrientation == HORIZONTAL) { in computeScrollVectorForPosition() 389 private int mOrientation = HORIZONTAL; 608 if (orientation != HORIZONTAL && orientation != VERTICAL) { in setOrientation() 620 if (mOrientation == HORIZONTAL) { in onRtlPropertiesChanged() 725 if (mOrientation == HORIZONTAL) { in setVerticalMargin() 733 if (mOrientation == HORIZONTAL) { in setHorizontalMargin() 861 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; 45 if (orientation == HORIZONTAL) { in getAlignmentPosition()
|
/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/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
D | GridLayoutManagerTest.java | 40 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL; 59 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) { in setUp() 140 customSizeInScrollDirectionTest(new Config(3, HORIZONTAL, false)); in testCustomWidthInHorizontal() 177 if (config.mOrientation == HORIZONTAL) { in customSizeInScrollDirectionTest() 195 if (config.mOrientation == HORIZONTAL) { in customSizeInScrollDirectionTest() 208 final int size = config.mOrientation == HORIZONTAL ? child.getWidth() in customSizeInScrollDirectionTest() 342 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) { in cachedBordersTestConfigs() 355 layoutParamsTest(GridLayoutManager.HORIZONTAL); in testLayoutParams() 361 accessibilitySpanIndicesTest(HORIZONTAL); in testHorizontalAccessibilitySpanIndices() 388 orientation == HORIZONTAL ? itemInfo.getColumnIndex() : itemInfo.getRowIndex()); in accessibilitySpanIndicesTest() [all …]
|
D | LinearLayoutManagerTest.java | 34 import static android.support.v7.widget.LinearLayoutManager.HORIZONTAL; 68 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) { in setUp() 135 new Config().orientation(HORIZONTAL).stackFromBottom(false).reverseLayout( in testRemoveAnchorItemHorizontal() 141 new Config().orientation(HORIZONTAL).stackFromBottom(false).reverseLayout(true), in testRemoveAnchorItemReverseHorizontal() 147 new Config().orientation(HORIZONTAL).stackFromBottom(true).reverseLayout(false), in testRemoveAnchorItemStackFromEndHorizontal() 153 new Config().orientation(HORIZONTAL).stackFromBottom(true).reverseLayout(true), 100, in testRemoveAnchorItemStackFromEndAndReverseHorizontal() 176 if (config.mOrientation == HORIZONTAL) { in removeAnchorItemTest() 192 if (config.mOrientation == HORIZONTAL) { in removeAnchorItemTest() 363 if (config.mOrientation == HORIZONTAL) { in keepFocusOnResizeTest() 551 if (config.mOrientation == HORIZONTAL) { in stackFromEndTest() [all …]
|
D | StaggeredGridLayoutManagerTest.java | 68 for (int orientation : new int[]{VERTICAL, HORIZONTAL}) { in setUp() 170 new Config(HORIZONTAL, false, 3, GAP_HANDLING_MOVE_ITEMS_BETWEEN_SPANS)); in testCustomWidthInHorizontal() 186 if (config.mOrientation == HORIZONTAL) { in customSizeInScrollDirectionTest() 206 final int size = config.mOrientation == HORIZONTAL ? child.getWidth() in customSizeInScrollDirectionTest() 553 if (config.mOrientation == LinearLayoutManager.HORIZONTAL) { in getFirstLastChildrenTest() 582 if (config.mOrientation == HORIZONTAL) { in getFirstLastChildrenTest() 924 if (config.mOrientation == HORIZONTAL) { in viewSnapTest() 943 if(config.mOrientation == HORIZONTAL) { in viewSnapTest() 998 Config config = new Config(HORIZONTAL, true, 5, GAP_HANDLING_NONE); in testSpanCountChangeOnRestoreSavedState() 1867 if (getOrientation() == HORIZONTAL) { in getViewBounds() [all …]
|
/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()
|
D | ButtonBarLayout.java | 103 setOrientation(stacked ? LinearLayout.VERTICAL : LinearLayout.HORIZONTAL); in setStacked()
|
/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()
|
D | AdjacentVerticalRectLists.java | 67 mLayout.setOrientation(LinearLayout.HORIZONTAL); in onCreate()
|
D | HorizontalFocusSearch.java | 62 mLayout.setOrientation(LinearLayout.HORIZONTAL); in onCreate()
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
D | OrientationHelper.java | 38 public static final int HORIZONTAL = LinearLayout.HORIZONTAL; field in OrientationHelper 178 case HORIZONTAL: in createOrientationHelper()
|
/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 | 52 public static final int HORIZONTAL = 1; field in ClipDrawable 182 if ((mState.mOrientation & HORIZONTAL) != 0) { in draw() 204 int mOrientation = HORIZONTAL;
|
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/ |
D | GridWidgetTest.java | 59 if (mOrientation == BaseGridView.HORIZONTAL) { 173 if (mOrientation == BaseGridView.HORIZONTAL) { in scrollToBegin() 187 if (mOrientation == BaseGridView.HORIZONTAL) { in scrollToEnd() 208 if (mOrientation == BaseGridView.HORIZONTAL) { in sortByRows() 244 if (mOrientation == BaseGridView.HORIZONTAL) { in verifyMargin() 258 if (mOrientation == BaseGridView.HORIZONTAL) { in verifyBeginAligned() 290 if (mOrientation == BaseGridView.HORIZONTAL) { in getEndEdges() 358 mOrientation = BaseGridView.HORIZONTAL; in testThreeRowHorizontalBasic() 428 mOrientation = BaseGridView.HORIZONTAL; in testRedundantAppendRemove2() 466 mOrientation = BaseGridView.HORIZONTAL; in testItemMovedHorizontal() [all …]
|
D | GridActivity.java | 102 mOrientation = mGridView instanceof HorizontalGridView ? BaseGridView.HORIZONTAL : in createView() 165 if (mOrientation == BaseGridView.HORIZONTAL) { in onCreate() 390 if (mOrientation == BaseGridView.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/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/ |
D | NavigationBar.java | 56 LinearLayout.HORIZONTAL, // In this mode, it doesn't need to be render vertically in NavigationBar() 112 if (orientation == HORIZONTAL) { in setSize()
|
D | TitleBar.java | 31 super(context, LinearLayout.HORIZONTAL, "/bars/title_bar.xml", "title_bar.xml", in TitleBar()
|
/frameworks/base/core/tests/coretests/src/android/util/ |
D | ListItemFactory.java | 94 ll.setOrientation(LinearLayout.HORIZONTAL); in horizontalButtonSlots() 238 ll.setOrientation(LinearLayout.HORIZONTAL); in doubleText()
|
/frameworks/data-binding/samples/BindingDemo/app/src/main/java/com/android/example/bindingdemo/ |
D | MainActivity.java | 46 …olkittyList.setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.HORIZONTAL, false)); in onCreate() 47 …r.robotList.setLayoutManager(new LinearLayoutManager(this, LinearLayoutManager.HORIZONTAL, false)); in onCreate()
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/test/ |
D | RecyclerViewTest.java | 54 LinearLayout.HORIZONTAL, gridLayoutManager.getOrientation()); in testInflation()
|
/frameworks/base/core/tests/coretests/src/android/widget/listview/ |
D | AdjacentListsWithAdjacentISVsInside.java | 91 ll.setOrientation(LinearLayout.HORIZONTAL); in combineAdjacent()
|