/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/ |
D | PortraitStatesTouchController.java | 22 import static com.android.launcher3.LauncherState.NORMAL; 82 boolean interceptAnywhere = mLauncher.isInState(NORMAL); in canInterceptTouch() 118 return NORMAL; in getTargetState() 120 return isDragTowardPositive ? OVERVIEW : NORMAL; in getTargetState() 121 } else if (fromState == NORMAL && isDragTowardPositive) { in getTargetState() 153 if (fromState == NORMAL && toState == ALL_APPS) { in getConfigForStates() 155 } else if (fromState == ALL_APPS && toState == NORMAL) { in getConfigForStates() 183 if (mFromState == OVERVIEW && mToState == NORMAL in initCurrentAnimation() 211 if (mStartState == NORMAL && targetState == OVERVIEW) { in onSwipeInteractionCompleted()
|
D | TwoButtonNavbarTouchController.java | 21 import static com.android.launcher3.LauncherState.NORMAL; 89 return mLauncher.isInState(NORMAL); in canInterceptTouchInternal() 103 return draggingFromNav ? HINT_STATE_TWO_BUTTON : NORMAL; in getTargetState() 106 return isDragTowardPositive ^ (startState == OVERVIEW) ? HINT_STATE_TWO_BUTTON : NORMAL; in getTargetState() 120 mFinishFastOnSecondTouch = !mIsTransposed && mFromState == NORMAL; in updateSwipeCompleteAnimation() 164 if (mStartState == NORMAL && targetState == HINT_STATE_TWO_BUTTON) { in onSwipeInteractionCompleted() 166 } else if (targetState == NORMAL in onSwipeInteractionCompleted()
|
D | NoButtonQuickSwitchTouchController.java | 19 import static com.android.launcher3.LauncherState.NORMAL; 154 if (!mLauncher.isInState(LauncherState.NORMAL)) { in canInterceptTouch() 319 targetState = NORMAL; in onDragEnd() 328 ? QUICK_SWITCH : NORMAL; in onDragEnd() 332 targetState = velocity.x > 0 ? QUICK_SWITCH : NORMAL; in onDragEnd() 334 targetState = velocity.y > 0 ? QUICK_SWITCH : NORMAL; in onDragEnd() 340 ? QUICK_SWITCH : NORMAL; in onDragEnd() 348 final float endXProgress = targetState == NORMAL ? 0 : 1; in onDragEnd() 357 boolean flingUpToNormal = verticalFling && velocity.y < 0 && targetState == NORMAL; in onDragEnd() 365 } else if (targetState == NORMAL) { in onDragEnd() [all …]
|
D | NoButtonNavbarToOverviewTouchController.java | 22 import static com.android.launcher3.LauncherState.NORMAL; 91 if (fromState == NORMAL && mDidTouchStartInNavBar) { in getTargetState() 120 if (mFromState == NORMAL && mToState == HINT_STATE) { in onDragStart() 198 return mDidTouchStartInNavBar && mStartState == NORMAL in handlingOverviewAnim() 233 new OverviewToHomeAnim(mLauncher, () -> onSwipeInteractionCompleted(NORMAL)) in goToOverviewOrHomeOnDragEnd()
|
D | QuickSwitchTouchController.java | 18 import static com.android.launcher3.LauncherState.NORMAL; 75 if (!mLauncher.isInState(LauncherState.NORMAL)) { in canInterceptTouch() 88 return NORMAL; in getTargetState() 90 return isDragTowardPositive ? QUICK_SWITCH : NORMAL; in getTargetState()
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/util/ |
D | QuickstepOnboardingPrefs.java | 22 import static com.android.launcher3.LauncherState.NORMAL; 58 && finalState == ALL_APPS && prevState == NORMAL) || in QuickstepOnboardingPrefs() 80 if (mFromAllApps && finalState == NORMAL && client.hasPredictions()) { in QuickstepOnboardingPrefs() 101 if (toState == NORMAL) { in QuickstepOnboardingPrefs() 110 if (finalState == NORMAL) { in QuickstepOnboardingPrefs()
|
D | WorkspaceRevealAnim.java | 20 import static com.android.launcher3.LauncherState.NORMAL; 73 .setScrim(overviewScrimBuilder, NORMAL, new StateAnimationConfig()); in WorkspaceRevealAnim() 81 depth.setStateWithAnimation(NORMAL, new StateAnimationConfig(), depthBuilder); in WorkspaceRevealAnim() 120 launcher.getStateManager().createAtomicAnimation(BACKGROUND_APP, NORMAL, config).start(); in prepareToAnimate()
|
D | OverviewToHomeAnim.java | 18 import static com.android.launcher3.LauncherState.NORMAL; 87 startState, NORMAL, config); in animateWithVelocity() 96 stateManager.setCurrentAnimation(anim, NORMAL); in animateWithVelocity()
|
D | StaggeredWorkspaceAnim.java | 20 import static com.android.launcher3.LauncherState.NORMAL; 154 .setScrim(pendingAnimation, NORMAL, new StateAnimationConfig()); in StaggeredWorkspaceAnim() 158 addDepthAnimationForState(launcher, NORMAL, DURATION_MS); in StaggeredWorkspaceAnim() 197 launcher.getStateManager().createAtomicAnimation(BACKGROUND_APP, NORMAL, config).start(); in prepareToAnimate()
|
/packages/apps/Launcher3/src/com/android/launcher3/touch/ |
D | AllAppsSwipeController.java | 19 import static com.android.launcher3.LauncherState.NORMAL; 45 if (!mLauncher.isInState(NORMAL) && !mLauncher.isInState(ALL_APPS)) { in canInterceptTouch() 57 if (fromState == NORMAL && isDragTowardPositive) { in getTargetState() 60 return NORMAL; in getTargetState()
|
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/ |
D | FontOptionsProvider.java | 56 Typeface.NORMAL); in loadOptions() 59 Typeface.NORMAL); in loadOptions() 74 Typeface.NORMAL); in addDefault() 78 Typeface.NORMAL); in addDefault()
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/states/ |
D | QuickstepAtomicAnimationFactory.java | 22 import static com.android.launcher3.LauncherState.NORMAL; 88 if (toState == NORMAL && fromState == OVERVIEW) { in prepareForAtomicAnimation() 134 } else if ((fromState == NORMAL || fromState == HINT_STATE in prepareForAtomicAnimation() 138 fromState == NORMAL ? ACCEL : OVERSHOOT_1_2); in prepareForAtomicAnimation() 166 } else if (fromState == HINT_STATE && toState == NORMAL) { in prepareForAtomicAnimation()
|
/packages/apps/Dialer/java/com/android/dialer/voicemail/listui/ |
D | NewVoicemailViewHolder.java | 240 primaryTextView.setTypeface(null, Typeface.NORMAL); in reset() 241 secondaryTextView.setTypeface(null, Typeface.NORMAL); in reset() 242 transcriptionTextView.setTypeface(null, Typeface.NORMAL); in reset() 295 primaryTextView.setTypeface(Typeface.DEFAULT, Typeface.NORMAL); in expandAndBindViewHolderAndMediaPlayerViewWithAdapterValues() 296 secondaryTextView.setTypeface(Typeface.DEFAULT, Typeface.NORMAL); in expandAndBindViewHolderAndMediaPlayerViewWithAdapterValues() 297 transcriptionTextView.setTypeface(Typeface.DEFAULT, Typeface.NORMAL); in expandAndBindViewHolderAndMediaPlayerViewWithAdapterValues()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Launcher.java | 34 import static com.android.launcher3.LauncherState.NORMAL; 436 mStateManager = new StateManager<>(this, NORMAL); in onCreate() 499 () -> getStateManager().goToState(NORMAL)); in onCreate() 732 mStateManager.goToState(NORMAL, SPRING_LOADED_EXIT_DELAY); in handleActivityResult() 775 () -> getStateManager().goToState(NORMAL)); in handleActivityResult() 894 mStateManager.goToState(NORMAL, SPRING_LOADED_EXIT_DELAY); in completeTwoStageWidgetDrop() 1061 getAppWidgetHost().setStateIsNormal(state == LauncherState.NORMAL); in onStateSetEnd() 1071 if (state == NORMAL) { in onStateSetEnd() 1145 int stateOrdinal = savedState.getInt(RUNTIME_STATE, NORMAL.ordinal); in restoreState() 1361 if (mStateManager.getState() == NORMAL) { in completeAddAppWidget() [all …]
|
D | LauncherState.java | 100 public static final LauncherState NORMAL = new LauncherState(NORMAL_STATE_ORDINAL, field in LauncherState 277 if ((this != NORMAL && this != HINT_STATE) in getWorkspacePageAlphaProvider() 293 return NORMAL; 302 if (this != NORMAL) {
|
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/ |
D | QuickstepLauncher.java | 25 import static com.android.launcher3.LauncherState.NORMAL; 208 boolean visible = (state == NORMAL || state == OVERVIEW) in onStateOrResumeChanging() 215 if (state == NORMAL && !inTransition) { in onStateOrResumeChanging() 255 getStateManager().goToState(NORMAL); in onStateSetEnd() 284 getStateManager().goToState(NORMAL); in onStateSetEnd()
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ConfirmDeviceCredentialBaseActivity.java | 43 NORMAL, enumConstant 79 mConfirmCredentialTheme = ConfirmCredentialTheme.NORMAL; in onCreate() 84 if (mConfirmCredentialTheme == ConfirmCredentialTheme.NORMAL) { in onCreate()
|
/packages/services/Car/car-lib/src/android/car/ |
D | VehicleOilLevel.java | 33 public static final int NORMAL = 2; field in VehicleOilLevel 42 NORMAL,
|
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/ |
D | LauncherRecentsView.java | 19 import static com.android.launcher3.LauncherState.NORMAL; 91 mActivity.getStateManager().goToState(NORMAL); in startHome() 122 if (finalState == NORMAL || finalState == SPRING_LOADED) { in onStateTransitionComplete()
|
D | AllAppsEduView.java | 19 import static com.android.launcher3.LauncherState.NORMAL; 241 mLauncher.getStateManager().goToState(NORMAL, false); in playAnimation() 300 mFromState = NORMAL; in initAllAppsAnimation()
|
/packages/apps/Launcher3/quickstep/tests/src/com/android/quickstep/ |
D | TaplTestsQuickstep.java | 150 waitForState("Launcher internal state didn't switch to Home", () -> LauncherState.NORMAL); in testOverview() 154 waitForState("Launcher internal state didn't switch to Home", () -> LauncherState.NORMAL); in testOverview() 234 isInState(() -> LauncherState.NORMAL)); in testAllAppsFromHome()
|
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/ |
D | ShortcutMenuAccessibilityDelegate.java | 19 import static com.android.launcher3.LauncherState.NORMAL; 71 mLauncher.getStateManager().goToState(NORMAL, true, forSuccessCallback(() -> { in performAction()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | AccessibilityActionsView.java | 20 import static com.android.launcher3.LauncherState.NORMAL; 59 setImportantForAccessibility(finalState == NORMAL in onStateTransitionComplete()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrPrioritySettingsFragment.java | 254 titleView.setTypeface(titleView.getTypeface(), Typeface.NORMAL); 262 titleView.setTypeface(titleView.getTypeface(), Typeface.NORMAL); 269 titleView.setTypeface(titleView.getTypeface(), Typeface.NORMAL);
|
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
D | DiscoveryBounce.java | 19 import static com.android.launcher3.LauncherState.NORMAL; 126 if (!launcher.isInState(NORMAL) in showForHomeIfNeeded()
|