Searched refs:horizontal (Results 1 - 22 of 22) sorted by relevance

/frameworks/support/v17/leanback/src/android/support/v17/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 new StringBuffer().append("horizontal=")
394 .append(horizontal.toString())
H A DGridLayoutManager.java650 * Set to true for RTL layout in horizontal orientation
706 mWindowAlignment.horizontal.setReversedFlow(layoutDirection == View.LAYOUT_DIRECTION_RTL);
1008 // We can scroll horizontally if we have horizontal orientation, or if
1016 // are horizontal and have more than one row.
1750 p.setAlignX(mItemAlignment.horizontal.getAlignmentPosition(v));
1758 p.setAlignX(mItemAlignment.horizontal.getAlignmentPosition(v));
2524 mWindowAlignment.horizontal.setSize(getWidth());
2526 mWindowAlignment.horizontal.setPadding(getPaddingLeft(), getPaddingRight());
2538 mWindowAlignment.horizontal.setSize(getWidth());
2540 mWindowAlignment.horizontal
[all...]
/frameworks/support/wear/tests/src/android/support/wear/widget/
H A DSwipeDismissFrameLayoutTestActivity.java36 boolean horizontal = getIntent().getBooleanExtra(EXTRA_LAYOUT_HORIZONTAL, false);
39 createScrollableContent(horizontal);
43 private void createScrollableContent(boolean horizontal) { argument
51 horizontal ? LinearLayoutManager.HORIZONTAL : LinearLayoutManager.VERTICAL,
/frameworks/base/libs/hwui/utils/
H A DBlur.h38 static void horizontal(float* weights, int32_t radius, const uint8_t* source,
H A DBlur.cpp94 void Blur::horizontal(float* weights, int32_t radius, function in class:android::uirenderer::Blur
/frameworks/base/core/java/android/widget/
H A DGridLayout.java180 * The horizontal orientation.
337 * when orientation is {@link #HORIZONTAL} the horizontal axis is laid out first.
573 * When this property is {@code false} GridLayout is at liberty to place the horizontal column
636 static Alignment getAlignment(int gravity, boolean horizontal) { argument
637 int mask = horizontal ? HORIZONTAL_GRAVITY_MASK : VERTICAL_GRAVITY_MASK;
638 int shift = horizontal ? AXIS_X_SHIFT : AXIS_Y_SHIFT;
642 return horizontal ? LEFT : TOP;
644 return horizontal ? RIGHT : BOTTOM;
659 private int getDefaultMargin(View c, boolean horizontal, boolean leading) { argument
666 private int getDefaultMargin(View c, boolean isAtEdge, boolean horizontal, boolea argument
670 getDefaultMargin(View c, LayoutParams p, boolean horizontal, boolean leading) argument
683 getMargin1(View view, boolean horizontal, boolean leading) argument
691 getMargin(View view, boolean horizontal, boolean leading) argument
704 getTotalMargin(View child, boolean horizontal) argument
835 checkLayoutParams(LayoutParams lp, boolean horizontal) argument
1085 getMeasurement(View c, boolean horizontal) argument
1089 getMeasurementIncludingMargin(View c, boolean horizontal) argument
1212 public final boolean horizontal; field in class:GridLayout.Axis
1247 Axis(boolean horizontal) argument
2398 getOffset(GridLayout gl, View c, Alignment a, int size, boolean horizontal) argument
2556 getAbsoluteAlignment(boolean horizontal) argument
[all...]
H A DEditor.java2310 private void updateCursorPosition(int cursorIndex, int top, int bottom, float horizontal) { argument
2316 final int left = clampHorizontalPosition(drawable, horizontal);
2326 * the view boundary. If the drawable is null, horizontal parameter is aligned to left or right
2330 * @param horizontal Horizontal position for the drawable.
2331 * @return The clamped horizontal position for the drawable.
2333 private int clampHorizontalPosition(@Nullable final Drawable drawable, float horizontal) { argument
2334 horizontal = Math.max(0.5f, horizontal - 0.5f);
2346 float horizontalDiff = horizontal - scrollX;
2357 && horizontal <
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java170 * The horizontal orientation.
326 * when orientation is {@link #HORIZONTAL} the horizontal axis is laid out first.
561 * When this property is {@code false} GridLayout is at liberty to place the horizontal column
620 static Alignment getAlignment(int gravity, boolean horizontal) { argument
621 int mask = horizontal ? HORIZONTAL_GRAVITY_MASK : VERTICAL_GRAVITY_MASK;
622 int shift = horizontal ? AXIS_X_SHIFT : AXIS_Y_SHIFT;
626 return horizontal ? LEFT : TOP;
628 return horizontal ? RIGHT : BOTTOM;
643 private int getDefaultMargin(View c, boolean horizontal, boolean leading) { argument
650 private int getDefaultMargin(View c, boolean isAtEdge, boolean horizontal, boolea argument
654 getDefaultMargin(View c, LayoutParams p, boolean horizontal, boolean leading) argument
667 getMargin1(View view, boolean horizontal, boolean leading) argument
679 getMargin(View view, boolean horizontal, boolean leading) argument
692 getTotalMargin(View child, boolean horizontal) argument
811 checkLayoutParams(LayoutParams lp, boolean horizontal) argument
981 getMeasurement(View c, boolean horizontal) argument
985 getMeasurementIncludingMargin(View c, boolean horizontal) argument
1103 public final boolean horizontal; field in class:GridLayout.Axis
1138 Axis(boolean horizontal) argument
2288 getOffset(GridLayout gl, View c, Alignment a, int size, boolean horizontal) argument
2446 getAbsoluteAlignment(boolean horizontal) argument
[all...]
/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);
H A DWebVttRenderer.java527 .append(mWritingDirection == WRITING_DIRECTION_HORIZONTAL ? "horizontal" :
1673 final boolean horizontal = cue.mWritingDirection
1675 setOrientation(horizontal ? VERTICAL : HORIZONTAL);
1685 setGravity(horizontal
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
H A DKeyButtonRipple.java96 final boolean horizontal = w > h;
101 final float rx = horizontal ? radius : cx;
102 final float ry = horizontal ? cy : radius;
103 final float corner = horizontal ? cy : cx;
264 * horizontal or vertical mode.
280 * horizontal or vertical mode.
/frameworks/support/core-ui/java/android/support/v4/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/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...]
H A DRecyclerView.java1642 * @param x The amount of horizontal scroll request
1699 * <p>Compute the horizontal offset of the horizontal scrollbar's thumb within the horizontal
1712 * @return The horizontal offset of the scrollbar's thumb
1725 * <p>Compute the horizontal extent of the horizontal scrollbar's thumb within the
1726 * horizontal range. This value is used to compute the length of the thumb within the
1738 * @return The horizontal extent of the scrollbar's thumb
1750 * <p>Compute the horizontal rang
[all...]
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
H A DViewBindingAdapter.java124 final boolean horizontal = (value & FADING_EDGE_HORIZONTAL) != 0;
126 view.setHorizontalFadingEdgeEnabled(horizontal);
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseWrapContentTest.java68 void unspecifiedWithHintTest(boolean horizontal) throws Throwable { argument
85 if (horizontal) {
99 if (horizontal) {
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_mid_hor.s17 ;-- Abstract : ARMv6 optimized version horizontal part of
57 ;// Basic idea in horizontal filtering is to adjust coefficients
/frameworks/base/services/core/java/com/android/server/am/
H A DActivityManagerShellCommand.java88 // Is the object moving in the horizontal plan?
2350 int maxToTravel, boolean movingForward, boolean horizontal, int delay_ms)
2355 && ((horizontal && taskRect.right < stackRect.right)
2356 ||(!horizontal && taskRect.bottom < stackRect.bottom))) {
2357 if (horizontal) {
2372 && ((horizontal && taskRect.left > stackRect.left)
2373 ||(!horizontal && taskRect.top > stackRect.top))) {
2374 if (horizontal) {
2349 moveTask(int taskId, Rect taskRect, Rect stackRect, int stepSize, int maxToTravel, boolean movingForward, boolean horizontal, int delay_ms) argument
/frameworks/base/libs/hwui/
H A DFontRenderer.cpp728 Blur::horizontal(gaussian.get(), intRadius, *image, scratch.get(), width, height);
/frameworks/base/core/java/android/app/
H A DActivityThread.java2901 SparseIntArray horizontal = new SparseIntArray();
2910 horizontal.put(config.screenWidthDp, 0);
2918 horizontal.copyKeys(), vertical.copyKeys(), smallest.copyKeys());
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DRecyclerView.java1769 * @param x The amount of horizontal scroll request
1828 * <p>Compute the horizontal offset of the horizontal scrollbar's thumb within the horizontal
1841 * @return The horizontal offset of the scrollbar's thumb
1854 * <p>Compute the horizontal extent of the horizontal scrollbar's thumb within the
1855 * horizontal range. This value is used to compute the length of the thumb within the
1867 * @return The horizontal extent of the scrollbar's thumb
1879 * <p>Compute the horizontal rang
[all...]

Completed in 684 milliseconds