Home
last modified time | relevance | path

Searched refs:mFoldedDeviceStates (Results 1 – 5 of 5) sorted by relevance

/frameworks/base/core/java/android/hardware/devicestate/
DDeviceStateManager.java257 private final int[] mFoldedDeviceStates; field in DeviceStateManager.FoldStateListener
269 mFoldedDeviceStates = context.getResources().getIntArray( in FoldStateListener()
282 || ArrayUtils.contains(mFoldedDeviceStates, deviceState.getIdentifier()); in onDeviceStateChanged()
284 folded = ArrayUtils.contains(mFoldedDeviceStates, deviceState.getIdentifier()); in onDeviceStateChanged()
/frameworks/base/services/core/java/com/android/server/wm/
DDeviceStateController.java50 private final int[] mFoldedDeviceStates; field in DeviceStateController
83 mFoldedDeviceStates = context.getResources() in DeviceStateController()
152 } else if (ArrayUtils.contains(mFoldedDeviceStates, state)) { in onDeviceStateReceivedByDisplayManager()
/frameworks/base/libs/WindowManager/Jetpack/src/androidx/window/extensions/area/
DWindowAreaComponentImpl.java78 private final int[] mFoldedDeviceStates; field in WindowAreaComponentImpl
109 mFoldedDeviceStates = context.getResources().getIntArray( in WindowAreaComponentImpl()
542 return ArrayUtils.contains(mFoldedDeviceStates, mCurrentDeviceState); in isDeviceFolded()
/frameworks/base/services/core/java/com/android/server/devicestate/
DDeviceStateManagerService.java178 private Set<Integer> mFoldedDeviceStates; field in DeviceStateManagerService
275 mFoldedDeviceStates = readFoldedStates(); in onStart()
1100 deviceState -> mFoldedDeviceStates.contains(deviceState.getIdentifier()) in isDeviceOpeningLocked()
1101 && !mFoldedDeviceStates.contains(newBaseState)).isPresent(); in isDeviceOpeningLocked()
/frameworks/base/core/java/android/hardware/camera2/
DCameraManager.java243 private final int[] mFoldedDeviceStates; field in CameraManager.FoldStateListener
250 mFoldedDeviceStates = context.getResources().getIntArray( in FoldStateListener()
255 boolean folded = ArrayUtils.contains(mFoldedDeviceStates, state); in handleStateChange()