diff options
author | Dan Sandler <dsandler@android.com> | 2015-03-02 15:29:59 -0500 |
---|---|---|
committer | Daniel Sandler <dsandler@android.com> | 2015-07-07 15:52:58 +0000 |
commit | 998e32db1f5aaf6bdb42c44029f5b44a31dc48d5 (patch) | |
tree | 6eb0d5c2e9d82f4cbb7ae6443675390f1b467e78 /tests/AccessibilityEventsLogger/res | |
parent | 937edac8e8583023019b625dd426ebf65169e30d (diff) | |
download | frameworks_base-998e32db1f5aaf6bdb42c44029f5b44a31dc48d5.zip frameworks_base-998e32db1f5aaf6bdb42c44029f5b44a31dc48d5.tar.gz frameworks_base-998e32db1f5aaf6bdb42c44029f5b44a31dc48d5.tar.bz2 |
Test app to emit all AccessibilityEvents to logcat.
Additionally allows you to pop toasts for ones you're
particularly interested in.
Bug: 18778078
Change-Id: I2dc81109554cc13853a04e486b029ae4b8e085c9
Diffstat (limited to 'tests/AccessibilityEventsLogger/res')
-rw-r--r-- | tests/AccessibilityEventsLogger/res/values/strings.xml | 28 | ||||
-rw-r--r-- | tests/AccessibilityEventsLogger/res/xml/accessibilityservice.xml | 24 |
2 files changed, 52 insertions, 0 deletions
diff --git a/tests/AccessibilityEventsLogger/res/values/strings.xml b/tests/AccessibilityEventsLogger/res/values/strings.xml new file mode 100644 index 0000000..353f912 --- /dev/null +++ b/tests/AccessibilityEventsLogger/res/values/strings.xml @@ -0,0 +1,28 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2015 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<resources xmlns:android="http://schemas.android.com/apk/res/android" xmlns:xliff="urn:oasis:names:tc:xliff:document:1.2"> + <!-- CHAR LIMIT=none --> + <string name="app_name"> + Accessibility Event Logger + </string> + + <!-- CHAR LIMIT=none --> + <string name="service_description"> + Debugging service + </string> +</resources> diff --git a/tests/AccessibilityEventsLogger/res/xml/accessibilityservice.xml b/tests/AccessibilityEventsLogger/res/xml/accessibilityservice.xml new file mode 100644 index 0000000..69ecd61 --- /dev/null +++ b/tests/AccessibilityEventsLogger/res/xml/accessibilityservice.xml @@ -0,0 +1,24 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- + Copyright (C) 2015 The Android Open Source Project + + Licensed under the Apache License, Version 2.0 (the "License"); + you may not use this file except in compliance with the License. + You may obtain a copy of the License at + + http://www.apache.org/licenses/LICENSE-2.0 + + Unless required by applicable law or agreed to in writing, software + distributed under the License is distributed on an "AS IS" BASIS, + WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + See the License for the specific language governing permissions and + limitations under the License. +--> + +<accessibility-service xmlns:android="http://schemas.android.com/apk/res/android" + android:accessibilityEventTypes="typeAllMask" + android:accessibilityFeedbackType="feedbackGeneric|feedbackVisual|feedbackAudible" + android:canRetrieveWindowContent="true" + android:accessibilityFlags="flagDefault" + android:description="@string/service_description" + android:notificationTimeout="0" /> |