Home
last modified time | relevance | path

Searched refs:addOnAttachStateChangeListener (Results 1 – 25 of 76) sorted by relevance

1234

/frameworks/base/packages/SystemUI/src/com/android/systemui/util/
DViewController.java82 addOnAttachStateChangeListener(mOnAttachStateListener); in init()
106 public void addOnAttachStateChangeListener(View.OnAttachStateChangeListener listener) { in addOnAttachStateChangeListener() method in ViewController
108 mView.addOnAttachStateChangeListener(listener); in addOnAttachStateChangeListener()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/charging/
DWiredChargingRippleControllerTest.kt93 verify(rippleView).addOnAttachStateChangeListener(attachListenerCaptor.capture()) in testTriggerRipple_UnlockedState()
132 verify(rippleView).addOnAttachStateChangeListener(ArgumentMatchers.any()) in testDebounceRipple()
141 verify(rippleView, never()).addOnAttachStateChangeListener(ArgumentMatchers.any()) in testDebounceRipple()
150 verify(rippleView, never()).addOnAttachStateChangeListener(ArgumentMatchers.any()) in testDebounceRipple()
156 verify(rippleView).addOnAttachStateChangeListener(ArgumentMatchers.any()) in testDebounceRipple()
173 verify(rippleView, never()).addOnAttachStateChangeListener(attachListenerCaptor.capture()) in testRipple_whenDocked_doesNotPlayRipple()
196 verify(rippleView).addOnAttachStateChangeListener(attachListenerCaptor.capture()) in testRipple_layoutsCorrectly()
/frameworks/base/core/java/com/android/internal/widget/remotecompose/player/platform/
DRemoteComposeCanvas.java49 addOnAttachStateChangeListener(this); in RemoteComposeCanvas()
56 addOnAttachStateChangeListener(this); in RemoteComposeCanvas()
64 addOnAttachStateChangeListener(this); in RemoteComposeCanvas()
/frameworks/base/core/java/android/view/autofill/
DAutofillPopupWindow.java179 public void addOnAttachStateChangeListener( in update()
181 anchor.addOnAttachStateChangeListener(listener); in update()
291 anchor.addOnAttachStateChangeListener(mOnAttachStateChangeListener); in attachToAnchor()
/frameworks/base/core/java/com/android/internal/view/
DOneShotPreDrawListener.java74 view.addOnAttachStateChangeListener(listener); in add()
/frameworks/base/core/java/android/view/accessibility/
DAccessibilityRequestPreparer.java74 view.addOnAttachStateChangeListener(new ViewAttachStateListener()); in AccessibilityRequestPreparer()
/frameworks/base/packages/SystemUI/animation/src/com/android/systemui/animation/back/
DOnBackAnimationCallbackExtension.kt84 addOnAttachStateChangeListener( in registerOnBackInvokedCallbackOnViewAttached()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/touch/
DTouchInsetManagerTest.java80 verify(view).addOnAttachStateChangeListener(listener.capture()); in testViewOnAttachedHandling()
109 verify(view).addOnAttachStateChangeListener(listener.capture()); in testViewOnDetachedHandling()
/frameworks/base/packages/SystemUI/src/com/android/systemui/smartspace/dagger/
DSmartspaceViewComponent.kt95 (ssView as View).addOnAttachStateChangeListener(onAttachListener) in create()
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/
DConfigurableTexts.java55 text.addOnAttachStateChangeListener(new OnAttachStateChangeListener() { in add()
/frameworks/base/apct-tests/perftests/contentcapture/src/android/view/contentcapture/
DCustomTestActivity.java60 getWindow().getDecorView().addOnAttachStateChangeListener( in onCreate()
/frameworks/base/packages/SystemUI/tests/src/com/android/keyguard/
DKeyguardClockSwitchControllerTest.java70 verify(mView).addOnAttachStateChangeListener(listenerArgumentCaptor.capture()); in testInit_viewNotYetAttached()
94 verify(mView).addOnAttachStateChangeListener(listenerArgumentCaptor.capture()); in testInit_viewDetached()
DKeyguardStatusViewControllerBaseTest.java116 verify(mKeyguardStatusView, atLeast(1)).addOnAttachStateChangeListener(captor.capture()); in givenViewAttached()
DKeyguardSliceViewControllerTest.java119 verify(mView).addOnAttachStateChangeListener(attachListenerArgumentCaptor.capture()); in onDetachedFromWindow_unregistersListeners()
/frameworks/base/core/tests/coretests/src/android/window/
DWindowContextTest.java129 testView.addOnAttachStateChangeListener(new View.OnAttachStateChangeListener() { in testCreateWindowContextNewTokenFromClient()
244 parentWindow.addOnAttachStateChangeListener(listener); in testWindowContextAddViewWithSubWindowType_NotCrash()
/frameworks/base/packages/SystemUI/src/com/android/systemui/media/taptotransfer/receiver/
DMediaTttReceiverRippleController.kt69 rippleView.addOnAttachStateChangeListener( in <lambda>()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DExpandableNotificationRowControllerTest.kt229 verify(view).addOnAttachStateChangeListener(capture()) in registerSettingsListener_forBubbles()
239 verify(view).addOnAttachStateChangeListener(capture()) in unregisterSettingsListener_forBubbles()
/frameworks/base/packages/SystemUI/src/com/android/systemui/screenshot/
DScreenshotShelfViewProxy.kt126 view.addOnAttachStateChangeListener( in <lambda>()
288 view.addOnAttachStateChangeListener( in <lambda>()
DLegacyScreenshotViewProxy.kt192 view.addOnAttachStateChangeListener( in addPredictiveBackListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/lifecycle/
DRepeatWhenAttached.kt101 addOnAttachStateChangeListener(onAttachListener) in <lambda>()
/frameworks/base/packages/SystemUI/plugin/bcsmartspace/src/com/android/systemui/plugins/
DBcSmartspaceDataPlugin.java90 default void addOnAttachStateChangeListener(View.OnAttachStateChangeListener listener) { in addOnAttachStateChangeListener() method
/frameworks/base/core/java/android/widget/
DForwardingListener.java62 src.addOnAttachStateChangeListener(this); in ForwardingListener()
/frameworks/base/packages/SystemUI/src/com/android/systemui/touch/
DTouchInsetManager.java85 view.addOnAttachStateChangeListener(mAttachListener); in addViewToTracking()
/frameworks/base/packages/SystemUI/src/com/android/systemui/charging/
DWiredChargingRippleController.kt158 rippleView.addOnAttachStateChangeListener(object : View.OnAttachStateChangeListener { in startRipple()
/frameworks/base/core/java/android/view/
DSyncRtSurfaceTransactionApplier.java148 targetView.addOnAttachStateChangeListener(new View.OnAttachStateChangeListener() { in create()

1234