Home
last modified time | relevance | path

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

/packages/apps/Settings/src/com/android/settings/accessibility/
DCaptionPropertiesFragment.java353 final int colorValue; in parseColorOpacity() local
356 colorValue = Color.TRANSPARENT; in parseColorOpacity()
359 colorValue = value | 0xFF000000; in parseColorOpacity()
362 color.setValue(colorValue); in parseColorOpacity()
367 final int colorValue = color.getValue(); in mergeColorOpacity() local
370 if (Color.alpha(colorValue) == 0) { in mergeColorOpacity()
371 value = colorValue & 0x00FFFF00 | Color.alpha(opacityValue); in mergeColorOpacity()
373 value = colorValue & 0x00FFFFFF | opacityValue & 0xFF000000; in mergeColorOpacity()
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarProvider2Test.java1347 long colorValue = 11; in testInsertUpdateDeleteColor() local
1348 long colorId = insertAndCheckColor(colorType, colorKey, colorValue); in testInsertUpdateDeleteColor()
1351 insertAndCheckColor(colorType, colorKey, colorValue); in testInsertUpdateDeleteColor()
1358 colorValue += 11; in testInsertUpdateDeleteColor()
1359 updateAndCheckColor(colorId, colorType, colorKey, colorValue); in testInsertUpdateDeleteColor()
1363 colorValue += 11; in testInsertUpdateDeleteColor()
1364 colorId = insertAndCheckColor(colorType, colorKey, colorValue); in testInsertUpdateDeleteColor()
1366 insertAndCheckColor(colorType, colorKey, colorValue); in testInsertUpdateDeleteColor()
1383 assertEquals(colorValue, c.getInt(0)); in testInsertUpdateDeleteColor()
1391 colorValue += 11; in testInsertUpdateDeleteColor()
[all …]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java3705 ContentValues colorValue = new ContentValues(); in handleUpdateColors() local
3707 colorValue.put(Calendars.CALENDAR_COLOR, color); in handleUpdateColors()
3708 mDb.update(Tables.CALENDARS, colorValue, SQL_WHERE_CALENDAR_COLOR, args); in handleUpdateColors()
3710 colorValue.put(Events.EVENT_COLOR, color); in handleUpdateColors()
3711 mDb.update(Tables.EVENTS, colorValue, SQL_WHERE_EVENT_COLOR, args); in handleUpdateColors()