Home
last modified time | relevance | path

Searched refs:lidState (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java546 final int lidState = mDisplayPolicy.getLidState(); in rotationForOrientation() local
559 } else if (lidState == LID_OPEN && mLidOpenRotation >= 0) { in rotationForOrientation()
751 final int lidState = mDisplayPolicy.getLidState(); in isRotationChoicePossible() local
752 if (lidState == LID_OPEN && mLidOpenRotation >= 0) { in isRotationChoicePossible()
DDisplayPolicy.java681 public void setLidState(int lidState) { in setLidState() argument
682 mLidState = lidState; in setLidState()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java2233 final int lidState = mDefaultDisplayPolicy.getLidState(); in isHidden() local
2236 return lidState == LID_CLOSED; in isHidden()
2238 return lidState == LID_OPEN; in isHidden()
5077 final int lidState = mDefaultDisplayPolicy.getLidState(); in applyLidSwitchState() local
5079 mDisplayFoldController.requestDeviceFolded(lidState == LID_CLOSED); in applyLidSwitchState()
5080 } else if (lidState == LID_CLOSED) { in applyLidSwitchState()