diff options
author | 2011-06-06 20:36:41 -0700 | |
---|---|---|
committer | 2011-06-06 20:36:41 -0700 | |
commit | 55cc25c12c45e8ffb65d2275cc0b6941b68db9df (patch) | |
tree | 3c71809640fb2f25c7f392c0be6a1cc0f5f3cd17 /services/input/PointerController.cpp | |
parent | 8b2c00144ac262a6fbdbbac1ed8dfe813b883f81 (diff) | |
parent | 797dc698e9ff85c1a09874cc3f7bfe825b2ff0e1 (diff) |
am 797dc698: am b92dcf9c: Merge "Simplify spot tracking logic. Bug: 4124987" into honeycomb-mr2
* commit '797dc698e9ff85c1a09874cc3f7bfe825b2ff0e1':
Simplify spot tracking logic. Bug: 4124987
Diffstat (limited to 'services/input/PointerController.cpp')
-rw-r--r-- | services/input/PointerController.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/services/input/PointerController.cpp b/services/input/PointerController.cpp index eecb76fa4bab..5e7713a2e559 100644 --- a/services/input/PointerController.cpp +++ b/services/input/PointerController.cpp @@ -240,15 +240,15 @@ void PointerController::setPresentation(Presentation presentation) { } } -void PointerController::setSpots(SpotGesture spotGesture, - const PointerCoords* spotCoords, const uint32_t* spotIdToIndex, BitSet32 spotIdBits) { +void PointerController::setSpots(const PointerCoords* spotCoords, + const uint32_t* spotIdToIndex, BitSet32 spotIdBits) { #if DEBUG_POINTER_UPDATES - LOGD("setSpots: spotGesture=%d", spotGesture); + LOGD("setSpots: idBits=%08x", spotIdBits.value); for (BitSet32 idBits(spotIdBits); !idBits.isEmpty(); ) { uint32_t id = idBits.firstMarkedBit(); idBits.clearBit(id); const PointerCoords& c = spotCoords[spotIdToIndex[id]]; - LOGD(" spot %d: position=(%0.3f, %0.3f), pressure=%0.3f", id, + LOGD(" spot %d: position=(%0.3f, %0.3f), pressure=%0.3f", id, c.getAxisValue(AMOTION_EVENT_AXIS_X), c.getAxisValue(AMOTION_EVENT_AXIS_Y), c.getAxisValue(AMOTION_EVENT_AXIS_PRESSURE)); |