/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/src/com/android/launcher3/allapps/ |
D | AllAppsTransitionController.java | 169 public void setStateWithAnimation(LauncherState toState, in setStateWithAnimation() argument 173 "setStateWithAnimation " + toState.getClass().getSimpleName()); in setStateWithAnimation() 175 float targetProgress = toState.getVerticalProgress(mLauncher); in setStateWithAnimation() 177 setAlphas(toState, config, builder); in setStateWithAnimation() 188 Interpolator interpolator = config.userControlled ? LINEAR : toState == OVERVIEW in setStateWithAnimation() 198 setAlphas(toState, config, builder); in setStateWithAnimation() 206 private void setAlphas(LauncherState toState, AnimationConfig config, in setAlphas() argument 208 setAlphas(toState.getVisibleElements(mLauncher), config, builder); in setAlphas()
|
D | DiscoveryBounce.java | 60 public void onStateTransitionStart(LauncherState toState) {
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | BaseRecentsViewStateController.java | 73 public final void setStateWithAnimation(@NonNull final LauncherState toState, in setStateWithAnimation() argument 84 setStateWithAnimationInternal(toState, builder, config); in setStateWithAnimation() 94 void setStateWithAnimationInternal(@NonNull final LauncherState toState, in setStateWithAnimationInternal() argument 97 ScaleAndTranslation scaleAndTranslation = toState.getOverviewScaleAndTranslation(mLauncher); in setStateWithAnimationInternal() 111 setter.setFloat(mRecentsView, getContentAlphaProperty(), toState.overviewUi ? 1 : 0, 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 | 108 public void onStateTransitionStart(LauncherState toState) { in onCreate() 130 public void onStateTransitionStart(LauncherState toState) { in onCreate()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | AbstractStateChangeTouchController.java | 235 LauncherState toState) { in goingBetweenNormalAndOverview() argument 237 && (toState == NORMAL || toState == OVERVIEW) in goingBetweenNormalAndOverview() 318 private void maybeUpdateAtomicAnim(LauncherState fromState, LauncherState toState, in maybeUpdateAtomicAnim() argument 320 if (!goingBetweenNormalAndOverview(fromState, toState)) { in maybeUpdateAtomicAnim() 323 float threshold = toState == OVERVIEW ? ATOMIC_OVERVIEW_ANIM_THRESHOLD in maybeUpdateAtomicAnim() 327 LauncherState atomicFromState = passedThreshold ? fromState: toState; in maybeUpdateAtomicAnim() 328 LauncherState atomicToState = passedThreshold ? toState : fromState; in maybeUpdateAtomicAnim() 373 LauncherState toState) { in getAnimatorSetBuilderForStates() argument
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | FlingAndHoldTouchController.java | 92 LauncherState toState = isPaused ? OVERVIEW_PEEK : NORMAL; in onDragStart() 94 mPeekAnim = mLauncher.getStateManager().createAtomicAnimation(fromState, toState, in onDragStart() 120 LauncherState toState) { in getAnimatorSetBuilderForStates() argument 121 if (fromState == NORMAL && toState == ALL_APPS) { in getAnimatorSetBuilderForStates() 130 return super.getAnimatorSetBuilderForStates(fromState, toState); in getAnimatorSetBuilderForStates()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | LauncherStateManager.java | 304 public void prepareForAtomicAnimation(LauncherState fromState, LauncherState toState, in prepareForAtomicAnimation() argument 306 toState.prepareForAtomicAnimation(mLauncher, fromState, builder); in prepareForAtomicAnimation() 309 public AnimatorSet createAtomicAnimation(LauncherState fromState, LauncherState toState, in createAtomicAnimation() argument 311 prepareForAtomicAnimation(fromState, toState, builder); in createAtomicAnimation() 316 handler.setStateWithAnimation(toState, builder, config); in createAtomicAnimation() 681 void setStateWithAnimation(LauncherState toState, in setStateWithAnimation() argument 687 void onStateTransitionStart(LauncherState toState); in onStateTransitionStart() argument
|
D | WorkspaceStateTransitionAnimation.java | 59 public void setState(LauncherState toState) { in setState() argument 60 setWorkspaceProperty(toState, NO_ANIM_PROPERTY_SETTER, new AnimatorSetBuilder(), in setState() 64 public void setStateWithAnimation(LauncherState toState, AnimatorSetBuilder builder, in setStateWithAnimation() argument 66 setWorkspaceProperty(toState, config.getPropertySetter(builder), builder, config); in setStateWithAnimation()
|
D | Workspace.java | 1368 public void setState(LauncherState toState) { in setState() argument 1369 onStartStateTransition(toState); in setState() 1370 mStateTransitionAnimation.setState(toState); in setState() 1378 public void setStateWithAnimation(LauncherState toState, in setStateWithAnimation() argument 1380 StateTransitionListener listener = new StateTransitionListener(toState); in setStateWithAnimation() 1381 mStateTransitionAnimation.setStateWithAnimation(toState, builder, config); in setStateWithAnimation() 1385 if (toState.hasMultipleVisiblePages) { in setStateWithAnimation() 3386 StateTransitionListener(LauncherState toState) { in StateTransitionListener() argument 3387 mToState = toState; in StateTransitionListener()
|
D | Launcher.java | 390 public void onStateTransitionStart(LauncherState toState) {} in onCreate()
|
/packages/services/Car/service/src/com/android/car/ |
D | Utils.java | 150 public TransitionLog(String name, int fromState, int toState, long timestamp, in TransitionLog() argument 152 this(name, fromState, toState, timestamp); in TransitionLog() 156 public TransitionLog(String name, int fromState, int toState, long timeStamp) { in TransitionLog() argument 159 mToState = toState; in TransitionLog()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hearingaid/ |
D | HearingAidService.java | 742 int toState) { in connectionStateChanged() argument 743 if ((device == null) || (fromState == toState)) { in connectionStateChanged() 745 + " fromState=" + fromState + " toState=" + toState); in connectionStateChanged() 748 if (toState == BluetoothProfile.STATE_CONNECTED) { in connectionStateChanged() 768 if (toState == BluetoothProfile.STATE_DISCONNECTED) { in connectionStateChanged() 786 int toState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in onReceive() local 788 connectionStateChanged(device, fromState, toState); in onReceive()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | PortraitStatesTouchController.java | 183 LauncherState toState) { in getAnimatorSetBuilderForStates() argument 185 if (fromState == NORMAL && toState == OVERVIEW) { in getAnimatorSetBuilderForStates() 187 } else if (fromState == OVERVIEW && toState == ALL_APPS) { in getAnimatorSetBuilderForStates() 189 } else if (fromState == ALL_APPS && toState == OVERVIEW) { in getAnimatorSetBuilderForStates()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/a2dp/ |
D | A2dpService.java | 1077 private void connectionStateChanged(BluetoothDevice device, int fromState, int toState) { in connectionStateChanged() argument 1078 if ((device == null) || (fromState == toState)) { in connectionStateChanged() 1082 if (toState == BluetoothProfile.STATE_CONNECTED) { in connectionStateChanged() 1086 if (toState == BluetoothProfile.STATE_CONNECTED && (mMaxConnectedAudioDevices == 1)) { in connectionStateChanged() 1094 if (toState == BluetoothProfile.STATE_DISCONNECTED) { in connectionStateChanged() 1122 int toState = intent.getIntExtra(BluetoothProfile.EXTRA_STATE, -1); in onReceive() local 1124 connectionStateChanged(device, fromState, toState); in onReceive()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/hfp/ |
D | HeadsetStateMachine.java | 294 void broadcastConnectionState(BluetoothDevice device, int fromState, int toState) { in broadcastConnectionState() argument 295 stateLogD("broadcastConnectionState " + device + ": " + fromState + "->" + toState); in broadcastConnectionState() 296 mHeadsetService.onConnectionStateChangedFromStateMachine(device, fromState, toState); in broadcastConnectionState() 299 intent.putExtra(BluetoothProfile.EXTRA_STATE, toState); in broadcastConnectionState() 307 void broadcastAudioState(BluetoothDevice device, int fromState, int toState) { in broadcastAudioState() argument 308 stateLogD("broadcastAudioState: " + device + ": " + fromState + "->" + toState); in broadcastAudioState() 311 getConnectionStateFromAudioState(toState), in broadcastAudioState() 315 mHeadsetService.onAudioStateChangedFromStateMachine(device, fromState, toState); in broadcastAudioState() 318 intent.putExtra(BluetoothProfile.EXTRA_STATE, toState); in broadcastAudioState()
|
D | HeadsetService.java | 1594 int toState) { in onConnectionStateChangedFromStateMachine() argument 1599 && toState == BluetoothProfile.STATE_CONNECTED) { in onConnectionStateChangedFromStateMachine() 1609 && toState == BluetoothProfile.STATE_DISCONNECTED) { in onConnectionStateChangedFromStateMachine() 1668 int toState) { in onAudioStateChangedFromStateMachine() argument 1670 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 | 230 public void onStateTransitionStart(LauncherState toState) { in onStateTransitionStart() argument 231 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
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | ScrimView.java | 370 public void onStateTransitionStart(LauncherState toState) {} in onStateTransitionStart() argument
|
/packages/apps/Launcher3/src/com/android/launcher3/dragndrop/ |
D | DragView.java | 190 public void onStateTransitionStart(LauncherState toState) { } in onStateTransitionStart() argument
|