Searched refs:colorValue (Results 1 – 3 of 3) sorted by relevance
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | CaptionAppearanceFragment.java | 324 final int colorValue; in parseColorOpacity() local 328 colorValue = CaptioningManager.CaptionStyle.COLOR_UNSPECIFIED; in parseColorOpacity() 332 colorValue = Color.TRANSPARENT; in parseColorOpacity() 336 colorValue = value | 0xFF000000; in parseColorOpacity() 342 color.setValue(colorValue); in parseColorOpacity() 346 final int colorValue = color.getValue(); in mergeColorOpacity() local 350 if (!CaptioningManager.CaptionStyle.hasColor(colorValue)) { in mergeColorOpacity() 353 } else if (colorValue == Color.TRANSPARENT) { in mergeColorOpacity() 358 value = colorValue & 0x00FFFFFF | opacityValue & 0xFF000000; in mergeColorOpacity()
|
/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 | 3984 ContentValues colorValue = new ContentValues(); in handleUpdateColors() local 3986 colorValue.put(Calendars.CALENDAR_COLOR, color); in handleUpdateColors() 3987 mDb.update(Tables.CALENDARS, colorValue, SQL_WHERE_CALENDAR_COLOR, args); in handleUpdateColors() 3989 colorValue.put(Events.EVENT_COLOR, color); in handleUpdateColors() 3990 mDb.update(Tables.EVENTS, colorValue, SQL_WHERE_EVENT_COLOR, args); in handleUpdateColors()
|