Home
last modified time | relevance | path

Searched refs:STATE_IDLE (Results 1 – 19 of 19) 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 mState = STATE_IDLE;
58 private static final int STATE_IDLE = 0; // Focus is not active. field in FocusOverlayManager
201 } else if (mState == STATE_IDLE) { in onAutoFocus()
214 if (mState != STATE_IDLE) { in onAutoFocusMoving()
301 mState = STATE_IDLE; in onPreviewStarted()
306 mState = STATE_IDLE; in onPreviewStopped()
331 mState = STATE_IDLE; in cancelAutoFocus()
338 mState = STATE_IDLE; in capture()
379 if (mState == STATE_IDLE) { in updateFocusUI()
DPieRenderer.java48 private static final int STATE_IDLE = 0; field in PieRenderer
179 mState = STATE_IDLE; in init()
208 if (mState != STATE_IDLE) { in showInCenter()
239 mState = STATE_IDLE; in show()
719 mState = STATE_IDLE; in cancelFocus()
770 mState = 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/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.java43 static final int STATE_IDLE = 0; field in HostNfcFEmulationManager
81 mState = STATE_IDLE; in HostNfcFEmulationManager()
123 case STATE_IDLE: in onHostEmulationData()
155 mState = STATE_IDLE; in onHostEmulationDeactivated()
166 mState = STATE_IDLE; in onNfcDisabled()
177 mState = STATE_IDLE; in onUserSwitched()
DHostEmulationManager.java48 static final int STATE_IDLE = 0; field in HostEmulationManager
104 mState = STATE_IDLE; in HostEmulationManager()
136 if (mState != STATE_IDLE) { in onHostEmulationActivated()
148 if (mState == STATE_IDLE) { in onHostEmulationData()
254 if (mState == STATE_IDLE) { in onHostEmulationDeactivated()
261 mState = STATE_IDLE; in onHostEmulationDeactivated()
/packages/apps/Nfc/src/com/android/nfc/beam/
DSendUi.java125 static final int STATE_IDLE = 0; field in SendUi
317 mState = STATE_IDLE; in SendUi()
336 case STATE_IDLE: in showPreSend()
453 case STATE_IDLE: in finish()
470 mState = STATE_IDLE; in finish()
525 mState = STATE_IDLE; in dismiss()
576 mState = STATE_IDLE; in onPostExecute()
588 mState = STATE_IDLE; in onPostExecute()
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DDrawIdler.java16 public static final int STATE_IDLE = 0; field in DrawIdler
21 private int mState = STATE_IDLE;
73 setState(STATE_IDLE); in run()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertAudio.java90 private static final int STATE_IDLE = 0; field in CellBroadcastAlertAudio
136 mState = STATE_IDLE;
162 mState = STATE_IDLE;
521 mState = STATE_IDLE; in stop()
/packages/apps/TV/src/com/android/tv/tuner/tvinput/
DTunerRecordingSessionWorker.java95 @IntDef({STATE_IDLE, STATE_TUNING, STATE_TUNED, STATE_RECORDING})
98 private static final int STATE_IDLE = 1; field in TunerRecordingSessionWorker
121 @DvrSessionState private int mSessionState = STATE_IDLE;
347 mSessionState = STATE_IDLE; in reset()
352 if (mSessionState != STATE_IDLE && mSessionState != STATE_TUNING) { in doTune()
DTunerSessionWorker.java209 private int mPlayerState = ExoPlayer.STATE_IDLE;
1383 mPlayerState = ExoPlayer.STATE_IDLE; in stopPlayback()
/packages/apps/ExactCalculator/src/com/android/calculator2/
DDragLayout.java91 && mDragHelper.getViewDragState() != ViewDragHelper.STATE_IDLE) { in onLayout()
289 if (state == ViewDragHelper.STATE_IDLE in onViewDragStateChanged()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DAbstractActivityController.java3427 if (isDrawerEnabled() && mDrawerListener.getDrawerState() != DrawerLayout.STATE_IDLE) {
4200 mDrawerState = DrawerLayout.STATE_IDLE;
4330 if (mDrawerState == DrawerLayout.STATE_IDLE) {
/packages/apps/Contacts/src/com/android/contacts/activities/
DPeopleActivity.java321 if (newState != DrawerLayout.STATE_IDLE) { in onDrawerStateChanged()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationCursor.java562 if (newState == DrawIdler.STATE_IDLE) { in onStateChanged()