commit | 142827537970a632bdcdee71d613c25b7c4ee237 | [log] [tgz] |
---|---|---|
author | Presubmit Automerger Backend <android-build-presubmit-automerger-backend@system.gserviceaccount.com> | Thu Feb 03 23:25:48 2022 +0000 |
committer | Presubmit Automerger Backend <android-build-presubmit-automerger-backend@system.gserviceaccount.com> | Thu Feb 03 23:25:48 2022 +0000 |
tree | 334dbe7baacada5da2411073163cdbd1bbfbcb96 | |
parent | b52081d2803567c3ab3224d6b1d2018e522dda89 [diff] | |
parent | 58bf043f2e4c228277a2f93fe434ce3b45fdf60d [diff] |
[automerge] Initialize the focus properly when there is a view focused in touch mode 2p: 58bf043f2e Original change: https://googleplex-android-review.googlesource.com/c/platform/packages/apps/Car/RotaryController/+/16279553 Bug: 194703617 Change-Id: I2220fb4bd7a63879043bd3a6bb9a64e5893c274f
make CarRotaryController -j64
To enable, run:
adb shell settings put secure enabled_accessibility_services com.android.car.rotary/com.android.car.rotary.RotaryService
To disable, run:
adb shell settings delete secure enabled_accessibility_services
To rotate the controller counter-clockwise, run:
adb shell cmd car_service inject-rotary
For clockwise, run:
adb shell cmd car_service inject-rotary -c true
To rotate the controller multiple times (100 ms ago and 50 ms ago), run:
adb shell cmd car_service inject-rotary -dt 100 50
To nudge the controller up, run:
adb shell cmd car_service inject-key 280
Use KeyCode 280
for nudge up, 281
for nudge down,282
for nudge left,283
for nudge right.
To click the controller center button, run:
adb shell cmd car_service inject-key 23