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.java1081 final int lidState = mDisplayPolicy.getLidState(); in rotationForOrientation() local
1094 } else if (lidState == LID_OPEN && mLidOpenRotation >= 0) { in rotationForOrientation()
1295 final int lidState = mDisplayPolicy.getLidState(); in isRotationChoicePossible() local
1296 if (lidState == LID_OPEN && mLidOpenRotation >= 0) { in isRotationChoicePossible()
DDisplayPolicy.java728 public void setLidState(int lidState) { in setLidState() argument
729 mLidState = lidState; in setLidState()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java2181 final int lidState = mDefaultDisplayPolicy.getLidState(); in isHidden() local
2184 return lidState == LID_CLOSED; in isHidden()
2186 return lidState == LID_OPEN; in isHidden()
5012 final int lidState = mDefaultDisplayPolicy.getLidState(); in applyLidSwitchState() local
5014 mDisplayFoldController.requestDeviceFolded(lidState == LID_CLOSED); in applyLidSwitchState()
5015 } else if (lidState == LID_CLOSED) { in applyLidSwitchState()