Home
last modified time | relevance | path

Searched refs:mWindowInfoListener (Results 1 – 4 of 4) sorted by relevance

/frameworks/native/services/inputflinger/
DPointerChoreographer.cpp147 if (mWindowInfoListener == nullptr) { in ~PointerChoreographer()
150 mWindowInfoListener->onPointerChoreographerDestroyed(); in ~PointerChoreographer()
151 mUnregisterListener(mWindowInfoListener); in ~PointerChoreographer()
451 if (requireListener && mWindowInfoListener == nullptr) { in onControllerAddedOrRemovedLocked()
452 mWindowInfoListener = sp<PointerChoreographerDisplayInfoListener>::make(this); in onControllerAddedOrRemovedLocked()
453 mWindowInfoListener->setInitialDisplayInfos(mRegisterListener(mWindowInfoListener)); in onControllerAddedOrRemovedLocked()
454 onPrivacySensitiveDisplaysChangedLocked(mWindowInfoListener->getPrivacySensitiveDisplays()); in onControllerAddedOrRemovedLocked()
455 } else if (!requireListener && mWindowInfoListener != nullptr) { in onControllerAddedOrRemovedLocked()
456 mUnregisterListener(mWindowInfoListener); in onControllerAddedOrRemovedLocked()
457 mWindowInfoListener = nullptr; in onControllerAddedOrRemovedLocked()
[all …]
DPointerChoreographer.h170 sp<PointerChoreographerDisplayInfoListener> mWindowInfoListener GUARDED_BY(mLock);
/frameworks/native/services/inputflinger/dispatcher/
DInputDispatcher.h361 sp<gui::WindowInfosListener> mWindowInfoListener; variable
DInputDispatcher.cpp932 mWindowInfoListener = sp<DispatcherWindowListener>::make(*this); in InputDispatcher()
934 SurfaceComposerClient::getDefault()->addWindowInfosListener(mWindowInfoListener); in InputDispatcher()