Searched refs:SHADE_NUMBERS (Results 1 – 1 of 1) sorted by relevance
/frameworks/base/packages/EasterEgg/src/com/android/egg/widget/ |
D | PaintChipsWidget.kt | 60 val SHADE_NUMBERS = intArrayOf(0, 10, 50, 100, 200, 300, 400, 500, 600, 700, 800, 900, 1000) constant 197 to buildWidget(context, SHADE_NUMBERS.size, COLORS.size, ClickBehavior.LAUNCH) in updateAppWidget() 205 return buildWidget(context, SHADE_NUMBERS.size, COLORS.size, clickable) in buildFullWidget() 229 when (SHADE_NUMBERS[j]) { in buildWidget() 233 else -> if (numShades < SHADE_NUMBERS.size) return@shadeLoop in buildWidget() 237 val textColor = if (SHADE_NUMBERS[j] > 500) in buildWidget()
|