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