Home
last modified time | relevance | path

Searched refs:mFoldedStates (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/packages/SystemUI/src/com/android/systemui/reardisplay/
DRearDisplayDialogController.java69 private int[] mFoldedStates; field in RearDisplayDialogController
184 if (mFoldedStates == null) { in initializeValues()
185 mFoldedStates = mResources.getIntArray( in initializeValues()
195 for (int i = 0; i < mFoldedStates.length; i++) { in isFoldedState()
196 if (mFoldedStates[i] == state) return true; in isFoldedState()
217 mFoldedStates = foldedStates; in setFoldedStates()
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/
DDeviceStateControllerTests.java89 mTarget.onDeviceStateReceivedByDisplayManager(mFoldedStates[0]); in testInitializationWithNoFoldSupport()
99 mTarget.onDeviceStateReceivedByDisplayManager(mFoldedStates[0]); in testWithFoldSupported()
110 mTarget.onDeviceStateReceivedByDisplayManager(mFoldedStates[0]); in testWithHalfFoldSupported()
126 mTarget.onDeviceStateReceivedByDisplayManager(mFoldedStates[0]); in testUnregisterDeviceStateCallback()
154 private final int[] mFoldedStates = {0}; field in DeviceStateControllerTests
199 .thenReturn(mFoldedStates); in mockFold()