1 |
|
package pl.magot.vetch.widgets; |
2 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (32) |
Complexity: 10 |
Complexity Density: 0,62 |
|
3 |
|
public class dayStyle { |
4 |
|
public final static int iColorFrameHeader = 0xff666666; |
5 |
|
public final static int iColorFrameHeaderHoliday = 0xff707070; |
6 |
|
public final static int iColorTextHeader = 0xffcccccc; |
7 |
|
public final static int iColorTextHeaderHoliday = 0xffd0d0d0; |
8 |
|
|
9 |
|
public final static int iColorText = 0xffdddddd; |
10 |
|
public final static int iColorBkg = 0xff888888; |
11 |
|
public final static int iColorTextHoliday = 0xfff0f0f0; |
12 |
|
public final static int iColorBkgHoliday = 0xffaaaaaa; |
13 |
|
|
14 |
|
public final static int iColorTextToday = 0xff002200; |
15 |
|
public final static int iColorBkgToday = 0xff88bb88; |
16 |
|
|
17 |
|
public final static int iColorTextSelected = 0xff001122; |
18 |
|
public final static int iColorBkgSelectedLight = 0xffbbddff; |
19 |
|
public final static int iColorBkgSelectedDark = 0xff225599; |
20 |
|
|
21 |
|
public final static int iColorTextFocused = 0xff221100; |
22 |
|
public final static int iColorBkgFocusLight = 0xffffddbb; |
23 |
|
public final static int iColorBkgFocusDark = 0xffaa5500; |
24 |
|
|
25 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (5) |
Complexity: 2 |
Complexity Density: 0,67 |
|
26 |
329
|
public static int getColorFrameHeader(boolean bHoliday) {... |
27 |
329
|
if (bHoliday) |
28 |
47
|
return iColorFrameHeaderHoliday; |
29 |
282
|
return iColorFrameHeader; |
30 |
|
} |
31 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (5) |
Complexity: 2 |
Complexity Density: 0,67 |
|
32 |
329
|
public static int getColorTextHeader(boolean bHoliday) {... |
33 |
329
|
if (bHoliday) |
34 |
47
|
return iColorTextHeaderHoliday; |
35 |
282
|
return iColorTextHeader; |
36 |
|
} |
37 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (9) |
Complexity: 3 |
Complexity Density: 0,6 |
|
38 |
2058
|
public static int getColorText(boolean bHoliday, boolean bToday) {... |
39 |
2058
|
if (bToday) |
40 |
7
|
return iColorTextToday; |
41 |
2051
|
if (bHoliday) |
42 |
625
|
return iColorTextHoliday; |
43 |
1426
|
return iColorText; |
44 |
|
} |
45 |
|
|
|
|
| 100% |
Uncovered Elements: 0 (9) |
Complexity: 3 |
Complexity Density: 0,6 |
|
46 |
2058
|
public static int getColorBkg(boolean bHoliday, boolean bToday) {... |
47 |
2058
|
if (bToday) |
48 |
7
|
return iColorBkgToday; |
49 |
2051
|
if (bHoliday) |
50 |
625
|
return iColorBkgHoliday; |
51 |
1426
|
return iColorBkg; |
52 |
|
} |
53 |
|
} |