Home
last modified time | relevance | path

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

123

/frameworks/base/packages/SystemUI/compose/core/src/com/android/compose/modifiers/
DPadding.kt70 horizontal: Density.() -> Int = PaddingUnspecified, in padding()
75 start = horizontal, in padding()
77 end = horizontal, in padding()
83 properties["horizontal"] = horizontal in padding()
109 val horizontal = start + end in measure() constant
112 val placeable = measurable.measure(constraints.offset(-horizontal, -vertical)) in measure()
114 val width = constraints.constrainWidth(placeable.width + horizontal) in measure()
/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 …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSPanel.java487 private void reAttachMediaHost(ViewGroup hostView, boolean horizontal) { in reAttachMediaHost() argument
497 ViewGroup newParent = horizontal ? mHorizontalLinearLayout : this; in reAttachMediaHost()
499 Log.d(getDumpableTag(), "Reattaching media host: " + horizontal in reAttachMediaHost()
508 layoutParams.width = horizontal ? 0 : ViewGroup.LayoutParams.MATCH_PARENT; in reAttachMediaHost()
509 layoutParams.weight = horizontal ? 1f : 0; in reAttachMediaHost()
513 layoutParams.bottomMargin = !horizontal || displayMediaMarginsOnMedia() in reAttachMediaHost()
515 layoutParams.topMargin = mediaNeedsTopMargin() && !horizontal in reAttachMediaHost()
647 void setUsingHorizontalLayout(boolean horizontal, ViewGroup mediaHostView, boolean force) { in setUsingHorizontalLayout() argument
648 if (horizontal != mUsingHorizontalLayout || force) { in setUsingHorizontalLayout()
649 Log.d(getDumpableTag(), "setUsingHorizontalLayout: " + horizontal + ", " + force); in setUsingHorizontalLayout()
[all …]
DQSPanelControllerBase.java458 boolean horizontal = shouldUseHorizontalLayout(); in switchTileLayout()
459 if ((!SceneContainerFlag.isEnabled() && horizontal != mUsingHorizontalLayout) || force) { in switchTileLayout()
460 mQSLogger.logSwitchTileLayout(horizontal, mUsingHorizontalLayout, force, in switchTileLayout()
462 mUsingHorizontalLayout = horizontal; in switchTileLayout()
/frameworks/base/core/java/android/window/
DSizeConfigurationBuckets.java71 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()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/framework/theme/
DSettingsDimension.kt63 val buttonPadding = PaddingValues(horizontal = itemPaddingEnd, vertical = buttonPaddingVertical)
70 PaddingValues(horizontal = dialogItemPaddingHorizontal, vertical = buttonPaddingVertical)
/frameworks/base/proto/src/
Dwindowmanager.proto53 // 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
/frameworks/base/packages/CredentialManager/horologist/src/com/google/android/horologist/compose/layout/
DScalingLazyColumnDefaults.kt54 contentPadding: PaddingValues = PaddingValues(horizontal = 10.dp), in belowTimeText()
100 contentPadding: PaddingValues = PaddingValues(horizontal = 10.dp), in scalingLazyColumnDefaults()
/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()
/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()
/frameworks/base/libs/hwui/utils/
DBlur.h38 static void horizontal(float* weights, int32_t radius, const uint8_t* source, uint8_t* dest,
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/windowdecor/viewholder/
DAppHeaderViewHolder.kt99 horizontal = context.resources
105 horizontal = context.resources
403 constructor(vertical: Int = 0, horizontal: Int = 0) :
404 this(horizontal, vertical, horizontal, vertical)
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/composable/
DShortcutHelper.kt178 modifier = Modifier.fillMaxWidth().heightIn(min = 88.dp).padding(horizontal = 16.dp) in CategoryItemSinglePane()
223 Column(Modifier.padding(horizontal = 16.dp)) { in ShortcutCategoryDetailsSinglePane()
292 Column(Modifier.padding(horizontal = 32.dp, vertical = 24.dp)) { in SubCategoryContainerDualPane()
379 modifier = Modifier.align(Alignment.Center).padding(horizontal = 12.dp), in ShortcutTextKey()
469 Row(Modifier.padding(horizontal = 24.dp), verticalAlignment = Alignment.CenterVertically) { in CategoryItemTwoPane()
531 modifier = Modifier.padding(horizontal = 24.dp, vertical = 16.dp), in KeyboardSettings()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/volume/panel/component/popup/ui/composable/
DVolumePanelPopup.kt99 Modifier.padding(horizontal = 80.dp).fillMaxWidth().wrapContentHeight(), in PopupComposable()
107 Modifier.padding(horizontal = 16.dp).fillMaxWidth().wrapContentHeight(), in PopupComposable()
/frameworks/base/core/java/android/text/
DTextLine.java502 float horizontal = 0; in shape() local
515 horizontal += shapeRun(consumer, segStart, j, runIsRtl, x + horizontal, in shape()
519 horizontal = mDir * nextTab(horizontal * mDir); in shape()
754 float horizontal = 0;
766 final float oldHorizontal = horizontal;
779 horizontal += sameDirection ? width : -width;
781 float currHorizontal = sameDirection ? oldHorizontal : horizontal;
804 measurement[j] = horizontal;
806 horizontal = mDir * nextTab(horizontal * mDir);
808 measurement[j + 1] = horizontal;
[all …]
/frameworks/base/core/java/android/inputmethodservice/navigationbar/
DKeyButtonRipple.java133 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()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/navigationbar/
DKeyButtonRipple.java152 final boolean horizontal = w > h; in drawSoftware()
157 final float rx = horizontal ? radius : cx; in drawSoftware()
158 final float ry = horizontal ? cy : radius; in drawSoftware()
159 final float corner = horizontal ? cy : cx; in drawSoftware()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/keyguard/ui/composable/section/
DWeatherClockSection.kt60 horizontal = dimensionResource(customizationR.dimen.clock_padding_start) in Time()
162 horizontal = dimensionResource(customizationR.dimen.clock_padding_start) in SceneScope()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/scaffold/
DSettingsPager.kt48 modifier = Modifier.padding(horizontal = SettingsDimension.itemPaddingEnd), in <lambda>()
DSettingsTab.kt50 .padding(horizontal = 4.dp, vertical = 6.dp) in SettingsTab()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/preference/
DTwoTargetPreference.kt68 .padding(horizontal = SettingsDimension.itemPaddingEnd) in PreferenceDivider()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/people/ui/compose/
DPeopleScreen.kt119 Modifier.padding(horizontal = 24.dp), in PeopleScreenWithConversations()
222 Modifier.padding(horizontal = 16.dp), in Tile()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/card/
DSettingsCard.kt71 horizontal = SettingsDimension.itemPaddingEnd, in SettingsCard()
109 horizontal = SettingsDimension.dialogItemPaddingHorizontal, in SettingsCardImpl()
/frameworks/base/packages/CredentialManager/wear/src/com/android/credentialmanager/ui/screens/single/password/
DSinglePasswordScreen.kt70 modifier = Modifier.padding(horizontal = 10.dp) in SinglePasswordScreen()
/frameworks/base/packages/SettingsLib/Spa/spa/src/com/android/settingslib/spa/widget/illustration/
DIllustration.kt75 .padding(horizontal = SettingsDimension.illustrationPadding), in Illustration()

123