/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/hfp/ |
D | HeadsetTestUtils.java | 41 public static void verifyAudioStateBroadcast(BluetoothDevice device, int toState, int fromState, in verifyAudioStateBroadcast() argument 46 Assert.assertEquals(toState, intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in verifyAudioStateBroadcast() 61 public static void verifyConnectionStateBroadcast(BluetoothDevice device, int toState, in verifyConnectionStateBroadcast() argument 69 Assert.assertEquals(toState, intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1)); in verifyConnectionStateBroadcast() 83 public static void verifyConnectionStateBroadcast(BluetoothDevice device, int toState, in verifyConnectionStateBroadcast() argument 85 verifyConnectionStateBroadcast(device, toState, fromState, intent, true); in verifyConnectionStateBroadcast()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/ |
D | RecentsViewStateController.java | 63 void setStateWithAnimationInternal(@NonNull final LauncherState toState, in setStateWithAnimationInternal() argument 65 super.setStateWithAnimationInternal(toState, builder, config); in setStateWithAnimationInternal() 67 if (!toState.overviewUi) { in setStateWithAnimationInternal() 71 if (toState.overviewUi) { in setStateWithAnimationInternal() 83 setAlphas(propertySetter, toState.getVisibleElements(mLauncher)); in setStateWithAnimationInternal() 84 float fullscreenProgress = toState.getOverviewFullscreenProgress(); in setStateWithAnimationInternal()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | BaseRecentsViewStateController.java | 78 public final void setStateWithAnimation(@NonNull final LauncherState toState, in setStateWithAnimation() argument 89 setStateWithAnimationInternal(toState, builder, config); in setStateWithAnimation() 99 void setStateWithAnimationInternal(@NonNull final LauncherState toState, in setStateWithAnimationInternal() argument 102 ScaleAndTranslation scaleAndTranslation = toState.getOverviewScaleAndTranslation(mLauncher); in setStateWithAnimationInternal() 116 setter.setFloat(mRecentsView, getContentAlphaProperty(), toState.overviewUi ? 1 : 0, in setStateWithAnimationInternal() 119 setter.setFloat(scrim, SCRIM_PROGRESS, toState.getOverviewScrimAlpha(mLauncher), in setStateWithAnimationInternal()
|
D | BackButtonAlphaHandler.java | 47 public void setStateWithAnimation(LauncherState toState, in setStateWithAnimation() argument 53 float toAlpha = toState.hideBackButton ? 0 : 1; in setStateWithAnimation()
|
D | UiFactory.java | 112 public void onStateTransitionStart(LauncherState toState) { in onCreate() 134 public void onStateTransitionStart(LauncherState toState) { in onCreate()
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | AllAppsTransitionController.java | 157 public void setStateWithAnimation(LauncherState toState, in setStateWithAnimation() argument 159 float targetProgress = toState.getVerticalProgress(mLauncher); in setStateWithAnimation() 161 setAlphas(toState, config, builder); in setStateWithAnimation() 172 Interpolator interpolator = config.userControlled ? LINEAR : toState == OVERVIEW in setStateWithAnimation() 182 setAlphas(toState, config, builder); in setStateWithAnimation() 190 private void setAlphas(LauncherState toState, AnimationConfig config, in setAlphas() argument 192 setAlphas(toState.getVisibleElements(mLauncher), config, builder); in setAlphas()
|
D | DiscoveryBounce.java | 60 public void onStateTransitionStart(LauncherState toState) {
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | AbstractStateChangeTouchController.java | 226 LauncherState toState) { in goingBetweenNormalAndOverview() argument 228 && (toState == NORMAL || toState == OVERVIEW) in goingBetweenNormalAndOverview() 312 private void maybeUpdateAtomicAnim(LauncherState fromState, LauncherState toState, in maybeUpdateAtomicAnim() argument 314 if (!goingBetweenNormalAndOverview(fromState, toState)) { in maybeUpdateAtomicAnim() 317 float threshold = toState == OVERVIEW ? ATOMIC_OVERVIEW_ANIM_THRESHOLD in maybeUpdateAtomicAnim() 321 LauncherState atomicFromState = passedThreshold ? fromState: toState; in maybeUpdateAtomicAnim() 322 LauncherState atomicToState = passedThreshold ? toState : fromState; in maybeUpdateAtomicAnim() 367 LauncherState toState) { in getAnimatorSetBuilderForStates() argument
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | FlingAndHoldTouchController.java | 95 LauncherState toState = isPaused ? OVERVIEW_PEEK : NORMAL; in onDragStart() 97 mPeekAnim = mLauncher.getStateManager().createAtomicAnimation(fromState, toState, in onDragStart() 125 LauncherState toState) { in getAnimatorSetBuilderForStates() argument 126 if (fromState == NORMAL && toState == ALL_APPS) { in getAnimatorSetBuilderForStates() 145 } else if (fromState == ALL_APPS && toState == NORMAL) { in getAnimatorSetBuilderForStates() 159 return super.getAnimatorSetBuilderForStates(fromState, toState); in getAnimatorSetBuilderForStates()
|
D | NoButtonQuickSwitchTouchController.java | 218 private void updateNonOverviewAnim(LauncherState toState, AnimatorSetBuilder builder, in updateNonOverviewAnim() argument 222 mNonOverviewAnim = mLauncher.getStateManager().createAnimationToNewWorkspace(toState, in updateNonOverviewAnim() 228 final LauncherState toState = OVERVIEW; in setupOverviewAnimators() local 231 LauncherState.ScaleAndTranslation toScaleAndTranslation = toState in setupOverviewAnimators() 256 toState.getOverviewScrimAlpha(mLauncher))); in setupOverviewAnimators() 272 fromState.getOverviewFullscreenProgress(), toState.getOverviewFullscreenProgress()); in setupOverviewAnimators()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | PortraitStatesTouchController.java | 196 LauncherState toState) { in getAnimatorSetBuilderForStates() argument 198 if (fromState == NORMAL && toState == OVERVIEW) { in getAnimatorSetBuilderForStates() 200 } else if (fromState == OVERVIEW && toState == ALL_APPS) { in getAnimatorSetBuilderForStates() 202 } else if (fromState == ALL_APPS && toState == OVERVIEW) { in getAnimatorSetBuilderForStates() 204 } else if (fromState == NORMAL && toState == ALL_APPS) { in getAnimatorSetBuilderForStates() 206 } else if (fromState == ALL_APPS && toState == NORMAL) { in getAnimatorSetBuilderForStates()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherStateManager.java | 302 public void prepareForAtomicAnimation(LauncherState fromState, LauncherState toState, in prepareForAtomicAnimation() argument 304 toState.prepareForAtomicAnimation(mLauncher, fromState, builder); in prepareForAtomicAnimation() 307 public AnimatorSet createAtomicAnimation(LauncherState fromState, LauncherState toState, in createAtomicAnimation() argument 309 prepareForAtomicAnimation(fromState, toState, builder); in createAtomicAnimation() 314 handler.setStateWithAnimation(toState, builder, config); in createAtomicAnimation() 665 void setStateWithAnimation(LauncherState toState, in setStateWithAnimation() argument 671 void onStateTransitionStart(LauncherState toState); in onStateTransitionStart() argument
|
D | WorkspaceStateTransitionAnimation.java | 58 public void setState(LauncherState toState) { in setState() argument 59 setWorkspaceProperty(toState, NO_ANIM_PROPERTY_SETTER, new AnimatorSetBuilder(), in setState() 63 public void setStateWithAnimation(LauncherState toState, AnimatorSetBuilder builder, in setStateWithAnimation() argument 65 setWorkspaceProperty(toState, config.getPropertySetter(builder), builder, config); in setStateWithAnimation()
|
D | Workspace.java | 1377 public void setState(LauncherState toState) { in setState() argument 1378 onStartStateTransition(toState); in setState() 1379 mStateTransitionAnimation.setState(toState); in setState() 1387 public void setStateWithAnimation(LauncherState toState, in setStateWithAnimation() argument 1389 StateTransitionListener listener = new StateTransitionListener(toState); in setStateWithAnimation() 1390 mStateTransitionAnimation.setStateWithAnimation(toState, builder, config); in setStateWithAnimation() 1394 if (toState.hasMultipleVisiblePages) { in setStateWithAnimation() 3395 StateTransitionListener(LauncherState toState) { in StateTransitionListener() argument 3396 mToState = toState; in StateTransitionListener()
|
/packages/services/Car/service/src/com/android/car/ |
D | Utils.java | 150 public TransitionLog(String name, Object fromState, Object toState, long timestamp, in TransitionLog() argument 152 this(name, fromState, toState, timestamp); in TransitionLog() 156 public TransitionLog(String name, Object fromState, Object toState, long timeStamp) { in TransitionLog() argument 159 mToState = toState; in TransitionLog()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/ |
D | HearingAidService.java | 791 int toState) { in connectionStateChanged() argument 792 if ((device == null) || (fromState == toState)) { in connectionStateChanged() 794 + " fromState=" + fromState + " toState=" + toState); in connectionStateChanged() 797 if (toState == BluetoothProfile.STATE_CONNECTED) { in connectionStateChanged() 817 if (toState == BluetoothProfile.STATE_DISCONNECTED) { in connectionStateChanged() 835 int toState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in onReceive() local 837 connectionStateChanged(device, fromState, toState); in onReceive()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpService.java | 1144 private void connectionStateChanged(BluetoothDevice device, int fromState, int toState) { in connectionStateChanged() argument 1145 if ((device == null) || (fromState == toState)) { in connectionStateChanged() 1148 if (toState == BluetoothProfile.STATE_CONNECTED) { in connectionStateChanged() 1152 if (toState == BluetoothProfile.STATE_CONNECTED && (mMaxConnectedAudioDevices == 1)) { in connectionStateChanged() 1160 if (toState == BluetoothProfile.STATE_DISCONNECTED) { in connectionStateChanged() 1185 int toState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in onReceive() local 1187 connectionStateChanged(device, fromState, toState); in onReceive()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetStateMachine.java | 298 void broadcastConnectionState(BluetoothDevice device, int fromState, int toState) { in broadcastConnectionState() argument 299 stateLogD("broadcastConnectionState " + device + ": " + fromState + "->" + toState); in broadcastConnectionState() 300 mHeadsetService.onConnectionStateChangedFromStateMachine(device, fromState, toState); in broadcastConnectionState() 303 intent.putExtra(BluetoothProfile.EXTRA_STATE, toState); in broadcastConnectionState() 311 void broadcastAudioState(BluetoothDevice device, int fromState, int toState) { in broadcastAudioState() argument 312 stateLogD("broadcastAudioState: " + device + ": " + fromState + "->" + toState); in broadcastAudioState() 315 getConnectionStateFromAudioState(toState), in broadcastAudioState() 320 mHeadsetService.onAudioStateChangedFromStateMachine(device, fromState, toState); in broadcastAudioState() 323 intent.putExtra(BluetoothProfile.EXTRA_STATE, toState); in broadcastAudioState()
|
D | HeadsetService.java | 1651 int toState) { in onConnectionStateChangedFromStateMachine() argument 1656 && toState == BluetoothProfile.STATE_CONNECTED) { in onConnectionStateChangedFromStateMachine() 1666 && toState == BluetoothProfile.STATE_DISCONNECTED) { in onConnectionStateChangedFromStateMachine() 1725 int toState) { in onAudioStateChangedFromStateMachine() argument 1727 if (toState == BluetoothHeadset.STATE_AUDIO_DISCONNECTED) { in onAudioStateChangedFromStateMachine()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/pbap/ |
D | PbapStateMachine.java | 150 private void broadcastConnectionState(BluetoothDevice device, int fromState, int toState) { in broadcastConnectionState() argument 151 stateLogD("broadcastConnectionState " + device + ": " + fromState + "->" + toState); in broadcastConnectionState() 154 intent.putExtra(BluetoothProfile.EXTRA_STATE, toState); in broadcastConnectionState()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | LauncherRecentsView.java | 274 public void onStateTransitionStart(LauncherState toState) { in onStateTransitionStart() argument 275 setOverviewStateEnabled(toState.overviewUi); in onStateTransitionStart()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/appprediction/ |
D | AllAppsTipView.java | 193 public void onStateTransitionStart(LauncherState toState) { in scheduleShowIfNeeded()
|
D | AppsDividerView.java | 253 public void onStateTransitionStart(LauncherState toState) { } in onStateTransitionStart() argument
|
D | PredictionUiStateManager.java | 163 public void onStateTransitionStart(LauncherState toState) { } in onStateTransitionStart() argument
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | ScrimView.java | 373 public void onStateTransitionStart(LauncherState toState) {} in onStateTransitionStart() argument
|