Home
last modified time | relevance | path

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

/packages/apps/Camera/src/com/android/camera/
DFocusOverlayManager.java66 private int mState = STATE_IDLE;
67 private static final int STATE_IDLE = 0; // Focus is not active. field in FocusOverlayManager
247 } else if (mState == STATE_IDLE) { in doSnap()
287 } else if (mState == STATE_IDLE) { in onAutoFocus()
303 if (mState != STATE_IDLE) return; in onAutoFocusMoving()
385 mState = STATE_IDLE; in onPreviewStarted()
390 mState = STATE_IDLE; in onPreviewStopped()
419 mState = STATE_IDLE; in cancelAutoFocus()
426 mState = STATE_IDLE; in capture()
481 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
287 } else if (mState == STATE_IDLE) { in focusAndCapture()
324 } else if (mState == STATE_IDLE) { in onAutoFocus()
344 if (mState != STATE_IDLE) { in onAutoFocusMoving()
437 mState = STATE_IDLE; in onPreviewStarted()
443 mState = STATE_IDLE; in onPreviewStopped()
498 mState = STATE_IDLE; in cancelAutoFocus()
506 mState = STATE_IDLE; in capture()
571 if (mState == STATE_IDLE) { in updateFocusUI()
/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/Dialer/src/com/android/dialer/widget/
DViewDragHelper.java50 public static final int STATE_IDLE = 0; field in ViewDragHelper
342 setDragState(STATE_IDLE);
528 setDragState(STATE_IDLE); in abort()
592 setDragState(STATE_IDLE); in forceSettleCapturedViewAt()
791 setDragState(STATE_IDLE);
817 setDragState(STATE_IDLE);
834 setDragState(STATE_IDLE);
936 if (state == STATE_IDLE) {
1051 if (mDragState == STATE_IDLE) {
1158 if (mDragState == STATE_IDLE) {
DOverlappingPaneLayout.java555 if (mDragHelper.getViewDragState() != ViewDragHelper.STATE_IDLE && !canSlide) { in onMeasure()
1031 if (mDragHelper.getViewDragState() == ViewDragHelper.STATE_IDLE) { in onViewDragStateChanged()
1042 if (state == ViewDragHelper.STATE_IDLE in onViewDragStateChanged()
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
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()
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()
/packages/apps/Nfc/src/com/android/nfc/beam/
DSendUi.java118 static final int STATE_IDLE = 0; field in SendUi
310 mState = STATE_IDLE; in SendUi()
326 case STATE_IDLE: in showPreSend()
443 case STATE_IDLE: in finish()
460 mState = STATE_IDLE; in finish()
515 mState = STATE_IDLE; in dismiss()
562 mState = STATE_IDLE; in onPostExecute()
574 mState = STATE_IDLE; in onPostExecute()
/packages/apps/FMRadio/src/com/android/fmradio/
DFmRecorder.java64 public static final int STATE_IDLE = 5; field in FmRecorder
73 public int mInternalState = STATE_IDLE;
189 setState(STATE_IDLE); in stopRecording()
269 setState(STATE_IDLE); in discardRecording()
314 setState(STATE_IDLE); in onError()
338 mInternalState = STATE_IDLE; in resetRecorder()
DFmRecordActivity.java393 && newState == FmRecorder.STATE_IDLE) {
394 mRecordState = FmRecorder.STATE_IDLE;
526 return mRecordState == FmRecorder.STATE_IDLE; in isStopRecording()
DFmService.java341 FmRecorder.STATE_IDLE); in onReceive()
1190 if (mFmRecorder.getState() != FmRecorder.STATE_IDLE) { in setRecordingMode()
/packages/apps/Nfc/src/com/android/nfc/cardemulation/
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/Camera/src/com/android/camera/ui/
DPieRenderer.java55 private static final int STATE_IDLE = 0; field in PieRenderer
182 mState = STATE_IDLE; in init()
211 if (mState != STATE_IDLE) { in showInCenter()
241 mState = STATE_IDLE; in show()
725 mState = STATE_IDLE; in cancelFocus()
777 mState = STATE_IDLE; in run()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastAlertAudio.java82 private static final int STATE_IDLE = 0; field in CellBroadcastAlertAudio
123 mState = STATE_IDLE;
136 mState = STATE_IDLE;
427 mState = STATE_IDLE; in stop()
/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/InCallUI/src/com/android/incallui/widget/multiwaveview/
DGlowPadView.java61 private static final int STATE_IDLE = 0; field in GlowPadView
165 switchToState(STATE_IDLE, mWaveCenterX, mWaveCenterY);
173 switchToState(STATE_IDLE, mWaveCenterX, mWaveCenterY);
376 case STATE_IDLE: in switchToState()
/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/UnifiedEmail/src/com/android/mail/browse/
DConversationCursor.java562 if (newState == DrawIdler.STATE_IDLE) { in onStateChanged()