summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorJeff Brown <jeffbrown@google.com>2010-08-18 13:38:32 -0700
committerAndroid (Google) Code Review <android-gerrit@google.com>2010-08-18 13:38:32 -0700
commit36cb115c771d8724a49512d5f4def534c731992b (patch)
treec74a82ab52f2729b99e5bf3d4b517739666f72ce /include
parent30b98abcf1c1ff3255148e0b0eba3bd41b2c6f71 (diff)
parentd64c855821457515d1da78dfac65af8306b53343 (diff)
downloadframeworks_native-36cb115c771d8724a49512d5f4def534c731992b.zip
frameworks_native-36cb115c771d8724a49512d5f4def534c731992b.tar.gz
frameworks_native-36cb115c771d8724a49512d5f4def534c731992b.tar.bz2
Merge "Fix some input device mapping bugs with certain drivers." into gingerbread
Diffstat (limited to 'include')
-rw-r--r--include/ui/InputReader.h18
1 files changed, 4 insertions, 14 deletions
diff --git a/include/ui/InputReader.h b/include/ui/InputReader.h
index 71c6c51..56d2765 100644
--- a/include/ui/InputReader.h
+++ b/include/ui/InputReader.h
@@ -480,10 +480,6 @@ private:
inline void clear() {
fields = 0;
}
-
- inline bool isDirty() {
- return fields != 0;
- }
} mAccumulator;
float mXScale;
@@ -702,7 +698,7 @@ private:
} historyData[AVERAGING_HISTORY_SIZE];
} mAveragingTouchFilter;
- struct JumpTouchFilterState {
+ struct JumpyTouchFilterState {
uint32_t jumpyPointsDropped;
} mJumpyTouchFilter;
@@ -765,10 +761,6 @@ private:
inline void clear() {
fields = 0;
}
-
- inline bool isDirty() {
- return fields != 0;
- }
} mAccumulator;
bool mDown;
@@ -804,7 +796,8 @@ private:
FIELD_ABS_MT_WIDTH_MAJOR = 16,
FIELD_ABS_MT_WIDTH_MINOR = 32,
FIELD_ABS_MT_ORIENTATION = 64,
- FIELD_ABS_MT_TRACKING_ID = 128
+ FIELD_ABS_MT_TRACKING_ID = 128,
+ FIELD_ABS_MT_PRESSURE = 256,
};
uint32_t pointerCount;
@@ -819,6 +812,7 @@ private:
int32_t absMTWidthMinor;
int32_t absMTOrientation;
int32_t absMTTrackingId;
+ int32_t absMTPressure;
inline void clear() {
fields = 0;
@@ -829,10 +823,6 @@ private:
pointerCount = 0;
pointers[0].clear();
}
-
- inline bool isDirty() {
- return pointerCount != 0;
- }
} mAccumulator;
void initialize();