~robertcarr/mir/add-log-all-option

« back to all changes in this revision

Viewing changes to 3rd_party/android-input/android/frameworks/base/services/input/PointerController.h

  • Committer: Tarmac
  • Author(s): Daniel d'Andrada
  • Date: 2013-11-04 07:41:55 UTC
  • mfrom: (1154.2.3 touchIds)
  • Revision ID: tarmac-20131104074155-x9zwch49ocuq6lcy
android-input - Assign more unique touch ids

Have touch ids remain valid for some time after its touches have physically ended,
so one can still refer to a touch that has already ended.

Approved by Daniel van Vugt, PS Jenkins bot, Robert Carr.

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
#define _UI_POINTER_CONTROLLER_H
19
19
 
20
20
#include <androidfw/Input.h>
21
 
#include <std/BitSet.h>
22
21
#include <std/Mutex.h>
23
22
#include <std/RefBase.h>
24
23
#include <std/String8.h>
104
103
     * For spotCoords, pressure != 0 indicates that the spot's location is being
105
104
     * pressed (not hovering).
106
105
     */
107
 
    virtual void setSpots(const PointerCoords* spotCoords, const uint32_t* spotIdToIndex,
108
 
            BitSet32 spotIdBits) = 0;
 
106
    virtual void setSpots(const PointerCoords* spotCoords, uint32_t spotCount) = 0;
109
107
 
110
108
    /* Removes all spots. */
111
109
    virtual void clearSpots() = 0;
139
137
    virtual void unfade(Transition transition);
140
138
 
141
139
    virtual void setPresentation(Presentation presentation);
142
 
    virtual void setSpots(const PointerCoords* spotCoords,
143
 
            const uint32_t* spotIdToIndex, BitSet32 spotIdBits);
 
140
    virtual void setSpots(const PointerCoords* spotCoords, uint32_t spotCount);
144
141
    virtual void clearSpots();
145
142
 
146
143
    void setDisplaySize(int32_t width, int32_t height);