Searched refs:colorValue (Results 1 – 5 of 5) sorted by relevance
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | CaptionUtils.java | 31 final int colorValue; in parseColor() local 34 colorValue = CaptionStyle.COLOR_UNSPECIFIED; in parseColor() 37 colorValue = Color.TRANSPARENT; in parseColor() 40 colorValue = value | 0xFF000000; in parseColor() 42 return colorValue; in parseColor() 73 public static int mergeColorOpacity(int colorValue, int opacityValue) { in mergeColorOpacity() argument 76 if (!CaptionStyle.hasColor(colorValue)) { in mergeColorOpacity() 79 } else if (colorValue == Color.TRANSPARENT) { in mergeColorOpacity() 84 value = (colorValue & 0x00FFFFFF) | (opacityValue & 0xFF000000); in mergeColorOpacity()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/util/ |
D | SystemColors.kt | 33 val colorValue = TypedValue() in getColor() constant 35 if (theme.resolveAttribute(resId, colorValue, /* resolveRefs= */ true)) { in getColor() 37 TypedValue.TYPE_FIRST_COLOR_INT <= colorValue.type && in getColor() 38 colorValue.type <= TypedValue.TYPE_LAST_COLOR_INT in getColor() 40 return colorValue.data in getColor() 42 if (colorValue.type == TypedValue.TYPE_STRING) { in getColor() 43 return ContextCompat.getColor(context, colorValue.resourceId) in getColor()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | ImagePreviewFragment.java | 532 int colorValue = mColorFuture.get().getPlaceholderColor(); in surfaceCreated() local 533 if (colorValue != Color.TRANSPARENT) { in surfaceCreated() 534 placeHolderColor = colorValue; in surfaceCreated()
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarProvider2Test.java | 1489 long colorValue = 11; in testInsertUpdateDeleteColor() local 1490 long colorId = insertAndCheckColor(colorType, colorKey, colorValue); in testInsertUpdateDeleteColor() 1493 insertAndCheckColor(colorType, colorKey, colorValue); in testInsertUpdateDeleteColor() 1500 colorValue += 11; in testInsertUpdateDeleteColor() 1501 updateAndCheckColor(colorId, colorType, colorKey, colorValue); in testInsertUpdateDeleteColor() 1505 colorValue += 11; in testInsertUpdateDeleteColor() 1506 colorId = insertAndCheckColor(colorType, colorKey, colorValue); in testInsertUpdateDeleteColor() 1508 insertAndCheckColor(colorType, colorKey, colorValue); in testInsertUpdateDeleteColor() 1525 assertEquals(colorValue, c.getInt(0)); in testInsertUpdateDeleteColor() 1533 colorValue += 11; in testInsertUpdateDeleteColor() [all …]
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
D | CalendarProvider2.java | 3983 ContentValues colorValue = new ContentValues(); in handleUpdateColors() local 3985 colorValue.put(Calendars.CALENDAR_COLOR, color); in handleUpdateColors() 3986 mDb.update(Tables.CALENDARS, colorValue, SQL_WHERE_CALENDAR_COLOR, args); in handleUpdateColors() 3988 colorValue.put(Events.EVENT_COLOR, color); in handleUpdateColors() 3989 mDb.update(Tables.EVENTS, colorValue, SQL_WHERE_EVENT_COLOR, args); in handleUpdateColors()
|