Android Open Source - cpustats Quad Resource Util






From Project

Back to project page cpustats.

License

The source code is released under:

Apache License

If you think the Android project cpustats listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.

Java Source Code

package jp.takke.cpustats;
//from   www .j a  va 2s.c o  m
public class QuadResourceUtil {

    public static int getIconIdForCpuUsageQuad(int[] cpuUsages) {
        
        // 4??
        return getIconIdForCpuUsageQuadLevel5(cpuUsages);
    }

    
    /**
     * CPU ?????????????????????
     * 
     * @param cpuUsage CPU???[0,100]
     * @return ????[0,5]
     */
    public static int cpuUsageToLevel5(int cpuUsage) {
        
        if (cpuUsage < 5) {
            return 0;
        } else if (cpuUsage < 20) {
            return 1;
        } else if (cpuUsage < 40) {
            return 2;
        } else if (cpuUsage < 60) {
            return 3;
        } else if (cpuUsage < 80) {
            return 4;
        } else {
            return 5;
        }
    }

    private static int getIconIdForCpuUsageQuadLevel5(int[] cpuUsages) {
        
        // 4?????????10?????????????
        int digit = 0;
        digit += 1000*QuadResourceUtil.cpuUsageToLevel5(cpuUsages.length < 2 ? 0 : cpuUsages[1]);
        digit +=  100*QuadResourceUtil.cpuUsageToLevel5(cpuUsages.length < 3 ? 0 : cpuUsages[2]);
        digit +=   10*QuadResourceUtil.cpuUsageToLevel5(cpuUsages.length < 4 ? 0 : cpuUsages[3]);
        digit +=    1*QuadResourceUtil.cpuUsageToLevel5(cpuUsages.length < 5 ? 0 : cpuUsages[4]);
        
//      MyLog.i("digit:" + digit);
        
        // for 5 level
        switch (digit) {
        case 0: return R.drawable.quad_0000;
        case 1: return R.drawable.quad_0001;
        case 2: return R.drawable.quad_0002;
        case 3: return R.drawable.quad_0003;
        case 4: return R.drawable.quad_0004;
        case 5: return R.drawable.quad_0005;
        case 10: return R.drawable.quad_0010;
        case 11: return R.drawable.quad_0011;
        case 12: return R.drawable.quad_0012;
        case 13: return R.drawable.quad_0013;
        case 14: return R.drawable.quad_0014;
        case 15: return R.drawable.quad_0015;
        case 20: return R.drawable.quad_0020;
        case 21: return R.drawable.quad_0021;
        case 22: return R.drawable.quad_0022;
        case 23: return R.drawable.quad_0023;
        case 24: return R.drawable.quad_0024;
        case 25: return R.drawable.quad_0025;
        case 30: return R.drawable.quad_0030;
        case 31: return R.drawable.quad_0031;
        case 32: return R.drawable.quad_0032;
        case 33: return R.drawable.quad_0033;
        case 34: return R.drawable.quad_0034;
        case 35: return R.drawable.quad_0035;
        case 40: return R.drawable.quad_0040;
        case 41: return R.drawable.quad_0041;
        case 42: return R.drawable.quad_0042;
        case 43: return R.drawable.quad_0043;
        case 44: return R.drawable.quad_0044;
        case 45: return R.drawable.quad_0045;
        case 50: return R.drawable.quad_0050;
        case 51: return R.drawable.quad_0051;
        case 52: return R.drawable.quad_0052;
        case 53: return R.drawable.quad_0053;
        case 54: return R.drawable.quad_0054;
        case 55: return R.drawable.quad_0055;
        case 100: return R.drawable.quad_0100;
        case 101: return R.drawable.quad_0101;
        case 102: return R.drawable.quad_0102;
        case 103: return R.drawable.quad_0103;
        case 104: return R.drawable.quad_0104;
        case 105: return R.drawable.quad_0105;
        case 110: return R.drawable.quad_0110;
        case 111: return R.drawable.quad_0111;
        case 112: return R.drawable.quad_0112;
        case 113: return R.drawable.quad_0113;
        case 114: return R.drawable.quad_0114;
        case 115: return R.drawable.quad_0115;
        case 120: return R.drawable.quad_0120;
        case 121: return R.drawable.quad_0121;
        case 122: return R.drawable.quad_0122;
        case 123: return R.drawable.quad_0123;
        case 124: return R.drawable.quad_0124;
        case 125: return R.drawable.quad_0125;
        case 130: return R.drawable.quad_0130;
        case 131: return R.drawable.quad_0131;
        case 132: return R.drawable.quad_0132;
        case 133: return R.drawable.quad_0133;
        case 134: return R.drawable.quad_0134;
        case 135: return R.drawable.quad_0135;
        case 140: return R.drawable.quad_0140;
        case 141: return R.drawable.quad_0141;
        case 142: return R.drawable.quad_0142;
        case 143: return R.drawable.quad_0143;
        case 144: return R.drawable.quad_0144;
        case 145: return R.drawable.quad_0145;
        case 150: return R.drawable.quad_0150;
        case 151: return R.drawable.quad_0151;
        case 152: return R.drawable.quad_0152;
        case 153: return R.drawable.quad_0153;
        case 154: return R.drawable.quad_0154;
        case 155: return R.drawable.quad_0155;
        case 200: return R.drawable.quad_0200;
        case 201: return R.drawable.quad_0201;
        case 202: return R.drawable.quad_0202;
        case 203: return R.drawable.quad_0203;
        case 204: return R.drawable.quad_0204;
        case 205: return R.drawable.quad_0205;
        case 210: return R.drawable.quad_0210;
        case 211: return R.drawable.quad_0211;
        case 212: return R.drawable.quad_0212;
        case 213: return R.drawable.quad_0213;
        case 214: return R.drawable.quad_0214;
        case 215: return R.drawable.quad_0215;
        case 220: return R.drawable.quad_0220;
        case 221: return R.drawable.quad_0221;
        case 222: return R.drawable.quad_0222;
        case 223: return R.drawable.quad_0223;
        case 224: return R.drawable.quad_0224;
        case 225: return R.drawable.quad_0225;
        case 230: return R.drawable.quad_0230;
        case 231: return R.drawable.quad_0231;
        case 232: return R.drawable.quad_0232;
        case 233: return R.drawable.quad_0233;
        case 234: return R.drawable.quad_0234;
        case 235: return R.drawable.quad_0235;
        case 240: return R.drawable.quad_0240;
        case 241: return R.drawable.quad_0241;
        case 242: return R.drawable.quad_0242;
        case 243: return R.drawable.quad_0243;
        case 244: return R.drawable.quad_0244;
        case 245: return R.drawable.quad_0245;
        case 250: return R.drawable.quad_0250;
        case 251: return R.drawable.quad_0251;
        case 252: return R.drawable.quad_0252;
        case 253: return R.drawable.quad_0253;
        case 254: return R.drawable.quad_0254;
        case 255: return R.drawable.quad_0255;
        case 300: return R.drawable.quad_0300;
        case 301: return R.drawable.quad_0301;
        case 302: return R.drawable.quad_0302;
        case 303: return R.drawable.quad_0303;
        case 304: return R.drawable.quad_0304;
        case 305: return R.drawable.quad_0305;
        case 310: return R.drawable.quad_0310;
        case 311: return R.drawable.quad_0311;
        case 312: return R.drawable.quad_0312;
        case 313: return R.drawable.quad_0313;
        case 314: return R.drawable.quad_0314;
        case 315: return R.drawable.quad_0315;
        case 320: return R.drawable.quad_0320;
        case 321: return R.drawable.quad_0321;
        case 322: return R.drawable.quad_0322;
        case 323: return R.drawable.quad_0323;
        case 324: return R.drawable.quad_0324;
        case 325: return R.drawable.quad_0325;
        case 330: return R.drawable.quad_0330;
        case 331: return R.drawable.quad_0331;
        case 332: return R.drawable.quad_0332;
        case 333: return R.drawable.quad_0333;
        case 334: return R.drawable.quad_0334;
        case 335: return R.drawable.quad_0335;
        case 340: return R.drawable.quad_0340;
        case 341: return R.drawable.quad_0341;
        case 342: return R.drawable.quad_0342;
        case 343: return R.drawable.quad_0343;
        case 344: return R.drawable.quad_0344;
        case 345: return R.drawable.quad_0345;
        case 350: return R.drawable.quad_0350;
        case 351: return R.drawable.quad_0351;
        case 352: return R.drawable.quad_0352;
        case 353: return R.drawable.quad_0353;
        case 354: return R.drawable.quad_0354;
        case 355: return R.drawable.quad_0355;
        case 400: return R.drawable.quad_0400;
        case 401: return R.drawable.quad_0401;
        case 402: return R.drawable.quad_0402;
        case 403: return R.drawable.quad_0403;
        case 404: return R.drawable.quad_0404;
        case 405: return R.drawable.quad_0405;
        case 410: return R.drawable.quad_0410;
        case 411: return R.drawable.quad_0411;
        case 412: return R.drawable.quad_0412;
        case 413: return R.drawable.quad_0413;
        case 414: return R.drawable.quad_0414;
        case 415: return R.drawable.quad_0415;
        case 420: return R.drawable.quad_0420;
        case 421: return R.drawable.quad_0421;
        case 422: return R.drawable.quad_0422;
        case 423: return R.drawable.quad_0423;
        case 424: return R.drawable.quad_0424;
        case 425: return R.drawable.quad_0425;
        case 430: return R.drawable.quad_0430;
        case 431: return R.drawable.quad_0431;
        case 432: return R.drawable.quad_0432;
        case 433: return R.drawable.quad_0433;
        case 434: return R.drawable.quad_0434;
        case 435: return R.drawable.quad_0435;
        case 440: return R.drawable.quad_0440;
        case 441: return R.drawable.quad_0441;
        case 442: return R.drawable.quad_0442;
        case 443: return R.drawable.quad_0443;
        case 444: return R.drawable.quad_0444;
        case 445: return R.drawable.quad_0445;
        case 450: return R.drawable.quad_0450;
        case 451: return R.drawable.quad_0451;
        case 452: return R.drawable.quad_0452;
        case 453: return R.drawable.quad_0453;
        case 454: return R.drawable.quad_0454;
        case 455: return R.drawable.quad_0455;
        case 500: return R.drawable.quad_0500;
        case 501: return R.drawable.quad_0501;
        case 502: return R.drawable.quad_0502;
        case 503: return R.drawable.quad_0503;
        case 504: return R.drawable.quad_0504;
        case 505: return R.drawable.quad_0505;
        case 510: return R.drawable.quad_0510;
        case 511: return R.drawable.quad_0511;
        case 512: return R.drawable.quad_0512;
        case 513: return R.drawable.quad_0513;
        case 514: return R.drawable.quad_0514;
        case 515: return R.drawable.quad_0515;
        case 520: return R.drawable.quad_0520;
        case 521: return R.drawable.quad_0521;
        case 522: return R.drawable.quad_0522;
        case 523: return R.drawable.quad_0523;
        case 524: return R.drawable.quad_0524;
        case 525: return R.drawable.quad_0525;
        case 530: return R.drawable.quad_0530;
        case 531: return R.drawable.quad_0531;
        case 532: return R.drawable.quad_0532;
        case 533: return R.drawable.quad_0533;
        case 534: return R.drawable.quad_0534;
        case 535: return R.drawable.quad_0535;
        case 540: return R.drawable.quad_0540;
        case 541: return R.drawable.quad_0541;
        case 542: return R.drawable.quad_0542;
        case 543: return R.drawable.quad_0543;
        case 544: return R.drawable.quad_0544;
        case 545: return R.drawable.quad_0545;
        case 550: return R.drawable.quad_0550;
        case 551: return R.drawable.quad_0551;
        case 552: return R.drawable.quad_0552;
        case 553: return R.drawable.quad_0553;
        case 554: return R.drawable.quad_0554;
        case 555: return R.drawable.quad_0555;
        case 1000: return R.drawable.quad_1000;
        case 1001: return R.drawable.quad_1001;
        case 1002: return R.drawable.quad_1002;
        case 1003: return R.drawable.quad_1003;
        case 1004: return R.drawable.quad_1004;
        case 1005: return R.drawable.quad_1005;
        case 1010: return R.drawable.quad_1010;
        case 1011: return R.drawable.quad_1011;
        case 1012: return R.drawable.quad_1012;
        case 1013: return R.drawable.quad_1013;
        case 1014: return R.drawable.quad_1014;
        case 1015: return R.drawable.quad_1015;
        case 1020: return R.drawable.quad_1020;
        case 1021: return R.drawable.quad_1021;
        case 1022: return R.drawable.quad_1022;
        case 1023: return R.drawable.quad_1023;
        case 1024: return R.drawable.quad_1024;
        case 1025: return R.drawable.quad_1025;
        case 1030: return R.drawable.quad_1030;
        case 1031: return R.drawable.quad_1031;
        case 1032: return R.drawable.quad_1032;
        case 1033: return R.drawable.quad_1033;
        case 1034: return R.drawable.quad_1034;
        case 1035: return R.drawable.quad_1035;
        case 1040: return R.drawable.quad_1040;
        case 1041: return R.drawable.quad_1041;
        case 1042: return R.drawable.quad_1042;
        case 1043: return R.drawable.quad_1043;
        case 1044: return R.drawable.quad_1044;
        case 1045: return R.drawable.quad_1045;
        case 1050: return R.drawable.quad_1050;
        case 1051: return R.drawable.quad_1051;
        case 1052: return R.drawable.quad_1052;
        case 1053: return R.drawable.quad_1053;
        case 1054: return R.drawable.quad_1054;
        case 1055: return R.drawable.quad_1055;
        case 1100: return R.drawable.quad_1100;
        case 1101: return R.drawable.quad_1101;
        case 1102: return R.drawable.quad_1102;
        case 1103: return R.drawable.quad_1103;
        case 1104: return R.drawable.quad_1104;
        case 1105: return R.drawable.quad_1105;
        case 1110: return R.drawable.quad_1110;
        case 1111: return R.drawable.quad_1111;
        case 1112: return R.drawable.quad_1112;
        case 1113: return R.drawable.quad_1113;
        case 1114: return R.drawable.quad_1114;
        case 1115: return R.drawable.quad_1115;
        case 1120: return R.drawable.quad_1120;
        case 1121: return R.drawable.quad_1121;
        case 1122: return R.drawable.quad_1122;
        case 1123: return R.drawable.quad_1123;
        case 1124: return R.drawable.quad_1124;
        case 1125: return R.drawable.quad_1125;
        case 1130: return R.drawable.quad_1130;
        case 1131: return R.drawable.quad_1131;
        case 1132: return R.drawable.quad_1132;
        case 1133: return R.drawable.quad_1133;
        case 1134: return R.drawable.quad_1134;
        case 1135: return R.drawable.quad_1135;
        case 1140: return R.drawable.quad_1140;
        case 1141: return R.drawable.quad_1141;
        case 1142: return R.drawable.quad_1142;
        case 1143: return R.drawable.quad_1143;
        case 1144: return R.drawable.quad_1144;
        case 1145: return R.drawable.quad_1145;
        case 1150: return R.drawable.quad_1150;
        case 1151: return R.drawable.quad_1151;
        case 1152: return R.drawable.quad_1152;
        case 1153: return R.drawable.quad_1153;
        case 1154: return R.drawable.quad_1154;
        case 1155: return R.drawable.quad_1155;
        case 1200: return R.drawable.quad_1200;
        case 1201: return R.drawable.quad_1201;
        case 1202: return R.drawable.quad_1202;
        case 1203: return R.drawable.quad_1203;
        case 1204: return R.drawable.quad_1204;
        case 1205: return R.drawable.quad_1205;
        case 1210: return R.drawable.quad_1210;
        case 1211: return R.drawable.quad_1211;
        case 1212: return R.drawable.quad_1212;
        case 1213: return R.drawable.quad_1213;
        case 1214: return R.drawable.quad_1214;
        case 1215: return R.drawable.quad_1215;
        case 1220: return R.drawable.quad_1220;
        case 1221: return R.drawable.quad_1221;
        case 1222: return R.drawable.quad_1222;
        case 1223: return R.drawable.quad_1223;
        case 1224: return R.drawable.quad_1224;
        case 1225: return R.drawable.quad_1225;
        case 1230: return R.drawable.quad_1230;
        case 1231: return R.drawable.quad_1231;
        case 1232: return R.drawable.quad_1232;
        case 1233: return R.drawable.quad_1233;
        case 1234: return R.drawable.quad_1234;
        case 1235: return R.drawable.quad_1235;
        case 1240: return R.drawable.quad_1240;
        case 1241: return R.drawable.quad_1241;
        case 1242: return R.drawable.quad_1242;
        case 1243: return R.drawable.quad_1243;
        case 1244: return R.drawable.quad_1244;
        case 1245: return R.drawable.quad_1245;
        case 1250: return R.drawable.quad_1250;
        case 1251: return R.drawable.quad_1251;
        case 1252: return R.drawable.quad_1252;
        case 1253: return R.drawable.quad_1253;
        case 1254: return R.drawable.quad_1254;
        case 1255: return R.drawable.quad_1255;
        case 1300: return R.drawable.quad_1300;
        case 1301: return R.drawable.quad_1301;
        case 1302: return R.drawable.quad_1302;
        case 1303: return R.drawable.quad_1303;
        case 1304: return R.drawable.quad_1304;
        case 1305: return R.drawable.quad_1305;
        case 1310: return R.drawable.quad_1310;
        case 1311: return R.drawable.quad_1311;
        case 1312: return R.drawable.quad_1312;
        case 1313: return R.drawable.quad_1313;
        case 1314: return R.drawable.quad_1314;
        case 1315: return R.drawable.quad_1315;
        case 1320: return R.drawable.quad_1320;
        case 1321: return R.drawable.quad_1321;
        case 1322: return R.drawable.quad_1322;
        case 1323: return R.drawable.quad_1323;
        case 1324: return R.drawable.quad_1324;
        case 1325: return R.drawable.quad_1325;
        case 1330: return R.drawable.quad_1330;
        case 1331: return R.drawable.quad_1331;
        case 1332: return R.drawable.quad_1332;
        case 1333: return R.drawable.quad_1333;
        case 1334: return R.drawable.quad_1334;
        case 1335: return R.drawable.quad_1335;
        case 1340: return R.drawable.quad_1340;
        case 1341: return R.drawable.quad_1341;
        case 1342: return R.drawable.quad_1342;
        case 1343: return R.drawable.quad_1343;
        case 1344: return R.drawable.quad_1344;
        case 1345: return R.drawable.quad_1345;
        case 1350: return R.drawable.quad_1350;
        case 1351: return R.drawable.quad_1351;
        case 1352: return R.drawable.quad_1352;
        case 1353: return R.drawable.quad_1353;
        case 1354: return R.drawable.quad_1354;
        case 1355: return R.drawable.quad_1355;
        case 1400: return R.drawable.quad_1400;
        case 1401: return R.drawable.quad_1401;
        case 1402: return R.drawable.quad_1402;
        case 1403: return R.drawable.quad_1403;
        case 1404: return R.drawable.quad_1404;
        case 1405: return R.drawable.quad_1405;
        case 1410: return R.drawable.quad_1410;
        case 1411: return R.drawable.quad_1411;
        case 1412: return R.drawable.quad_1412;
        case 1413: return R.drawable.quad_1413;
        case 1414: return R.drawable.quad_1414;
        case 1415: return R.drawable.quad_1415;
        case 1420: return R.drawable.quad_1420;
        case 1421: return R.drawable.quad_1421;
        case 1422: return R.drawable.quad_1422;
        case 1423: return R.drawable.quad_1423;
        case 1424: return R.drawable.quad_1424;
        case 1425: return R.drawable.quad_1425;
        case 1430: return R.drawable.quad_1430;
        case 1431: return R.drawable.quad_1431;
        case 1432: return R.drawable.quad_1432;
        case 1433: return R.drawable.quad_1433;
        case 1434: return R.drawable.quad_1434;
        case 1435: return R.drawable.quad_1435;
        case 1440: return R.drawable.quad_1440;
        case 1441: return R.drawable.quad_1441;
        case 1442: return R.drawable.quad_1442;
        case 1443: return R.drawable.quad_1443;
        case 1444: return R.drawable.quad_1444;
        case 1445: return R.drawable.quad_1445;
        case 1450: return R.drawable.quad_1450;
        case 1451: return R.drawable.quad_1451;
        case 1452: return R.drawable.quad_1452;
        case 1453: return R.drawable.quad_1453;
        case 1454: return R.drawable.quad_1454;
        case 1455: return R.drawable.quad_1455;
        case 1500: return R.drawable.quad_1500;
        case 1501: return R.drawable.quad_1501;
        case 1502: return R.drawable.quad_1502;
        case 1503: return R.drawable.quad_1503;
        case 1504: return R.drawable.quad_1504;
        case 1505: return R.drawable.quad_1505;
        case 1510: return R.drawable.quad_1510;
        case 1511: return R.drawable.quad_1511;
        case 1512: return R.drawable.quad_1512;
        case 1513: return R.drawable.quad_1513;
        case 1514: return R.drawable.quad_1514;
        case 1515: return R.drawable.quad_1515;
        case 1520: return R.drawable.quad_1520;
        case 1521: return R.drawable.quad_1521;
        case 1522: return R.drawable.quad_1522;
        case 1523: return R.drawable.quad_1523;
        case 1524: return R.drawable.quad_1524;
        case 1525: return R.drawable.quad_1525;
        case 1530: return R.drawable.quad_1530;
        case 1531: return R.drawable.quad_1531;
        case 1532: return R.drawable.quad_1532;
        case 1533: return R.drawable.quad_1533;
        case 1534: return R.drawable.quad_1534;
        case 1535: return R.drawable.quad_1535;
        case 1540: return R.drawable.quad_1540;
        case 1541: return R.drawable.quad_1541;
        case 1542: return R.drawable.quad_1542;
        case 1543: return R.drawable.quad_1543;
        case 1544: return R.drawable.quad_1544;
        case 1545: return R.drawable.quad_1545;
        case 1550: return R.drawable.quad_1550;
        case 1551: return R.drawable.quad_1551;
        case 1552: return R.drawable.quad_1552;
        case 1553: return R.drawable.quad_1553;
        case 1554: return R.drawable.quad_1554;
        case 1555: return R.drawable.quad_1555;
        case 2000: return R.drawable.quad_2000;
        case 2001: return R.drawable.quad_2001;
        case 2002: return R.drawable.quad_2002;
        case 2003: return R.drawable.quad_2003;
        case 2004: return R.drawable.quad_2004;
        case 2005: return R.drawable.quad_2005;
        case 2010: return R.drawable.quad_2010;
        case 2011: return R.drawable.quad_2011;
        case 2012: return R.drawable.quad_2012;
        case 2013: return R.drawable.quad_2013;
        case 2014: return R.drawable.quad_2014;
        case 2015: return R.drawable.quad_2015;
        case 2020: return R.drawable.quad_2020;
        case 2021: return R.drawable.quad_2021;
        case 2022: return R.drawable.quad_2022;
        case 2023: return R.drawable.quad_2023;
        case 2024: return R.drawable.quad_2024;
        case 2025: return R.drawable.quad_2025;
        case 2030: return R.drawable.quad_2030;
        case 2031: return R.drawable.quad_2031;
        case 2032: return R.drawable.quad_2032;
        case 2033: return R.drawable.quad_2033;
        case 2034: return R.drawable.quad_2034;
        case 2035: return R.drawable.quad_2035;
        case 2040: return R.drawable.quad_2040;
        case 2041: return R.drawable.quad_2041;
        case 2042: return R.drawable.quad_2042;
        case 2043: return R.drawable.quad_2043;
        case 2044: return R.drawable.quad_2044;
        case 2045: return R.drawable.quad_2045;
        case 2050: return R.drawable.quad_2050;
        case 2051: return R.drawable.quad_2051;
        case 2052: return R.drawable.quad_2052;
        case 2053: return R.drawable.quad_2053;
        case 2054: return R.drawable.quad_2054;
        case 2055: return R.drawable.quad_2055;
        case 2100: return R.drawable.quad_2100;
        case 2101: return R.drawable.quad_2101;
        case 2102: return R.drawable.quad_2102;
        case 2103: return R.drawable.quad_2103;
        case 2104: return R.drawable.quad_2104;
        case 2105: return R.drawable.quad_2105;
        case 2110: return R.drawable.quad_2110;
        case 2111: return R.drawable.quad_2111;
        case 2112: return R.drawable.quad_2112;
        case 2113: return R.drawable.quad_2113;
        case 2114: return R.drawable.quad_2114;
        case 2115: return R.drawable.quad_2115;
        case 2120: return R.drawable.quad_2120;
        case 2121: return R.drawable.quad_2121;
        case 2122: return R.drawable.quad_2122;
        case 2123: return R.drawable.quad_2123;
        case 2124: return R.drawable.quad_2124;
        case 2125: return R.drawable.quad_2125;
        case 2130: return R.drawable.quad_2130;
        case 2131: return R.drawable.quad_2131;
        case 2132: return R.drawable.quad_2132;
        case 2133: return R.drawable.quad_2133;
        case 2134: return R.drawable.quad_2134;
        case 2135: return R.drawable.quad_2135;
        case 2140: return R.drawable.quad_2140;
        case 2141: return R.drawable.quad_2141;
        case 2142: return R.drawable.quad_2142;
        case 2143: return R.drawable.quad_2143;
        case 2144: return R.drawable.quad_2144;
        case 2145: return R.drawable.quad_2145;
        case 2150: return R.drawable.quad_2150;
        case 2151: return R.drawable.quad_2151;
        case 2152: return R.drawable.quad_2152;
        case 2153: return R.drawable.quad_2153;
        case 2154: return R.drawable.quad_2154;
        case 2155: return R.drawable.quad_2155;
        case 2200: return R.drawable.quad_2200;
        case 2201: return R.drawable.quad_2201;
        case 2202: return R.drawable.quad_2202;
        case 2203: return R.drawable.quad_2203;
        case 2204: return R.drawable.quad_2204;
        case 2205: return R.drawable.quad_2205;
        case 2210: return R.drawable.quad_2210;
        case 2211: return R.drawable.quad_2211;
        case 2212: return R.drawable.quad_2212;
        case 2213: return R.drawable.quad_2213;
        case 2214: return R.drawable.quad_2214;
        case 2215: return R.drawable.quad_2215;
        case 2220: return R.drawable.quad_2220;
        case 2221: return R.drawable.quad_2221;
        case 2222: return R.drawable.quad_2222;
        case 2223: return R.drawable.quad_2223;
        case 2224: return R.drawable.quad_2224;
        case 2225: return R.drawable.quad_2225;
        case 2230: return R.drawable.quad_2230;
        case 2231: return R.drawable.quad_2231;
        case 2232: return R.drawable.quad_2232;
        case 2233: return R.drawable.quad_2233;
        case 2234: return R.drawable.quad_2234;
        case 2235: return R.drawable.quad_2235;
        case 2240: return R.drawable.quad_2240;
        case 2241: return R.drawable.quad_2241;
        case 2242: return R.drawable.quad_2242;
        case 2243: return R.drawable.quad_2243;
        case 2244: return R.drawable.quad_2244;
        case 2245: return R.drawable.quad_2245;
        case 2250: return R.drawable.quad_2250;
        case 2251: return R.drawable.quad_2251;
        case 2252: return R.drawable.quad_2252;
        case 2253: return R.drawable.quad_2253;
        case 2254: return R.drawable.quad_2254;
        case 2255: return R.drawable.quad_2255;
        case 2300: return R.drawable.quad_2300;
        case 2301: return R.drawable.quad_2301;
        case 2302: return R.drawable.quad_2302;
        case 2303: return R.drawable.quad_2303;
        case 2304: return R.drawable.quad_2304;
        case 2305: return R.drawable.quad_2305;
        case 2310: return R.drawable.quad_2310;
        case 2311: return R.drawable.quad_2311;
        case 2312: return R.drawable.quad_2312;
        case 2313: return R.drawable.quad_2313;
        case 2314: return R.drawable.quad_2314;
        case 2315: return R.drawable.quad_2315;
        case 2320: return R.drawable.quad_2320;
        case 2321: return R.drawable.quad_2321;
        case 2322: return R.drawable.quad_2322;
        case 2323: return R.drawable.quad_2323;
        case 2324: return R.drawable.quad_2324;
        case 2325: return R.drawable.quad_2325;
        case 2330: return R.drawable.quad_2330;
        case 2331: return R.drawable.quad_2331;
        case 2332: return R.drawable.quad_2332;
        case 2333: return R.drawable.quad_2333;
        case 2334: return R.drawable.quad_2334;
        case 2335: return R.drawable.quad_2335;
        case 2340: return R.drawable.quad_2340;
        case 2341: return R.drawable.quad_2341;
        case 2342: return R.drawable.quad_2342;
        case 2343: return R.drawable.quad_2343;
        case 2344: return R.drawable.quad_2344;
        case 2345: return R.drawable.quad_2345;
        case 2350: return R.drawable.quad_2350;
        case 2351: return R.drawable.quad_2351;
        case 2352: return R.drawable.quad_2352;
        case 2353: return R.drawable.quad_2353;
        case 2354: return R.drawable.quad_2354;
        case 2355: return R.drawable.quad_2355;
        case 2400: return R.drawable.quad_2400;
        case 2401: return R.drawable.quad_2401;
        case 2402: return R.drawable.quad_2402;
        case 2403: return R.drawable.quad_2403;
        case 2404: return R.drawable.quad_2404;
        case 2405: return R.drawable.quad_2405;
        case 2410: return R.drawable.quad_2410;
        case 2411: return R.drawable.quad_2411;
        case 2412: return R.drawable.quad_2412;
        case 2413: return R.drawable.quad_2413;
        case 2414: return R.drawable.quad_2414;
        case 2415: return R.drawable.quad_2415;
        case 2420: return R.drawable.quad_2420;
        case 2421: return R.drawable.quad_2421;
        case 2422: return R.drawable.quad_2422;
        case 2423: return R.drawable.quad_2423;
        case 2424: return R.drawable.quad_2424;
        case 2425: return R.drawable.quad_2425;
        case 2430: return R.drawable.quad_2430;
        case 2431: return R.drawable.quad_2431;
        case 2432: return R.drawable.quad_2432;
        case 2433: return R.drawable.quad_2433;
        case 2434: return R.drawable.quad_2434;
        case 2435: return R.drawable.quad_2435;
        case 2440: return R.drawable.quad_2440;
        case 2441: return R.drawable.quad_2441;
        case 2442: return R.drawable.quad_2442;
        case 2443: return R.drawable.quad_2443;
        case 2444: return R.drawable.quad_2444;
        case 2445: return R.drawable.quad_2445;
        case 2450: return R.drawable.quad_2450;
        case 2451: return R.drawable.quad_2451;
        case 2452: return R.drawable.quad_2452;
        case 2453: return R.drawable.quad_2453;
        case 2454: return R.drawable.quad_2454;
        case 2455: return R.drawable.quad_2455;
        case 2500: return R.drawable.quad_2500;
        case 2501: return R.drawable.quad_2501;
        case 2502: return R.drawable.quad_2502;
        case 2503: return R.drawable.quad_2503;
        case 2504: return R.drawable.quad_2504;
        case 2505: return R.drawable.quad_2505;
        case 2510: return R.drawable.quad_2510;
        case 2511: return R.drawable.quad_2511;
        case 2512: return R.drawable.quad_2512;
        case 2513: return R.drawable.quad_2513;
        case 2514: return R.drawable.quad_2514;
        case 2515: return R.drawable.quad_2515;
        case 2520: return R.drawable.quad_2520;
        case 2521: return R.drawable.quad_2521;
        case 2522: return R.drawable.quad_2522;
        case 2523: return R.drawable.quad_2523;
        case 2524: return R.drawable.quad_2524;
        case 2525: return R.drawable.quad_2525;
        case 2530: return R.drawable.quad_2530;
        case 2531: return R.drawable.quad_2531;
        case 2532: return R.drawable.quad_2532;
        case 2533: return R.drawable.quad_2533;
        case 2534: return R.drawable.quad_2534;
        case 2535: return R.drawable.quad_2535;
        case 2540: return R.drawable.quad_2540;
        case 2541: return R.drawable.quad_2541;
        case 2542: return R.drawable.quad_2542;
        case 2543: return R.drawable.quad_2543;
        case 2544: return R.drawable.quad_2544;
        case 2545: return R.drawable.quad_2545;
        case 2550: return R.drawable.quad_2550;
        case 2551: return R.drawable.quad_2551;
        case 2552: return R.drawable.quad_2552;
        case 2553: return R.drawable.quad_2553;
        case 2554: return R.drawable.quad_2554;
        case 2555: return R.drawable.quad_2555;
        case 3000: return R.drawable.quad_3000;
        case 3001: return R.drawable.quad_3001;
        case 3002: return R.drawable.quad_3002;
        case 3003: return R.drawable.quad_3003;
        case 3004: return R.drawable.quad_3004;
        case 3005: return R.drawable.quad_3005;
        case 3010: return R.drawable.quad_3010;
        case 3011: return R.drawable.quad_3011;
        case 3012: return R.drawable.quad_3012;
        case 3013: return R.drawable.quad_3013;
        case 3014: return R.drawable.quad_3014;
        case 3015: return R.drawable.quad_3015;
        case 3020: return R.drawable.quad_3020;
        case 3021: return R.drawable.quad_3021;
        case 3022: return R.drawable.quad_3022;
        case 3023: return R.drawable.quad_3023;
        case 3024: return R.drawable.quad_3024;
        case 3025: return R.drawable.quad_3025;
        case 3030: return R.drawable.quad_3030;
        case 3031: return R.drawable.quad_3031;
        case 3032: return R.drawable.quad_3032;
        case 3033: return R.drawable.quad_3033;
        case 3034: return R.drawable.quad_3034;
        case 3035: return R.drawable.quad_3035;
        case 3040: return R.drawable.quad_3040;
        case 3041: return R.drawable.quad_3041;
        case 3042: return R.drawable.quad_3042;
        case 3043: return R.drawable.quad_3043;
        case 3044: return R.drawable.quad_3044;
        case 3045: return R.drawable.quad_3045;
        case 3050: return R.drawable.quad_3050;
        case 3051: return R.drawable.quad_3051;
        case 3052: return R.drawable.quad_3052;
        case 3053: return R.drawable.quad_3053;
        case 3054: return R.drawable.quad_3054;
        case 3055: return R.drawable.quad_3055;
        case 3100: return R.drawable.quad_3100;
        case 3101: return R.drawable.quad_3101;
        case 3102: return R.drawable.quad_3102;
        case 3103: return R.drawable.quad_3103;
        case 3104: return R.drawable.quad_3104;
        case 3105: return R.drawable.quad_3105;
        case 3110: return R.drawable.quad_3110;
        case 3111: return R.drawable.quad_3111;
        case 3112: return R.drawable.quad_3112;
        case 3113: return R.drawable.quad_3113;
        case 3114: return R.drawable.quad_3114;
        case 3115: return R.drawable.quad_3115;
        case 3120: return R.drawable.quad_3120;
        case 3121: return R.drawable.quad_3121;
        case 3122: return R.drawable.quad_3122;
        case 3123: return R.drawable.quad_3123;
        case 3124: return R.drawable.quad_3124;
        case 3125: return R.drawable.quad_3125;
        case 3130: return R.drawable.quad_3130;
        case 3131: return R.drawable.quad_3131;
        case 3132: return R.drawable.quad_3132;
        case 3133: return R.drawable.quad_3133;
        case 3134: return R.drawable.quad_3134;
        case 3135: return R.drawable.quad_3135;
        case 3140: return R.drawable.quad_3140;
        case 3141: return R.drawable.quad_3141;
        case 3142: return R.drawable.quad_3142;
        case 3143: return R.drawable.quad_3143;
        case 3144: return R.drawable.quad_3144;
        case 3145: return R.drawable.quad_3145;
        case 3150: return R.drawable.quad_3150;
        case 3151: return R.drawable.quad_3151;
        case 3152: return R.drawable.quad_3152;
        case 3153: return R.drawable.quad_3153;
        case 3154: return R.drawable.quad_3154;
        case 3155: return R.drawable.quad_3155;
        case 3200: return R.drawable.quad_3200;
        case 3201: return R.drawable.quad_3201;
        case 3202: return R.drawable.quad_3202;
        case 3203: return R.drawable.quad_3203;
        case 3204: return R.drawable.quad_3204;
        case 3205: return R.drawable.quad_3205;
        case 3210: return R.drawable.quad_3210;
        case 3211: return R.drawable.quad_3211;
        case 3212: return R.drawable.quad_3212;
        case 3213: return R.drawable.quad_3213;
        case 3214: return R.drawable.quad_3214;
        case 3215: return R.drawable.quad_3215;
        case 3220: return R.drawable.quad_3220;
        case 3221: return R.drawable.quad_3221;
        case 3222: return R.drawable.quad_3222;
        case 3223: return R.drawable.quad_3223;
        case 3224: return R.drawable.quad_3224;
        case 3225: return R.drawable.quad_3225;
        case 3230: return R.drawable.quad_3230;
        case 3231: return R.drawable.quad_3231;
        case 3232: return R.drawable.quad_3232;
        case 3233: return R.drawable.quad_3233;
        case 3234: return R.drawable.quad_3234;
        case 3235: return R.drawable.quad_3235;
        case 3240: return R.drawable.quad_3240;
        case 3241: return R.drawable.quad_3241;
        case 3242: return R.drawable.quad_3242;
        case 3243: return R.drawable.quad_3243;
        case 3244: return R.drawable.quad_3244;
        case 3245: return R.drawable.quad_3245;
        case 3250: return R.drawable.quad_3250;
        case 3251: return R.drawable.quad_3251;
        case 3252: return R.drawable.quad_3252;
        case 3253: return R.drawable.quad_3253;
        case 3254: return R.drawable.quad_3254;
        case 3255: return R.drawable.quad_3255;
        case 3300: return R.drawable.quad_3300;
        case 3301: return R.drawable.quad_3301;
        case 3302: return R.drawable.quad_3302;
        case 3303: return R.drawable.quad_3303;
        case 3304: return R.drawable.quad_3304;
        case 3305: return R.drawable.quad_3305;
        case 3310: return R.drawable.quad_3310;
        case 3311: return R.drawable.quad_3311;
        case 3312: return R.drawable.quad_3312;
        case 3313: return R.drawable.quad_3313;
        case 3314: return R.drawable.quad_3314;
        case 3315: return R.drawable.quad_3315;
        case 3320: return R.drawable.quad_3320;
        case 3321: return R.drawable.quad_3321;
        case 3322: return R.drawable.quad_3322;
        case 3323: return R.drawable.quad_3323;
        case 3324: return R.drawable.quad_3324;
        case 3325: return R.drawable.quad_3325;
        case 3330: return R.drawable.quad_3330;
        case 3331: return R.drawable.quad_3331;
        case 3332: return R.drawable.quad_3332;
        case 3333: return R.drawable.quad_3333;
        case 3334: return R.drawable.quad_3334;
        case 3335: return R.drawable.quad_3335;
        case 3340: return R.drawable.quad_3340;
        case 3341: return R.drawable.quad_3341;
        case 3342: return R.drawable.quad_3342;
        case 3343: return R.drawable.quad_3343;
        case 3344: return R.drawable.quad_3344;
        case 3345: return R.drawable.quad_3345;
        case 3350: return R.drawable.quad_3350;
        case 3351: return R.drawable.quad_3351;
        case 3352: return R.drawable.quad_3352;
        case 3353: return R.drawable.quad_3353;
        case 3354: return R.drawable.quad_3354;
        case 3355: return R.drawable.quad_3355;
        case 3400: return R.drawable.quad_3400;
        case 3401: return R.drawable.quad_3401;
        case 3402: return R.drawable.quad_3402;
        case 3403: return R.drawable.quad_3403;
        case 3404: return R.drawable.quad_3404;
        case 3405: return R.drawable.quad_3405;
        case 3410: return R.drawable.quad_3410;
        case 3411: return R.drawable.quad_3411;
        case 3412: return R.drawable.quad_3412;
        case 3413: return R.drawable.quad_3413;
        case 3414: return R.drawable.quad_3414;
        case 3415: return R.drawable.quad_3415;
        case 3420: return R.drawable.quad_3420;
        case 3421: return R.drawable.quad_3421;
        case 3422: return R.drawable.quad_3422;
        case 3423: return R.drawable.quad_3423;
        case 3424: return R.drawable.quad_3424;
        case 3425: return R.drawable.quad_3425;
        case 3430: return R.drawable.quad_3430;
        case 3431: return R.drawable.quad_3431;
        case 3432: return R.drawable.quad_3432;
        case 3433: return R.drawable.quad_3433;
        case 3434: return R.drawable.quad_3434;
        case 3435: return R.drawable.quad_3435;
        case 3440: return R.drawable.quad_3440;
        case 3441: return R.drawable.quad_3441;
        case 3442: return R.drawable.quad_3442;
        case 3443: return R.drawable.quad_3443;
        case 3444: return R.drawable.quad_3444;
        case 3445: return R.drawable.quad_3445;
        case 3450: return R.drawable.quad_3450;
        case 3451: return R.drawable.quad_3451;
        case 3452: return R.drawable.quad_3452;
        case 3453: return R.drawable.quad_3453;
        case 3454: return R.drawable.quad_3454;
        case 3455: return R.drawable.quad_3455;
        case 3500: return R.drawable.quad_3500;
        case 3501: return R.drawable.quad_3501;
        case 3502: return R.drawable.quad_3502;
        case 3503: return R.drawable.quad_3503;
        case 3504: return R.drawable.quad_3504;
        case 3505: return R.drawable.quad_3505;
        case 3510: return R.drawable.quad_3510;
        case 3511: return R.drawable.quad_3511;
        case 3512: return R.drawable.quad_3512;
        case 3513: return R.drawable.quad_3513;
        case 3514: return R.drawable.quad_3514;
        case 3515: return R.drawable.quad_3515;
        case 3520: return R.drawable.quad_3520;
        case 3521: return R.drawable.quad_3521;
        case 3522: return R.drawable.quad_3522;
        case 3523: return R.drawable.quad_3523;
        case 3524: return R.drawable.quad_3524;
        case 3525: return R.drawable.quad_3525;
        case 3530: return R.drawable.quad_3530;
        case 3531: return R.drawable.quad_3531;
        case 3532: return R.drawable.quad_3532;
        case 3533: return R.drawable.quad_3533;
        case 3534: return R.drawable.quad_3534;
        case 3535: return R.drawable.quad_3535;
        case 3540: return R.drawable.quad_3540;
        case 3541: return R.drawable.quad_3541;
        case 3542: return R.drawable.quad_3542;
        case 3543: return R.drawable.quad_3543;
        case 3544: return R.drawable.quad_3544;
        case 3545: return R.drawable.quad_3545;
        case 3550: return R.drawable.quad_3550;
        case 3551: return R.drawable.quad_3551;
        case 3552: return R.drawable.quad_3552;
        case 3553: return R.drawable.quad_3553;
        case 3554: return R.drawable.quad_3554;
        case 3555: return R.drawable.quad_3555;
        case 4000: return R.drawable.quad_4000;
        case 4001: return R.drawable.quad_4001;
        case 4002: return R.drawable.quad_4002;
        case 4003: return R.drawable.quad_4003;
        case 4004: return R.drawable.quad_4004;
        case 4005: return R.drawable.quad_4005;
        case 4010: return R.drawable.quad_4010;
        case 4011: return R.drawable.quad_4011;
        case 4012: return R.drawable.quad_4012;
        case 4013: return R.drawable.quad_4013;
        case 4014: return R.drawable.quad_4014;
        case 4015: return R.drawable.quad_4015;
        case 4020: return R.drawable.quad_4020;
        case 4021: return R.drawable.quad_4021;
        case 4022: return R.drawable.quad_4022;
        case 4023: return R.drawable.quad_4023;
        case 4024: return R.drawable.quad_4024;
        case 4025: return R.drawable.quad_4025;
        case 4030: return R.drawable.quad_4030;
        case 4031: return R.drawable.quad_4031;
        case 4032: return R.drawable.quad_4032;
        case 4033: return R.drawable.quad_4033;
        case 4034: return R.drawable.quad_4034;
        case 4035: return R.drawable.quad_4035;
        case 4040: return R.drawable.quad_4040;
        case 4041: return R.drawable.quad_4041;
        case 4042: return R.drawable.quad_4042;
        case 4043: return R.drawable.quad_4043;
        case 4044: return R.drawable.quad_4044;
        case 4045: return R.drawable.quad_4045;
        case 4050: return R.drawable.quad_4050;
        case 4051: return R.drawable.quad_4051;
        case 4052: return R.drawable.quad_4052;
        case 4053: return R.drawable.quad_4053;
        case 4054: return R.drawable.quad_4054;
        case 4055: return R.drawable.quad_4055;
        case 4100: return R.drawable.quad_4100;
        case 4101: return R.drawable.quad_4101;
        case 4102: return R.drawable.quad_4102;
        case 4103: return R.drawable.quad_4103;
        case 4104: return R.drawable.quad_4104;
        case 4105: return R.drawable.quad_4105;
        case 4110: return R.drawable.quad_4110;
        case 4111: return R.drawable.quad_4111;
        case 4112: return R.drawable.quad_4112;
        case 4113: return R.drawable.quad_4113;
        case 4114: return R.drawable.quad_4114;
        case 4115: return R.drawable.quad_4115;
        case 4120: return R.drawable.quad_4120;
        case 4121: return R.drawable.quad_4121;
        case 4122: return R.drawable.quad_4122;
        case 4123: return R.drawable.quad_4123;
        case 4124: return R.drawable.quad_4124;
        case 4125: return R.drawable.quad_4125;
        case 4130: return R.drawable.quad_4130;
        case 4131: return R.drawable.quad_4131;
        case 4132: return R.drawable.quad_4132;
        case 4133: return R.drawable.quad_4133;
        case 4134: return R.drawable.quad_4134;
        case 4135: return R.drawable.quad_4135;
        case 4140: return R.drawable.quad_4140;
        case 4141: return R.drawable.quad_4141;
        case 4142: return R.drawable.quad_4142;
        case 4143: return R.drawable.quad_4143;
        case 4144: return R.drawable.quad_4144;
        case 4145: return R.drawable.quad_4145;
        case 4150: return R.drawable.quad_4150;
        case 4151: return R.drawable.quad_4151;
        case 4152: return R.drawable.quad_4152;
        case 4153: return R.drawable.quad_4153;
        case 4154: return R.drawable.quad_4154;
        case 4155: return R.drawable.quad_4155;
        case 4200: return R.drawable.quad_4200;
        case 4201: return R.drawable.quad_4201;
        case 4202: return R.drawable.quad_4202;
        case 4203: return R.drawable.quad_4203;
        case 4204: return R.drawable.quad_4204;
        case 4205: return R.drawable.quad_4205;
        case 4210: return R.drawable.quad_4210;
        case 4211: return R.drawable.quad_4211;
        case 4212: return R.drawable.quad_4212;
        case 4213: return R.drawable.quad_4213;
        case 4214: return R.drawable.quad_4214;
        case 4215: return R.drawable.quad_4215;
        case 4220: return R.drawable.quad_4220;
        case 4221: return R.drawable.quad_4221;
        case 4222: return R.drawable.quad_4222;
        case 4223: return R.drawable.quad_4223;
        case 4224: return R.drawable.quad_4224;
        case 4225: return R.drawable.quad_4225;
        case 4230: return R.drawable.quad_4230;
        case 4231: return R.drawable.quad_4231;
        case 4232: return R.drawable.quad_4232;
        case 4233: return R.drawable.quad_4233;
        case 4234: return R.drawable.quad_4234;
        case 4235: return R.drawable.quad_4235;
        case 4240: return R.drawable.quad_4240;
        case 4241: return R.drawable.quad_4241;
        case 4242: return R.drawable.quad_4242;
        case 4243: return R.drawable.quad_4243;
        case 4244: return R.drawable.quad_4244;
        case 4245: return R.drawable.quad_4245;
        case 4250: return R.drawable.quad_4250;
        case 4251: return R.drawable.quad_4251;
        case 4252: return R.drawable.quad_4252;
        case 4253: return R.drawable.quad_4253;
        case 4254: return R.drawable.quad_4254;
        case 4255: return R.drawable.quad_4255;
        case 4300: return R.drawable.quad_4300;
        case 4301: return R.drawable.quad_4301;
        case 4302: return R.drawable.quad_4302;
        case 4303: return R.drawable.quad_4303;
        case 4304: return R.drawable.quad_4304;
        case 4305: return R.drawable.quad_4305;
        case 4310: return R.drawable.quad_4310;
        case 4311: return R.drawable.quad_4311;
        case 4312: return R.drawable.quad_4312;
        case 4313: return R.drawable.quad_4313;
        case 4314: return R.drawable.quad_4314;
        case 4315: return R.drawable.quad_4315;
        case 4320: return R.drawable.quad_4320;
        case 4321: return R.drawable.quad_4321;
        case 4322: return R.drawable.quad_4322;
        case 4323: return R.drawable.quad_4323;
        case 4324: return R.drawable.quad_4324;
        case 4325: return R.drawable.quad_4325;
        case 4330: return R.drawable.quad_4330;
        case 4331: return R.drawable.quad_4331;
        case 4332: return R.drawable.quad_4332;
        case 4333: return R.drawable.quad_4333;
        case 4334: return R.drawable.quad_4334;
        case 4335: return R.drawable.quad_4335;
        case 4340: return R.drawable.quad_4340;
        case 4341: return R.drawable.quad_4341;
        case 4342: return R.drawable.quad_4342;
        case 4343: return R.drawable.quad_4343;
        case 4344: return R.drawable.quad_4344;
        case 4345: return R.drawable.quad_4345;
        case 4350: return R.drawable.quad_4350;
        case 4351: return R.drawable.quad_4351;
        case 4352: return R.drawable.quad_4352;
        case 4353: return R.drawable.quad_4353;
        case 4354: return R.drawable.quad_4354;
        case 4355: return R.drawable.quad_4355;
        case 4400: return R.drawable.quad_4400;
        case 4401: return R.drawable.quad_4401;
        case 4402: return R.drawable.quad_4402;
        case 4403: return R.drawable.quad_4403;
        case 4404: return R.drawable.quad_4404;
        case 4405: return R.drawable.quad_4405;
        case 4410: return R.drawable.quad_4410;
        case 4411: return R.drawable.quad_4411;
        case 4412: return R.drawable.quad_4412;
        case 4413: return R.drawable.quad_4413;
        case 4414: return R.drawable.quad_4414;
        case 4415: return R.drawable.quad_4415;
        case 4420: return R.drawable.quad_4420;
        case 4421: return R.drawable.quad_4421;
        case 4422: return R.drawable.quad_4422;
        case 4423: return R.drawable.quad_4423;
        case 4424: return R.drawable.quad_4424;
        case 4425: return R.drawable.quad_4425;
        case 4430: return R.drawable.quad_4430;
        case 4431: return R.drawable.quad_4431;
        case 4432: return R.drawable.quad_4432;
        case 4433: return R.drawable.quad_4433;
        case 4434: return R.drawable.quad_4434;
        case 4435: return R.drawable.quad_4435;
        case 4440: return R.drawable.quad_4440;
        case 4441: return R.drawable.quad_4441;
        case 4442: return R.drawable.quad_4442;
        case 4443: return R.drawable.quad_4443;
        case 4444: return R.drawable.quad_4444;
        case 4445: return R.drawable.quad_4445;
        case 4450: return R.drawable.quad_4450;
        case 4451: return R.drawable.quad_4451;
        case 4452: return R.drawable.quad_4452;
        case 4453: return R.drawable.quad_4453;
        case 4454: return R.drawable.quad_4454;
        case 4455: return R.drawable.quad_4455;
        case 4500: return R.drawable.quad_4500;
        case 4501: return R.drawable.quad_4501;
        case 4502: return R.drawable.quad_4502;
        case 4503: return R.drawable.quad_4503;
        case 4504: return R.drawable.quad_4504;
        case 4505: return R.drawable.quad_4505;
        case 4510: return R.drawable.quad_4510;
        case 4511: return R.drawable.quad_4511;
        case 4512: return R.drawable.quad_4512;
        case 4513: return R.drawable.quad_4513;
        case 4514: return R.drawable.quad_4514;
        case 4515: return R.drawable.quad_4515;
        case 4520: return R.drawable.quad_4520;
        case 4521: return R.drawable.quad_4521;
        case 4522: return R.drawable.quad_4522;
        case 4523: return R.drawable.quad_4523;
        case 4524: return R.drawable.quad_4524;
        case 4525: return R.drawable.quad_4525;
        case 4530: return R.drawable.quad_4530;
        case 4531: return R.drawable.quad_4531;
        case 4532: return R.drawable.quad_4532;
        case 4533: return R.drawable.quad_4533;
        case 4534: return R.drawable.quad_4534;
        case 4535: return R.drawable.quad_4535;
        case 4540: return R.drawable.quad_4540;
        case 4541: return R.drawable.quad_4541;
        case 4542: return R.drawable.quad_4542;
        case 4543: return R.drawable.quad_4543;
        case 4544: return R.drawable.quad_4544;
        case 4545: return R.drawable.quad_4545;
        case 4550: return R.drawable.quad_4550;
        case 4551: return R.drawable.quad_4551;
        case 4552: return R.drawable.quad_4552;
        case 4553: return R.drawable.quad_4553;
        case 4554: return R.drawable.quad_4554;
        case 4555: return R.drawable.quad_4555;
        case 5000: return R.drawable.quad_5000;
        case 5001: return R.drawable.quad_5001;
        case 5002: return R.drawable.quad_5002;
        case 5003: return R.drawable.quad_5003;
        case 5004: return R.drawable.quad_5004;
        case 5005: return R.drawable.quad_5005;
        case 5010: return R.drawable.quad_5010;
        case 5011: return R.drawable.quad_5011;
        case 5012: return R.drawable.quad_5012;
        case 5013: return R.drawable.quad_5013;
        case 5014: return R.drawable.quad_5014;
        case 5015: return R.drawable.quad_5015;
        case 5020: return R.drawable.quad_5020;
        case 5021: return R.drawable.quad_5021;
        case 5022: return R.drawable.quad_5022;
        case 5023: return R.drawable.quad_5023;
        case 5024: return R.drawable.quad_5024;
        case 5025: return R.drawable.quad_5025;
        case 5030: return R.drawable.quad_5030;
        case 5031: return R.drawable.quad_5031;
        case 5032: return R.drawable.quad_5032;
        case 5033: return R.drawable.quad_5033;
        case 5034: return R.drawable.quad_5034;
        case 5035: return R.drawable.quad_5035;
        case 5040: return R.drawable.quad_5040;
        case 5041: return R.drawable.quad_5041;
        case 5042: return R.drawable.quad_5042;
        case 5043: return R.drawable.quad_5043;
        case 5044: return R.drawable.quad_5044;
        case 5045: return R.drawable.quad_5045;
        case 5050: return R.drawable.quad_5050;
        case 5051: return R.drawable.quad_5051;
        case 5052: return R.drawable.quad_5052;
        case 5053: return R.drawable.quad_5053;
        case 5054: return R.drawable.quad_5054;
        case 5055: return R.drawable.quad_5055;
        case 5100: return R.drawable.quad_5100;
        case 5101: return R.drawable.quad_5101;
        case 5102: return R.drawable.quad_5102;
        case 5103: return R.drawable.quad_5103;
        case 5104: return R.drawable.quad_5104;
        case 5105: return R.drawable.quad_5105;
        case 5110: return R.drawable.quad_5110;
        case 5111: return R.drawable.quad_5111;
        case 5112: return R.drawable.quad_5112;
        case 5113: return R.drawable.quad_5113;
        case 5114: return R.drawable.quad_5114;
        case 5115: return R.drawable.quad_5115;
        case 5120: return R.drawable.quad_5120;
        case 5121: return R.drawable.quad_5121;
        case 5122: return R.drawable.quad_5122;
        case 5123: return R.drawable.quad_5123;
        case 5124: return R.drawable.quad_5124;
        case 5125: return R.drawable.quad_5125;
        case 5130: return R.drawable.quad_5130;
        case 5131: return R.drawable.quad_5131;
        case 5132: return R.drawable.quad_5132;
        case 5133: return R.drawable.quad_5133;
        case 5134: return R.drawable.quad_5134;
        case 5135: return R.drawable.quad_5135;
        case 5140: return R.drawable.quad_5140;
        case 5141: return R.drawable.quad_5141;
        case 5142: return R.drawable.quad_5142;
        case 5143: return R.drawable.quad_5143;
        case 5144: return R.drawable.quad_5144;
        case 5145: return R.drawable.quad_5145;
        case 5150: return R.drawable.quad_5150;
        case 5151: return R.drawable.quad_5151;
        case 5152: return R.drawable.quad_5152;
        case 5153: return R.drawable.quad_5153;
        case 5154: return R.drawable.quad_5154;
        case 5155: return R.drawable.quad_5155;
        case 5200: return R.drawable.quad_5200;
        case 5201: return R.drawable.quad_5201;
        case 5202: return R.drawable.quad_5202;
        case 5203: return R.drawable.quad_5203;
        case 5204: return R.drawable.quad_5204;
        case 5205: return R.drawable.quad_5205;
        case 5210: return R.drawable.quad_5210;
        case 5211: return R.drawable.quad_5211;
        case 5212: return R.drawable.quad_5212;
        case 5213: return R.drawable.quad_5213;
        case 5214: return R.drawable.quad_5214;
        case 5215: return R.drawable.quad_5215;
        case 5220: return R.drawable.quad_5220;
        case 5221: return R.drawable.quad_5221;
        case 5222: return R.drawable.quad_5222;
        case 5223: return R.drawable.quad_5223;
        case 5224: return R.drawable.quad_5224;
        case 5225: return R.drawable.quad_5225;
        case 5230: return R.drawable.quad_5230;
        case 5231: return R.drawable.quad_5231;
        case 5232: return R.drawable.quad_5232;
        case 5233: return R.drawable.quad_5233;
        case 5234: return R.drawable.quad_5234;
        case 5235: return R.drawable.quad_5235;
        case 5240: return R.drawable.quad_5240;
        case 5241: return R.drawable.quad_5241;
        case 5242: return R.drawable.quad_5242;
        case 5243: return R.drawable.quad_5243;
        case 5244: return R.drawable.quad_5244;
        case 5245: return R.drawable.quad_5245;
        case 5250: return R.drawable.quad_5250;
        case 5251: return R.drawable.quad_5251;
        case 5252: return R.drawable.quad_5252;
        case 5253: return R.drawable.quad_5253;
        case 5254: return R.drawable.quad_5254;
        case 5255: return R.drawable.quad_5255;
        case 5300: return R.drawable.quad_5300;
        case 5301: return R.drawable.quad_5301;
        case 5302: return R.drawable.quad_5302;
        case 5303: return R.drawable.quad_5303;
        case 5304: return R.drawable.quad_5304;
        case 5305: return R.drawable.quad_5305;
        case 5310: return R.drawable.quad_5310;
        case 5311: return R.drawable.quad_5311;
        case 5312: return R.drawable.quad_5312;
        case 5313: return R.drawable.quad_5313;
        case 5314: return R.drawable.quad_5314;
        case 5315: return R.drawable.quad_5315;
        case 5320: return R.drawable.quad_5320;
        case 5321: return R.drawable.quad_5321;
        case 5322: return R.drawable.quad_5322;
        case 5323: return R.drawable.quad_5323;
        case 5324: return R.drawable.quad_5324;
        case 5325: return R.drawable.quad_5325;
        case 5330: return R.drawable.quad_5330;
        case 5331: return R.drawable.quad_5331;
        case 5332: return R.drawable.quad_5332;
        case 5333: return R.drawable.quad_5333;
        case 5334: return R.drawable.quad_5334;
        case 5335: return R.drawable.quad_5335;
        case 5340: return R.drawable.quad_5340;
        case 5341: return R.drawable.quad_5341;
        case 5342: return R.drawable.quad_5342;
        case 5343: return R.drawable.quad_5343;
        case 5344: return R.drawable.quad_5344;
        case 5345: return R.drawable.quad_5345;
        case 5350: return R.drawable.quad_5350;
        case 5351: return R.drawable.quad_5351;
        case 5352: return R.drawable.quad_5352;
        case 5353: return R.drawable.quad_5353;
        case 5354: return R.drawable.quad_5354;
        case 5355: return R.drawable.quad_5355;
        case 5400: return R.drawable.quad_5400;
        case 5401: return R.drawable.quad_5401;
        case 5402: return R.drawable.quad_5402;
        case 5403: return R.drawable.quad_5403;
        case 5404: return R.drawable.quad_5404;
        case 5405: return R.drawable.quad_5405;
        case 5410: return R.drawable.quad_5410;
        case 5411: return R.drawable.quad_5411;
        case 5412: return R.drawable.quad_5412;
        case 5413: return R.drawable.quad_5413;
        case 5414: return R.drawable.quad_5414;
        case 5415: return R.drawable.quad_5415;
        case 5420: return R.drawable.quad_5420;
        case 5421: return R.drawable.quad_5421;
        case 5422: return R.drawable.quad_5422;
        case 5423: return R.drawable.quad_5423;
        case 5424: return R.drawable.quad_5424;
        case 5425: return R.drawable.quad_5425;
        case 5430: return R.drawable.quad_5430;
        case 5431: return R.drawable.quad_5431;
        case 5432: return R.drawable.quad_5432;
        case 5433: return R.drawable.quad_5433;
        case 5434: return R.drawable.quad_5434;
        case 5435: return R.drawable.quad_5435;
        case 5440: return R.drawable.quad_5440;
        case 5441: return R.drawable.quad_5441;
        case 5442: return R.drawable.quad_5442;
        case 5443: return R.drawable.quad_5443;
        case 5444: return R.drawable.quad_5444;
        case 5445: return R.drawable.quad_5445;
        case 5450: return R.drawable.quad_5450;
        case 5451: return R.drawable.quad_5451;
        case 5452: return R.drawable.quad_5452;
        case 5453: return R.drawable.quad_5453;
        case 5454: return R.drawable.quad_5454;
        case 5455: return R.drawable.quad_5455;
        case 5500: return R.drawable.quad_5500;
        case 5501: return R.drawable.quad_5501;
        case 5502: return R.drawable.quad_5502;
        case 5503: return R.drawable.quad_5503;
        case 5504: return R.drawable.quad_5504;
        case 5505: return R.drawable.quad_5505;
        case 5510: return R.drawable.quad_5510;
        case 5511: return R.drawable.quad_5511;
        case 5512: return R.drawable.quad_5512;
        case 5513: return R.drawable.quad_5513;
        case 5514: return R.drawable.quad_5514;
        case 5515: return R.drawable.quad_5515;
        case 5520: return R.drawable.quad_5520;
        case 5521: return R.drawable.quad_5521;
        case 5522: return R.drawable.quad_5522;
        case 5523: return R.drawable.quad_5523;
        case 5524: return R.drawable.quad_5524;
        case 5525: return R.drawable.quad_5525;
        case 5530: return R.drawable.quad_5530;
        case 5531: return R.drawable.quad_5531;
        case 5532: return R.drawable.quad_5532;
        case 5533: return R.drawable.quad_5533;
        case 5534: return R.drawable.quad_5534;
        case 5535: return R.drawable.quad_5535;
        case 5540: return R.drawable.quad_5540;
        case 5541: return R.drawable.quad_5541;
        case 5542: return R.drawable.quad_5542;
        case 5543: return R.drawable.quad_5543;
        case 5544: return R.drawable.quad_5544;
        case 5545: return R.drawable.quad_5545;
        case 5550: return R.drawable.quad_5550;
        case 5551: return R.drawable.quad_5551;
        case 5552: return R.drawable.quad_5552;
        case 5553: return R.drawable.quad_5553;
        case 5554: return R.drawable.quad_5554;
        case 5555: return R.drawable.quad_5555;
        default:
            return R.drawable.quad_0000;
        }
    }
}




Java Source Code List

jp.takke.cpustats.BootReceiver.java
jp.takke.cpustats.C.java
jp.takke.cpustats.ConfigActivity.java
jp.takke.cpustats.MyAsyncTask.java
jp.takke.cpustats.MyLog.java
jp.takke.cpustats.MyUtil.java
jp.takke.cpustats.PreviewActivity.java
jp.takke.cpustats.QuadResourceUtil.java
jp.takke.cpustats.QuadResourceUtil.java
jp.takke.cpustats.ResourceUtil.java
jp.takke.cpustats.UsageUpdateService.java