Home
last modified time | relevance | path

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

/packages/apps/Launcher3/src/com/android/launcher3/util/
DSystemUiController.java43 private final int[] mStates = new int[4]; field in SystemUiController
55 if (mStates[uiState] == flags) { in updateUiState()
58 mStates[uiState] = flags; in updateUiState()
63 for (int stateFlag : mStates) { in updateUiState()
76 mStates[UI_STATE_BASE_WINDOW], mWindow.getDecorView().getSystemUiVisibility()); in getBaseSysuiVisibility()
98 return "mStates=" + Arrays.toString(mStates); in toString()
/packages/apps/Messaging/tests/src/com/android/messaging/datamodel/action/
DActionServiceTest.java50 mStates.add(state); in onActionStateChanged()
109 assertEquals("Expect three states ", mStates.size(), 3); in testChatServiceCreatesIntentAndExecutesAction()
110 assertEquals("State-0 should be STATE_QUEUED", (int)mStates.get(0), in testChatServiceCreatesIntentAndExecutesAction()
112 assertEquals("State-1 should be STATE_EXECUTING", (int)mStates.get(1), in testChatServiceCreatesIntentAndExecutesAction()
114 assertEquals("State-2 should be STATE_COMPLETE", (int)mStates.get(2), in testChatServiceCreatesIntentAndExecutesAction()
123 ArrayList<Integer> mStates; field in ActionServiceTest
151 mStates = new ArrayList<Integer>(); in setUp()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DProcStatsData.java70 private int[] mStates; field in ProcStatsData
82 mStates = ProcessStats.BACKGROUND_PROC_STATES; in ProcStatsData()
102 this.mStates = stats; in setStats()
159 ProcessStats.ALL_SCREEN_ADJ, mMemStates, mStates); in refreshStats()
/packages/apps/Settings/src/com/android/settings/applications/
DProcStatsData.java70 private int[] mStates; field in ProcStatsData
82 mStates = ProcessStats.BACKGROUND_PROC_STATES; in ProcStatsData()
102 this.mStates = stats; in setStats()
159 ProcessStats.ALL_SCREEN_ADJ, mMemStates, mStates); in refreshStats()
/packages/apps/Car/Media/src/com/android/car/media/
DMediaActivity.java596 private final Map<ComponentName, MediaServiceState> mStates = new HashMap<>(); field in MediaActivity.ViewModel
624 MediaServiceState state = mStates.get(mMediaSource); in getSavedState()
627 mStates.put(mMediaSource, state); in getSavedState()