Home
last modified time | relevance | path

Searched refs:getStatusBarHeight (Results 1 – 25 of 32) sorted by relevance

12

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ui/
DSystemBarUtilsProxy.kt33 fun getStatusBarHeight(): Int in getStatusBarHeight() method
42 override fun getStatusBarHeight(): Int = SystemBarUtils.getStatusBarHeight(context) in getStatusBarHeight() method in com.android.systemui.statusbar.ui.SystemBarUtilsProxyImpl
48 return max(getStatusBarHeight(), statusBarHeaderHeightKeyguard + waterfallInsetTop) in getStatusBarHeight()
DSystemBarUtilsState.kt51 .map { proxy.getStatusBarHeight() } in <lambda>()
/frameworks/base/core/java/com/android/internal/policy/
DSystemBarUtils.java39 public static int getStatusBarHeight(Context context) { in getStatusBarHeight() method in SystemBarUtils
40 return getStatusBarHeight(context.getResources(), context.getDisplay().getCutout()); in getStatusBarHeight()
46 public static int getStatusBarHeight(Resources res, DisplayCutout cutout) { in getStatusBarHeight() method in SystemBarUtils
91 final int statusBarHeight = getStatusBarHeight(context); in getQuickQsOffsetHeight()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/hidedisplaycutout/
DHideDisplayCutoutOrganizerTest.java125 doReturn(mFakeStatusBarHeightPortrait).when(mOrganizer).getStatusBarHeight(); in testEnableHideDisplayCutout()
156 doReturn(mFakeStatusBarHeightPortrait).when(mOrganizer).getStatusBarHeight(); in testToggleHideDisplayCutout_enable_rot0()
174 doReturn(mFakeStatusBarHeightLandscape).when(mOrganizer).getStatusBarHeight(); in testToggleHideDisplayCutout_enable_rot90()
192 doReturn(mFakeStatusBarHeightLandscape).when(mOrganizer).getStatusBarHeight(); in testToggleHideDisplayCutout_enable_rot270()
210 doReturn(mFakeStatusBarHeightPortrait).when(mOrganizer).getStatusBarHeight(); in testToggleHideDisplayCutout_disable()
228 doReturn(mFakeStatusBarHeightPortrait).when(mOrganizer).getStatusBarHeight(); in testDisplaySizeChange()
/frameworks/base/libs/WindowManager/Shell/tests/unittest/src/com/android/wm/shell/common/
DDisplayLayoutTest.java82 when(SystemBarUtils.getStatusBarHeight(eq(res), any())).thenReturn(40); in testInsets()
113 when(SystemBarUtils.getStatusBarHeight(eq(res), any())).thenReturn(40); in testRotate()
119 when(SystemBarUtils.getStatusBarHeight(eq(res), any())).thenReturn(30); in testRotate()
127 when(SystemBarUtils.getStatusBarHeight(eq(res), any())).thenReturn(30); in testRotate()
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/statusbar/ui/
DFakeSystemBarUtilsProxy.kt44 override fun getStatusBarHeight(): Int = fakeStatusBarHeight method
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/
DLargeScreenHeaderHelper.kt34 val statusBarHeight = SystemBarUtils.getStatusBarHeight(context) in getLargeScreenHeaderHeight()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/window/
DStatusBarWindowController.java111 mBarHeight = SystemBarUtils.getStatusBarHeight(mContext); in StatusBarWindowController()
119 public int getStatusBarHeight() { in getStatusBarHeight() method in StatusBarWindowController
130 int heightFromConfig = SystemBarUtils.getStatusBarHeight(mContext); in refreshStatusBarHeight()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/hidedisplaycutout/
DHideDisplayCutoutOrganizer.java273 mStatusBarHeight = getStatusBarHeight(); in updateBoundsAndOffsets()
321 int getStatusBarHeight() { in getStatusBarHeight() method
322 return SystemBarUtils.getStatusBarHeight(mContext); in getStatusBarHeight()
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DKeyguardMessageArea.java72 final int newTopMargin = SystemBarUtils.getStatusBarHeight(getContext()); in onConfigChanged()
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DUtils.java136 final int statusBarHeight = SystemBarUtils.getStatusBarHeight(context); in getStatusBarHeaderHeightKeyguard()
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/ui/composable/
DGoneScene.kt89 val statusBarHeight = SystemBarUtils.getStatusBarHeight(context) in HeadsUpNotificationStack()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/
DKeyguardClockViewModel.kt190 return systemBarUtils.getStatusBarHeight() + in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/
DCrossActivityBackAnimation.kt80 private var statusbarHeight = SystemBarUtils.getStatusBarHeight(context) in <lambda>()
148 statusbarHeight = SystemBarUtils.getStatusBarHeight(context) in <lambda>()
DCrossTaskBackAnimation.java133 mStatusbarHeight = SystemBarUtils.getStatusBarHeight(mContext); in loadResources()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarTouchableRegionManager.java206 mStatusBarHeight = SystemBarUtils.getStatusBarHeight(mContext); in initResources()
DPhoneStatusBarView.java240 mStatusBarHeight = SystemBarUtils.getStatusBarHeight(mContext); in updateStatusBarHeight()
DHeadsUpManagerPhone.java186 mHeadsUpInset = SystemBarUtils.getStatusBarHeight(mContext) in updateResources()
DLegacyNotificationIconAreaControllerImpl.java228 mIconSize + 2 * mIconHPadding, mStatusBarWindowController.getStatusBarHeight()); in generateIconLayoutParams()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/
DKeyguardPreviewClockViewBinder.kt126 SystemBarUtils.getStatusBarHeight(context) + in <lambda>()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/
DDisplayLayout.java346 int statusBarHeight = SystemBarUtils.getStatusBarHeight(res, cutout); in convertNonDecorInsetsToStableInsets()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/view/layout/sections/
DClockSectionTest.kt67 kosmos.fakeSystemBarUtilsProxy.getStatusBarHeight() + in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/
DKeyguardPreviewRenderer.kt550 SystemBarUtils.getStatusBarHeight(previewContext) + in <lambda>()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DNotificationShelf.java136 mStatusBarHeight = SystemBarUtils.getStatusBarHeight(mContext); in updateResources()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/
DGlobalActionsDialogLiteTest.java384 doReturn(100).when(mStatusBarWindowController).getStatusBarHeight(); in testSwipeDown_pastStatusBarHeight_shadeNotOpened()

12