Searched defs:horizontal (Results 1 - 12 of 12) sorted by relevance

/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DItemAlignment.java49 final public Axis horizontal = new Axis(HORIZONTAL); field in class:ItemAlignment
51 private Axis mMainAxis = horizontal;
66 mMainAxis = horizontal;
70 mSecondAxis = horizontal;
H A DWindowAlignment.java358 public final Axis horizontal = new Axis("horizontal"); field in class:WindowAlignment
360 private Axis mMainAxis = horizontal;
375 mMainAxis = horizontal;
379 mSecondAxis = horizontal;
393 return "horizontal=" + horizontal + "; vertical=" + vertical;
/frameworks/support/wear/src/androidTest/java/androidx/wear/widget/
H A DSwipeDismissFrameLayoutTestActivity.java37 boolean horizontal = getIntent().getBooleanExtra(EXTRA_LAYOUT_HORIZONTAL, false);
40 createScrollableContent(horizontal);
44 private void createScrollableContent(boolean horizontal) { argument
52 horizontal ? LinearLayoutManager.HORIZONTAL : LinearLayoutManager.VERTICAL,
/frameworks/base/libs/hwui/utils/
H A DBlur.cpp94 void Blur::horizontal(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, function in class:android::uirenderer::Blur
/frameworks/base/media/java/android/media/
H A DTimedText.java146 * horizontal justification 0: left, 1: centered, -1: right
157 * @param horizontal the horizontal justification of the text.
160 public Justification(int horizontal, int vertical) { argument
161 this.horizontalJustification = horizontal;
485 int horizontal = parcel.readInt();
487 mJustification = new Justification(horizontal, vertical);
/frameworks/support/v7/recyclerview/src/androidTest/java/androidx/recyclerview/widget/
H A DBaseWrapContentTest.java69 void unspecifiedWithHintTest(boolean horizontal) throws Throwable { argument
86 if (horizontal) {
100 if (horizontal) {
/frameworks/base/core/java/com/android/internal/widget/
H A DAutoScrollHelper.java59 * horizontal edges.
73 * Default value is 100% per second for both vertical and horizontal.
286 * @param horizontalMax The maximum horizontal scrolling velocity, or
304 * @param horizontalMin The minimum horizontal scrolling velocity, or
323 * @param horizontal The target horizontal velocity as a fraction of the
331 public AutoScrollHelper setRelativeVelocity(float horizontal, float vertical) { argument
332 mRelativeVelocity[HORIZONTAL] = horizontal / 1000f;
363 * @param horizontal The horizontal edg
371 setRelativeEdges(float horizontal, float vertical) argument
[all...]
/frameworks/support/compat/src/main/java/androidx/core/widget/
H A DAutoScrollHelper.java61 * horizontal edges.
75 * Default value is 100% per second for both vertical and horizontal.
288 * @param horizontalMax The maximum horizontal scrolling velocity, or
307 * @param horizontalMin The minimum horizontal scrolling velocity, or
327 * @param horizontal The target horizontal velocity as a fraction of the
336 public AutoScrollHelper setRelativeVelocity(float horizontal, float vertical) { argument
337 mRelativeVelocity[HORIZONTAL] = horizontal / 1000f;
369 * @param horizontal The horizontal edg
378 setRelativeEdges(float horizontal, float vertical) argument
[all...]
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerShellCommand.java2659 int maxToTravel, boolean movingForward, boolean horizontal, int delay_ms)
2664 && ((horizontal && taskRect.right < stackRect.right)
2665 ||(!horizontal && taskRect.bottom < stackRect.bottom))) {
2666 if (horizontal) {
2681 && ((horizontal && taskRect.left > stackRect.left)
2682 ||(!horizontal && taskRect.top > stackRect.top))) {
2683 if (horizontal) {
2658 moveTask(int taskId, Rect taskRect, Rect stackRect, int stepSize, int maxToTravel, boolean movingForward, boolean horizontal, int delay_ms) argument
/frameworks/base/core/java/android/widget/
H A DGridLayout.java183 * The horizontal orientation.
343 * when orientation is {@link #HORIZONTAL} the horizontal axis is laid out first.
579 * When this property is {@code false} GridLayout is at liberty to place the horizontal column
642 static Alignment getAlignment(int gravity, boolean horizontal) { argument
643 int mask = horizontal ? HORIZONTAL_GRAVITY_MASK : VERTICAL_GRAVITY_MASK;
644 int shift = horizontal ? AXIS_X_SHIFT : AXIS_Y_SHIFT;
648 return horizontal ? LEFT : TOP;
650 return horizontal ? RIGHT : BOTTOM;
665 private int getDefaultMargin(View c, boolean horizontal, boolean leading) { argument
672 private int getDefaultMargin(View c, boolean isAtEdge, boolean horizontal, boolea argument
676 getDefaultMargin(View c, LayoutParams p, boolean horizontal, boolean leading) argument
689 getMargin1(View view, boolean horizontal, boolean leading) argument
697 getMargin(View view, boolean horizontal, boolean leading) argument
710 getTotalMargin(View child, boolean horizontal) argument
841 checkLayoutParams(LayoutParams lp, boolean horizontal) argument
1091 getMeasurement(View c, boolean horizontal) argument
1095 getMeasurementIncludingMargin(View c, boolean horizontal) argument
1218 public final boolean horizontal; field in class:GridLayout.Axis
1253 Axis(boolean horizontal) argument
2404 getOffset(GridLayout gl, View c, Alignment a, int size, boolean horizontal) argument
2562 getAbsoluteAlignment(boolean horizontal) argument
[all...]
H A DEditor.java2446 private void updateCursorPosition(int top, int bottom, float horizontal) { argument
2451 final int left = clampHorizontalPosition(mDrawableForCursor, horizontal);
2461 * the view boundary. If the drawable is null, horizontal parameter is aligned to left or right
2465 * @param horizontal Horizontal position for the drawable.
2466 * @return The clamped horizontal position for the drawable.
2468 private int clampHorizontalPosition(@Nullable final Drawable drawable, float horizontal) { argument
2469 horizontal = Math.max(0.5f, horizontal - 0.5f);
2481 float horizontalDiff = horizontal - scrollX;
2492 && horizontal <
[all...]
/frameworks/support/gridlayout/src/main/java/androidx/gridlayout/widget/
H A DGridLayout.java172 * The horizontal orientation.
328 * when orientation is {@link #HORIZONTAL} the horizontal axis is laid out first.
563 * When this property is {@code false} GridLayout is at liberty to place the horizontal column
622 static Alignment getAlignment(int gravity, boolean horizontal) { argument
623 int mask = horizontal ? HORIZONTAL_GRAVITY_MASK : VERTICAL_GRAVITY_MASK;
624 int shift = horizontal ? AXIS_X_SHIFT : AXIS_Y_SHIFT;
628 return horizontal ? LEFT : TOP;
630 return horizontal ? RIGHT : BOTTOM;
645 private int getDefaultMargin(View c, boolean horizontal, boolean leading) { argument
653 private int getDefaultMargin(View c, boolean isAtEdge, boolean horizontal, boolea argument
657 getDefaultMargin(View c, LayoutParams p, boolean horizontal, boolean leading) argument
670 getMargin1(View view, boolean horizontal, boolean leading) argument
682 getMargin(View view, boolean horizontal, boolean leading) argument
695 getTotalMargin(View child, boolean horizontal) argument
814 checkLayoutParams(LayoutParams lp, boolean horizontal) argument
984 getMeasurement(View c, boolean horizontal) argument
988 getMeasurementIncludingMargin(View c, boolean horizontal) argument
1106 public final boolean horizontal; field in class:GridLayout.Axis
1141 Axis(boolean horizontal) argument
2291 getOffset(GridLayout gl, View c, Alignment a, int size, boolean horizontal) argument
2449 getAbsoluteAlignment(boolean horizontal) argument
[all...]

Completed in 195 milliseconds