Home
last modified time | relevance | path

Searched refs:STATE_IDLE (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/
DFocusOverlayManager.java66 private int mState = STATE_IDLE;
67 private static final int STATE_IDLE = 0; // Focus is not active. field in FocusOverlayManager
241 } else if (mState == STATE_IDLE) { in doSnap()
281 } else if (mState == STATE_IDLE) { in onAutoFocus()
294 if (mState != STATE_IDLE) { in onAutoFocusMoving()
374 mState = STATE_IDLE; in onPreviewStarted()
379 mState = STATE_IDLE; in onPreviewStopped()
404 mState = STATE_IDLE; in cancelAutoFocus()
411 mState = STATE_IDLE; in capture()
456 if (mState == STATE_IDLE) { in updateFocusUI()
DPieRenderer.java50 private static final int STATE_IDLE = 0; field in PieRenderer
177 mState = STATE_IDLE; in init()
206 if (mState != STATE_IDLE) { in showInCenter()
236 mState = STATE_IDLE; in show()
721 mState = STATE_IDLE; in cancelFocus()
777 mState = STATE_IDLE; in run()
/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/camerafocus/
DFocusOverlayManager.java57 private int state = STATE_IDLE;
58 private static final int STATE_IDLE = 0; // Focus is not active. field in FocusOverlayManager
202 } else if (state == STATE_IDLE) { in onAutoFocus()
215 if (state != STATE_IDLE) { in onAutoFocusMoving()
295 state = STATE_IDLE; in onPreviewStarted()
300 state = STATE_IDLE; in onPreviewStopped()
325 state = STATE_IDLE; in cancelAutoFocus()
332 state = STATE_IDLE; in capture()
373 if (state == STATE_IDLE) { in updateFocusUI()
DPieRenderer.java48 private static final int STATE_IDLE = 0; field in PieRenderer
179 state = STATE_IDLE; in init()
208 if (state != STATE_IDLE) { in showInCenter()
239 state = STATE_IDLE; in show()
718 state = STATE_IDLE; in cancelFocus()
769 state = STATE_IDLE; in run()
/packages/apps/LegacyCamera/src/com/android/camera/
DFocusManager.java50 private int mState = STATE_IDLE;
51 private static final int STATE_IDLE = 0; // Focus is not active. field in FocusManager
190 } else if (mState == STATE_IDLE) { in doSnap()
238 } else if (mState == STATE_IDLE) { in onAutoFocus()
304 mState = STATE_IDLE; in onPreviewStarted()
308 mState = STATE_IDLE; in onPreviewStopped()
338 mState = STATE_IDLE; in cancelAutoFocus()
345 mState = STATE_IDLE; in capture()
408 if (mState == STATE_IDLE) { in updateFocusUI()
/packages/apps/Camera2/src/com/android/camera/
DFocusOverlayManager.java78 private int mState = STATE_IDLE;
79 private static final int STATE_IDLE = 0; // Focus is not active. field in FocusOverlayManager
267 } else if (mState == STATE_IDLE) { in focusAndCapture()
302 } else if (mState == STATE_IDLE) { in onAutoFocus()
315 if (mState != STATE_IDLE) { in onAutoFocusMoving()
405 mState = STATE_IDLE; in onPreviewStarted()
414 mState = STATE_IDLE; in onPreviewStopped()
463 mState = STATE_IDLE; in cancelAutoFocus()
470 mState = STATE_IDLE; in capture()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/
DManageRoleHolderStateLiveData.java40 public static final int STATE_IDLE = 0; field in ManageRoleHolderStateLiveData
52 setValue(STATE_IDLE); in ManageRoleHolderStateLiveData()
68 if (getValue() != STATE_IDLE) { in setRoleHolderAsUser()
120 if (getValue() != STATE_IDLE) { in clearRoleHoldersAsUser()
183 setValue(STATE_IDLE); in resetState()
DDefaultAppViewModel.java83 if (mManageRoleHolderStateLiveData.getValue() != ManageRoleHolderStateLiveData.STATE_IDLE) { in setDefaultApp()
97 if (mManageRoleHolderStateLiveData.getValue() != ManageRoleHolderStateLiveData.STATE_IDLE) { in setNoneDefaultApp()
DRequestRoleFragment.java323 case ManageRoleHolderStateLiveData.STATE_IDLE: in onManageRoleHolderStateChanged()
354 == ManageRoleHolderStateLiveData.STATE_IDLE; in updateUi()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPaper.java96 private static final int STATE_IDLE = 0; field in EdgeAnimation
119 mState = STATE_IDLE; in EdgeAnimation()
141 if (mState == STATE_IDLE || mState == STATE_ABSORB) return; in onRelease()
152 if (mState == STATE_IDLE) return false; in update()
168 mState = STATE_IDLE; in update()
DEdgeEffect.java110 private static final int STATE_IDLE = 0; field in EdgeEffect
128 private int mState = STATE_IDLE;
163 return mState == STATE_IDLE; in isFinished()
171 mState = STATE_IDLE; in finish()
345 return mState != STATE_IDLE; in draw()
405 mState = STATE_IDLE; in update()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
DHostNfcFEmulationManager.java44 static final int STATE_IDLE = 0; field in HostNfcFEmulationManager
82 mState = STATE_IDLE; in HostNfcFEmulationManager()
124 case STATE_IDLE: in onHostEmulationData()
159 mState = STATE_IDLE; in onHostEmulationDeactivated()
170 mState = STATE_IDLE; in onNfcDisabled()
181 mState = STATE_IDLE; in onUserSwitched()
DHostEmulationManager.java51 static final int STATE_IDLE = 0; field in HostEmulationManager
109 mState = STATE_IDLE; in HostEmulationManager()
144 if (mState != STATE_IDLE) { in onHostEmulationActivated()
157 if (mState == STATE_IDLE) { in onHostEmulationData()
277 if (mState == STATE_IDLE) { in onHostEmulationDeactivated()
284 mState = STATE_IDLE; in onHostEmulationDeactivated()
473 if (mState == STATE_IDLE) {
/packages/apps/Nfc/src/com/android/nfc/beam/
DSendUi.java127 static final int STATE_IDLE = 0; field in SendUi
320 mState = STATE_IDLE; in SendUi()
339 case STATE_IDLE: in showPreSend()
456 case STATE_IDLE: in finish()
473 mState = STATE_IDLE; in finish()
528 mState = STATE_IDLE; in dismiss()
579 mState = STATE_IDLE; in onPostExecute()
887 return mState == STATE_IDLE; in isSendUiInIdleState()
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/
DTunerRecordingSessionWorker.java139 @IntDef({STATE_IDLE, STATE_TUNING, STATE_TUNED, STATE_RECORDING})
143 private static final int STATE_IDLE = 1; field in TunerRecordingSessionWorker
167 @DvrSessionState private int mSessionState = STATE_IDLE;
422 mSessionState = STATE_IDLE; in reset()
427 if (mSessionState != STATE_IDLE && mSessionState != STATE_TUNING) { in doTune()
DTunerRecordingSessionWorkerExoV2.java140 @IntDef({STATE_IDLE, STATE_TUNING, STATE_TUNED, STATE_RECORDING})
144 private static final int STATE_IDLE = 1; field in TunerRecordingSessionWorkerExoV2
168 @DvrSessionState private int mSessionState = STATE_IDLE;
425 mSessionState = STATE_IDLE; in reset()
430 if (mSessionState != STATE_IDLE && mSessionState != STATE_TUNING) { in doTune()
DTunerSessionWorkerExoV2.java231 private int mPlayerState = MpegTsPlayerV2.STATE_IDLE;
1643 mPlayerState = MpegTsPlayerV2.STATE_IDLE; in stopPlayback()
DTunerSessionWorker.java232 private int mPlayerState = ExoPlayer.STATE_IDLE;
1722 mPlayerState = ExoPlayer.STATE_IDLE; in stopPlayback()
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/
DMpegTsPlayerV2.java108 @IntDef({STATE_IDLE, STATE_BUFFERING, STATE_READY, STATE_ENDED})
111 public static final int STATE_IDLE = Player.STATE_IDLE; field in MpegTsPlayerV2
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertAudio.java106 private static final int STATE_IDLE = 0; field in CellBroadcastAlertAudio
661 setState(STATE_IDLE); in stop()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/specialappaccess/
DSpecialAppAccessViewModel.java138 if (liveData.getValue() != ManageRoleHolderStateLiveData.STATE_IDLE) { in setSpecialAppAccessAsUser()
/packages/modules/Wifi/service/java/com/android/server/wifi/aware/
DWifiAwareDataPathStateManager.java450 if (requestInfo.state != AwareNetworkRequestInformation.STATE_IDLE in onDataPathRequest()
997 if (nnri.state != AwareNetworkRequestInformation.STATE_IDLE) { in needNetworkFor()
1300 static final int STATE_IDLE = 100; field in WifiAwareDataPathStateManager.AwareNetworkRequestInformation
1529 nnri.state = AwareNetworkRequestInformation.STATE_IDLE; in processNetworkSpecifier()
/packages/apps/Contacts/src/com/android/contacts/activities/
DPeopleActivity.java321 if (newState != DrawerLayout.STATE_IDLE) { in onDrawerStateChanged()