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} 30 31// The service status code. 32enum ServiceStatus { 33 UNKNOWN = 0; 34 ENABLED = 1; 35 DISABLED = 2; 36} 37 38// The magnification mode. 39enum MagnificationMode { 40 MAGNIFICATION_UNKNOWN_MODE = 0; 41 MAGNIFICATION_FULL_SCREEN = 1; 42 MAGNIFICATION_WINDOW = 2; 43 MAGNIFICATION_ALL = 3; 44} 45