Home
last modified time | relevance | path

Searched refs:targetState (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/touch/
DAbstractStateChangeTouchController.java359 private AnimatorSet createAtomicAnimForState(LauncherState fromState, LauncherState targetState, in createAtomicAnimForState() argument
361 AnimatorSetBuilder builder = getAnimatorSetBuilderForStates(fromState, targetState); in createAtomicAnimForState()
362 return mLauncher.getStateManager().createAtomicAnimation(fromState, targetState, builder, in createAtomicAnimForState()
381 final LauncherState targetState; in onDragEnd() local
385 targetState = in onDragEnd()
392 targetState = (interpolatedProgress > successProgress) ? mToState : mFromState; in onDragEnd()
399 final int durationMultiplier = blockedFling && targetState == mFromState in onDragEnd()
402 if (targetState == mToState) { in onDragEnd()
430 mCurrentAnimation.setEndAction(() -> onSwipeInteractionCompleted(targetState, logAction)); in onDragEnd()
433 maybeUpdateAtomicAnim(mFromState, targetState, targetState == mToState ? 1f : 0f); in onDragEnd()
[all …]
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/launcher3/uioverrides/touchcontrollers/
DNoButtonQuickSwitchTouchController.java343 final LauncherState targetState; in onDragEnd() local
347 targetState = NORMAL; in onDragEnd()
351 targetState = QUICK_SWITCH; in onDragEnd()
355 targetState = Math.abs(velocity.x) > Math.abs(velocity.y) in onDragEnd()
360 targetState = velocity.x > 0 ? QUICK_SWITCH : NORMAL; in onDragEnd()
362 targetState = velocity.y > 0 ? QUICK_SWITCH : NORMAL; in onDragEnd()
366 targetState = passedHorizontalThreshold ? QUICK_SWITCH : NORMAL; in onDragEnd()
374 final float endXProgress = targetState == NORMAL ? 0 : 1; in onDragEnd()
383 boolean flingUpToNormal = verticalFling && velocity.y < 0 && targetState == NORMAL; in onDragEnd()
391 } else if (targetState == NORMAL) { in onDragEnd()
[all …]
DFlingAndHoldTouchController.java199 protected void goToTargetState(LauncherState targetState, int logAction) { in goToTargetState() argument
205 FlingAndHoldTouchController.super.goToTargetState(targetState, logAction); in goToTargetState()
209 super.goToTargetState(targetState, logAction); in goToTargetState()
DNavBarToHomeTouchController.java221 private void onSwipeInteractionCompleted(LauncherState targetState) { in onSwipeInteractionCompleted() argument
223 mLauncher.getStateManager().goToState(targetState, false /* animated */); in onSwipeInteractionCompleted()
224 AccessibilityManagerCompat.sendStateEventToTest(mLauncher, targetState.ordinal); in onSwipeInteractionCompleted()
DQuickSwitchTouchController.java104 protected void onSwipeInteractionCompleted(LauncherState targetState, int logAction) { in onSwipeInteractionCompleted() argument
105 super.onSwipeInteractionCompleted(targetState, logAction); in onSwipeInteractionCompleted()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DPortraitStatesTouchController.java273 LauncherState targetState, float velocity, boolean isFling) { in updateSwipeCompleteAnimation() argument
274 super.updateSwipeCompleteAnimation(animator, expectedDuration, targetState, in updateSwipeCompleteAnimation()
276 handleFirstSwipeToOverview(animator, expectedDuration, targetState, velocity, isFling); in updateSwipeCompleteAnimation()
280 final long expectedDuration, final LauncherState targetState, final float velocity, in handleFirstSwipeToOverview() argument
283 && targetState == OVERVIEW) { in handleFirstSwipeToOverview()
285 } else if (mFromState == NORMAL && mToState == OVERVIEW && targetState == OVERVIEW) { in handleFirstSwipeToOverview()
301 protected void onSwipeInteractionCompleted(LauncherState targetState, int logAction) { in onSwipeInteractionCompleted() argument
302 super.onSwipeInteractionCompleted(targetState, logAction); in onSwipeInteractionCompleted()
303 if (mStartState == NORMAL && targetState == OVERVIEW) { in onSwipeInteractionCompleted()
DLandscapeEdgeSwipeController.java73 protected void onSwipeInteractionCompleted(LauncherState targetState, int logAction) { in onSwipeInteractionCompleted() argument
74 super.onSwipeInteractionCompleted(targetState, logAction); in onSwipeInteractionCompleted()
75 if (mStartState == NORMAL && targetState == OVERVIEW) { in onSwipeInteractionCompleted()
/packages/apps/Launcher3/src/com/android/launcher3/
DLauncherStateManager.java636 public void setAnimation(AnimatorSet animation, LauncherState targetState) { in setAnimation() argument
638 mTargetState = targetState; in setAnimation()
/packages/modules/NetworkStack/src/android/net/dhcp/
DDhcpClient.java936 final State targetState) { in preDhcpTransitionTo() argument
937 transitionTo(mRegisteredForPreDhcpNotification ? waitStateForPreDhcpAction : targetState); in preDhcpTransitionTo()