1/*
2 * Copyright (C) 2020 The Android Open Source Project
3 *
4 * Licensed under the Apache License, Version 2.0 (the "License");
5 * you may not use this file except in compliance with the License.
6 * You may obtain a copy of the License at
7 *
8 *      http://www.apache.org/licenses/LICENSE-2.0
9 *
10 * Unless required by applicable law or agreed to in writing, software
11 * distributed under the License is distributed on an "AS IS" BASIS,
12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13 * See the License for the specific language governing permissions and
14 * limitations under the License.
15 */
16
17syntax = "proto2";
18package android.stats.accessibility;
19option java_multiple_files = true;
20
21// The entry point of the accessibility shortcut.
22enum ShortcutType {
23  UNKNOWN_TYPE = 0;
24  A11Y_BUTTON = 1;
25  VOLUME_KEY = 2;
26  TRIPLE_TAP = 3;
27  A11Y_BUTTON_LONG_PRESS = 4;
28  A11Y_FLOATING_MENU = 5;
29  A11Y_GESTURE = 6;
30  A11Y_WEAR_TRIPLE_PRESS_GESTURE = 7;
31  TWO_FINGER_TRIPLE_TAP = 8;
32  QUICK_SETTINGS = 9;
33}
34
35// The service status code.
36enum ServiceStatus {
37  UNKNOWN = 0;
38  ENABLED = 1;
39  DISABLED = 2;
40}
41
42// The magnification mode.
43enum MagnificationMode {
44  MAGNIFICATION_UNKNOWN_MODE = 0;
45  MAGNIFICATION_FULL_SCREEN = 1;
46  MAGNIFICATION_WINDOW = 2;
47  MAGNIFICATION_ALL = 3;
48}
49
50// The wraning status on UI.
51enum WarningStatus {
52  WARNING_UNKNOWN = 0;
53  WARNING_SHOWN = 1;
54  WARNING_CLICKED = 2;
55  WARNING_SERVICE_DISABLED = 3;
56}
57
58// The settings item of the "Text and reading options".
59enum TextReadingOption {
60  TEXT_READING_UNKNOWN_ITEM = 0;
61  TEXT_READING_FONT_SIZE = 1;
62  TEXT_READING_DISPLAY_SIZE = 2;
63  TEXT_READING_BOLD_TEXT = 3;
64  TEXT_READING_HIGH_CONTRAST_TEXT = 4;
65  TEXT_READING_RESET = 5;
66}
67
68// The entry point of the "Text and reading options".
69enum TextReadingEntry {
70  TEXT_READING_UNKNOWN_ENTRY = 0;
71  TEXT_READING_SUW_VISION_SETTINGS = 1;
72  TEXT_READING_SUW_ANYTHING_ELSE = 2;
73  TEXT_READING_DISPLAY_SETTINGS = 3;
74  TEXT_READING_ACCESSIBILITY_SETTINGS = 4;
75}
76
77