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 public static final int[] PHONE_SIGNAL_STRENGTH = { 26 R.string.accessibility_no_phone, 27 R.string.accessibility_phone_one_bar, 28 R.string.accessibility_phone_two_bars, 29 R.string.accessibility_phone_three_bars, 30 R.string.accessibility_phone_signal_full 31 }; 32 33 public static final int[] DATA_CONNECTION_STRENGTH = { 34 R.string.accessibility_no_data, 35 R.string.accessibility_data_one_bar, 36 R.string.accessibility_data_two_bars, 37 R.string.accessibility_data_three_bars, 38 R.string.accessibility_data_signal_full 39 }; 40 41 public static final int[] WIFI_CONNECTION_STRENGTH = { 42 R.string.accessibility_no_wifi, 43 R.string.accessibility_wifi_one_bar, 44 R.string.accessibility_wifi_two_bars, 45 R.string.accessibility_wifi_three_bars, 46 R.string.accessibility_wifi_signal_full 47 }; 48 49 public static final int WIFI_NO_CONNECTION = R.string.accessibility_no_wifi; 50 51 public static final int NO_CALLING = R.string.accessibility_no_calling; 52 53 public static final int[] ETHERNET_CONNECTION_VALUES = { 54 R.string.accessibility_ethernet_disconnected, 55 R.string.accessibility_ethernet_connected, 56 }; 57 } 58