Home
last modified time | relevance | path

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

12345678910>>...13

/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/
DBootCompleteCacheTest.kt69 val boot = bootCompleteCache.addListener(bootCompleteListener) in testAddListenerGivesCurrentState_false()
76 val boot = bootCompleteCache.addListener(bootCompleteListener) in testAddListenerGivesCurrentState_true()
82 bootCompleteCache.addListener(bootCompleteListener) in testListenerCalledOnBootComplete()
90 bootCompleteCache.addListener(bootCompleteListener) in testListenerCalledOnBootComplete_onlyOnce()
102 bootCompleteCache.addListener(bootCompleteListener) in testListenerNotCalledIfBootIsAlreadyComplete()
111 bootCompleteCache.addListener(bootCompleteListener) in testListenerRemovedNotCalled()
/frameworks/base/core/tests/coretests/src/android/animation/
DValueAnimatorTests.java125 a1.addListener(l1); in testListenerCallbacks()
126 a2.addListener(l2); in testListenerCallbacks()
421 a1.addListener(l1);
422 a2.addListener(l2);
423 a1.addListener(new MyListener() {
429 a2.addListener(new MyListener() {
477 a1.addListener(l1);
480 a2.addListener(l2);
557 a1.addListener(listener);
601 a2.addListener(listener);
[all …]
DEventsTest.java242 mAnimator.addListener(listener); in setUp()
366 mAnimator.addListener(mFutureListener); in testPlayingCancel()
387 mAnimator.addListener(mFutureListener); in testPlayingEnd()
409 mAnimator.addListener(mFutureListener); in testPlayingDelayedCancel()
431 mAnimator.addListener(mFutureListener); in testPlayingDelayedEnd()
591 mAnimator.addListener(mFutureListener); in testPauseResume()
616 mAnimator.addListener(mFutureListener); in testPauseResumeDelayed()
640 mAnimator.addListener(mFutureListener); in testPauseTimeout()
667 mAnimator.addListener(mFutureListener); in testPauseTimeoutDelayed()
DAnimatorSetActivityTest.java246 s.addListener(listener);
272 s.addListener(listener);
298 s.addListener(listener);
330 s.addListener(l); in testStart()
336 animators.get(i).addListener(listener); in testStart()
381 s.addListener(l); in testCancel()
387 animators.get(i).addListener(listener); in testCancel()
434 s.addListener(listener); in testIsRunning()
500 s1.addListener(l1); in testClone()
515 s2.addListener(l2); in testClone()
[all …]
DAutoCancelTest.java62 returnVal.addListener(mCanceledListener); in setupAnimator()
79 animX2.addListener(new AnimatorListenerAdapter() { in setupAnimators()
94 animXY2.addListener(new AnimatorListenerAdapter() { in setupAnimators()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/
DMediaDataCombineLatest.kt34 dataSource.addListener(object : MediaDataManager.Listener { in <lambda>()
49 deviceSource.addListener(object : MediaDeviceManager.Listener { in <lambda>()
74 fun addListener(listener: MediaDataManager.Listener) = listeners.add(listener) in <lambda>() method
DMediaDataFilter.kt62 dataSource.addListener(this) in <lambda>()
147 fun addListener(listener: MediaDataManager.Listener) = listeners.add(listener) in <lambda>() method
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DKeyButtonRipple.java306 scaleAnimator.addListener(mAnimatorListener); in enterSoftware()
321 alphaAnimator.addListener(mAnimatorListener); in exitSoftware()
393 startAnim.addListener(mAnimatorListener); in enterHardware()
401 endAnim.addListener(mAnimatorListener); in enterHardware()
402 endAnim.addListener(mEnterHwTraceAnimator); in enterHardware()
443 opacityAnim.addListener(mAnimatorListener); in exitHardware()
444 opacityAnim.addListener(mExitHwTraceAnimator); in exitHardware()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/
DMediaDataManagerTest.kt117 mediaDataManager.addListener(listener) in testOnMetaDataLoaded_callsListener()
128 mediaDataManager.addListener(listener) in testOnMetaDataLoaded_conservesActiveFlag()
138 mediaDataManager.addListener(listener) in testOnNotificationRemoved_callsListener()
150 mediaDataManager.addListener(listener) in testOnNotificationRemoved_withResumption()
172 mediaDataManager.addListener(listener) in testOnNotificationRemoved_twoWithResumption()
202 mediaDataManager.addListener(listener) in testAddResumptionControls()
DMediaDataCombineLatestTest.java81 mManager.addListener(mListener); in setUp()
178 verify(mDataSource).addListener(captor.capture()); in captureDataListener()
185 verify(mDeviceSource).addListener(captor.capture()); in captureDeviceListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
DQSDetailClipper.java63 mAnimator.addListener(listener); in animateCircularClip()
67 mAnimator.addListener(mVisibleOnStart); in animateCircularClip()
70 mAnimator.addListener(mGoneOnEnd); in animateCircularClip()
/frameworks/base/core/tests/coretests/src/android/transition/
DFadeTransitionTest.java80 fadeOut.addListener(fadeOutValueCheck); in testFadeOutInterrupt()
87 fadeIn.addListener(fadeInValueCheck); in testFadeOutInterrupt()
113 fadeIn.addListener(fadeInValueCheck); in testFadeInInterrupt()
120 fadeOut.addListener(fadeOutValueCheck); in testFadeInInterrupt()
177 transition.addListener(latch); in setVisibilityInTransition()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DKeyguardAffordanceView.java245 animatorToRadius.addListener(new AnimatorListenerAdapter() { in finishAnimation()
263 mPreviewClipper.addListener(mClipEndListener); in finishAnimation()
394 mPreviewClipper.addListener(mClipEndListener); in setCircleRadius()
395 mPreviewClipper.addListener(new AnimatorListenerAdapter() { in setCircleRadius()
419 animator.addListener(mCircleEndListener); in getAnimatorToRadius()
458 animator.addListener(mScaleEndListener); in setImageScale()
511 animator.addListener(mAlphaEndListener); in setImageAlpha()
525 animator.addListener(getEndListener(runnable)); in setImageAlpha()
/frameworks/base/packages/CarSystemUI/src/com/android/systemui/car/userswitcher/
DUserSwitchTransitionViewMediator.java51 mCarServiceProvider.addListener(car -> { in registerListeners()
57 carUserManager.addListener(Runnable::run, this::handleUserLifecycleEvent); in registerListeners()
/frameworks/base/location/java/android/location/
DAbstractListenerManager.java100 public boolean addListener(@NonNull TListener listener, @NonNull Handler handler) in addListener() method in AbstractListenerManager
105 public boolean addListener(@NonNull TListener listener, @NonNull Executor executor) in addListener() method in AbstractListenerManager
110 public boolean addListener(@Nullable TRequest request, @NonNull TListener listener, in addListener() method in AbstractListenerManager
115 public boolean addListener(@Nullable TRequest request, @NonNull TListener listener, in addListener() method in AbstractListenerManager
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
DPasswordTextView.java582 widthAnimator.addListener(widthFinishListener); in startWidthDisappearAnimation()
583 widthAnimator.addListener(removeEndListener); in startWidthDisappearAnimation()
594 textAnimator.addListener(textFinishListener); in startTextDisappearAnimation()
606 animator.addListener(dotFinishListener); in startDotDisappearAnimation()
620 widthAnimator.addListener(widthFinishListener); in startWidthAppearAnimation()
630 textAnimator.addListener(textFinishListener); in startTextAppearAnimation()
640 textTranslateAnimator.addListener(textTranslateFinishListener); in startTextAppearAnimation()
662 settleBackAnimator.addListener(dotFinishListener); in startDotAppearAnimation()
672 growAnimator.addListener(dotFinishListener); in startDotAppearAnimation()
/frameworks/base/core/java/android/transition/
DChangeText.java194 anim.addListener(new AnimatorListenerAdapter() { in createAnimator()
221 outAnim.addListener(new AnimatorListenerAdapter() { in createAnimator()
247 inAnim.addListener(new AnimatorListenerAdapter() { in createAnimator()
300 addListener(transitionListener); in createAnimator()
/frameworks/base/native/android/
Dthermal.cpp53 status_t addListener(AThermal_StatusCallback, void *data);
107 status_t AThermalManager::addListener(AThermal_StatusCallback callback, void *data) { in addListener() function in AThermalManager
242 return manager->addListener(callback, data); in AThermal_registerThermalStatusListener()
/frameworks/base/core/java/com/android/internal/widget/
DAbsActionBarView.java213 set.addListener(mVisAnimListener.withFinalVisibility(visibility)); in setupAnimatorToVisibility()
217 anim.addListener(mVisAnimListener.withFinalVisibility(visibility)); in setupAnimatorToVisibility()
228 set.addListener(mVisAnimListener.withFinalVisibility(visibility)); in setupAnimatorToVisibility()
232 anim.addListener(mVisAnimListener.withFinalVisibility(visibility)); in setupAnimatorToVisibility()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/stack/
DViewState.java365 animator.addListener(new AnimatorListenerAdapter() { in startAlphaAnimation()
398 animator.addListener(listener); in startAlphaAnimation()
456 animator.addListener(listener); in startZTranslationAnimation()
459 animator.addListener(new AnimatorListenerAdapter() { in startZTranslationAnimation()
522 animator.addListener(listener); in startXTranslationAnimation()
525 animator.addListener(new AnimatorListenerAdapter() { in startXTranslationAnimation()
588 animator.addListener(listener); in startYTranslationAnimation()
591 animator.addListener(new AnimatorListenerAdapter() { in startYTranslationAnimation()
DExpandableViewState.java269 animator.addListener(listener); in startHeightAnimation()
272 animator.addListener(new AnimatorListenerAdapter() { in startHeightAnimation()
350 animator.addListener(listener); in startInsetAnimation()
353 animator.addListener(new AnimatorListenerAdapter() { in startInsetAnimation()
/frameworks/base/services/tests/mockingservicestests/src/com/android/server/location/
DUserInfoHelperTest.java93 mHelper.addListener(listener); in testListener_SwitchUser()
115 mHelper.addListener(listener); in testListener_StartUser()
127 mHelper.addListener(listener); in testListener_StopUser()
/frameworks/base/tests/HwAccelerationTest/src/com/android/test/hwui/
DRevealActivity.java88 animator.addListener(mListener); in onClick()
96 set.addListener(mListener); in onClick()
/frameworks/base/services/core/java/com/android/server/location/
DSettingsHelper.java164 mLocationMode.addListener(listener); in addOnLocationEnabledChangedListener()
187 mBackgroundThrottleIntervalMs.addListener(listener); in addOnBackgroundThrottleIntervalChangedListener()
236 mBackgroundThrottlePackageWhitelist.addListener(listener); in addOnBackgroundThrottlePackageWhitelistChangedListener()
260 mIgnoreSettingsPackageWhitelist.addListener(listener); in addOnIgnoreSettingsPackageWhitelistChangedListener()
403 public void addListener(UserSettingChangedListener listener) { in addListener() method in SettingsHelper.ObservingSetting
/frameworks/base/packages/SystemUI/src/com/android/systemui/
DBootCompleteCache.kt21 fun addListener(listener: BootCompleteListener): Boolean in isBootComplete() method

12345678910>>...13