Home
last modified time | relevance | path

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

123

/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.java35 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 …]
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;
45 if (orientation == HORIZONTAL) { in getAlignmentPosition()
/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/support/v7/recyclerview/tests/src/android/support/v7/widget/
DGridLayoutManagerTest.java40 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 …]
DLinearLayoutManagerTest.java34 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 …]
DStaggeredGridLayoutManagerTest.java68 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/
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()
DButtonBarLayout.java103 setOrientation(stacked ? LinearLayout.VERTICAL : LinearLayout.HORIZONTAL); in setStacked()
/frameworks/base/core/tests/coretests/src/android/widget/focus/
DGoneParentFocusedChild.java59 mLayout.setOrientation(LinearLayout.HORIZONTAL); in onCreate()
66 mGoneGroup.setOrientation(LinearLayout.HORIZONTAL); in onCreate()
DAdjacentVerticalRectLists.java67 mLayout.setOrientation(LinearLayout.HORIZONTAL); in onCreate()
DHorizontalFocusSearch.java62 mLayout.setOrientation(LinearLayout.HORIZONTAL); in onCreate()
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DOrientationHelper.java38 public static final int HORIZONTAL = LinearLayout.HORIZONTAL; field in OrientationHelper
178 case HORIZONTAL: in createOrientationHelper()
/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.java52 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/
DGridWidgetTest.java59 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 …]
DGridActivity.java102 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/
DNoIdTest.java44 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/
DNavigationBar.java56 LinearLayout.HORIZONTAL, // In this mode, it doesn't need to be render vertically in NavigationBar()
112 if (orientation == HORIZONTAL) { in setSize()
DTitleBar.java31 super(context, LinearLayout.HORIZONTAL, "/bars/title_bar.xml", "title_bar.xml", in TitleBar()
/frameworks/base/core/tests/coretests/src/android/util/
DListItemFactory.java94 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/
DMainActivity.java46 …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/
DRecyclerViewTest.java54 LinearLayout.HORIZONTAL, gridLayoutManager.getOrientation()); in testInflation()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DAdjacentListsWithAdjacentISVsInside.java91 ll.setOrientation(LinearLayout.HORIZONTAL); in combineAdjacent()

123