Home
last modified time | relevance | path

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

/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tiles/
H A DScreenRecordTileTest.java136 when(mController.isStarting()).thenReturn(false); in testNotActive()
163 when(mController.isStarting()).thenReturn(true); in testIsStarting()
176 when(mController.isStarting()).thenReturn(true); in testCancelRecording()
187 when(mController.isStarting()).thenReturn(false); in testIsRecording()
201 when(mController.isStarting()).thenReturn(false); in testStopRecording()
219 when(mController.isStarting()).thenReturn(false); in testForceExpandIcon_notRecordingNotStarting()
230 when(mController.isStarting()).thenReturn(false); in testForceExpandIcon_recordingNotStarting()
241 when(mController.isStarting()).thenReturn(true); in testForceExpandIcon_startingNotRecording()
252 when(mController.isStarting()).thenReturn(false); in testIcon_whenRecording_isOnState()
263 when(mController.isStarting()).thenReturn(true); in testIcon_whenStarting_isOnState()
[all …]
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
H A DScreenRecordTile.java114 if (mController.isStarting()) { in handleClick()
126 boolean isStarting = mController.isStarting(); in handleUpdateState()
129 state.value = isRecording || isStarting; in handleUpdateState()
130 state.state = (isRecording || isStarting) ? Tile.STATE_ACTIVE : Tile.STATE_INACTIVE; in handleUpdateState()
140 } else if (isStarting) { in handleUpdateState()
/aosp14/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/screenrecord/
H A DRecordingControllerTest.java106 assertTrue(mController.isStarting()); in testCancelCountdown()
111 assertFalse(mController.isStarting()); in testCancelCountdown()
144 assertFalse(mController.isStarting()); in testStopRecording()
/aosp14/frameworks/base/packages/SystemUI/src/com/android/systemui/screenrecord/
H A DRecordingController.java224 public boolean isStarting() { in isStarting() method in RecordingController