Home
last modified time | relevance | path

Searched refs:colorStrings (Results 1 – 3 of 3) sorted by relevance

/packages/apps/WallpaperPicker2/tests/common/src/com/android/wallpaper/testing/
DTestWallpaperPreferences.kt409 val colorStrings = in getWallpaperColors() constant
411 val colorPrimary = Color.valueOf(colorStrings[0].toInt()) in getWallpaperColors()
413 if (colorStrings.size >= 2) { in getWallpaperColors()
414 colorSecondary = Color.valueOf(colorStrings[1].toInt()) in getWallpaperColors()
417 if (colorStrings.size >= 3) { in getWallpaperColors()
418 colorTerTiary = Color.valueOf(colorStrings[2].toInt()) in getWallpaperColors()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPreferences.kt828 val colorStrings = value.split(",") in <lambda>() constant
829 val colorPrimary = Color.valueOf(colorStrings[0].toInt()) in <lambda>()
831 if (colorStrings.size >= 2) { in <lambda>()
832 colorSecondary = Color.valueOf(colorStrings[1].toInt()) in <lambda>()
835 if (colorStrings.size >= 3) { in <lambda>()
836 colorTerTiary = Color.valueOf(colorStrings[2].toInt()) in <lambda>()
/packages/apps/Settings/src/com/android/settings/network/telephony/
DRenameMobileNetworkDialogFragment.java248 final String[] colorStrings = res.getStringArray(R.array.color_picker); in getColors() local
253 colors[i] = new Color(colorStrings[i], colorInts[i], iconSize, strokeWidth); in getColors()