xref: /aosp_15_r20/frameworks/base/tests/Input/res/xml/bookmarks.xml (revision d57664e9bc4670b3ecf6748a746a57c557b6bc9e)
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright 2024 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  -->
17<bookmarks xmlns:androidprv="http://schemas.android.com/apk/prv/res/android">
18    <!-- the key combinations for the following shortcuts must be in sync
19         with the key combinations sent by the test in KeyGestureControllerTests.java -->
20    <bookmark
21        role="android.app.role.BROWSER"
22        androidprv:keycode="KEYCODE_B"
23        androidprv:modifierState="META" />
24    <bookmark
25        category="android.intent.category.APP_CONTACTS"
26        androidprv:keycode="KEYCODE_P"
27        androidprv:modifierState="META" />
28    <bookmark
29        category="android.intent.category.APP_EMAIL"
30        androidprv:keycode="KEYCODE_E"
31        androidprv:modifierState="META" />
32    <bookmark
33        category="android.intent.category.APP_CALENDAR"
34        androidprv:keycode="KEYCODE_C"
35        androidprv:modifierState="META" />
36    <bookmark
37        category="android.intent.category.APP_MAPS"
38        androidprv:keycode="KEYCODE_M"
39        androidprv:modifierState="META" />
40    <bookmark
41        category="android.intent.category.APP_CALCULATOR"
42        androidprv:keycode="KEYCODE_U"
43        androidprv:modifierState="META" />
44
45    <bookmark
46        role="android.app.role.BROWSER"
47        androidprv:keycode="KEYCODE_B"
48        androidprv:modifierState="META|SHIFT" />
49
50    <bookmark
51        category="android.intent.category.APP_CONTACTS"
52        androidprv:keycode="KEYCODE_P"
53        shift="true" />
54
55    <bookmark
56        package="com.test"
57        class="com.test.BookmarkTest"
58        androidprv:keycode="KEYCODE_J"
59        shift="true" />
60</bookmarks>
61