summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorPrashant Malani <pmalani@google.com>2015-08-25 17:41:34 -0700
committerPrashant Malani <pmalani@google.com>2015-08-28 15:58:24 -0700
commit67322b1ff058d9abadd94c10b0ce167508ead6f5 (patch)
tree625febf82d20a695b1343889b355eaf0bd74f362 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent92fb534298dc2d7e91e6dc1a8d8454b7f3f173f8 (diff)
Add rotary encoder input source
Devices which have rotating encoders for input devices can mark their MotionEvents as belonging to SOURCE_ROTARY_ENCODER. This is better than mapping such input events to pre-existing input sources, which may result is conflation regarding the expected behaviour of these older input sources. Events emanating from this input soruce will be accessible to the View hierarchy via onGenericMotionEvent(). We also introduce a new axis constant, AXIS_SCROLL, for axis movements that aren't strictly vertical or horizontal. Bug: 18707397 Change-Id: I1ad9af7c87b97d2c98b58b71cab2b780d0c86ec3
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions