summaryrefslogtreecommitdiff
path: root/libs/input/PointerController.h
diff options
context:
space:
mode:
authorMichael Wright <michaelwr@google.com>2016-05-16 15:21:03 +0100
committerMichael Wright <michaelwr@google.com>2016-05-17 18:02:37 +0100
commit778e3b91acad6da04341d439f0c66a4fd09def4f (patch)
tree2c01c845476a9362e81725f3bd657ea50f8a1162 /libs/input/PointerController.h
parentf9d9ce7705475874c82af04eb9b208a7fb556792 (diff)
DO NOT MERGE Remove Pointer Capture API
The underlying implementation needs to be completely rethought. If a process crashed while you were in pointer capture mode, you were pretty much stuck in it. If the mouse happened to move outside of your bounds right before you called the API, you'd never actually get an event (whatever it was hovering over would). There's no easy way for the system to tell you when you enter or exit this mode because it doesn't actually track who the current request is from. These are all solvable, but not in the N time frame. Maybe next time. Bug: 26830970 Change-Id: I03efd63c499b86dc278491ca3284566c1965581f
Diffstat (limited to 'libs/input/PointerController.h')
-rw-r--r--libs/input/PointerController.h6
1 files changed, 0 insertions, 6 deletions
diff --git a/libs/input/PointerController.h b/libs/input/PointerController.h
index b47139adaf90..99292d7ca8a6 100644
--- a/libs/input/PointerController.h
+++ b/libs/input/PointerController.h
@@ -111,10 +111,6 @@ public:
void setInactivityTimeout(InactivityTimeout inactivityTimeout);
void reloadPointerResources();
- /* Detach or attach the pointer icon status. When detached, the pointer icon disappears
- * and the icon location does not change at all. */
- void detachPointerIcon(bool detached);
-
private:
static const size_t MAX_RECYCLED_SPRITES = 12;
static const size_t MAX_SPOTS = 12;
@@ -184,8 +180,6 @@ private:
int32_t buttonState;
- bool iconDetached;
-
Vector<Spot*> spots;
Vector<sp<Sprite> > recycledSprites;
} mLocked;