Home
last modified time | relevance | path

Searched refs:mStatusBarWindowView (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarTouchableRegionManager.java49 private final View mStatusBarWindowView; field in StatusBarTouchableRegionManager
59 mStatusBarWindowView = statusBarWindowView; in StatusBarTouchableRegionManager()
73 boolean hasCutoutInset = (mStatusBarWindowView != null) in updateTouchableRegion()
74 && (mStatusBarWindowView.getRootWindowInsets() != null) in updateTouchableRegion()
75 && (mStatusBarWindowView.getRootWindowInsets().getDisplayCutout() != null); in updateTouchableRegion()
86 mStatusBarWindowView.getViewTreeObserver().addOnComputeInternalInsetsListener(this); in updateTouchableRegion()
87 mStatusBarWindowView.requestLayout(); in updateTouchableRegion()
89 mStatusBarWindowView.getViewTreeObserver().removeOnComputeInternalInsetsListener(this); in updateTouchableRegion()
99 mStatusBarWindowView.addOnLayoutChangeListener(new View.OnLayoutChangeListener() { in updateTouchableRegionAfterLayout()
104 if (mStatusBarWindowView.getHeight() <= mStatusBarHeight) { in updateTouchableRegionAfterLayout()
[all …]
DHeadsUpManagerPhone.java62 private final View mStatusBarWindowView; field in HeadsUpManagerPhone
112 mStatusBarWindowView = statusBarWindowView; in HeadsUpManagerPhone()
309 mTouchableRegion.set(0, 0, mStatusBarWindowView.getWidth(), mStatusBarHeight); in calculateTouchableRegion()
331 DisplayCutout cutout = mStatusBarWindowView.getRootWindowInsets().getDisplayCutout(); in updateRegionForNotch()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/
DActivityLaunchAnimatorTest.java58 private StatusBarWindowView mStatusBarWindowView = mock(StatusBarWindowView.class); field in ActivityLaunchAnimatorTest
65 when(mStatusBarWindowView.getResources()).thenReturn(mContext.getResources()); in setUp()
68 mStatusBarWindowView, in setUp()
98 executePostsImmediately(mStatusBarWindowView); in testTimeoutCalled()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DHeadsUpManagerPhoneTest.java55 @Mock private View mStatusBarWindowView; field in HeadsUpManagerPhoneTest
80 mHeadsUpManager = new TestableHeadsUpManagerPhone(mContext, mStatusBarWindowView, in setUp()
DStatusBarTest.java174 private StatusBarWindowView mStatusBarWindowView; field in StatusBarTest
266 mock(AutoHideController.class), mKeyguardUpdateMonitor, mStatusBarWindowView); in setup()
695 verify(mStatusBarWindowView).suppressWakeUpGesture(eq(true)); in testPulseWhileDozingWithDockingReason_suppressWakeUpGesture()
699 verify(mStatusBarWindowView).suppressWakeUpGesture(eq(false)); in testPulseWhileDozingWithDockingReason_suppressWakeUpGesture()