Home
last modified time | relevance | path

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

12

/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()
DOrientationHelper.java39 public static final int HORIZONTAL = LinearLayout.HORIZONTAL; field in OrientationHelper
235 case HORIZONTAL: in createOrientationHelper()
DLinearLayoutManager.java47 public static final int HORIZONTAL = OrientationHelper.HORIZONTAL; field in LinearLayoutManager
281 return mOrientation == HORIZONTAL; in canScrollHorizontally()
325 if (orientation != HORIZONTAL && orientation != VERTICAL) { in setOrientation()
449 if (mOrientation == HORIZONTAL) { in computeScrollVectorForPosition()
1045 if (mOrientation == HORIZONTAL) { in scrollVerticallyBy()
1281 int delta = (mOrientation == HORIZONTAL) ? dx : dy; in collectAdjacentPrefetchPositions()
1636 return mOrientation == HORIZONTAL ? LayoutState.LAYOUT_START in convertFocusDirectionToLayoutDirection()
1639 return mOrientation == HORIZONTAL ? LayoutState.LAYOUT_END in convertFocusDirectionToLayoutDirection()
DButtonBarLayout.java148 setOrientation(stacked ? LinearLayout.VERTICAL : LinearLayout.HORIZONTAL); in setStacked()
DSlidingTab.java58 private static final int HORIZONTAL = 0; // as defined in attrs.xml field in SlidingTab
466 mOrientation = a.getInt(R.styleable.SlidingTab_orientation, HORIZONTAL); in SlidingTab()
729 return mOrientation == HORIZONTAL;
/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.java66 mLayout.setOrientation(LinearLayout.HORIZONTAL); in onCreate()
DVerticalFocusSearch.java134 ll.setOrientation(LinearLayout.HORIZONTAL); in addSkinny()
DHorizontalFocusSearch.java62 mLayout.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()
DPictureCaptureDemo.java54 inner.setOrientation(LinearLayout.HORIZONTAL); in onCreate()
/frameworks/base/packages/SystemUI/legacy/recents/src/com/android/systemui/recents/views/
DDockState.java65 @IntDef({HORIZONTAL, VERTICAL})
67 private static final int HORIZONTAL = 0; field in DockState
71 public static final DockState NONE = new DockState(DOCKED_INVALID, -1, 80, 255, HORIZONTAL,
78 SPLIT_SCREEN_CREATE_MODE_TOP_OR_LEFT, DOCK_AREA_ALPHA, 0, HORIZONTAL,
86 SPLIT_SCREEN_CREATE_MODE_BOTTOM_OR_RIGHT, DOCK_AREA_ALPHA, 0, HORIZONTAL,
/frameworks/base/graphics/java/android/graphics/drawable/
DClipDrawable.java57 public static final int HORIZONTAL = 1; field in ClipDrawable
190 if ((mState.mOrientation & HORIZONTAL) != 0) { in draw()
220 int mOrientation = HORIZONTAL;
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DTitleBar.java31 super(context, LinearLayout.HORIZONTAL, "title_bar.xml", simulatedPlatformVersion); in TitleBar()
DThemePreviewNavigationBar.java44 LinearLayout.HORIZONTAL, // In this mode, it doesn't need to be render vertically in ThemePreviewNavigationBar()
DNavigationBar.java104 if (orientation == HORIZONTAL) { in setSize()
DStatusBar.java71 super(context, LinearLayout.HORIZONTAL, "status_bar.xml", simulatedPlatformVersion); in StatusBar()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDeadZone.java43 public static final int HORIZONTAL = 0; // Consume taps along the top edge. field in DeadZone
74 onConfigurationChanged(HORIZONTAL); in DeadZone()
/frameworks/base/core/tests/coretests/src/android/util/
DListItemFactory.java94 ll.setOrientation(LinearLayout.HORIZONTAL); in horizontalButtonSlots()
238 ll.setOrientation(LinearLayout.HORIZONTAL); in doubleText()
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
DInvalidateTreeActivity.java46 parent.setOrientation(vertical ? LinearLayout.VERTICAL : LinearLayout.HORIZONTAL); in createQuadTree()
/frameworks/base/apct-tests/perftests/core/src/android/view/
DViewShowHidePerfTest.java83 … parent.setOrientation(vertical ? LinearLayout.VERTICAL : LinearLayout.HORIZONTAL);
108 root.setOrientation(LinearLayout.HORIZONTAL);
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DButtonBarLayout.java98 setOrientation(stacked ? LinearLayout.VERTICAL : LinearLayout.HORIZONTAL); in setStacked()
/frameworks/base/core/tests/coretests/src/android/widget/listview/
DAdjacentListsWithAdjacentISVsInside.java91 ll.setOrientation(LinearLayout.HORIZONTAL); in combineAdjacent()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DSegmentedButtons.java48 setOrientation(HORIZONTAL); in SegmentedButtons()
/frameworks/base/core/java/android/widget/
DGridLayout.java178 HORIZONTAL,
187 public static final int HORIZONTAL = LinearLayout.HORIZONTAL; field in GridLayout
260 private static final int DEFAULT_ORIENTATION = HORIZONTAL;
334 @InspectableProperty.EnumEntry(value = HORIZONTAL, name = "horizontal"),
765 final boolean horizontal = (mOrientation == HORIZONTAL); in validateLayoutParams()
1047 boolean horizontal = (mOrientation == HORIZONTAL); in measureChildrenWithMargins()
1090 if (mOrientation == HORIZONTAL) { in onMeasure()

12