Home
last modified time | relevance | path

Searched refs:NORMAL (Results 1 – 25 of 86) sorted by relevance

1234

/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/touchcontrollers/
DPortraitStatesTouchController.java22 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()
DTwoButtonNavbarTouchController.java21 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()
DNoButtonQuickSwitchTouchController.java19 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 …]
DNoButtonNavbarToOverviewTouchController.java22 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()
DQuickSwitchTouchController.java18 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/
DQuickstepOnboardingPrefs.java22 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()
DWorkspaceRevealAnim.java20 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()
DOverviewToHomeAnim.java18 import static com.android.launcher3.LauncherState.NORMAL;
87 startState, NORMAL, config); in animateWithVelocity()
96 stateManager.setCurrentAnimation(anim, NORMAL); in animateWithVelocity()
DStaggeredWorkspaceAnim.java20 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/
DAllAppsSwipeController.java19 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/
DFontOptionsProvider.java56 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/
DQuickstepAtomicAnimationFactory.java22 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/
DNewVoicemailViewHolder.java240 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/
DLauncher.java34 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 …]
DLauncherState.java100 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/
DQuickstepLauncher.java25 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/
DConfirmDeviceCredentialBaseActivity.java43 NORMAL, enumConstant
79 mConfirmCredentialTheme = ConfirmCredentialTheme.NORMAL; in onCreate()
84 if (mConfirmCredentialTheme == ConfirmCredentialTheme.NORMAL) { in onCreate()
/packages/services/Car/car-lib/src/android/car/
DVehicleOilLevel.java33 public static final int NORMAL = 2; field in VehicleOilLevel
42 NORMAL,
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DLauncherRecentsView.java19 import static com.android.launcher3.LauncherState.NORMAL;
91 mActivity.getStateManager().goToState(NORMAL); in startHome()
122 if (finalState == NORMAL || finalState == SPRING_LOADED) { in onStateTransitionComplete()
DAllAppsEduView.java19 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/
DTaplTestsQuickstep.java150 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/
DShortcutMenuAccessibilityDelegate.java19 import static com.android.launcher3.LauncherState.NORMAL;
71 mLauncher.getStateManager().goToState(NORMAL, true, forSuccessCallback(() -> { in performAction()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DAccessibilityActionsView.java20 import static com.android.launcher3.LauncherState.NORMAL;
59 setImportantForAccessibility(finalState == NORMAL in onStateTransitionComplete()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrPrioritySettingsFragment.java254 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/
DDiscoveryBounce.java19 import static com.android.launcher3.LauncherState.NORMAL;
126 if (!launcher.isInState(NORMAL) in showForHomeIfNeeded()

1234