• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2008 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.systemui.statusbar.policy;
18 
19 import com.android.systemui.R;
20 
21 public class WifiIcons {
22 
23     static final int[] WIFI_FULL_ICONS = {
24             com.android.internal.R.drawable.ic_wifi_signal_0,
25             com.android.internal.R.drawable.ic_wifi_signal_1,
26             com.android.internal.R.drawable.ic_wifi_signal_2,
27             com.android.internal.R.drawable.ic_wifi_signal_3,
28             com.android.internal.R.drawable.ic_wifi_signal_4
29     };
30 
31     private static final int[] WIFI_NO_INTERNET_ICONS = {
32             R.drawable.ic_qs_wifi_0,
33             R.drawable.ic_qs_wifi_1,
34             R.drawable.ic_qs_wifi_2,
35             R.drawable.ic_qs_wifi_3,
36             R.drawable.ic_qs_wifi_4
37     };
38 
39     public static final int[][] QS_WIFI_SIGNAL_STRENGTH = {
40             WIFI_NO_INTERNET_ICONS,
41             WIFI_FULL_ICONS
42     };
43     static final int[][] WIFI_SIGNAL_STRENGTH = QS_WIFI_SIGNAL_STRENGTH;
44 
45     public static final int QS_WIFI_DISABLED = com.android.internal.R.drawable.ic_wifi_signal_0;
46     public static final int QS_WIFI_NO_NETWORK = com.android.internal.R.drawable.ic_wifi_signal_0;
47     static final int WIFI_NO_NETWORK = QS_WIFI_NO_NETWORK;
48 
49     static final int WIFI_LEVEL_COUNT = WIFI_SIGNAL_STRENGTH[0].length;
50 }
51