Home
last modified time | relevance | path

Searched refs:statusBarHeight (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/ui/
DFakeSystemBarUtilsProxy.kt23 statusBarHeight: Int,
26 var fakeStatusBarHeight: Int = statusBarHeight
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DLargeScreenHeaderHelper.kt34 val statusBarHeight = SystemBarUtils.getStatusBarHeight(context) in getLargeScreenHeaderHeight() constant
37 return max(defaultHeight, statusBarHeight) in getLargeScreenHeaderHeight()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/gesture/
DSwipeStatusBarAwayGestureHandler.kt38 return ev.y >= statusBarWindowController.statusBarHeight && in startOfGestureIsWithinBounds()
39 ev.y <= 3 * statusBarWindowController.statusBarHeight in startOfGestureIsWithinBounds()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/common/ui/compose/windowinsets/
DScreenDecorProvider.kt54 val statusBarHeight = WindowInsets.systemBars.asPaddingValues().calculateTopPadding() in ScreenDecorProvider() constant
59 maxOf(statusBarHeight, displayCutoutHeight)) in ScreenDecorProvider()
/frameworks/base/core/java/com/android/internal/policy/
DSystemBarUtils.java91 final int statusBarHeight = getStatusBarHeight(context); in getQuickQsOffsetHeight() local
93 return Math.max(defaultSize, statusBarHeight); in getQuickQsOffsetHeight()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DUtils.java136 final int statusBarHeight = SystemBarUtils.getStatusBarHeight(context); in getStatusBarHeaderHeightKeyguard() local
141 return Math.max(statusBarHeight, statusBarHeaderHeightKeyguard + waterfallInsetTop); in getStatusBarHeaderHeightKeyguard()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardClockViewModel.kt170 val statusBarHeight = systemBarUtils.getStatusBarHeaderHeightKeyguard() in <lambda>() constant
173 if (ComposeLockscreen.isEnabled) statusBarHeight else 0 in <lambda>()
176 if (!ComposeLockscreen.isEnabled) statusBarHeight else 0 in <lambda>()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/ui/composable/
DGoneScene.kt89 val statusBarHeight = SystemBarUtils.getStatusBarHeight(context) in HeadsUpNotificationStack() constant
97 Modifier.absoluteOffset { IntOffset(x = 0, y = statusBarHeight + headsUpPadding) } in HeadsUpNotificationStack()
/frameworks/base/core/java/android/window/
DSnapshotDrawerUtils.java318 final int statusBarHeight = mSystemBarBackgroundPainter.getStatusBarColorViewHeight(); in drawBackgroundAndBars() local
323 ? statusBarHeight : 0, c.getWidth(), fillVertically in drawBackgroundAndBars()
542 int statusBarHeight) { in drawStatusBarBackground() argument
543 if (statusBarHeight > 0 && alpha(mStatusBarColor) != 0 in drawStatusBarBackground()
547 c.drawRect(left, 0, c.getWidth() - rightInset, statusBarHeight, in drawStatusBarBackground()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ui/
DSystemBarUtilsState.kt46 val statusBarHeight: Flow<Int> = constant
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarContentInsetsProvider.kt440 statusBarHeight: Int, in calculateInsetsForRotationWithRotatedResources()
458 statusBarHeight, in calculateInsetsForRotationWithRotatedResources()
600 statusBarHeight: Int in getInsetTop()
607 return statusBarHeight - newArtificialStatusBarHeight in getInsetTop()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/icon/ui/viewbinder/
DNotificationIconContainerViewBinder.kt194 combine(iconSizeFlow, iconHorizontalPaddingFlow, systemBarUtilsState.statusBarHeight) { in <lambda>()
197 statusBarHeight, in <lambda>() method
199 FrameLayout.LayoutParams(iconSize + 2 * iconHPadding, statusBarHeight) in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayLayout.java346 int statusBarHeight = SystemBarUtils.getStatusBarHeight(res, cutout); in convertNonDecorInsetsToStableInsets() local
347 inOutInsets.top = Math.max(inOutInsets.top, statusBarHeight); in convertNonDecorInsetsToStableInsets()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ongoingcall/
DOngoingCallController.kt161 backgroundView?.maxHeightFetcher = { statusBarWindowController.statusBarHeight } in <lambda>()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/statusbar/phone/
DStatusBarContentInsetsProviderTest.kt679 statusBarHeight = 100, in calculateInsetsForRotationWithRotatedResources_bottomAlignedMarginDisabled_noTopInset()
701 statusBarHeight = 100, in calculateInsetsForRotationWithRotatedResources_bottomAlignedMargin_topBasedOnMargin()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DStackScrollAlgorithm.java99 int statusBarHeight = SystemBarUtils.getStatusBarHeight(context); in updateResources() local
100 mHeadsUpInset = statusBarHeight + res.getDimensionPixelSize( in updateResources()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DTaskTests.java849 final int statusBarHeight = 100; in testComputeConfigResourceOverrides() local
852 di.logicalWidth, di.logicalHeight).mConfigInsets.top = statusBarHeight; in testComputeConfigResourceOverrides()
867 final int expectedHeightDp = (int) ((shortSide - statusBarHeight) / density + 0.5f); in testComputeConfigResourceOverrides()