/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ui/ |
D | SystemBarUtilsProxy.kt | 33 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()
|
D | SystemBarUtilsState.kt | 51 .map { proxy.getStatusBarHeight() } in <lambda>()
|
/frameworks/base/core/java/com/android/internal/policy/ |
D | SystemBarUtils.java | 39 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/ |
D | HideDisplayCutoutOrganizerTest.java | 125 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/ |
D | DisplayLayoutTest.java | 82 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/ |
D | FakeSystemBarUtilsProxy.kt | 44 override fun getStatusBarHeight(): Int = fakeStatusBarHeight method
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/shade/ |
D | LargeScreenHeaderHelper.kt | 34 val statusBarHeight = SystemBarUtils.getStatusBarHeight(context) in getLargeScreenHeaderHeight()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/window/ |
D | StatusBarWindowController.java | 111 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/ |
D | HideDisplayCutoutOrganizer.java | 273 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/ |
D | KeyguardMessageArea.java | 72 final int newTopMargin = SystemBarUtils.getStatusBarHeight(getContext()); in onConfigChanged()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/ |
D | Utils.java | 136 final int statusBarHeight = SystemBarUtils.getStatusBarHeight(context); in getStatusBarHeaderHeightKeyguard()
|
/frameworks/base/packages/SystemUI/compose/features/src/com/android/systemui/scene/ui/composable/ |
D | GoneScene.kt | 89 val statusBarHeight = SystemBarUtils.getStatusBarHeight(context) in HeadsUpNotificationStack()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/viewmodel/ |
D | KeyguardClockViewModel.kt | 190 return systemBarUtils.getStatusBarHeight() + in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/back/ |
D | CrossActivityBackAnimation.kt | 80 private var statusbarHeight = SystemBarUtils.getStatusBarHeight(context) in <lambda>() 148 statusbarHeight = SystemBarUtils.getStatusBarHeight(context) in <lambda>()
|
D | CrossTaskBackAnimation.java | 133 mStatusbarHeight = SystemBarUtils.getStatusBarHeight(mContext); in loadResources()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | StatusBarTouchableRegionManager.java | 206 mStatusBarHeight = SystemBarUtils.getStatusBarHeight(mContext); in initResources()
|
D | PhoneStatusBarView.java | 240 mStatusBarHeight = SystemBarUtils.getStatusBarHeight(mContext); in updateStatusBarHeight()
|
D | HeadsUpManagerPhone.java | 186 mHeadsUpInset = SystemBarUtils.getStatusBarHeight(mContext) in updateResources()
|
D | LegacyNotificationIconAreaControllerImpl.java | 228 mIconSize + 2 * mIconHPadding, mStatusBarWindowController.getStatusBarHeight()); in generateIconLayoutParams()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/binder/ |
D | KeyguardPreviewClockViewBinder.kt | 126 SystemBarUtils.getStatusBarHeight(context) + in <lambda>()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DisplayLayout.java | 346 int statusBarHeight = SystemBarUtils.getStatusBarHeight(res, cutout); in convertNonDecorInsetsToStableInsets()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/keyguard/ui/view/layout/sections/ |
D | ClockSectionTest.kt | 67 kosmos.fakeSystemBarUtilsProxy.getStatusBarHeight() + in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/ui/preview/ |
D | KeyguardPreviewRenderer.kt | 550 SystemBarUtils.getStatusBarHeight(previewContext) + in <lambda>()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
D | NotificationShelf.java | 136 mStatusBarHeight = SystemBarUtils.getStatusBarHeight(mContext); in updateResources()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/globalactions/ |
D | GlobalActionsDialogLiteTest.java | 384 doReturn(100).when(mStatusBarWindowController).getStatusBarHeight(); in testSwipeDown_pastStatusBarHeight_shadeNotOpened()
|