Home
last modified time | relevance | path

Searched refs:horizontal (Results 1 – 21 of 21) sorted by relevance

/frameworks/base/core/java/android/widget/
DGridLayout.java665 static Alignment getAlignment(int gravity, boolean horizontal) { in getAlignment() argument
666 int mask = horizontal ? HORIZONTAL_GRAVITY_MASK : VERTICAL_GRAVITY_MASK; in getAlignment()
667 int shift = horizontal ? AXIS_X_SHIFT : AXIS_Y_SHIFT; in getAlignment()
671 return horizontal ? LEFT : TOP; in getAlignment()
673 return horizontal ? RIGHT : BOTTOM; in getAlignment()
688 private int getDefaultMargin(View c, boolean horizontal, boolean leading) { in getDefaultMargin() argument
695 private int getDefaultMargin(View c, boolean isAtEdge, boolean horizontal, boolean leading) { in getDefaultMargin() argument
696 return /*isAtEdge ? DEFAULT_CONTAINER_MARGIN :*/ getDefaultMargin(c, horizontal, leading); in getDefaultMargin()
699 private int getDefaultMargin(View c, LayoutParams p, boolean horizontal, boolean leading) { in getDefaultMargin() argument
703 Spec spec = horizontal ? p.columnSpec : p.rowSpec; in getDefaultMargin()
[all …]
DEditor.java2720 private void updateCursorPosition(int top, int bottom, float horizontal) { in updateCursorPosition() argument
2722 final int left = clampHorizontalPosition(mDrawableForCursor, horizontal); in updateCursorPosition()
2742 private int clampHorizontalPosition(@Nullable final Drawable drawable, float horizontal) { in clampHorizontalPosition() argument
2743 horizontal = Math.max(0.5f, horizontal - 0.5f); in clampHorizontalPosition()
2755 float horizontalDiff = horizontal - scrollX; in clampHorizontalPosition()
2766 && horizontal <= 1f)) { in clampHorizontalPosition()
2770 left = (int) horizontal - mTempRect.left; in clampHorizontalPosition()
5559 final float horizontal = getHorizontal(layout, offset); in getCursorHorizontalPosition() local
5560 return clampHorizontalPosition(mDrawableForCursor, horizontal) + mTempRect.left; in getCursorHorizontalPosition()
/frameworks/base/core/java/android/window/
DSizeConfigurationBuckets.java58 SparseIntArray horizontal = new SparseIntArray(); in SizeConfigurationBuckets() local
67 horizontal.put(config.screenWidthDp, 0); in SizeConfigurationBuckets()
73 mHorizontal = horizontal.copyKeys(); in SizeConfigurationBuckets()
183 @Nullable int[] horizontal, in SizeConfigurationBuckets()
186 this.mHorizontal = horizontal; in SizeConfigurationBuckets()
245 int[] horizontal = (flg & 0x1) == 0 ? null : in.createIntArray(); in SizeConfigurationBuckets() local
249 this.mHorizontal = horizontal; in SizeConfigurationBuckets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSPanel.java407 private void reAttachMediaHost(ViewGroup hostView, boolean horizontal) { in reAttachMediaHost() argument
411 ViewGroup newParent = horizontal ? mHorizontalLinearLayout : this; in reAttachMediaHost()
420 layoutParams.width = horizontal ? 0 : ViewGroup.LayoutParams.MATCH_PARENT; in reAttachMediaHost()
421 layoutParams.weight = horizontal ? 1f : 0; in reAttachMediaHost()
425 layoutParams.bottomMargin = !horizontal || displayMediaMarginsOnMedia() in reAttachMediaHost()
427 layoutParams.topMargin = mediaNeedsTopMargin() && !horizontal in reAttachMediaHost()
680 void setUsingHorizontalLayout(boolean horizontal, ViewGroup mediaHostView, boolean force) { in setUsingHorizontalLayout() argument
681 if (horizontal != mUsingHorizontalLayout || force) { in setUsingHorizontalLayout()
682 mUsingHorizontalLayout = horizontal; in setUsingHorizontalLayout()
683 ViewGroup newParent = horizontal ? mHorizontalContentContainer : this; in setUsingHorizontalLayout()
[all …]
DQSPanelControllerBase.java314 boolean horizontal = shouldUseHorizontalLayout(); in switchTileLayout()
315 if (horizontal != mUsingHorizontalLayout || force) { in switchTileLayout()
316 mUsingHorizontalLayout = horizontal; in switchTileLayout()
/frameworks/base/media/java/android/media/
DTimedText.java163 public Justification(int horizontal, int vertical) { in Justification() argument
164 this.horizontalJustification = horizontal; in Justification()
498 int horizontal = parcel.readInt(); in parseParcel() local
500 mJustification = new Justification(horizontal, vertical); in parseParcel()
DWebVttRenderer.java1675 final boolean horizontal = cue.mWritingDirection in CueLayout()
1677 setOrientation(horizontal ? VERTICAL : HORIZONTAL); in CueLayout()
1687 setGravity(horizontal in CueLayout()
/frameworks/base/core/java/com/android/internal/widget/
DAutoScrollHelper.java331 public AutoScrollHelper setRelativeVelocity(float horizontal, float vertical) { in setRelativeVelocity() argument
332 mRelativeVelocity[HORIZONTAL] = horizontal / 1000f; in setRelativeVelocity()
371 public AutoScrollHelper setRelativeEdges(float horizontal, float vertical) { in setRelativeEdges() argument
372 mRelativeEdges[HORIZONTAL] = horizontal; in setRelativeEdges()
DRecyclerView.java4929 final boolean horizontal = absDx > absDy; in computeScrollDuration()
4932 final int containerSize = horizontal ? getWidth() : getHeight(); in computeScrollDuration()
4942 float absDelta = (float) (horizontal ? absDx : absDy); in computeScrollDuration()
/frameworks/base/libs/hwui/utils/
DBlur.h38 static void horizontal(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest,
DBlur.cpp94 void Blur::horizontal(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest, in horizontal() function in android::uirenderer::Blur
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/buttons/
DKeyButtonRipple.java122 final boolean horizontal = w > h; in drawSoftware()
127 final float rx = horizontal ? radius : cx; in drawSoftware()
128 final float ry = horizontal ? cy : radius; in drawSoftware()
129 final float corner = horizontal ? cy : cx; in drawSoftware()
/frameworks/base/core/java/android/text/
DLayout.java1274 float[] horizontal = new float[end - start + 1]; in getLineHorizontals() local
1275 for (int offset = 0; offset < horizontal.length; ++offset) { in getLineHorizontals()
1276 horizontal[offset] = lineStartPos + wid[offset]; in getLineHorizontals()
1278 return horizontal; in getLineHorizontals()
1555 final HorizontalMeasurementProvider horizontal = in getOffsetForHorizontal() local
1566 float bestdist = Math.abs(horizontal.get(lineStartOffset) - horiz); in getOffsetForHorizontal()
1582 if (horizontal.get(adguess) * swap >= horiz * swap) { in getOffsetForHorizontal()
1596 float dist = Math.abs(horizontal.get(low) - horiz); in getOffsetForHorizontal()
1598 float other = Math.abs(horizontal.get(aft) - horiz); in getOffsetForHorizontal()
1613 float dist = Math.abs(horizontal.get(here) - horiz); in getOffsetForHorizontal()
[all …]
DTextLine.java315 float horizontal = 0; in shape() local
327 horizontal += shapeRun(consumer, segStart, j, runIsRtl, x + horizontal, in shape()
331 horizontal = mDir * nextTab(horizontal * mDir); in shape()
/frameworks/base/data/keyboards/
DVendor_045e_Product_0b12.kl54 # Three parallel horizontal lines (hamburger menu)
/frameworks/rs/tests/java_api/Refocus/src/com/android/rs/test/
Dluts_for_speedup_f32.rsh63 // circle of radius r and a horizontal line of height y.
/frameworks/base/services/core/java/com/android/server/am/
DActivityManagerShellCommand.java2784 int maxToTravel, boolean movingForward, boolean horizontal, int delay_ms)
2789 && ((horizontal && taskRect.right < stackRect.right)
2790 ||(!horizontal && taskRect.bottom < stackRect.bottom))) {
2791 if (horizontal) {
2806 && ((horizontal && taskRect.left > stackRect.left)
2807 ||(!horizontal && taskRect.top > stackRect.top))) {
2808 if (horizontal) {
/frameworks/base/core/proto/android/service/
Dprint.proto234 // Resolution in horizontal orientation
/frameworks/base/packages/SystemUI/src/com/android/systemui/navigationbar/
DNavigationBarView.java1058 mHorizontal = findViewById(R.id.horizontal); in updateOrientationViews()
/frameworks/base/core/api/
Dcurrent.txt8148 field public static final String HINT_HORIZONTAL = "horizontal";
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt71093 Landroid/widget/GridLayout$Axis;->horizontal:Z