Home
last modified time | relevance | path

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

/packages/services/Car/service/src/com/android/car/
DCarAudioService.java120 FocusState currentState = FocusState.create(mAudioHal.getCurrentFocusState()); in init() local
129 mCurrentFocusState = currentState; in init()
198 FocusState currentState; in doHandleCarFocusChange() local
218 currentState = mFocusReceived; in doHandleCarFocusChange()
246 doHandleFocusGainFromCar(currentState, topInfo); in doHandleCarFocusChange()
249 doHandleFocusGainTransientFromCar(currentState, topInfo); in doHandleCarFocusChange()
252 doHandleFocusLossFromCar(currentState, topInfo); in doHandleCarFocusChange()
255 doHandleFocusLossTransientFromCar(currentState); in doHandleCarFocusChange()
258 doHandleFocusLossTransientCanDuckFromCar(currentState); in doHandleCarFocusChange()
261 doHandleFocusLossTransientExclusiveFromCar(currentState); in doHandleCarFocusChange()
[all …]
DCarPowerManagementService.java176 PowerState currentState = mHal.getCurrentPowerState(); in init() local
177 onApPowerStateChange(currentState); in init()
429 PowerState currentState = mHal.getCurrentPowerState(); in doHandleDeepSleep() local
430 if (needPowerStateChange(currentState)) { in doHandleDeepSleep()
431 onApPowerStateChange(currentState); in doHandleDeepSleep()
434 currentState); in doHandleDeepSleep()
DCarNightService.java85 CarSensorEvent currentState = mCarSensorService.getLatestSensorEvent( in init() local
87 handleSensorEvent(currentState); in init()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DFinalizationActivity.java59 int currentState = dpm.getUserProvisioningState(); in onCreate() local
61 switch (currentState) { in onCreate()
71 + "nothing to do in state: " + currentState); in onCreate()
/packages/apps/Contacts/src/com/android/contacts/editor/
DContactEditorFragment.java384 final RawContactDelta currentState, BaseRawContactEditorView editor) { in addAccountSwitcher() argument
386 currentState.getAccountName(), in addAccountSwitcher()
387 currentState.getAccountType(), in addAccountSwitcher()
388 currentState.getDataSet()); in addAccountSwitcher()
414 rebindEditorsForNewContact(currentState, currentAccount, newAccount); in addAccountSwitcher()
/packages/services/Telecomm/src/com/android/server/telecom/
DCallAudioRouteStateMachine.java1156 IState currentState = getCurrentState(); in updateInternalCallAudioState() local
1157 if (currentState == null) { in updateInternalCallAudioState()
1164 int currentRoute = mStateNameToRouteCode.get(currentState.getName()); in updateInternalCallAudioState()
1264 AudioState currentState = (AudioState) getCurrentState(); in isInActiveState() local
1265 if (currentState == null) { in isInActiveState()
1269 return currentState.isActive(); in isInActiveState()
DCallAudioModeStateMachine.java489 IState currentState = getCurrentState(); in getCurrentStateName() local
490 return currentState == null ? "no state" : currentState.getName(); in getCurrentStateName()
DCallsManager.java1523 for (int currentState : states) { in getFirstCallWithState()
1526 if (foregroundCall != null && foregroundCall.getState() == currentState) { in getFirstCallWithState()
1540 if (currentState == call.getState()) { in getFirstCallWithState()
/packages/apps/Launcher3/src/com/android/launcher3/
DCellLayout.java1403 int[] direction, ItemConfiguration currentState) { in addViewToTempLocation() argument
1404 CellAndSpan c = currentState.map.get(v); in addViewToTempLocation()
1656 int[] direction, View dragView, ItemConfiguration currentState) { in pushViewsToTempLocation() argument
1658 ViewCluster cluster = new ViewCluster(views, currentState); in pushViewsToTempLocation()
1687 CellAndSpan c = currentState.map.get(v); in pushViewsToTempLocation()
1694 currentState.save(); in pushViewsToTempLocation()
1702 for (View v: currentState.sortedViews) { in pushViewsToTempLocation()
1715 CellAndSpan c = currentState.map.get(v); in pushViewsToTempLocation()
1738 currentState.restore(); in pushViewsToTempLocation()
1743 CellAndSpan c = currentState.map.get(v); in pushViewsToTempLocation()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DCellLayout.java1571 int[] direction, ItemConfiguration currentState) { in addViewToTempLocation() argument
1572 CellAndSpan c = currentState.map.get(v); in addViewToTempLocation()
1824 int[] direction, View dragView, ItemConfiguration currentState) { in pushViewsToTempLocation() argument
1826 ViewCluster cluster = new ViewCluster(views, currentState); in pushViewsToTempLocation()
1855 CellAndSpan c = currentState.map.get(v); in pushViewsToTempLocation()
1862 currentState.save(); in pushViewsToTempLocation()
1870 for (View v: currentState.sortedViews) { in pushViewsToTempLocation()
1883 CellAndSpan c = currentState.map.get(v); in pushViewsToTempLocation()
1906 currentState.restore(); in pushViewsToTempLocation()
1911 CellAndSpan c = currentState.map.get(v); in pushViewsToTempLocation()
[all …]
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/
DA2dpStateMachine.java625 IState currentState = getCurrentState(); in getConnectionState() local
626 if (currentState == mPending) { in getConnectionState()
639 if (currentState == mConnected) { in getConnectionState()
645 loge("Bad currentState: " + currentState); in getConnectionState()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardSwitcher.java338 KeyboardSwitchState currentState = getKeyboardSwitchState(); in onToggleKeyboard() local
339 Log.w(TAG, "onToggleKeyboard() : Current = " + currentState + " : Toggle = " + toggleState); in onToggleKeyboard()
340 if (currentState == toggleState) { in onToggleKeyboard()
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dpsink/
DA2dpSinkStateMachine.java652 IState currentState = getCurrentState(); in getConnectionState() local
653 if (currentState == mPending) { in getConnectionState()
666 if (currentState == mConnected) { in getConnectionState()
672 loge("Bad currentState: " + currentState); in getConnectionState()
/packages/apps/Bluetooth/src/com/android/bluetooth/pbapclient/
DPbapPCEClient.java93 BluetoothPbapClient.ConnectionState currentState = mClient.getState(); in getConnectionState() local
95 switch(currentState) { in getConnectionState()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/
DHeadsetStateMachine.java2083 IState currentState = getCurrentState(); in getConnectionState() local
2084 if (DBG) Log.d(TAG, "currentState = " + currentState); in getConnectionState()
2085 if (currentState == mPending) { in getConnectionState()
2098 if (currentState == mMultiHFPending) { in getConnectionState()
2116 if (currentState == mConnected || currentState == mAudioOn) { in getConnectionState()
2122 Log.e(TAG, "Bad currentState: " + currentState); in getConnectionState()
3313 IState currentState = getCurrentState(); in isConnected() local
3314 return (currentState == mConnected || currentState == mAudioOn); in isConnected()
/packages/apps/Bluetooth/src/com/android/bluetooth/hfpclient/
DHeadsetClientStateMachine.java2266 IState currentState = getCurrentState(); in getConnectionState() local
2267 if (currentState == mConnecting) { in getConnectionState()
2271 if (currentState == mConnected || currentState == mAudioOn) { in getConnectionState()
2275 Log.e(TAG, "Bad currentState: " + currentState); in getConnectionState()
2358 IState currentState = getCurrentState(); in isConnected() local
2359 return (currentState == mConnected || currentState == mAudioOn); in isConnected()
/packages/apps/Camera2/src/com/android/camera/ui/
DModeListView.java1413 ModeListState currentState = mCurrentStateManager.getCurrentState(); in draw() local
1414 AnimationEffects currentEffects = currentState.getCurrentAnimationEffects(); in draw()
1560 ModeListState currentState = mCurrentStateManager.getCurrentState(); in setVisibility() local
1561 if (currentState != null && !currentState.shouldHandleVisibilityChange(visibility)) { in setVisibility()
/packages/apps/Settings/src/com/android/settings/widget/
DSettingsAppWidgetProvider.java136 int currentState = getTriState(context); in toggleState() local
138 switch (currentState) { in toggleState()