PageRenderTime 23ms CodeModel.GetById 11ms app.highlight 8ms RepoModel.GetById 1ms app.codeStats 0ms

/packages/SystemUI/src/com/android/systemui/statusbar/policy/AccessibilityContentDescriptions.java

https://github.com/aizuzi/platform_frameworks_base
Java | 43 lines | 33 code | 6 blank | 4 comment | 0 complexity | 863c094a6ed70d74e88768538e09985c MD5 | raw file
 1// Copyright 2011 Google Inc. All Rights Reserved.
 2
 3package com.android.systemui.statusbar.policy;
 4
 5import com.android.systemui.R;
 6
 7/**
 8 * Content descriptions for accessibility support.
 9 */
10public class AccessibilityContentDescriptions {
11
12    private AccessibilityContentDescriptions() {}
13    static final int[] PHONE_SIGNAL_STRENGTH = {
14        R.string.accessibility_no_phone,
15        R.string.accessibility_phone_one_bar,
16        R.string.accessibility_phone_two_bars,
17        R.string.accessibility_phone_three_bars,
18        R.string.accessibility_phone_signal_full
19    };
20
21    static final int[] DATA_CONNECTION_STRENGTH = {
22        R.string.accessibility_no_data,
23        R.string.accessibility_data_one_bar,
24        R.string.accessibility_data_two_bars,
25        R.string.accessibility_data_three_bars,
26        R.string.accessibility_data_signal_full
27    };
28
29    static final int[] WIFI_CONNECTION_STRENGTH = {
30        R.string.accessibility_no_wifi,
31        R.string.accessibility_wifi_one_bar,
32        R.string.accessibility_wifi_two_bars,
33        R.string.accessibility_wifi_three_bars,
34        R.string.accessibility_wifi_signal_full
35    };
36    static final int[] WIMAX_CONNECTION_STRENGTH = {
37        R.string.accessibility_no_wimax,
38        R.string.accessibility_wimax_one_bar,
39        R.string.accessibility_wimax_two_bars,
40        R.string.accessibility_wimax_three_bars,
41        R.string.accessibility_wimax_signal_full
42    };
43}