Home
last modified time | relevance | path

Searched refs:Dimensions (Results 1 – 25 of 27) sorted by relevance

12

/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/ui/composable/transitions/
DToQuickSettingsTransition.kt34 y = -(ShadeHeader.Dimensions.ExpandedHeight - ShadeHeader.Dimensions.CollapsedHeight) in TransitionBuilder()
36 translate(ShadeHeader.Elements.Clock, y = -ShadeHeader.Dimensions.CollapsedHeight) in TransitionBuilder()
37 translate(ShadeHeader.Elements.ShadeCarrierGroup, y = -ShadeHeader.Dimensions.CollapsedHeight) in TransitionBuilder()
45 translate(QuickSettings.Elements.Content, y = -ShadeHeader.Dimensions.ExpandedHeight * .66f) in TransitionBuilder()
DFromShadeToQuickSettingsTransition.kt38 y = ShadeHeader.Dimensions.CollapsedHeight in TransitionBuilder()
40 translate(ShadeHeader.Elements.CollapsedContentEnd, y = ShadeHeader.Dimensions.CollapsedHeight) in TransitionBuilder()
43 y = -(ShadeHeader.Dimensions.ExpandedHeight - ShadeHeader.Dimensions.CollapsedHeight) in TransitionBuilder()
45 translate(ShadeHeader.Elements.ShadeCarrierGroup, y = -ShadeHeader.Dimensions.CollapsedHeight) in TransitionBuilder()
DToShadeTransition.kt42 visibilityThreshold = Shade.Dimensions.ScrimVisibilityThreshold, in toShadeTransition()
64 y = -ShadeHeader.Dimensions.CollapsedHeight * .66f in toShadeTransition()
DToQuickSettingsShadeTransition.kt39 visibilityThreshold = Shade.Dimensions.ScrimVisibilityThreshold, in TransitionBuilder()
DToNotificationsShadeTransition.kt41 visibilityThreshold = Shade.Dimensions.ScrimVisibilityThreshold, in TransitionBuilder()
DToSplitShadeTransition.kt40 visibilityThreshold = Shade.Dimensions.ScrimVisibilityThreshold, in TransitionBuilder()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/qs/ui/composable/
DQuickSettingsShadeScene.kt95 modifier = Modifier.padding(QuickSettingsShade.Dimensions.Padding), in Content()
132 modifier = Modifier.fillMaxWidth().padding(QuickSettingsShade.Dimensions.Padding) in ShadeBody()
144 verticalArrangement = Arrangement.spacedBy(QuickSettingsShade.Dimensions.Padding), in QuickSettingsLayout()
146 modifier = modifier.fillMaxWidth().padding(QuickSettingsShade.Dimensions.Padding), in QuickSettingsLayout()
152 .height(QuickSettingsShade.Dimensions.BrightnessSliderHeight), in QuickSettingsLayout()
157 Modifier.fillMaxWidth().heightIn(max = QuickSettingsShade.Dimensions.GridMaxHeight), in QuickSettingsLayout()
169 object Dimensions { object
DQuickSettingsScene.kt218 with(LocalDensity.current) { ShadeHeader.Dimensions.CollapsedHeight.roundToPx() } in QuickSettingsScene()
256 targetValue = if (isCustomizing) ShadeHeader.Dimensions.CollapsedHeight else 0.dp, in QuickSettingsScene()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/communal/ui/compose/
DCommunalHub.kt141 import com.android.systemui.communal.ui.compose.Dimensions.CardOutlineWidth in <lambda>()
258 with(LocalDensity.current) { Dimensions.SlideOffsetY.toPx().toInt() } in <lambda>()
386 Modifier.height(Dimensions.GridHeight) in <lambda>()
388 .width(Dimensions.Spacing) in <lambda>()
475 gridModifier = gridModifier.height(Dimensions.GridHeight) in CommunalHubLazyGrid()
483 horizontalArrangement = Arrangement.spacedBy(Dimensions.ItemSpacing), in CommunalHubLazyGrid()
484 verticalArrangement = Arrangement.spacedBy(Dimensions.ItemSpacing), in CommunalHubLazyGrid()
494 Dimensions.CardWidth.value, in CommunalHubLazyGrid()
553 modifier = Modifier.height(Dimensions.GridHeight).padding(contentPadding), in EmptyStateCta()
561 Arrangement.spacedBy(Dimensions.Spacing, Alignment.CenterVertically), in EmptyStateCta()
[all …]
DCommunalContainer.kt58 import com.android.systemui.communal.ui.compose.Dimensions.SlideOffsetY in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/ui/composable/
DSceneContainerTransitions.kt106 y = Shade.Dimensions.ScrimOverscrollLimit in <lambda>()
108 translate(Shade.Elements.SplitShadeStartColumn, y = Shade.Dimensions.ScrimOverscrollLimit) in <lambda>()
111 y = Shade.Dimensions.ScrimOverscrollLimit, in <lambda>()
115 translate(OverlayShade.Elements.Panel, y = OverlayShade.Dimensions.OverscrollLimit) in <lambda>()
118 translate(OverlayShade.Elements.Panel, y = OverlayShade.Dimensions.OverscrollLimit) in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/shade/ui/composable/
DOverlayShade.kt139 WindowWidthSizeClass.Medium -> Modifier.width(OverlayShade.Dimensions.PanelWidthMedium) in panelSize()
140 WindowWidthSizeClass.Expanded -> Modifier.width(OverlayShade.Dimensions.PanelWidthLarge) in panelSize()
152 val contentPadding = PaddingValues(all = OverlayShade.Dimensions.ScrimContentPadding) in panelPadding()
196 object Dimensions { object
205 val RoundedCornerPanel = RoundedCornerShape(Dimensions.PanelCornerRadius)
DShadeScene.kt115 object Dimensions { object
125 topStart = Dimensions.ScrimCornerSize,
126 topEnd = Dimensions.ScrimCornerSize,
472 modifier = Modifier.offset(y = -ShadeHeader.Dimensions.CollapsedHeight) in SplitShade()
DShadeHeader.kt80 import com.android.systemui.shade.ui.composable.ShadeHeader.Dimensions.CollapsedHeight in <lambda>()
105 object Dimensions { in <lambda>() object
140 max(LocalScreenCornerRadius.current / 2f, Shade.Dimensions.HorizontalPadding) in CollapsedShadeHeader()
311 .defaultMinSize(minHeight = ShadeHeader.Dimensions.ExpandedHeight) in ExpandedShadeHeader()
/frameworks/base/core/java/android/os/
DBatteryConsumer.java211 public static final class Dimensions { class in BatteryConsumer
215 public Dimensions(int powerComponent, int processState) { in Dimensions() method in BatteryConsumer.Dimensions
242 public static final Dimensions UNSPECIFIED_DIMENSIONS =
243 new Dimensions(POWER_COMPONENT_ANY, PROCESS_STATE_ANY);
331 public double getConsumedPower(Dimensions dimensions) { in getConsumedPower()
DUidBatteryConsumer.java153 Dimensions dimensions = new Dimensions(POWER_COMPONENT_ANY, processState); in appendProcessStateData()
DPowerComponents.java58 public double getConsumedPower(@NonNull BatteryConsumer.Dimensions dimensions) { in getConsumedPower()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyboard/shortcut/ui/composable/
DShortcutHelper.kt554 topStart = Dimensions.SinglePaneCategoryCornerRadius,
555 topEnd = Dimensions.SinglePaneCategoryCornerRadius
559 bottomStart = Dimensions.SinglePaneCategoryCornerRadius,
560 bottomEnd = Dimensions.SinglePaneCategoryCornerRadius
565 object Dimensions { object
/frameworks/base/services/core/java/com/android/server/am/
DAppBatteryTracker.java55 import android.os.BatteryConsumer.Dimensions;
950 static final Dimensions[] BATT_DIMENS = new Dimensions[] {
951 new Dimensions(AppBatteryPolicy.DEFAULT_BG_CURRENT_DRAIN_POWER_COMPONENTS,
953 new Dimensions(AppBatteryPolicy.DEFAULT_BG_CURRENT_DRAIN_POWER_COMPONENTS,
955 new Dimensions(AppBatteryPolicy.DEFAULT_BG_CURRENT_DRAIN_POWER_COMPONENTS,
957 new Dimensions(AppBatteryPolicy.DEFAULT_BG_CURRENT_DRAIN_POWER_COMPONENTS,
959 new Dimensions(AppBatteryPolicy.DEFAULT_BG_CURRENT_DRAIN_POWER_COMPONENTS,
990 final Dimensions[] dims = policy.mBatteryDimensions; in BatteryUsage()
1144 final Dimensions dimens) { in getConsumedPowerNoThrow()
1509 volatile Dimensions[] mBatteryDimensions;
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/panels/ui/compose/
DPartitionedGridLayout.kt279 shape = Dimensions.ContainerShape, in <lambda>()
294 shape = Dimensions.ContainerShape, in <lambda>()
332 private object Dimensions { in <lambda>() object
/frameworks/base/services/tests/powerstatstests/src/com/android/server/power/stats/
DBatteryUsageStatsTest.java554 new BatteryConsumer.Dimensions(POWER_COMPONENT_ANY, in assertUidBatteryConsumer()
558 new BatteryConsumer.Dimensions(POWER_COMPONENT_ANY, in assertUidBatteryConsumer()
562 new BatteryConsumer.Dimensions(POWER_COMPONENT_ANY, in assertUidBatteryConsumer()
566 new BatteryConsumer.Dimensions(POWER_COMPONENT_ANY, in assertUidBatteryConsumer()
DPowerStatsExporterTest.java198 () -> uidScope.getConsumedPower(new BatteryConsumer.Dimensions( in combinedProcessStates()
297 new BatteryConsumer.Dimensions(componentId, processState))) in assertUidPowerEstimate()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/notifications/ui/composable/
DNotifications.kt215 val minScrimTop = with(density) { ShadeHeader.Dimensions.CollapsedHeight.toPx() } in NotificationScrollingStack()
/frameworks/base/boot/
Dpreloaded-classes5893 android.os.BatteryConsumer$Dimensions
/frameworks/base/config/
Dpreloaded-classes5897 android.os.BatteryConsumer$Dimensions

12