Home
last modified time | relevance | path

Searched refs:mDisplayPolicy (Results 1 – 6 of 6) sorted by relevance

/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDisplayPolicyLayoutTests.java125 mDisplayPolicy.beginLayoutLw(mFrames, 0 /* UI mode */); in layoutWindowLw_appDrawsBars()
126 mDisplayPolicy.layoutWindowLw(mWindow, null, mFrames); in layoutWindowLw_appDrawsBars()
142 mDisplayPolicy.beginLayoutLw(mFrames, 0 /* UI mode */); in layoutWindowLw_appWontDrawBars()
143 mDisplayPolicy.layoutWindowLw(mWindow, null, mFrames); in layoutWindowLw_appWontDrawBars()
160 mDisplayPolicy.beginLayoutLw(mFrames, 0 /* UI mode */); in layoutWindowLw_appWontDrawBars_forceStatusAndNav()
161 mDisplayPolicy.layoutWindowLw(mWindow, null, mFrames); in layoutWindowLw_appWontDrawBars_forceStatusAndNav()
179 mDisplayPolicy.beginLayoutLw(mFrames, 0 /* uiMode */); in layoutWindowLw_keyguardDialog_hideNav()
180 mDisplayPolicy.layoutWindowLw(mWindow, null /* attached */, mFrames); in layoutWindowLw_keyguardDialog_hideNav()
197 mDisplayPolicy.beginLayoutLw(mFrames, 0 /* UI mode */); in layoutWindowLw_withDisplayCutout()
198 mDisplayPolicy.layoutWindowLw(mWindow, null, mFrames); in layoutWindowLw_withDisplayCutout()
[all …]
DDisplayPolicyTestsBase.java66 DisplayPolicy mDisplayPolicy; field in DisplayPolicyTestsBase
70 mDisplayPolicy = spy(mDisplayContent.getDisplayPolicy()); in setUpDisplayPolicy()
73 mDisplayPolicy.getContext(), mDisplayPolicy.getCurrentUserResources()); in setUpDisplayPolicy()
80 doReturn(resources.getResources()).when(mDisplayPolicy).getCurrentUserResources(); in setUpDisplayPolicy()
81 doReturn(true).when(mDisplayPolicy).hasNavigationBar(); in setUpDisplayPolicy()
82 doReturn(true).when(mDisplayPolicy).hasStatusBar(); in setUpDisplayPolicy()
90 mDisplayPolicy.onConfigurationChanged(); in setUpDisplayPolicy()
94 mDisplayPolicy.mLastSystemUiFlags |= View.STATUS_BAR_TRANSPARENT; in setUpDisplayPolicy()
98 mDisplayPolicy.mLastSystemUiFlags |= View.NAVIGATION_BAR_TRANSPARENT; in setUpDisplayPolicy()
102 mDisplayPolicy.adjustWindowParamsLw(win, win.mAttrs, Binder.getCallingPid(), in addWindow()
[all …]
DDisplayPolicyInsetsTests.java142 mDisplayPolicy.getStableInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight, in getStableInsetsLw()
149 mDisplayPolicy.getNonDecorInsetsLw(di.rotation, di.logicalWidth, di.logicalHeight, in getNonDecorInsetsLw()
155 return mDisplayPolicy.getNonDecorDisplayWidth(di.logicalWidth, di.logicalHeight, in getNonDecorDisplayWidth()
160 return mDisplayPolicy.getNonDecorDisplayHeight(di.logicalWidth, di.logicalHeight, in getNonDecorDisplayHeight()
165 return mDisplayPolicy.getConfigDisplayWidth(di.logicalWidth, di.logicalHeight, in getConfigDisplayWidth()
170 return mDisplayPolicy.getConfigDisplayHeight(di.logicalWidth, di.logicalHeight, in getConfigDisplayHeight()
/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java64 private final DisplayPolicy mDisplayPolicy; field in DisplayRotation
146 mDisplayPolicy = displayPolicy; in DisplayRotation()
387 return mDisplayPolicy; in getDisplayPolicy()
425 final boolean screenOnEarly = mDisplayPolicy.isScreenOnEarly(); in updateOrientationListenerLw()
426 final boolean awake = mDisplayPolicy.isAwake(); in updateOrientationListenerLw()
427 final boolean keyguardDrawComplete = mDisplayPolicy.isKeyguardDrawComplete(); in updateOrientationListenerLw()
428 final boolean windowManagerDrawComplete = mDisplayPolicy.isWindowManagerDrawComplete(); in updateOrientationListenerLw()
486 final int dockMode = mDisplayPolicy.getDockMode(); in needSensorRunning()
487 if ((mDisplayPolicy.isCarDockEnablesAccelerometer() in needSensorRunning()
489 || (mDisplayPolicy.isDeskDockEnablesAccelerometer() in needSensorRunning()
[all …]
DDisplayContent.java326 private final DisplayPolicy mDisplayPolicy; field in DisplayContent
935 mDisplayPolicy = new DisplayPolicy(service, this); in DisplayContent()
945 mDisplayPolicy.onConfigurationChanged(); in DisplayContent()
948 mDisplayPolicy.systemReady(); in DisplayContent()
950 mWindowCornerRadius = mDisplayPolicy.getWindowCornerRadius(); in DisplayContent()
1111 return mDisplayPolicy; in getDisplayPolicy()
1407 boolean mayRotateSeamlessly = mDisplayPolicy.shouldRotateSeamlessly(mDisplayRotation, in updateRotationUnchecked()
1460 mDisplayPolicy.selectRotationAnimationLw(anim); in updateRotationUnchecked()
1564 mDisplayPolicy.updateConfigurationAndScreenSizeDependentBehaviors(); in configureDisplayPolicy()
1578 final int w = mDisplayPolicy.getNonDecorDisplayWidth( in isNonDecorDisplayCloseToSquare()
[all …]
/frameworks/base/services/core/java/com/android/server/display/
DAutomaticBrightnessController.java190 private int mDisplayPolicy = DisplayPowerRequest.POLICY_OFF; field in AutomaticBrightnessController
285 if (mDisplayPolicy == DisplayPowerRequest.POLICY_DOZE) { in getAutomaticScreenBrightness()
342 if (mDisplayPolicy == policy) { in setDisplayPolicy()
345 final int oldPolicy = mDisplayPolicy; in setDisplayPolicy()
346 mDisplayPolicy = policy; in setDisplayPolicy()
433 pw.println(" mDisplayPolicy=" + DisplayPowerRequest.policyToString(mDisplayPolicy)); in dump()