/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/camerafocus/ |
D | FocusOverlayManager.java | 66 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()
|
D | PieRenderer.java | 50 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/ |
D | FocusOverlayManager.java | 57 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()
|
D | PieRenderer.java | 48 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/ |
D | FocusManager.java | 50 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/Gallery2/src/com/android/gallery3d/ui/ |
D | Paper.java | 96 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()
|
D | EdgeEffect.java | 110 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/modules/Permission/PermissionController/src/com/android/permissioncontroller/role/ui/ |
D | ManageRoleHolderStateLiveData.java | 40 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()
|
D | DefaultAppViewModel.java | 83 if (mManageRoleHolderStateLiveData.getValue() != ManageRoleHolderStateLiveData.STATE_IDLE) { in setDefaultApp() 97 if (mManageRoleHolderStateLiveData.getValue() != ManageRoleHolderStateLiveData.STATE_IDLE) { in setNoneDefaultApp()
|
/packages/apps/Nfc/testutils/src/com/android/nfc/service/ |
D | HceService.java | 38 private static final int STATE_IDLE = 0; field in HceService 46 int mState = STATE_IDLE; 67 mState = STATE_IDLE; in onDeactivated() 91 if (mState == STATE_IDLE) { in processCommandApdu()
|
/packages/apps/Camera2/src/com/android/camera/ |
D | FocusOverlayManager.java | 78 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/Nfc/src/com/android/nfc/cardemulation/ |
D | HostNfcFEmulationManager.java | 51 static final int STATE_IDLE = 0; field in HostNfcFEmulationManager 93 mState = STATE_IDLE; in HostNfcFEmulationManager() 145 case STATE_IDLE: in onHostEmulationData() 196 mState = STATE_IDLE; in onHostEmulationDeactivated() 211 mState = STATE_IDLE; in onNfcDisabled() 222 mState = STATE_IDLE; in onUserSwitched() 454 if (mEnabledFgServiceName == null && mActiveService == null && mState == STATE_IDLE) in isUserSwitched()
|
D | HostEmulationManager.java | 80 static final int STATE_IDLE = 0; field in HostEmulationManager 182 mState = STATE_IDLE; 214 mState = STATE_IDLE; in HostEmulationManager() 416 if (mState == STATE_IDLE) { in onPollingLoopDetected() 597 if (mState != STATE_IDLE && mState != STATE_POLLING_LOOP) { in onHostEmulationActivated() 636 if (mState == STATE_IDLE) { in onHostEmulationData() 820 if (mState == STATE_IDLE) { in onHostEmulationDeactivated() 828 mState = STATE_IDLE; in onHostEmulationDeactivated() 850 return mState != STATE_IDLE && mState != STATE_POLLING_LOOP; in isHostCardEmulationActivated() 973 if (mState == STATE_IDLE) { in sendPollingFramesToServiceLocked() [all …]
|
/packages/apps/Nfc/testutils/src/com/android/nfc/emulator/ |
D | PrefixPaymentEmulator2Activity.java | 24 private static final int STATE_IDLE = 0; field in PrefixPaymentEmulator2Activity 28 private int mState = STATE_IDLE;
|
D | PrefixPaymentEmulatorActivity.java | 25 private static final int STATE_IDLE = 0; field in PrefixPaymentEmulatorActivity 29 private int mState = STATE_IDLE;
|
D | DualPaymentEmulatorActivity.java | 28 private static final int STATE_IDLE = 0; field in DualPaymentEmulatorActivity 32 private int mState = STATE_IDLE;
|
/packages/apps/Nfc/tests/unit/src/com/android/nfc/cardemulation/ |
D | HostNfcFEmulationManagerTest.java | 19 import static com.android.nfc.cardemulation.HostNfcFEmulationManager.STATE_IDLE; 120 assertThat(manager.mState).isEqualTo(STATE_IDLE); in testConstructor() 162 assertThat(manager.mState).isEqualTo(STATE_IDLE); in testOnHostEmulationDataWithNullDataAndNoActiveService_ReturnsEarly() 175 assertThat(manager.mState).isEqualTo(STATE_IDLE); in testOnHostEmulationDataWithDisabledResolvedServiceFromActiveService_ReturnsEarly() 266 assertThat(manager.mState).isEqualTo(STATE_IDLE); in testOnHostEmulationDeactivated() 281 assertThat(manager.mState).isEqualTo(STATE_IDLE); in testOnNfcDisabled() 296 assertThat(manager.mState).isEqualTo(STATE_IDLE); in testOnUserSwitched()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/ |
D | DownloadRoleHolderViewModel.java | 43 public static final int STATE_IDLE = 1; field in DownloadRoleHolderViewModel 50 private final MutableLiveData<Integer> mState = new MutableLiveData<>(STATE_IDLE);
|
D | DownloadRoleHolderActivity.java | 92 case DownloadRoleHolderViewModel.STATE_IDLE: in onStateChanged()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/preprovisioning/ |
D | DownloadRoleHolderViewModelTest.java | 24 …port static com.android.managedprovisioning.preprovisioning.DownloadRoleHolderViewModel.STATE_IDLE; 68 assertThat(mViewModel.observeState().getValue()).isEqualTo(STATE_IDLE); in constructor_initialStateIdle()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/networkconnection/ |
D | EstablishNetworkConnectionViewModel.java | 49 public static final int STATE_IDLE = 1; field in EstablishNetworkConnectionViewModel 57 private final MutableLiveData<Integer> mState = new MutableLiveData<>(STATE_IDLE);
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/exoplayer2/ |
D | MpegTsPlayerV2.java | 108 @IntDef({STATE_IDLE, STATE_BUFFERING, STATE_READY, STATE_ENDED}) 111 public static final int STATE_IDLE = Player.STATE_IDLE; field in MpegTsPlayerV2
|
/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/ |
D | TunerRecordingSessionWorker.java | 139 @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()
|
D | TunerRecordingSessionWorkerExoV2.java | 140 @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()
|
/packages/apps/ManagedProvisioning/tests/instrumentation/src/com/android/managedprovisioning/networkconnection/ |
D | EstablishNetworkConnectionViewModelTest.java | 42 …c com.android.managedprovisioning.networkconnection.EstablishNetworkConnectionViewModel.STATE_IDLE; 164 assertThat(mViewModel.observeState().getValue()).isEqualTo(STATE_IDLE); in constructor_initialStateIdle()
|