Home
last modified time | relevance | path

Searched refs:addListener (Results 1 – 25 of 50) sorted by relevance

12

/cts/tests/fragment/src/android/fragment/cts/
DTransitionFragment.java56 enterTransition.addListener(mListener); in TransitionFragment()
57 sharedElementEnter.addListener(mListener); in TransitionFragment()
58 reenterTransition.addListener(mListener); in TransitionFragment()
59 exitTransition.addListener(mListener); in TransitionFragment()
60 returnTransition.addListener(mListener); in TransitionFragment()
61 sharedElementReturn.addListener(mListener); in TransitionFragment()
/cts/tests/tests/transition/src/android/transition/cts/
DTargetActivity.java103 enterTransition.addListener(excludeVisibilityCheck); in onCreate()
104 returnTransition.addListener(excludeVisibilityCheck); in onCreate()
111 enterTransition.addListener(enterListener); in onCreate()
112 returnTransition.addListener(returnListener); in onCreate()
DTransitionSetTest.java58 fade.addListener(fadeListener); in testTransitionTogether()
62 changeBounds.addListener(changeBoundsListener); in testTransitionTogether()
84 fade.addListener(fadeListener); in testTransitionSequentially()
88 changeBounds.addListener(changeBoundsListener); in testTransitionSequentially()
DBaseTransitionTest.java74 mTransition.addListener(mListener); in setup()
150 mTransition.addListener(mListener); in resetListener()
DTransitionTest.java95 autoTransition.addListener(listener2); in testAddListener()
119 mTransition.addListener(listener); in testRemoveListener()
284 mTransition.addListener(new TransitionListener() { in testCanRemoveViews()
444 mTransition.addListener(durationListener); in testDuration()
572 transition2.addListener(listener2); in testForceToEndTransitionsDependedEachOther()
585 transition1.addListener(listener1); in testForceToEndTransitionsDependedEachOther()
760 animator.addListener(listener); in setupAnimator()
DActivityTransitionTest.java84 mExitTransition.addListener(mExitListener); in setTransitions()
89 mReenterTransition.addListener(mReenterListener); in setTransitions()
94 mSharedElementReenterTransition.addListener(mSharedElementReenterListener); in setTransitions()
288 fade.addListener(mExitListener); in earlyExitStop()
430 mExitTransition.addListener(redSquareValidator); in untargetedViews()
431 mReenterTransition.addListener(redSquareValidator); in untargetedViews()
DSlideEdgeTest.java79 slide.addListener(listener); in testSlideOut()
135 slide.addListener(listener); in testSlideIn()
/cts/tests/tests/animation/src/android/animation/cts/
DAnimatorSetTest.java151 animators[i].addListener(listeners[i]); in verifySequentialPlayOrder()
157 set.addListener(new MyListener() { in verifySequentialPlayOrder()
197 animators[i].addListener(listeners[i]); in verifySequentialPlayOrder()
286 set.addListener(listener); in testListenerCallbackOnEmptySet()
301 a1.addListener(new AnimatorListenerAdapter() { in testPauseAndResume()
320 set.addListener(l1); in testPauseAndResume()
321 delayedSet.addListener(l2); in testPauseAndResume()
365 set.addListener(listener); in testPauseBeforeStart()
446 a1.addListener(listener1); in testReverseWithStartDelay()
453 a2.addListener(listener); in testReverseWithStartDelay()
[all …]
DAnimatorTest.java180 mAnimator.addListener(listener); in testSetListener()
203 mAnimator.addListener(listener); in testRemoveListener()
217 mAnimator.addListener(listener1); in testRemoveAllListenerers()
218 mAnimator.addListener(listener2); in testRemoveAllListenerers()
242 animator.addListener(listener); in testNullObjectAnimator()
DValueAnimatorTest.java162 anim.addListener(listener); in testListenerCallbackWithStartDelay()
272 anim.addListener(listener); in testSetCurrentPlayTimeAfterStart()
273 anim.addListener(myListener); in testSetCurrentPlayTimeAfterStart()
368 a1.addListener(listener); in testUpdateListeners()
369 a1.addListener(myListener); in testUpdateListeners()
411 a1.addListener(l1); in testValuesSetterAndGetter()
412 a1.addListener(myListener); in testValuesSetterAndGetter()
449 a1.addListener(l1); in testSetObjectValues()
450 a1.addListener(myListener); in testSetObjectValues()
512 animator.addListener(new AnimatorListenerAdapter() { in testGetAnimatedFraction()
[all …]
DObjectAnimatorTest.java177 intAnimator.addListener(mockListener); in testOfInt()
212 colorAnimator.addListener(mockListener); in testOfObject()
273 intAnimator.addListener(mockListener); in testOfPropertyValuesHolder()
312 animator.addListener(mockListener); in testOfArgb()
328 anim.addListener(listener); in testNullObject()
473 anim.addListener(listener); in testOfFloat_Path()
528 anim.addListener(new AnimatorListenerAdapter() { in testOfInt_Path()
592 anim.addListener(listener); in testOfMultiFloat_Path()
616 anim.addListener(new AnimatorListenerAdapter() { in testOfMultiFloat()
693 anim.addListener(listener); in testOfMultiInt_Path()
[all …]
DPropertyValuesHolderTest.java158 objectAnimator.addListener(listener); in waitUntilFinished()
379 anim.addListener(listener); in testOfMultiFloat_Path()
400 anim.addListener(new AnimatorListenerAdapter() { in testOfMultiFloat_Array()
473 anim.addListener(listener); in testOfMultiInt_Path()
494 anim.addListener(new AnimatorListenerAdapter() { in testOfMultiInt_Array()
557 anim1.addListener(new AnimatorListenerAdapter() { in testOfObject_Converter()
569 anim2.addListener(new AnimatorListenerAdapter() { in testOfObject_Converter()
591 anim3.addListener(new AnimatorListenerAdapter() { in testOfObject_Converter()
662 anim1.addListener(new AnimatorListenerAdapter() { in testSetConverter()
681 anim2.addListener(new AnimatorListenerAdapter() { in testSetConverter()
/cts/tests/tests/app.usage/src/android/app/usage/cts/
DActivityTransitionActivity.java118 getWindow().getReenterTransition().addListener(new TransitionListenerAdapter() { in onCreate()
138 transition.addListener(new VisibilityCheck(R.id.redSquare, visibility)); in createVisibilityTransition()
145 transition.addListener(new VisibilityCheck(R.id.redSquare, propertyName)); in createVisibilityTransition()
198 getWindow().getEnterTransition().addListener(new TransitionListener() { in startTest()
/cts/tests/tests/mediacujtest/common/src/android/media/cujcommon/cts/
DScrollTestActivity.java138 mSecondPlayer.addListener(listener); in addPlayerListener()
139 mFirstPlayer.addListener(listener); in addPlayerListener()
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/base/
DSensorCtsTestResult.java62 public void addListener(TestListener testListener) { in addListener() method in SensorCtsTestResult
63 mWrappedTestResult.addListener(testListener); in addListener()
/cts/hostsidetests/devicepolicy/app/DeviceOwner/src/com/android/cts/deviceowner/
DNotificationListener.java50 public void addListener(Consumer<StatusBarNotification> listener) { in addListener() method in NotificationListener
/cts/hostsidetests/devicepolicy/app/ManagedProfile/src/com/android/cts/managedprofile/
DNotificationListener.java53 public void addListener(Consumer<StatusBarNotification> listener) { in addListener() method in NotificationListener
DWipeDataNotificationTest.java76 NotificationListener.getInstance().addListener((notification) -> { in initWipeNotificationLatch()
/cts/hostsidetests/devicepolicy/app/DeviceAndProfileOwner/src/com/android/cts/deviceandprofileowner/
DNotificationListener.java59 public void addListener(Consumer<StatusBarNotification> listener) { in addListener() method in NotificationListener
/cts/tests/tests/car/src/android/car/cts/
DCarUserManagerTest.java153 mCarUserManager.addListener(Runnable::run, listenerForVisible); in testStartUserOnDisplayAndStopUser()
154 mCarUserManager.addListener(Runnable::run, listenerForStarting); in testStartUserOnDisplayAndStopUser()
155 mCarUserManager.addListener(Runnable::run, listenerForInvisible); in testStartUserOnDisplayAndStopUser()
251 mCarUserManager.addListener(Runnable::run, listener); in testLifecycleUserCreatedListener_supportedVersion()
298 mCarUserManager.addListener(Runnable::run, listener); in testLifecycleUserRemovedListener_supportedVersion()
DCarServiceHelperServiceUpdatableTest.java117 carUserManager.addListener(Runnable::run, listener); in testSendUserLifecycleEventAndOnUserCreated()
164 carUserManager.addListener(Runnable::run, listener); in testSendUserLifecycleEventAndOnUserRemoved()
/cts/tests/tests/graphics/src/android/graphics/cts/
DAnimatorLeakTest.java150 infiniteAnimator.addListener(listener); in testPauseResume()
242 infiniteAnimator.addListener(listener); in testPauseDisablement()
/cts/tests/core/runner-axt/src/com/android/cts/core/runner/support/
DSingleTestNgTestExecutor.java81 testng.addListener(listener); in createTestNG()
/cts/tests/framework/base/windowmanager/util/src/android/server/wm/
DWindowInsetsAnimationUtils.java95 animator.addListener(new AnimatorListenerAdapter() { in runTransition()
/cts/tests/tests/car_permission_tests/src/android/car/cts/permissiontest/user/
DCarUserManagerPermissionTest.java157 () -> mCarUserManager.addListener(Runnable::run, listener)); in testAddListenerPermission()
166 (um) -> um.addListener(Runnable::run, listener)); in testRemoveListenerPermission()

12