Home
last modified time | relevance | path

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

/packages/apps/Messaging/jni/
DGifTranscoder.cpp386 GifByteType colorIndex = *getPixel(rasterBits, gifIn->Image.Width, x, y); in renderImage() local
387 if (colorIndex >= colorMap->ColorCount) { in renderImage()
388 LOGE("Color Index %d is out of bounds (count=%d)", colorIndex, in renderImage()
399 colorIndex == transparentColorIndex) { in renderImage()
404 *renderPixel = getColorARGB(colorMap, transparentColorIndex, colorIndex); in renderImage()
498 GifByteType colorIndex) { in getColorARGB() argument
499 if (colorIndex == transparentColorIndex) { in getColorARGB()
502 return gifColorToColorARGB(colorMap->Colors[colorIndex]); in getColorARGB()
DGifTranscoder.h99 GifByteType colorIndex);
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
DCalendarProvider2.java2483 String colorIndex = values.getAsString(Colors.COLOR_KEY); in insertInTransactionInner() local
2488 if (TextUtils.isEmpty(colorIndex)) { in insertInTransactionInner()
2505 c = getColorByTypeIndex(accountName, accountType, colorType, colorIndex); in insertInTransactionInner()
2508 + " and index " + colorIndex in insertInTransactionInner()
2917 String colorIndex) { in getColorByTypeIndex() argument
2919 accountName, accountType, Long.toString(colorType), colorIndex in getColorByTypeIndex()
4477 private int verifyColorExists(String accountName, String accountType, String colorIndex, in verifyColorExists() argument
4486 c = getColorByTypeIndex(accountName, accountType, colorType, colorIndex); in verifyColorExists()
4489 + colorIndex + " does not exist for account."); in verifyColorExists()