/aosp14/frameworks/base/core/java/android/widget/ |
H A D | GridLayout.java | 671 return horizontal ? LEFT : TOP; in getAlignment() 714 int margin = horizontal ? in getMargin1() 734 return getMargin(child, horizontal, true) + getMargin(child, horizontal, false); in getTotalMargin() 817 if (horizontal) { in validateLayoutParams() 1061 if (horizontal) { in measureChildrenWithMargins() 1122 return getMeasurement(c, horizontal) + getTotalMargin(c, horizontal); in getMeasurementIncludingMargin() 1241 public final boolean horizontal; field in GridLayout.Axis 1276 private Axis(boolean horizontal) { in Axis() argument 1277 this.horizontal = horizontal; in Axis() 1581 String var = horizontal ? "x" : "y"; in arcsToString() [all …]
|
/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/modifiers/ |
H A D | Padding.kt | 70 horizontal: Density.() -> Int = PaddingUnspecified, 75 start = horizontal, 77 end = horizontal, 83 properties["horizontal"] = horizontal 109 val horizontal = start + end regex 112 val placeable = measurable.measure(constraints.offset(-horizontal, -vertical)) 114 val width = constraints.constrainWidth(placeable.width + horizontal)
|
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/ |
H A D | QSPanel.java | 452 private void reAttachMediaHost(ViewGroup hostView, boolean horizontal) { in reAttachMediaHost() argument 457 ViewGroup newParent = horizontal ? mHorizontalLinearLayout : this; in reAttachMediaHost() 459 Log.d(getDumpableTag(), "Reattaching media host: " + horizontal in reAttachMediaHost() 469 layoutParams.weight = horizontal ? 1f : 0; in reAttachMediaHost() 475 layoutParams.topMargin = mediaNeedsTopMargin() && !horizontal in reAttachMediaHost() 606 if (horizontal != mUsingHorizontalLayout || force) { in setUsingHorizontalLayout() 608 mUsingHorizontalLayout = horizontal; in setUsingHorizontalLayout() 609 ViewGroup newParent = horizontal ? mHorizontalContentContainer : this; in setUsingHorizontalLayout() 611 reAttachMediaHost(mediaHostView, horizontal); in setUsingHorizontalLayout() 613 mTileLayout.setMinRows(horizontal ? 2 : 1); in setUsingHorizontalLayout() [all …]
|
H A D | QSPanelControllerBase.java | 352 boolean horizontal = shouldUseHorizontalLayout(); in switchTileLayout() 353 if (horizontal != mUsingHorizontalLayout || force) { in switchTileLayout() 354 mQSLogger.logSwitchTileLayout(horizontal, mUsingHorizontalLayout, force, in switchTileLayout() 356 mUsingHorizontalLayout = horizontal; in switchTileLayout()
|
/aosp14/frameworks/base/core/java/android/window/ |
H A D | SizeConfigurationBuckets.java | 71 SparseIntArray horizontal = new SparseIntArray(); in SizeConfigurationBuckets() local 83 horizontal.put(config.screenWidthDp, 0); in SizeConfigurationBuckets() 97 mHorizontal = horizontal.copyKeys(); in SizeConfigurationBuckets() 279 @Nullable int[] horizontal, in SizeConfigurationBuckets() 284 this.mHorizontal = horizontal; in SizeConfigurationBuckets() 367 int[] horizontal = (flg & 0x1) == 0 ? null : in.createIntArray(); in SizeConfigurationBuckets() local 372 this.mHorizontal = horizontal; in SizeConfigurationBuckets()
|
/aosp14/frameworks/base/proto/src/ |
H A D | windowmanager.proto | 53 // Possible values for the letterbox horizontal reachability 67 // Represents the current horizontal position for the letterboxed activity 71 // Represents the current horizontal position for the letterboxed activity in book mode
|
/aosp14/frameworks/base/core/java/android/text/ |
H A D | TextLine.java | 321 float horizontal = 0; in shape() local 333 horizontal += shapeRun(consumer, segStart, j, runIsRtl, x + horizontal, in shape() 337 horizontal = mDir * nextTab(horizontal * mDir); in shape() 560 float horizontal = 0; 570 final float oldHorizontal = horizontal; 582 horizontal += sameDirection ? width : -width; 584 float currHorizontal = sameDirection ? oldHorizontal : horizontal; 607 measurement[j] = horizontal; 609 horizontal = mDir * nextTab(horizontal * mDir); 611 measurement[j + 1] = horizontal; [all …]
|
H A D | Layout.java | 1451 float[] horizontal = new float[end - start + 1]; in getLineHorizontals() local 1452 for (int offset = 0; offset < horizontal.length; ++offset) { in getLineHorizontals() 1453 horizontal[offset] = lineStartPos + wid[offset]; in getLineHorizontals() 1455 return horizontal; in getLineHorizontals() 1841 final HorizontalMeasurementProvider horizontal = in getOffsetForHorizontal() local 1852 float bestdist = Math.abs(horizontal.get(lineStartOffset) - horiz); in getOffsetForHorizontal() 1868 if (horizontal.get(adguess) * swap >= horiz * swap) { in getOffsetForHorizontal() 1882 float dist = Math.abs(horizontal.get(low) - horiz); in getOffsetForHorizontal() 1884 float other = Math.abs(horizontal.get(aft) - horiz); in getOffsetForHorizontal() 1899 float dist = Math.abs(horizontal.get(here) - horiz); in getOffsetForHorizontal() [all …]
|
/aosp14/frameworks/base/media/java/android/media/ |
H A D | TimedText.java | 163 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()
|
/aosp14/frameworks/base/core/java/com/android/internal/widget/ |
H A D | AutoScrollHelper.java | 331 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()
|
/aosp14/frameworks/base/libs/hwui/utils/ |
H A D | Blur.h | 38 static void horizontal(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest,
|
/aosp14/frameworks/base/core/java/android/inputmethodservice/navigationbar/ |
H A D | KeyButtonRipple.java | 133 final boolean horizontal = w > h; in drawSoftware() 138 final float rx = horizontal ? radius : cx; in drawSoftware() 139 final float ry = horizontal ? cy : radius; in drawSoftware() 140 final float corner = horizontal ? cy : cx; in drawSoftware()
|
/aosp14/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/navigationbar/buttons/ |
H A D | KeyButtonRipple.java | 135 final boolean horizontal = w > h; in drawSoftware() 140 final float rx = horizontal ? radius : cx; in drawSoftware() 141 final float ry = horizontal ? cy : radius; in drawSoftware() 142 final float corner = horizontal ? cy : cx; in drawSoftware()
|
/aosp14/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/theme/ |
H A D | SettingsDimension.kt | 44 val buttonPadding = PaddingValues(horizontal = itemPaddingEnd, vertical = 12.dp)
|
/aosp14/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/people/ui/compose/ |
H A D | PeopleScreen.kt | 119 Modifier.padding(horizontal = 24.dp), 222 Modifier.padding(horizontal = 16.dp),
|
/aosp14/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/scaffold/ |
H A D | SettingsPager.kt | 48 modifier = Modifier.padding(horizontal = SettingsDimension.itemPaddingEnd),
|
H A D | SettingsTab.kt | 50 .padding(horizontal = 4.dp, vertical = 6.dp)
|
/aosp14/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/preference/ |
H A D | TwoTargetPreference.kt | 68 .padding(horizontal = SettingsDimension.itemPaddingEnd)
|
/aosp14/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/illustration/ |
H A D | Illustration.kt | 75 .padding(horizontal = SettingsDimension.illustrationPadding),
|
/aosp14/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/ui/composable/ |
H A D | QuickSettingsScene.kt | 80 .padding(horizontal = 16.dp, vertical = 48.dp)
|
/aosp14/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/ |
H A D | PlatformButtons.kt | 84 private val ButtonPaddings = PaddingValues(horizontal = 16.dp, vertical = 8.dp)
|
/aosp14/frameworks/base/data/keyboards/ |
H A D | Vendor_045e_Product_0b12.kl | 54 # Three parallel horizontal lines (hamburger menu)
|
H A D | Vendor_054c_Product_0ce6_fallback.kl | 61 # Options / three horizontal lines
|
H A D | Vendor_054c_Product_0df2_fallback.kl | 61 # Options / three horizontal lines
|
/aosp14/frameworks/base/packages/CredentialManager/src/com/android/credentialmanager/common/ui/ |
H A D | Entry.kt | 101 horizontal = 8.dp, vertical = 16.dp, 339 LargeTitleText(text = text, modifier = Modifier.padding(horizontal = 4.dp))
|