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 static final int[][] WIFI_SIGNAL_STRENGTH = { 23 { R.drawable.stat_sys_wifi_signal_0, 24 R.drawable.stat_sys_wifi_signal_1, 25 R.drawable.stat_sys_wifi_signal_2, 26 R.drawable.stat_sys_wifi_signal_3, 27 R.drawable.stat_sys_wifi_signal_4 }, 28 { R.drawable.stat_sys_wifi_signal_0_fully, 29 R.drawable.stat_sys_wifi_signal_1_fully, 30 R.drawable.stat_sys_wifi_signal_2_fully, 31 R.drawable.stat_sys_wifi_signal_3_fully, 32 R.drawable.stat_sys_wifi_signal_4_fully } 33 }; 34 35 public static final int[][] QS_WIFI_SIGNAL_STRENGTH = { 36 { R.drawable.ic_qs_wifi_0, 37 R.drawable.ic_qs_wifi_1, 38 R.drawable.ic_qs_wifi_2, 39 R.drawable.ic_qs_wifi_3, 40 R.drawable.ic_qs_wifi_4 }, 41 { R.drawable.ic_qs_wifi_full_0, 42 R.drawable.ic_qs_wifi_full_1, 43 R.drawable.ic_qs_wifi_full_2, 44 R.drawable.ic_qs_wifi_full_3, 45 R.drawable.ic_qs_wifi_full_4 } 46 }; 47 48 static final int QS_WIFI_NO_NETWORK = R.drawable.ic_qs_wifi_no_network; 49 static final int WIFI_NO_NETWORK = R.drawable.stat_sys_wifi_signal_null; 50 51 static final int WIFI_LEVEL_COUNT = WIFI_SIGNAL_STRENGTH[0].length; 52 } 53