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} 32 33// The service status code. 34enum ServiceStatus { 35 UNKNOWN = 0; 36 ENABLED = 1; 37 DISABLED = 2; 38} 39 40// The magnification mode. 41enum MagnificationMode { 42 MAGNIFICATION_UNKNOWN_MODE = 0; 43 MAGNIFICATION_FULL_SCREEN = 1; 44 MAGNIFICATION_WINDOW = 2; 45 MAGNIFICATION_ALL = 3; 46} 47 48// The wraning status on UI. 49enum WarningStatus { 50 WARNING_UNKNOWN = 0; 51 WARNING_SHOWN = 1; 52 WARNING_CLICKED = 2; 53 WARNING_SERVICE_DISABLED = 3; 54} 55 56// The settings item of the "Text and reading options". 57enum TextReadingOption { 58 TEXT_READING_UNKNOWN_ITEM = 0; 59 TEXT_READING_FONT_SIZE = 1; 60 TEXT_READING_DISPLAY_SIZE = 2; 61 TEXT_READING_BOLD_TEXT = 3; 62 TEXT_READING_HIGH_CONTRAST_TEXT = 4; 63 TEXT_READING_RESET = 5; 64} 65 66// The entry point of the "Text and reading options". 67enum TextReadingEntry { 68 TEXT_READING_UNKNOWN_ENTRY = 0; 69 TEXT_READING_SUW_VISION_SETTINGS = 1; 70 TEXT_READING_SUW_ANYTHING_ELSE = 2; 71 TEXT_READING_DISPLAY_SETTINGS = 3; 72 TEXT_READING_ACCESSIBILITY_SETTINGS = 4; 73} 74 75