aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTreeHugger Robot <treehugger-gerrit@google.com>2020-08-04 23:46:50 +0000
committerAutomerger Merge Worker <android-build-automerger-merge-worker@system.gserviceaccount.com>2020-08-04 23:46:50 +0000
commitcf580930c8183e7e787669d29ba448eb52110a13 (patch)
tree7f55ee7e2e3cc4ae6ac7448ae5ed6dadf736f6c7
parent2606aa7f483ec1288a380204fe4167b8230b066d (diff)
parent182da001e0f3bd27422041a203a87db0e0e2895c (diff)
downloadplatform_compatibility_cdd-cf580930c8183e7e787669d29ba448eb52110a13.tar.gz
platform_compatibility_cdd-cf580930c8183e7e787669d29ba448eb52110a13.tar.bz2
platform_compatibility_cdd-cf580930c8183e7e787669d29ba448eb52110a13.zip
Merge "CDD: Clarify faketouch requirements for multi-displays" into rvc-dev am: 182da001e0
Original change: https://googleplex-android-review.googlesource.com/c/platform/compatibility/cdd/+/12285000 Change-Id: Icc02d898a563c89019f69d8a083fb816e450b2be
-rw-r--r--7_hardware-compatibility/7_2_input-devices.md20
1 files changed, 12 insertions, 8 deletions
diff --git a/7_hardware-compatibility/7_2_input-devices.md b/7_hardware-compatibility/7_2_input-devices.md
index 66ae3183..79a88278 100644
--- a/7_hardware-compatibility/7_2_input-devices.md
+++ b/7_hardware-compatibility/7_2_input-devices.md
@@ -186,7 +186,8 @@ Device implementations:
(either mouse-like or touch).
* SHOULD support fully independently tracked pointers.
-If device implementations include a touchscreen (single-touch or better), they:
+If device implementations include a touchscreen (single-touch or better) on a
+primary Android-compatible display, they:
* [C-1-1] MUST report `TOUCHSCREEN_FINGER` for the [`Configuration.touchscreen`](https://developer.android.com/reference/android/content/res/Configuration.html#touchscreen)
API field.
@@ -194,18 +195,23 @@ If device implementations include a touchscreen (single-touch or better), they:
`android.hardware.faketouch` feature flags.
If device implementations include a touchscreen that can track more than
-a single touch, they:
+a single touch on a primary Android-compatible display, they:
-* [C-2-1] MUST report the appropriate feature flags `android.hardware.touchscreen.multitouch`,
+* [C-2-1] MUST report the appropriate feature flags `android.hardware.touchscreen.multitouch`,
`android.hardware.touchscreen.multitouch.distinct`, `android.hardware.touchscreen.multitouch.jazzhand`
corresponding to the type of the specific touchscreen on the device.
-If device implementations do not include a touchscreen (and rely on a pointer
-device only) and meet the fake touch requirements in
+If device implementations rely on an external input device such as mouse or
+trackball (i.e. not directly touching the screen) for input on a primary
+Android-compatible display and meet the fake touch requirements in
[section 7.2.5](#7_2_5_fake_touch_input), they:
* [C-3-1] MUST NOT report any feature flag starting with
-`android.hardware.touchscreen` and MUST report only `android.hardware.faketouch`.
+`android.hardware.touchscreen`.
+* [C-3-2] MUST report only `android.hardware.faketouch`.
+* [C-3-3] MUST report `TOUCHSCREEN_NOTOUCH` for the
+[`Configuration.touchscreen`](https://developer.android.com/reference/android/content/res/Configuration.html#touchscreen)
+API field.
### 7.2.5\. Fake Touch Input
@@ -247,8 +253,6 @@ up, which allows users to emulate a touch drag.
* [C-1-6] MUST support pointer down then allow users to quickly move the
object to a different position on the screen and then pointer up on the screen,
which allows users to fling an object on the screen.
-* [C-1-7] MUST report `TOUCHSCREEN_NOTOUCH` for the [`Configuration.touchscreen`](https://developer.android.com/reference/android/content/res/Configuration.html#touchscreen)
-API field.
If device implementations declare support for
`android.hardware.faketouch.multitouch.distinct`, they: