diff options
author | 2021-11-17 21:48:11 +0000 | |
---|---|---|
committer | 2021-11-17 21:48:11 +0000 | |
commit | 02b0545d02001ad152eeaf1ff35465345cbd5d4d (patch) | |
tree | 5a063b2f4a98dd27c56e31dfdecda66927e8e3a3 /libs/input/PointerController.h | |
parent | 3f6626e257046005dd5e4a070e7279e8ed83d294 (diff) |
Revert "Change PointerController to display space"
Revert "Change PointerController to display space"
Revert submission 16194643-pointer-controller-in-display-space
Reason for revert: b/206817973
Reverted Changes:
I764c070ad:Change PointerController to display space
I5e9e19c36:Change PointerController to display space
Change-Id: I615d343968b818f498e905bab7963106b4e62651
Diffstat (limited to 'libs/input/PointerController.h')
-rw-r--r-- | libs/input/PointerController.h | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/libs/input/PointerController.h b/libs/input/PointerController.h index 58bb01466d25..97567bab202b 100644 --- a/libs/input/PointerController.h +++ b/libs/input/PointerController.h @@ -72,8 +72,6 @@ public: void reloadPointerResources(); void onDisplayViewportsUpdated(std::vector<DisplayViewport>& viewports); - void onDisplayInfosChanged(const std::vector<gui::DisplayInfo>& displayInfos); - private: friend PointerControllerContext::LooperCallback; friend PointerControllerContext::MessageHandler; @@ -87,23 +85,9 @@ private: struct Locked { Presentation presentation; - std::vector<gui::DisplayInfo> mDisplayInfos; std::unordered_map<int32_t /* displayId */, TouchSpotController> spotControllers; } mLocked GUARDED_BY(mLock); - class DisplayInfoListener : public gui::WindowInfosListener { - public: - explicit DisplayInfoListener(PointerController& pc) : mPointerController(pc){}; - void onWindowInfosChanged(const std::vector<android::gui::WindowInfo>&, - const std::vector<android::gui::DisplayInfo>&) override; - - private: - PointerController& mPointerController; - }; - sp<DisplayInfoListener> mDisplayInfoListener; - - const ui::Transform& getTransformForDisplayLocked(int displayId) const REQUIRES(mLock); - PointerController(const sp<PointerControllerPolicyInterface>& policy, const sp<Looper>& looper, const sp<SpriteController>& spriteController); void clearSpotsLocked(); |