Home
last modified time | relevance | path

Searched refs:nextState (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/captureintent/stateful/
DStateMachineImpl.java62 Optional<State> nextState = mState.onEnter(); in jumpToState() local
63 while (nextState.isPresent()) { in jumpToState()
64 Log.d(TAG, "Forward state : " + mState + " => " + nextState.get()); in jumpToState()
66 mState = nextState.get(); in jumpToState()
67 nextState = mState.onEnter(); in jumpToState()
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DDocsSelectionPredicate.java61 public boolean canSetStateForKey(String id, boolean nextState) { in canSetStateForKey() argument
62 if (nextState) { in canSetStateForKey()
80 public boolean canSetStateAtPosition(int position, boolean nextState) { in canSetStateAtPosition() argument
85 assert nextState == true; in canSetStateAtPosition()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DActiveDeviceManager.java194 int nextState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in handleMessage() local
195 if (prevState == nextState) { in handleMessage()
199 if (nextState == BluetoothProfile.STATE_CONNECTED) { in handleMessage()
253 int nextState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in handleMessage() local
254 if (prevState == nextState) { in handleMessage()
258 if (nextState == BluetoothProfile.STATE_CONNECTED) { in handleMessage()
DPhonePolicy.java172 int nextState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in handleMessage() local
173 processProfileStateChanged(device, msg.arg1, nextState, prevState); in handleMessage()
271 private void processProfileStateChanged(BluetoothDevice device, int profileId, int nextState, in processProfileStateChanged() argument
274 + prevState + " -> " + nextState); in processProfileStateChanged()
276 if (nextState == BluetoothProfile.STATE_CONNECTED) { in processProfileStateChanged()
287 if (nextState == BluetoothProfile.STATE_DISCONNECTED) { in processProfileStateChanged()
DSilenceDeviceManager.java136 int nextState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in handleMessage() local
138 if (nextState == BluetoothProfile.STATE_CONNECTED) { in handleMessage()
160 int nextState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in handleMessage() local
162 if (nextState == BluetoothProfile.STATE_CONNECTED) { in handleMessage()
DAdapterProperties.java651 private static boolean isNormalStateTransition(int prevState, int nextState) { in isNormalStateTransition() argument
654 return nextState == BluetoothProfile.STATE_CONNECTING; in isNormalStateTransition()
656 return nextState == BluetoothProfile.STATE_DISCONNECTING; in isNormalStateTransition()
659 return (nextState == BluetoothProfile.STATE_DISCONNECTED) || (nextState in isNormalStateTransition()
/packages/apps/Camera2/src/com/android/camera/captureintent/state/
DStateForeground.java82 State nextState = StateForegroundWithSurfaceTexture.from( in registerEventHandlers()
89 return Optional.of(nextState); in registerEventHandlers()
DStateBackground.java96 State nextState = StateBackgroundWithSurfaceTexture.from( in registerEventHandlers()
103 return Optional.of(nextState); in registerEventHandlers()
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/
DPhonePolicyTest.java761 int nextState, int prevState) { in updateProfileConnectionStateHelper() argument
765 when(mA2dpService.getConnectionState(device)).thenReturn(nextState); in updateProfileConnectionStateHelper()
769 when(mHeadsetService.getConnectionState(device)).thenReturn(nextState); in updateProfileConnectionStateHelper()
778 intent.putExtra(BluetoothProfile.EXTRA_STATE, nextState); in updateProfileConnectionStateHelper()
/packages/apps/Camera2/src/com/android/camera/
DMultiToggleImageButton.java243 private void nextState() { in nextState() method in MultiToggleImageButton
256 nextState(); in init()
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/
DFlingUpDownMethod.java901 int nextState = afterSettleAnimationState; in onSettleAnimationDone() local
905 setAnimationState(nextState); in onSettleAnimationDone()