@@ -51,8 +51,8 @@ public static List<Integer> score(Map<Integer, Integer> colorsToPopulation, int
51
51
}
52
52
53
53
public static List <Integer > score (
54
- Map <Integer , Integer > colorsToPopulation , int desired , int fallbackColorARGB ) {
55
- return score (colorsToPopulation , desired , fallbackColorARGB , true );
54
+ Map <Integer , Integer > colorsToPopulation , int desired , int fallbackColorArgb ) {
55
+ return score (colorsToPopulation , desired , fallbackColorArgb , true );
56
56
}
57
57
58
58
/**
@@ -62,7 +62,7 @@ public static List<Integer> score(
62
62
* @param colorsToPopulation map with keys of colors and values of how often the color appears,
63
63
* usually from a source image.
64
64
* @param desired max count of colors to be returned in the list.
65
- * @param fallbackColorARGB color to be returned if no other options available.
65
+ * @param fallbackColorArgb color to be returned if no other options available.
66
66
* @param filter whether to filter out undesireable combinations.
67
67
* @return Colors sorted by suitability for a UI theme. The most suitable color is the first item,
68
68
* the least suitable is the last. There will always be at least one color returned. If all
@@ -72,7 +72,7 @@ public static List<Integer> score(
72
72
public static List <Integer > score (
73
73
Map <Integer , Integer > colorsToPopulation ,
74
74
int desired ,
75
- int fallbackColorARGB ,
75
+ int fallbackColorArgb ,
76
76
boolean filter ) {
77
77
78
78
// Get the HCT color for each Argb value, while finding the per hue count and
@@ -147,7 +147,7 @@ public static List<Integer> score(
147
147
}
148
148
List <Integer > colors = new ArrayList <>();
149
149
if (chosenColors .isEmpty ()) {
150
- colors .add (fallbackColorARGB );
150
+ colors .add (fallbackColorArgb );
151
151
}
152
152
for (Hct chosenHct : chosenColors ) {
153
153
colors .add (chosenHct .toInt ());
0 commit comments