/packages/apps/Camera2/src/com/android/camera/captureintent/stateful/ |
D | StateMachineImpl.java | 62 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/ |
D | DocsSelectionPredicate.java | 61 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/ |
D | ActiveDeviceManager.java | 194 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()
|
D | PhonePolicy.java | 172 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()
|
D | SilenceDeviceManager.java | 136 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()
|
D | AdapterProperties.java | 651 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/ |
D | StateForeground.java | 82 State nextState = StateForegroundWithSurfaceTexture.from( in registerEventHandlers() 89 return Optional.of(nextState); in registerEventHandlers()
|
D | StateBackground.java | 96 State nextState = StateBackgroundWithSurfaceTexture.from( in registerEventHandlers() 103 return Optional.of(nextState); in registerEventHandlers()
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/btservice/ |
D | PhonePolicyTest.java | 761 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/ |
D | MultiToggleImageButton.java | 243 private void nextState() { in nextState() method in MultiToggleImageButton 256 nextState(); in init()
|
/packages/apps/Dialer/java/com/android/incallui/answer/impl/answermethod/ |
D | FlingUpDownMethod.java | 901 int nextState = afterSettleAnimationState; in onSettleAnimationDone() local 905 setAnimationState(nextState); in onSettleAnimationDone()
|