summaryrefslogtreecommitdiff
path: root/services/input/InputReader.h
diff options
context:
space:
mode:
author Michael Wright <michaelwr@google.com> 2013-05-24 20:52:40 +0000
committer Android (Google) Code Review <android-gerrit@google.com> 2013-05-24 20:52:40 +0000
commitbf0d561c73abd97a1a3794e9aa62b21911279a12 (patch)
tree9a572d926b21f985e510e839e577b618954f3fce /services/input/InputReader.h
parent417e512ba1d099583c41bd7595f2124ca77c2aee (diff)
parent5e025eb1dc151a158d2fd7b12bb3a1c891b25d81 (diff)
Merge "Pipe through bounding box information (DO NOT MERGE)" into jb-mr2-dev
Diffstat (limited to 'services/input/InputReader.h')
-rw-r--r--services/input/InputReader.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/services/input/InputReader.h b/services/input/InputReader.h
index f87f98e4081f..0189ba7c7e01 100644
--- a/services/input/InputReader.h
+++ b/services/input/InputReader.h
@@ -1267,6 +1267,14 @@ protected:
bool haveDistanceScale;
float distanceScale;
+ enum CoverageCalibration {
+ COVERAGE_CALIBRATION_DEFAULT,
+ COVERAGE_CALIBRATION_NONE,
+ COVERAGE_CALIBRATION_BOX,
+ };
+
+ CoverageCalibration coverageCalibration;
+
inline void applySizeScaleAndBias(float* outSize) const {
if (haveSizeScale) {
*outSize *= sizeScale;