Home
last modified time | relevance | path

Searched refs:mCurrentDeviceState (Results 1 – 4 of 4) sorted by relevance

/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/common/
DDeviceStateManagerFoldingFeatureProducer.java74 private DeviceState mCurrentDeviceState = new DeviceState( field in DeviceStateManagerFoldingFeatureProducer
88 mCurrentDeviceState = state;
160 return mDeviceStateToPostureMap.indexOfKey(mCurrentDeviceState.getIdentifier()) >= 0; in isCurrentStateValid()
169 mCurrentDeviceState = new DeviceState( in onListenersChanged()
245 int posture = mDeviceStateToPostureMap.get(mCurrentDeviceState.getIdentifier(), in currentHingeState()
250 DeviceStateUtil.calculateBaseStateIdentifier(mCurrentDeviceState, in currentHingeState()
/frameworks/base/services/core/java/com/android/server/wm/
DDeviceStateController.java64 private DeviceState mCurrentDeviceState = DeviceState.UNKNOWN; field in DeviceStateController
164 if (mCurrentDeviceState == null || !mCurrentDeviceState.equals(deviceState)) { in onDeviceStateReceivedByDisplayManager()
165 mCurrentDeviceState = deviceState; in onDeviceStateReceivedByDisplayManager()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DDevicePostureControllerImpl.java53 private DeviceState mCurrentDeviceState; field in DevicePostureControllerImpl
91 mCurrentDeviceState = state; in DevicePostureControllerImpl()
127 return DeviceStateUtil.calculateBaseStateIdentifier(mCurrentDeviceState, in getDevicePosture()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/area/
DWindowAreaComponentImpl.java84 private int mCurrentDeviceState = INVALID_DEVICE_STATE_IDENTIFIER; field in WindowAreaComponentImpl
150 if (mCurrentDeviceState == INVALID_DEVICE_STATE_IDENTIFIER) { in addRearDisplayStatusListener()
315 if (mCurrentDeviceState == INVALID_DEVICE_STATE_IDENTIFIER) { in addRearDisplayPresentationStatusListener()
467 mCurrentDeviceState = state.getIdentifier(); in onDeviceStateChanged()
508 return mCurrentDeviceState == mRearDisplayState; in isRearDisplayActive()
529 if (mCurrentDeviceState == mConcurrentDisplayState) { in getCurrentRearDisplayPresentationModeStatus()
542 return ArrayUtils.contains(mFoldedDeviceStates, mCurrentDeviceState); in isDeviceFolded()