Home
last modified time | relevance | path

Searched refs:transition (Results 1 – 25 of 74) sorted by relevance

123

/packages/apps/TV/common/src/com/android/tv/common/ui/setup/
DSetupFragment.java22 import android.transition.Transition;
23 import android.transition.Transition.TransitionListener;
58 public void onTransitionStart(Transition transition) {
63 public void onTransitionEnd(Transition transition) {
69 public void onTransitionCancel(Transition transition) {}
72 public void onTransitionPause(Transition transition) {}
75 public void onTransitionResume(Transition transition) {}
128 public void setEnterTransition(Transition transition) { in setEnterTransition() argument
129 super.setEnterTransition(transition); in setEnterTransition()
130 if (transition != null) { in setEnterTransition()
[all …]
DSetupActivity.java26 import android.transition.Transition;
27 import android.transition.TransitionInflater;
96 .inflateTransition(R.transition.transition_action_background); in showFragment()
/packages/apps/TV/common/src/com/android/tv/common/ui/setup/animation/
DSetupAnimationHelper.java25 import android.transition.Transition;
26 import android.transition.TransitionSet;
112 FadeAndShortSlide transition = new FadeAndShortSlide(mSlideEdge, mParentIdForDelay); in build() local
113 transition.setDistance(mDistance); in build()
114 transition.setDuration(mDuration); in build()
117 transition.excludeTarget(id, true); in build()
120 return transition; in build()
125 public static void setLongDistance(FadeAndShortSlide transition) { in setLongDistance() argument
127 transition.setDistance(sFragmentTransitionLongDistance); in setLongDistance()
131 public static void setShortDistance(FadeAndShortSlide transition) { in setShortDistance() argument
[all …]
DTranslationAnimationCreator.java24 import android.transition.Transition;
25 import android.transition.TransitionValues;
56 Transition transition) { in createAnimation() argument
78 transition.addListener(listener); in createAnimation()
128 public void onTransitionStart(Transition transition) {} in onTransitionStart() argument
131 public void onTransitionEnd(Transition transition) { in onTransitionEnd() argument
136 public void onTransitionCancel(Transition transition) {} in onTransitionCancel() argument
139 public void onTransitionPause(Transition transition) {} in onTransitionPause() argument
142 public void onTransitionResume(Transition transition) {} in onTransitionResume() argument
DFadeAndShortSlide.java22 import android.transition.Fade;
23 import android.transition.Transition;
24 import android.transition.TransitionValues;
25 import android.transition.Visibility;
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/provisioning/
DTransitionAnimationHelper.java203 final TransitionScreenWrapper transition =
205 setupHeaderText(transition);
206 setupDescriptionText(transition);
207 setupAnimation(transition);
209 boolean isTextBasedEduScreen = transition.subHeaderIcon != 0;
212 transition.subHeaderIcon,
213 transition.subHeaderTitle,
214 transition.subHeader,
218 transition.secondarySubHeaderIcon,
219 transition.secondarySubHeaderTitle,
[all …]
/packages/apps/TV/src/com/android/tv/ui/
DTvTransitionManager.java22 import android.transition.Fade;
23 import android.transition.Scene;
24 import android.transition.Transition;
25 import android.transition.TransitionInflater;
26 import android.transition.TransitionManager;
27 import android.transition.TransitionSet;
28 import android.transition.TransitionValues;
219 Transition transition = ti.inflateTransition(R.transition.transition_between_scenes); in initIfNeeded() local
220 setTransition(mChannelBannerScene, mKeypadChannelSwitchScene, transition); in initIfNeeded()
221 setTransition(mChannelBannerScene, mSelectInputScene, transition); in initIfNeeded()
[all …]
DDetailsActivity.java24 import android.transition.Transition;
25 import android.transition.Transition.TransitionListener;
152 public void onTransitionStart(Transition transition) { in addTransitionListener()
157 public void onTransitionEnd(Transition transition) { in addTransitionListener()
165 public void onTransitionCancel(Transition transition) { in addTransitionListener()
171 public void onTransitionPause(Transition transition) { in addTransitionListener()
176 public void onTransitionResume(Transition transition) { in addTransitionListener()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DTransitionHelper.java21 import static com.google.android.setupdesign.transition.TransitionHelper.EXTRA_ACTIVITY_OPTIONS;
22 import static com.google.android.setupdesign.transition.TransitionHelper.TRANSITION_FADE;
23 import static com.google.android.setupdesign.transition.TransitionHelper.makeActivityOptions;
73 com.google.android.setupdesign.transition.TransitionHelper.applyForwardTransition(activity); in applyContentScreenTransitions()
74 com.google.android.setupdesign.transition.TransitionHelper in applyContentScreenTransitions()
88 com.google.android.setupdesign.transition.TransitionHelper in applyWaitingScreenTransitions()
106 mHandler.post(() -> com.google.android.setupdesign.transition.TransitionHelper in startActivityWithTransition()
109 mHandler.post(() -> com.google.android.setupdesign.transition.TransitionHelper in startActivityWithTransition()
129 mHandler.post(() -> com.google.android.setupdesign.transition.TransitionHelper in startActivityForResultWithTransition()
133 mHandler.post(() -> com.google.android.setupdesign.transition.TransitionHelper in startActivityForResultWithTransition()
[all …]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DTvSettingsActivity.java23 import android.transition.Scene;
24 import android.transition.Slide;
25 import android.transition.Transition;
26 import android.transition.TransitionManager;
127 public void onTransitionStart(Transition transition) { in finish()
132 public void onTransitionEnd(Transition transition) { in finish()
133 transition.removeListener(this); in finish()
138 public void onTransitionCancel(Transition transition) { in finish()
142 public void onTransitionPause(Transition transition) { in finish()
146 public void onTransitionResume(Transition transition) { in finish()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DLingerMonitorTest.java106 setNotificationSwitch(transition(WIFI, CELLULAR)); in testTransitions()
116 setNotificationSwitch(transition(WIFI, CELLULAR)); in testNotificationOnLinger()
127 setNotificationSwitch(transition(WIFI, CELLULAR)); in testToastOnLinger()
138 setNotificationSwitch(transition(WIFI, CELLULAR)); in testNotificationClearedAfterDisconnect()
152 setNotificationSwitch(transition(WIFI, CELLULAR)); in testNotificationClearedAfterSwitchingBack()
166 setNotificationSwitch(transition(WIFI, CELLULAR)); in testUniqueToast()
184 setNotificationSwitch(transition(WIFI, CELLULAR)); in testMultipleNotifications()
205 setNotificationSwitch(transition(WIFI, CELLULAR)); in testRateLimiting()
231 setNotificationSwitch(transition(WIFI, CELLULAR)); in testDailyLimiting()
256 setNotificationSwitch(transition(WIFI, CELLULAR)); in testUniqueNotification()
[all …]
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DTimeZoneInfoPreferenceController.java115 TimeZoneTransition transition = basicTimeZone.getNextTransition( in findNextDstTransition() local
118 if (transition.getTo().getDSTSavings() != transition.getFrom().getDSTSavings()) { in findNextDstTransition()
121 transition = basicTimeZone.getNextTransition( in findNextDstTransition()
122 transition.getTime(), /*inclusive */ false); in findNextDstTransition()
123 } while (transition != null); in findNextDstTransition()
124 return transition; in findNextDstTransition()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DHeaderCell.java54 LayoutTransition transition = getLayoutTransition(); in HeaderCell() local
55 transition.setDuration(ANIMATION_DURATION); in HeaderCell()
56 transition.setStartDelay(LayoutTransition.CHANGE_APPEARING, 0); in HeaderCell()
57 transition.setStartDelay(LayoutTransition.CHANGE_DISAPPEARING, 0); in HeaderCell()
58 transition.setStartDelay(LayoutTransition.CHANGING, 0); in HeaderCell()
/packages/apps/Messaging/src/com/android/messaging/ui/contact/
DContactPickerFragment.java31 import android.transition.Explode;
32 import android.transition.Transition;
33 import android.transition.Transition.EpicenterCallback;
34 import android.transition.TransitionManager;
510 final Explode transition = new Explode(); in startExplodeTransitionForContactLists() local
513 transition.setDuration(UiUtils.COMPOSE_TRANSITION_DURATION); in startExplodeTransitionForContactLists()
514 transition.setInterpolator(UiUtils.EASE_IN_INTERPOLATOR); in startExplodeTransitionForContactLists()
515 transition.setEpicenterCallback(new EpicenterCallback() { in startExplodeTransitionForContactLists()
517 public Rect onGetEpicenter(final Transition transition) { in startExplodeTransitionForContactLists()
526 transition); in startExplodeTransitionForContactLists()
/packages/apps/Settings/src/com/android/settings/notification/app/
DImportancePreference.java29 import android.transition.AutoTransition;
30 import android.transition.Transition;
31 import android.transition.TransitionManager;
167 AutoTransition transition = new AutoTransition(); in setImportanceSummary() local
168 transition.setDuration(BUTTON_ANIM_TIME_MS); in setImportanceSummary()
169 TransitionManager.beginDelayedTransition(parent, transition); in setImportanceSummary()
DConversationPriorityPreference.java28 import android.transition.AutoTransition;
29 import android.transition.TransitionManager;
142 AutoTransition transition = new AutoTransition(); in updateToggles() local
143 transition.setDuration(BUTTON_ANIM_TIME_MS); in updateToggles()
144 TransitionManager.beginDelayedTransition(parent, transition); in updateToggles()
/packages/apps/DeskClock/src/com/android/deskclock/widget/
DEmptyViewController.kt19 import android.transition.Fade
20 import android.transition.Transition
21 import android.transition.TransitionManager
22 import android.transition.TransitionSet
/packages/apps/TV/src/com/android/tv/dvr/ui/
DFadeBackground.java26 import android.transition.Transition;
27 import android.transition.TransitionValues;
28 import android.transition.Visibility;
DChangeImageTransformWithScaledParent.java23 import android.transition.ChangeImageTransform;
24 import android.transition.TransitionValues;
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DExpandingEntryCardView.java33 import android.transition.ChangeBounds;
34 import android.transition.Fade;
35 import android.transition.Transition;
36 import android.transition.Transition.TransitionListener;
37 import android.transition.TransitionManager;
38 import android.transition.TransitionSet;
796 public void onTransitionStart(Transition transition) { in expand()
801 public void onTransitionEnd(Transition transition) { in expand()
806 public void onTransitionCancel(Transition transition) { in expand()
810 public void onTransitionPause(Transition transition) { in expand()
[all …]
/packages/apps/Contacts/src/com/android/contacts/util/
DImageViewDrawableSetter.java119 final TransitionDrawable transition = new TransitionDrawable(beforeAndAfter); in setCompressedImage() local
120 mTarget.setImageDrawable(transition); in setCompressedImage()
121 transition.startTransition(mDurationInMillis); in setCompressedImage()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DStateMachine.java238 for (Transition transition : mTransitionMap.get(currentState)) { in updateState()
239 if (transition.event == event) { in updateState()
240 next = transition.destination; in updateState()
/packages/apps/Car/libs/car-apps-common/src/com/android/car/apps/common/
DControlBar.java24 import android.transition.ChangeBounds;
25 import android.transition.Fade;
26 import android.transition.TransitionManager;
27 import android.transition.TransitionSet;
/packages/apps/Launcher3/src/com/android/launcher3/
DPagedView.java628 final LayoutTransition transition = getLayoutTransition(); in onLayout() local
631 if (transition != null && transition.isRunning()) { in onLayout()
632 transition.addTransitionListener(new LayoutTransition.TransitionListener() { in onLayout()
635 public void startTransition(LayoutTransition transition, ViewGroup container, in onLayout()
639 public void endTransition(LayoutTransition transition, ViewGroup container, in onLayout()
642 if (!transition.isRunning()) { in onLayout()
643 transition.removeTransitionListener(this); in onLayout()
/packages/apps/Bluetooth/src/com/android/bluetooth/btservice/
DBondStateMachine.java310 private boolean removeBond(BluetoothDevice dev, boolean transition) { in removeBond() argument
317 if (transition) { in removeBond()
328 OobData remoteP256Data, boolean transition) { in createBond() argument
356 } else if (transition) { in createBond()

123