Searched refs:mDevicePosture (Results 1 – 8 of 8) sorted by relevance
63 mDevicePosture = mDevicePostureController.getDevicePosture(); in PostureDependentProximitySensor()95 if (mDevicePosture >= mPostureToPrimaryProxSensorMap.length in chooseSensors()96 || mDevicePosture >= mPostureToSecondaryProxSensorMap.length) { in chooseSensors()98 "unsupported devicePosture=" + mDevicePosture); in chooseSensors()102 ThresholdSensor newPrimaryProx = mPostureToPrimaryProxSensorMap[mDevicePosture]; in chooseSensors()103 ThresholdSensor newSecondaryProx = mPostureToSecondaryProxSensorMap[mDevicePosture]; in chooseSensors()108 + DevicePostureController.devicePostureToString(mDevicePosture)); in chooseSensors()136 if (mDevicePosture == posture) {140 mDevicePosture = posture;147 DevicePostureController.devicePostureToString(mDevicePosture), super.toString()); in toString()
78 protected @DevicePostureController.DevicePostureInt int mDevicePosture; field in ProximitySensorImpl357 isRegistered(), mPaused, isNear(), mDevicePosture, mPrimaryThresholdSensor, in toString()
88 private int mDevicePosture; field in DozeScreenBrightness122 mDevicePosture = mDevicePostureController.getDevicePosture(); in DozeScreenBrightness()219 && mDevicePosture < mLightSensorOptional.length; in lightSensorSupportsCurrentPosture()227 return mLightSensorOptional[mDevicePosture].isPresent(); in isLightSensorPresent()235 return mLightSensorOptional[mDevicePosture].get(); in getLightSensor()344 idpw.println("posture=" + DevicePostureController.devicePostureToString(mDevicePosture)); in dump()351 if (mDevicePosture == posture357 final Sensor oldSensor = mLightSensorOptional[mDevicePosture].get();360 mDevicePosture = posture;368 mDevicePosture = posture;[all …]
125 private int mDevicePosture; field in DozeSensors177 mDevicePosture = mDevicePostureController.getDevicePosture(); in DozeSensors()222 dozeParameters.singleTapUsesProx(mDevicePosture) /* requiresProx */, in DozeSensors()224 mDevicePosture, in DozeSensors()497 + DevicePostureController.devicePostureToString(mDevicePosture)); in dump()722 .append(DevicePostureController.devicePostureToString(mDevicePosture)); in toString()850 if (mDevicePosture == posture) {853 mDevicePosture = posture;856 triggerSensor.setPosture(mDevicePosture);
70 private int mDevicePosture = DEVICE_POSTURE_UNKNOWN; field in DevicePostureController116 if (devicePosture == mDevicePosture) return; in onDevicePostureChanged()117 mDevicePosture = devicePosture; in onDevicePostureChanged()118 mListeners.forEach(l -> l.onDevicePostureChanged(mDevicePosture)); in onDevicePostureChanged()129 listener.onDevicePostureChanged(mDevicePosture); in registerOnDevicePostureChangedListener()
97 private int mDevicePosture = DEVICE_POSTURE_UNKNOWN; field in TabletopModeController181 if (mDevicePosture != posture) { in onDevicePostureChanged()190 onDevicePostureOrDisplayRotationChanged(mDevicePosture, newDisplayRotation); in onDisplayConfigurationChanged()198 mDevicePosture = newPosture; in onDevicePostureOrDisplayRotationChanged()217 return isHalfOpened(mDevicePosture) && mTabletopModeRotations.contains(mDisplayRotation); in isInTabletopMode()
116 mPostureDependentProximitySensor.mDevicePosture); in testPostureChangeListenerUpdatesPosture()123 mPostureDependentProximitySensor.mDevicePosture); in testPostureChangeListenerUpdatesPosture()130 mPostureDependentProximitySensor.mDevicePosture); in testPostureChangeListenerUpdatesPosture()137 mPostureDependentProximitySensor.mDevicePosture); in testPostureChangeListenerUpdatesPosture()
310 private @DevicePostureController.DevicePostureInt int mDevicePosture; field in VolumeDialogImpl394 mDevicePosture = initialPosture; in VolumeDialogImpl()407 mDevicePosture == DevicePostureController.DEVICE_POSTURE_HALF_OPENED; in adjustPositionOnScreen()2446 mDevicePosture = posture;