Home
last modified time | relevance | path

Searched refs:getCurrentState (Results 1 – 17 of 17) sorted by relevance

/packages/apps/Camera2/src/com/android/camera/ui/
DModeListView.java145 ModeListState getCurrentState() { in getCurrentState() method in ModeListView.CurrentStateManager
1040 mCurrentStateManager.getCurrentState().onScroll(e1, e2, distanceX, distanceY);
1047 mCurrentStateManager.getCurrentState().onSingleTapUp(ev);
1055 mCurrentStateManager.getCurrentState().onFling(e1, e2, velocityX, velocityY);
1062 mCurrentStateManager.getCurrentState().onDown(ev);
1076 mCurrentStateManager.getCurrentState().onItemSelected(selectedItem); in onItemSelected()
1184 if (mCurrentStateManager.getCurrentState() == null) { in init()
1303 if (!mCurrentStateManager.getCurrentState().shouldHandleTouchEvent(ev)) { in onTouchEvent()
1311 mCurrentStateManager.getCurrentState().onTouchEvent(ev); in onTouchEvent()
1353 if (mCurrentStateManager.getCurrentState().getCurrentAnimationEffects() != null) { in onLayout()
[all …]
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/
DBluetoothRouteManagerTest.java240 assertEquals(BluetoothRouteManager.AUDIO_OFF_STATE_NAME, sm.getCurrentState().getName()); in testConnectHfpRetryWhileNotConnected()
264 sm.getCurrentState().getName()); in testConnectHfpRetryWhileConnectedToAnotherDevice()
297 sm.getCurrentState().getName()); in testProperFallbackOrder1()
302 sm.getCurrentState().getName()); in testProperFallbackOrder1()
311 sm.getCurrentState().getName()); in testProperFallbackOrder1()
316 sm.getCurrentState().getName()); in testProperFallbackOrder1()
344 sm.getCurrentState().getName()); in testProperFallbackOrder2()
349 sm.getCurrentState().getName()); in testProperFallbackOrder2()
358 sm.getCurrentState().getName()); in testProperFallbackOrder2()
363 sm.getCurrentState().getName()); in testProperFallbackOrder2()
[all …]
/packages/apps/Bluetooth/tests/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachineTest.java74 assertTrue(mockSM.getCurrentState() instanceof HeadsetClientStateMachine.Disconnected); in testIncomingPriorityReject()
115 assertTrue(mockSM.getCurrentState() instanceof HeadsetClientStateMachine.Connecting); in testIncomingPriorityAccept()
133 assertTrue(mockSM.getCurrentState() instanceof HeadsetClientStateMachine.Connected); in testIncomingPriorityAccept()
173 assertTrue(mockSM.getCurrentState() instanceof HeadsetClientStateMachine.Connecting); in testIncomingTimeout()
184 assertTrue(mockSM.getCurrentState() instanceof HeadsetClientStateMachine.Disconnected); in testIncomingTimeout()
/packages/apps/Bluetooth/src/com/android/bluetooth/mapclient/
DMceStateMachine.java167 IState currentState = this.getCurrentState(); in getState()
200 if (this.getCurrentState() == mConnected) { in sendMapMessage()
242 if (this.getCurrentState() == mConnected) { in getMessage()
251 if (this.getCurrentState() == mConnected) { in getUnreadMessages()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java733 if (getCurrentState() == mDisconnected) { in getConnectionState()
738 IState currentState = getCurrentState(); in getConnectionState()
767 if (getCurrentState() == mConnected) { in getConnectedDevices()
817 && (getCurrentState() == mConnected)) { in onCodecConfigChanged()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java776 IState CurrentAudioState = getCurrentState(); in processMessage()
1181 IState CurrentAudioState = getCurrentState(); in processMessage()
2027 if (getCurrentState() == mDisconnected) { in getConnectionState()
2033 IState currentState = getCurrentState(); in getConnectionState()
2089 return (getCurrentState() == mAudioOn); in isAudioOn()
2099 if (getCurrentState() == mAudioOn && mCurrentDevice.equals(device) in isAudioConnected()
2583 int flag = (getCurrentState() == mAudioOn) ? AudioManager.FLAG_SHOW_UI : 0; in processVolumeEvent()
2642 if (getCurrentState() != mDisconnected) { in processCallState()
2666 if (getCurrentState() != mDisconnected) { in processCallState()
3285 IState currentState = getCurrentState(); in isConnected()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStateMachine.java654 if (getCurrentState() == mDisconnected) { in getConnectionState()
659 IState currentState = getCurrentState(); in getConnectionState()
692 if (getCurrentState() == mConnected) { in getConnectedDevices()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapClientStateMachine.java356 IState currentState = getCurrentState(); in getConnectionState()
408 if (getCurrentState() instanceof Disconnected) { in getDevice()
/packages/apps/Camera2/src/com/android/camera/captureintent/stateful/
DStateMachine.java32 public State getCurrentState(); in getCurrentState() method
DStateMachineImpl.java78 public State getCurrentState() { in getCurrentState() method in StateMachineImpl
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DDraftMessageData.java160 Assert.equals(PendingAttachmentData.STATE_PENDING, data.getCurrentState()); in updateFromMessageData()
416 Assert.equals(PendingAttachmentData.STATE_PENDING, pendingAttachment.getCurrentState()); in addOnePendingAttachmentNoNotify()
DPendingAttachmentData.java89 public int getCurrentState() { in getCurrentState() method in PendingAttachmentData
/packages/apps/UnifiedEmail/src/com/android/mail/utils/
DDrawIdler.java53 public int getCurrentState() { in getCurrentState() method in DrawIdler
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java1604 IState currentState = getCurrentState(); in getConnectionState()
1691 IState currentState = getCurrentState(); in isConnected()
1733 return (getCurrentState() == mAudioOn); in isAudioOn()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioRouteStateMachine.java1316 IState currentState = getCurrentState(); in updateInternalCallAudioState()
1429 AudioState currentState = (AudioState) getCurrentState(); in isInActiveState()
DCallAudioModeStateMachine.java496 IState currentState = getCurrentState(); in getCurrentStateName()
/packages/services/Telecomm/src/com/android/server/telecom/bluetooth/
DBluetoothRouteManager.java597 state[0] = getCurrentState(); in isBluetoothAudioConnectedOrPending()