Searched defs:HORIZONTAL (Results 1 - 20 of 20) sorted by relevance

/frameworks/support/v7/recyclerview/src/main/java/androidx/recyclerview/widget/
H A DDividerItemDecoration.java33 * between items of a {@link LinearLayoutManager}. It supports both {@link #HORIZONTAL} and
43 public static final int HORIZONTAL = LinearLayout.HORIZONTAL; field in class:DividerItemDecoration
52 * Current orientation. Either {@link #HORIZONTAL} or {@link #VERTICAL}.
63 * @param orientation Divider orientation. Should be {@link #HORIZONTAL} or {@link #VERTICAL}.
80 * @param orientation {@link #HORIZONTAL} or {@link #VERTICAL}
83 if (orientation != HORIZONTAL && orientation != VERTICAL) {
85 "Invalid orientation. It should be either HORIZONTAL or VERTICAL");
H A DOrientationHelper.java38 public static final int HORIZONTAL = RecyclerView.HORIZONTAL; field in class:OrientationHelper
236 * @param orientation Desired orientation. Should be {@link #HORIZONTAL} or {@link #VERTICAL}
242 case HORIZONTAL:
H A DLinearLayoutManager.java49 public static final int HORIZONTAL = RecyclerView.HORIZONTAL; field in class:LinearLayoutManager
64 * Current orientation. Either {@link #HORIZONTAL} or {@link #VERTICAL}
158 * @param orientation Layout orientation. Should be {@link #HORIZONTAL} or {@link
285 * @return true if {@link #getOrientation()} is {@link #HORIZONTAL}
289 return mOrientation == HORIZONTAL;
319 * @return Current orientation, either {@link #HORIZONTAL} or {@link #VERTICAL}
331 * @param orientation {@link #HORIZONTAL} or {@link #VERTICAL}
334 if (orientation != HORIZONTAL && orientation != VERTICAL) {
461 if (mOrientation == HORIZONTAL) {
[all...]
H A DStaggeredGridLayoutManager.java59 public static final int HORIZONTAL = RecyclerView.HORIZONTAL; field in class:StaggeredGridLayoutManager
243 * @param orientation {@link #VERTICAL} or {@link #HORIZONTAL}
446 * @param orientation {@link #HORIZONTAL} or {@link #VERTICAL}
449 if (orientation != HORIZONTAL && orientation != VERTICAL) {
1289 if (mOrientation == HORIZONTAL) {
1337 if (mOrientation == HORIZONTAL) {
1972 if (mOrientation == HORIZONTAL) {
2029 return mOrientation == HORIZONTAL;
2059 if (mOrientation == HORIZONTAL) {
[all...]
H A DRecyclerView.java218 @IntDef({HORIZONTAL, VERTICAL})
222 public static final int HORIZONTAL = LinearLayout.HORIZONTAL; field in class:RecyclerView
/frameworks/base/core/java/com/android/internal/widget/
H A DOrientationHelper.java39 public static final int HORIZONTAL = LinearLayout.HORIZONTAL; field in class:OrientationHelper
229 * @param orientation Desired orientation. Should be {@link #HORIZONTAL} or {@link #VERTICAL}
235 case HORIZONTAL:
H A DAutoScrollHelper.java132 private static final int HORIZONTAL = 0; field in class:AutoScrollHelper
293 mMaximumVelocity[HORIZONTAL] = horizontalMax / 1000f;
311 mMinimumVelocity[HORIZONTAL] = horizontalMin / 1000f;
332 mRelativeVelocity[HORIZONTAL] = horizontal / 1000f;
372 mRelativeEdges[HORIZONTAL] = horizontal;
394 mMaximumEdges[HORIZONTAL] = horizontalMax;
467 HORIZONTAL, event.getX(), v.getWidth(), mTarget.getWidth());
H A DSlidingTab.java57 private static final int HORIZONTAL = 0; // as defined in attrs.xml field in class:SlidingTab
82 * Either {@link #HORIZONTAL} or {@link #VERTICAL}.
460 mOrientation = a.getInt(R.styleable.SlidingTab_orientation, HORIZONTAL);
722 return mOrientation == HORIZONTAL;
H A DLinearLayoutManager.java47 public static final int HORIZONTAL = OrientationHelper.HORIZONTAL; field in class:LinearLayoutManager
63 * Current orientation. Either {@link #HORIZONTAL} or {@link #VERTICAL}
158 * @param orientation Layout orientation. Should be {@link #HORIZONTAL} or {@link
277 * @return true if {@link #getOrientation()} is {@link #HORIZONTAL}
281 return mOrientation == HORIZONTAL;
311 * @return Current orientation, either {@link #HORIZONTAL} or {@link #VERTICAL}
322 * @param orientation {@link #HORIZONTAL} or {@link #VERTICAL}
325 if (orientation != HORIZONTAL && orientation != VERTICAL) {
449 if (mOrientation == HORIZONTAL) {
[all...]
H A DRecyclerView.java187 public static final int HORIZONTAL = 0; field in class:RecyclerView
/frameworks/base/graphics/java/android/graphics/drawable/
H A DClipDrawable.java54 public static final int HORIZONTAL = 1; field in class:ClipDrawable
73 * @param orientation bitwise-or of {@link #HORIZONTAL} and/or
186 if ((mState.mOrientation & HORIZONTAL) != 0) {
216 int mOrientation = HORIZONTAL;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DDeadZone.java43 public static final int HORIZONTAL = 0; // Consume taps along the top edge. field in class:DeadZone
73 onConfigurationChanged(HORIZONTAL);
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/touch/
H A DSwipeDetector.java94 public static final Direction HORIZONTAL = new Direction() { field in class:SwipeDetector
/frameworks/base/packages/SystemUI/src/com/android/systemui/recents/views/
H A DDockState.java65 @IntDef({HORIZONTAL, VERTICAL})
67 private static final int HORIZONTAL = 0; field in class: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/support/viewpager2/src/main/java/androidx/viewpager2/widget/
H A DViewPager2.java115 a.getInt(R.styleable.ViewPager2_android_orientation, Orientation.HORIZONTAL));
510 @IntDef({Orientation.HORIZONTAL, Orientation.VERTICAL})
512 int HORIZONTAL = RecyclerView.HORIZONTAL; field in interface:ViewPager2.Orientation
/frameworks/base/core/java/android/widget/
H A DLinearLayout.java90 @IntDef({HORIZONTAL, VERTICAL})
94 public static final int HORIZONTAL = 0; field in class:LinearLayout
1076 * to {@link #HORIZONTAL}.
1670 if (mOrientation == HORIZONTAL) {
1678 * LinearLayout is set to {@link #HORIZONTAL}.
1817 * @param orientation Pass {@link #HORIZONTAL} or {@link #VERTICAL}. Default
1818 * value is {@link #HORIZONTAL}.
1832 * @return either {@link #HORIZONTAL} or {@link #VERTICAL}
1843 * HORIZONTAL orientation, this controls the alignment of the children.
1903 * {@link #HORIZONTAL}, th
[all...]
H A DGridLayout.java175 @IntDef(prefix = { "HORIZONTAL", "VERTICAL" }, value = {
176 HORIZONTAL,
185 public static final int HORIZONTAL = LinearLayout.HORIZONTAL; field in class:GridLayout
258 private static final int DEFAULT_ORIENTATION = HORIZONTAL;
322 * @return either {@link #HORIZONTAL} or {@link #VERTICAL}
343 * when orientation is {@link #HORIZONTAL} the horizontal axis is laid out first.
354 * orientation as {@code HORIZONTAL} - because {@code TextView} is capable of
358 * GridLayout, so it's fine to leave GridLayout in {@code HORIZONTAL} mode even if
361 * The default value of this property is {@link #HORIZONTAL}
[all...]
/frameworks/support/compat/src/main/java/androidx/core/widget/
H A DAutoScrollHelper.java134 private static final int HORIZONTAL = 0; field in class:AutoScrollHelper
296 mMaximumVelocity[HORIZONTAL] = horizontalMax / 1000f;
315 mMinimumVelocity[HORIZONTAL] = horizontalMin / 1000f;
337 mRelativeVelocity[HORIZONTAL] = horizontal / 1000f;
379 mRelativeEdges[HORIZONTAL] = horizontal;
402 mMaximumEdges[HORIZONTAL] = horizontalMax;
478 HORIZONTAL, event.getX(), v.getWidth(), mTarget.getWidth());
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/widget/
H A DLinearLayoutCompat.java60 @IntDef({HORIZONTAL, VERTICAL})
64 public static final int HORIZONTAL = 0; field in class:LinearLayoutCompat
918 * to {@link #HORIZONTAL}.
1510 * LinearLayout is set to {@link #HORIZONTAL}.
1650 * @param orientation Pass {@link #HORIZONTAL} or {@link #VERTICAL}. Default
1651 * value is {@link #HORIZONTAL}.
1663 * @return either {@link #HORIZONTAL} or {@link #VERTICAL}
1674 * HORIZONTAL orientation, this controls the alignment of the children.
1729 * {@link #HORIZONTAL}, the width is set to {@link LayoutParams#WRAP_CONTENT}
1734 if (mOrientation == HORIZONTAL) {
[all...]
/frameworks/support/gridlayout/src/main/java/androidx/gridlayout/widget/
H A DGridLayout.java174 public static final int HORIZONTAL = LinearLayout.HORIZONTAL; field in class:GridLayout
239 private static final int DEFAULT_ORIENTATION = HORIZONTAL;
308 * @return either {@link #HORIZONTAL} or {@link #VERTICAL}
328 * when orientation is {@link #HORIZONTAL} the horizontal axis is laid out first.
339 * orientation as {@code HORIZONTAL} - because {@code TextView} is capable of
343 * GridLayout, so it's fine to leave GridLayout in {@code HORIZONTAL} mode even if
346 * The default value of this property is {@link #HORIZONTAL}.
348 * @param orientation either {@link #HORIZONTAL} or {@link #VERTICAL}
733 final boolean horizontal = (mOrientation == HORIZONTAL);
[all...]

Completed in 449 milliseconds