Home
last modified time | relevance | path

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

/frameworks/base/services/core/java/com/android/server/wm/
DDisplayRotation.java486 final int dockMode = mDisplayPolicy.getDockMode(); in needSensorRunning() local
488 && dockMode == Intent.EXTRA_DOCK_STATE_CAR) in needSensorRunning()
490 && (dockMode == Intent.EXTRA_DOCK_STATE_DESK in needSensorRunning()
491 || dockMode == Intent.EXTRA_DOCK_STATE_LE_DESK in needSensorRunning()
492 || dockMode == Intent.EXTRA_DOCK_STATE_HE_DESK))) { in needSensorRunning()
547 final int dockMode = mDisplayPolicy.getDockMode(); in rotationForOrientation() local
562 } else if (dockMode == Intent.EXTRA_DOCK_STATE_CAR in rotationForOrientation()
568 } else if ((dockMode == Intent.EXTRA_DOCK_STATE_DESK in rotationForOrientation()
569 || dockMode == Intent.EXTRA_DOCK_STATE_LE_DESK in rotationForOrientation()
570 || dockMode == Intent.EXTRA_DOCK_STATE_HE_DESK) in rotationForOrientation()
[all …]
DDisplayPolicy.java658 public void setDockMode(int dockMode) { in setDockMode() argument
659 mDockMode = dockMode; in setDockMode()
/frameworks/base/services/core/java/com/android/server/policy/
DPhoneWindowManager.java5175 final int dockMode = mDefaultDisplayPolicy.getDockMode(); in createHomeDockIntent() local
5176 if (dockMode == Intent.EXTRA_DOCK_STATE_DESK in createHomeDockIntent()
5177 || dockMode == Intent.EXTRA_DOCK_STATE_HE_DESK in createHomeDockIntent()
5178 || dockMode == Intent.EXTRA_DOCK_STATE_LE_DESK) { in createHomeDockIntent()