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 17 package com.android.settingslib; 18 19 /** 20 * Content descriptions for accessibility support. 21 */ 22 public class AccessibilityContentDescriptions { 23 AccessibilityContentDescriptions()24 private AccessibilityContentDescriptions() {} 25 26 public static final int PHONE_SIGNAL_STRENGTH_NONE = R.string.accessibility_no_phone; 27 28 public static final int[] PHONE_SIGNAL_STRENGTH = { 29 PHONE_SIGNAL_STRENGTH_NONE, 30 R.string.accessibility_phone_one_bar, 31 R.string.accessibility_phone_two_bars, 32 R.string.accessibility_phone_three_bars, 33 R.string.accessibility_phone_signal_full 34 }; 35 36 public static final int[] DATA_CONNECTION_STRENGTH = { 37 R.string.accessibility_no_data, 38 R.string.accessibility_data_one_bar, 39 R.string.accessibility_data_two_bars, 40 R.string.accessibility_data_three_bars, 41 R.string.accessibility_data_signal_full 42 }; 43 44 public static final int[] WIFI_CONNECTION_STRENGTH = { 45 R.string.accessibility_no_wifi, 46 R.string.accessibility_wifi_one_bar, 47 R.string.accessibility_wifi_two_bars, 48 R.string.accessibility_wifi_three_bars, 49 R.string.accessibility_wifi_signal_full 50 }; 51 52 public static final int WIFI_NO_CONNECTION = R.string.accessibility_no_wifi; 53 54 public static final int NO_CALLING = R.string.accessibility_no_calling; 55 56 public static final int[] ETHERNET_CONNECTION_VALUES = { 57 R.string.accessibility_ethernet_disconnected, 58 R.string.accessibility_ethernet_connected, 59 }; 60 } 61