/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/ |
D | DevicePostureController.java | 57 static String devicePostureToString(@DevicePostureInt int posture) { in devicePostureToString() argument 58 switch (posture) { in devicePostureToString() 70 return "UNSUPPORTED POSTURE posture=" + posture; in devicePostureToString() 77 void onPostureChanged(@DevicePostureInt int posture); in onPostureChanged() argument
|
D | DevicePostureControllerImpl.java | 62 int posture; in DevicePostureControllerImpl() local 65 posture = Integer.parseInt(deviceStatePostureMapping[1]); in DevicePostureControllerImpl() 70 mDeviceStateToPostureMap.put(deviceState, posture); in DevicePostureControllerImpl()
|
/frameworks/base/packages/SettingsLib/DeviceStateRotationLock/src/com.android.settingslib.devicestate/ |
D | DeviceStateRotationLockSettingsManager.java | 139 int posture = mPosturesHelper.deviceStateToPosture(deviceState); in updateSetting() local 140 if (mPostureRotationLockFallbackSettings.indexOfKey(posture) >= 0) { in updateSetting() 143 posture = mPostureRotationLockFallbackSettings.get(posture); in updateSetting() 146 posture, in updateSetting() 315 int posture = Integer.parseInt(values[0]); in loadDefaults() local 320 mPostureRotationLockFallbackSettings.put(posture, fallbackPosture); in loadDefaults() 329 Integer deviceState = mPosturesHelper.postureToDeviceState(posture); in loadDefaults() 333 Log.wtf(TAG, "No matching device state for posture: " + posture); in loadDefaults() 335 mPostureRotationLockSettings.put(posture, rotationLockSetting); in loadDefaults() 336 mPostureDefaultRotationLockSettings.put(posture, rotationLockSetting); in loadDefaults()
|
D | PosturesHelper.kt | 47 fun postureToDeviceState(@DeviceStateRotationLockKey posture: Int): Int? { in postureToDeviceState() 48 return when (posture) { in postureToDeviceState()
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/ |
D | DevicePostureController.java | 95 int posture; in onInit() local 98 posture = Integer.parseInt(deviceStatePostureMapping[1]); in onInit() 103 mDeviceStateToPostureMap.put(deviceState, posture); in onInit() 148 void onDevicePostureChanged(@DevicePostureInt int posture); in onDevicePostureChanged() argument
|
D | TabletopModeController.java | 196 public void onDevicePostureChanged(@DevicePostureController.DevicePostureInt int posture) { in onDevicePostureChanged() argument 197 if (mDevicePosture != posture) { in onDevicePostureChanged() 198 onDevicePostureOrDisplayRotationChanged(posture, mDisplayRotation); in onDevicePostureChanged() 228 private boolean isHalfOpened(@DevicePostureController.DevicePostureInt int posture) { in isHalfOpened() argument 229 return posture == DEVICE_POSTURE_HALF_OPENED; in isHalfOpened()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
D | KeyguardBypassController.kt | 53 private val postureCallback = DevicePostureController.Callback { posture -> in <lambda>() method 54 if (postureState != posture) { in <lambda>() 55 postureState = posture in <lambda>() 138 devicePostureController.addCallback { posture -> in <lambda>() method 139 if (postureState != posture) { in <lambda>() 140 postureState = posture in <lambda>()
|
D | DozeParameters.java | 477 int posture) { in getPostureSpecificBool() argument 479 if (posture < postureMapping.length) { in getPostureSpecificBool() 480 bool = postureMapping[posture] != 0; in getPostureSpecificBool() 482 Log.e("DozeParameters", "Unsupported doze posture " + posture); in getPostureSpecificBool()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/doze/ |
D | DozeScreenBrightness.java | 343 public void onPostureChanged(int posture) { 344 if (mDevicePosture == posture 346 || posture >= mLightSensorOptional.length) { 351 final Sensor newSensor = mLightSensorOptional[posture].get(); 353 mDevicePosture = posture; 361 mDevicePosture = posture; 364 mDevicePosture = posture;
|
D | DozeSensors.java | 601 @DevicePostureController.DevicePostureInt int posture, in TriggerSensor() argument 614 mPosture = posture; in TriggerSensor() 621 public boolean setPosture(@DevicePostureController.DevicePostureInt int posture) { in setPosture() argument 622 if (mPosture == posture in setPosture() 624 || posture >= mSensors.length) { in setPosture() 629 Sensor newSensor = mSensors[posture]; in setPosture() 631 mPosture = posture; in setPosture() 644 mPosture = posture; in setPosture() 845 private final DevicePostureController.Callback mDevicePostureCallback = posture -> { 846 if (mDevicePosture == posture) { [all …]
|
D | DozeLogger.kt | 216 fun logPostureChanged(posture: Int, partUpdated: String) { in logPostureChanged() 218 int1 = posture in logPostureChanged()
|
D | DozeLog.java | 294 @DevicePostureController.DevicePostureInt int posture, in tracePostureChanged() 297 mLogger.logPostureChanged(posture, partUpdated); in tracePostureChanged()
|
/frameworks/base/packages/SystemUI/tests/utils/src/com/android/systemui/keyguard/data/repository/ |
D | FakeDevicePostureRepository.kt | 28 fun setCurrentPosture(posture: DevicePosture) { in setCurrentPosture() 29 _currentDevicePosture.value = posture in setCurrentPosture()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/shared/model/ |
D | DevicePosture.kt | 30 fun toPosture(@DevicePostureController.DevicePostureInt posture: Int): DevicePosture { in toPosture() 31 return when (posture) { in toPosture()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/util/sensors/ |
D | PostureDependentProximitySensor.java | 135 posture -> { 136 if (mDevicePosture == posture) { 140 mDevicePosture = posture;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/keyguard/data/repository/ |
D | DevicePostureRepository.kt | 40 val sendPostureUpdate = { posture: Int -> in <lambda>() method 41 val currentDevicePosture = DevicePosture.toPosture(posture) in <lambda>()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/common/ |
D | DeviceStateManagerFoldingFeatureProducer.java | 78 int posture; in DeviceStateManagerFoldingFeatureProducer() local 81 posture = Integer.parseInt(deviceStatePostureMapping[1]); in DeviceStateManagerFoldingFeatureProducer() 91 mDeviceStateToPostureMap.put(deviceState, posture); in DeviceStateManagerFoldingFeatureProducer()
|
/frameworks/base/packages/SystemUI/src/com/android/keyguard/ |
D | KeyguardPinViewController.java | 32 private final DevicePostureController.Callback mPostureCallback = posture -> 33 mView.onDevicePostureChanged(posture);
|
D | KeyguardPatternView.java | 98 void onDevicePostureChanged(@DevicePostureInt int posture) { in onDevicePostureChanged() argument 105 cs.setGuidelinePercent(R.id.pattern_top_guideline, posture == DEVICE_POSTURE_HALF_OPENED in onDevicePostureChanged()
|
D | KeyguardPINView.java | 83 void onDevicePostureChanged(@DevicePostureInt int posture) { in onDevicePostureChanged() argument 84 mLastDevicePosture = posture; in onDevicePostureChanged()
|
D | KeyguardPatternViewController.java | 63 posture -> mView.onDevicePostureChanged(posture);
|
D | KeyguardUpdateMonitor.java | 1857 public void onPostureChanged(@DevicePostureInt int posture) { 1859 boolean newPostureAllowsFaceAuth = doesPostureAllowFaceAuth(posture); 1860 mPostureState = posture; 2968 private boolean doesPostureAllowFaceAuth(@DevicePostureInt int posture) { in doesPostureAllowFaceAuth() argument 2970 || (posture == mConfigFaceAuthSupportedPosture); in doesPostureAllowFaceAuth()
|
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/sidecar/ |
D | SampleSidecarImpl.java | 78 deviceState.posture = deviceStateFromFeature(); in getDeviceState()
|
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/doze/ |
D | DozeSensorsTest.java | 584 public TriggerSensor createDozeSensorForPosture(Sensor[] sensors, int posture) { in createDozeSensorForPosture() argument 595 posture, in createDozeSensorForPosture()
|
/frameworks/base/packages/SystemUI/docs/device-entry/ |
D | doze.md | 40 …n [DozeTriggers][8] via [DozeSensors][12]. Sensors can be configured per posture for foldable devi…
|