Home
last modified time | relevance | path

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

12345

/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 …]
/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
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/safetycenter/ui/
DTextFadeAnimator.kt19 import android.transition.AutoTransition
20 import android.transition.Transition
21 import android.transition.TransitionListenerAdapter
22 import android.transition.TransitionManager
23 import android.transition.TransitionSet
47 var transition = variable
52 transition = transition.addTarget(targetId)
54 textChangeTransition = transition
78 override fun onTransitionEnd(transition: Transition?) { in animateChangeText()
102 override fun onTransitionEnd(transition: Transition?) { in fadeTextIn()
DIssueCardAnimator.kt26 import android.transition.Fade
27 import android.transition.Transition
28 import android.transition.TransitionListenerAdapter
29 import android.transition.TransitionManager
30 import android.transition.TransitionSet
71 override fun onTransitionEnd(transition: Transition) { in transitionToIssueResolvedThenMarkComplete()
72 super.onTransitionEnd(transition) in transitionToIssueResolvedThenMarkComplete()
152 override fun onTransitionEnd(transition: Transition) { in transitionResolvedIssueUiToHiddenAndMarkComplete()
153 super.onTransitionEnd(transition) in transitionResolvedIssueUiToHiddenAndMarkComplete()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/preview/ui/binder/
DSmallPreviewBinder.kt29 import androidx.transition.Transition in <lambda>()
30 import androidx.transition.TransitionListenerAdapter in <lambda>()
52 transition: Transition? = null, in <lambda>()
106 if (transition == null || transitionConfig == null) { in <lambda>()
119 override fun onTransitionStart(transition: Transition) { in <lambda>()
120 super.onTransitionStart(transition) in <lambda>()
123 transition.removeListener(this) in <lambda>()
127 transition.addListener(listener) in <lambda>()
129 transition.removeListener(listener) in <lambda>()
136 override fun onTransitionEnd(transition: Transition) { in <lambda>()
[all …]
DDualPreviewPagerBinder.kt25 import androidx.transition.Transition in <lambda>()
26 import androidx.transition.TransitionListenerAdapter in <lambda>()
49 transition: Transition?, in <lambda>()
65 if (transitionConfig != null && transition != null) { in <lambda>()
68 override fun onTransitionStart(transition: Transition) { in <lambda>()
69 super.onTransitionStart(transition) in <lambda>()
76 override fun onTransitionEnd(transition: Transition) { in <lambda>()
77 super.onTransitionEnd(transition) in <lambda>()
79 transition.removeListener(this) in <lambda>()
83 transition.addListener(listener) in <lambda>()
[all …]
DFullWallpaperPreviewBinder.kt36 import androidx.transition.Transition in <lambda>()
37 import androidx.transition.TransitionListenerAdapter in <lambda>()
68 transition: Transition?, in <lambda>()
99 if (transition == null || savedInstanceState != null) { in <lambda>()
105 override fun onTransitionStart(transition: Transition) { in <lambda>()
106 super.onTransitionStart(transition) in <lambda>()
118 override fun onTransitionEnd(transition: Transition) { in <lambda>()
119 super.onTransitionEnd(transition) in <lambda>()
123 transition.addListener(listener) in <lambda>()
125 listener.let { transition.removeListener(it) } in <lambda>()
DPreviewPagerBinder.kt28 import androidx.transition.Transition in <lambda>()
49 transition: Transition?, in <lambda>()
71 transition = transition, in <lambda>()
DPreviewSelectorBinder.kt22 import androidx.transition.Transition
39 transition: Transition?, in bind()
52 transition, in bind()
DDualPreviewSelectorBinder.kt21 import androidx.transition.Transition
40 transition: Transition?, in bind()
51 transition, in bind()
/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;
223 Transition transition = ti.inflateTransition(R.transition.transition_between_scenes); in initIfNeeded() local
224 setTransition(mChannelBannerScene, mKeypadChannelSwitchScene, transition); in initIfNeeded()
225 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.java27 import android.transition.Scene;
28 import android.transition.Slide;
29 import android.transition.Transition;
30 import android.transition.TransitionManager;
153 public void onTransitionStart(Transition transition) { in finish()
158 public void onTransitionEnd(Transition transition) { in finish()
159 transition.removeListener(this); in finish()
164 public void onTransitionCancel(Transition transition) { in finish()
168 public void onTransitionPause(Transition transition) { in finish()
172 public void onTransitionResume(Transition transition) { in finish()
/packages/modules/Connectivity/tests/unit/java/com/android/server/connectivity/
DLingerMonitorTest.java109 setNotificationSwitch(transition(WIFI, CELLULAR)); in testTransitions()
119 setNotificationSwitch(transition(WIFI, CELLULAR)); in testNotificationOnLinger()
130 setNotificationSwitch(transition(WIFI, CELLULAR)); in testToastOnLinger()
141 setNotificationSwitch(transition(WIFI, CELLULAR)); in testNotificationClearedAfterDisconnect()
155 setNotificationSwitch(transition(WIFI, CELLULAR)); in testNotificationClearedAfterSwitchingBack()
169 setNotificationSwitch(transition(WIFI, CELLULAR)); in testUniqueToast()
187 setNotificationSwitch(transition(WIFI, CELLULAR)); in testMultipleNotifications()
208 setNotificationSwitch(transition(WIFI, CELLULAR)); in testRateLimiting()
234 setNotificationSwitch(transition(WIFI, CELLULAR)); in testDailyLimiting()
259 setNotificationSwitch(transition(WIFI, CELLULAR)); in testUniqueNotification()
[all …]
/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/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/TvSystemUI/src/com/android/systemui/tv/privacy/
DTvPrivacyChipsController.java32 import android.transition.AutoTransition;
33 import android.transition.ChangeBounds;
34 import android.transition.Fade;
35 import android.transition.Transition;
36 import android.transition.TransitionManager;
37 import android.transition.TransitionSet;
191 public void onTransitionStart(Transition transition) { in TvPrivacyChipsController()
196 public void onTransitionEnd(Transition transition) { in TvPrivacyChipsController()
217 public void onTransitionCancel(Transition transition) { in TvPrivacyChipsController()
221 public void onTransitionPause(Transition transition) { in TvPrivacyChipsController()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/
DFloatingSheet.kt20 import android.transition.AutoTransition in <lambda>()
21 import android.transition.TransitionManager in <lambda>()
130 val transition = AutoTransition() in <lambda>() constant
131 transition.duration = shortAnimTimeMillis in <lambda>()
136 TransitionManager.beginDelayedTransition(floatingSheetContainer, transition) in <lambda>()
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DTimeZoneInfoPreferenceController.java135 ZoneOffsetTransition transition; in findNextDstTransition() local
137 transition = zoneRules.nextTransition(from); in findNextDstTransition()
138 if (transition == null) { in findNextDstTransition()
141 Instant to = transition.getInstant(); in findNextDstTransition()
148 return transition; in findNextDstTransition()
/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/
DConversationPriorityPreference.java27 import android.transition.AutoTransition;
28 import android.transition.TransitionManager;
143 AutoTransition transition = new AutoTransition(); in updateToggles() local
144 transition.setDuration(BUTTON_ANIM_TIME_MS); in updateToggles()
145 TransitionManager.beginDelayedTransition(parent, transition); in updateToggles()
DImportancePreference.java29 import android.transition.AutoTransition;
30 import android.transition.TransitionManager;
169 AutoTransition transition = new AutoTransition(); in setImportanceSummary() local
170 transition.setDuration(BUTTON_ANIM_TIME_MS); in setImportanceSummary()
171 TransitionManager.beginDelayedTransition(parent, transition); in setImportanceSummary()

12345