Home
last modified time | relevance | path

Searched refs:colorMap (Results 1 – 4 of 4) sorted by relevance

/packages/apps/Messaging/jni/
DGifTranscoder.cpp366 ColorMapObject* colorMap = getColorMap(gifIn); in renderImage() local
367 if (colorMap == NULL) { in renderImage()
387 if (colorIndex >= colorMap->ColorCount) { in renderImage()
389 colorMap->ColorCount); in renderImage()
404 *renderPixel = getColorARGB(colorMap, transparentColorIndex, colorIndex); in renderImage()
434 ColorMapObject* colorMap = getColorMap(gifIn); in computeNewColorIndex() local
444 return findBestColor(colorMap, transparentColorIndex, avgColor); in computeNewColorIndex()
459 GifByteType GifTranscoder::findBestColor(ColorMapObject* colorMap, int transparentColorIndex, in findBestColor() argument
469 for (int i = 0; i < colorMap->ColorCount; i++) { in findBestColor()
474 ColorARGB indexedColor = gifColorToColorARGB(colorMap->Colors[i]); in findBestColor()
[all …]
DGifTranscoder.h88 static GifByteType findBestColor(ColorMapObject* colorMap, int transparentColorIndex,
98 static ColorARGB getColorARGB(ColorMapObject* colorMap, int transparentColorIndex,
/packages/apps/Dialer/java/com/android/incallui/
DThemeColorManager.java36 private final MaterialColorMapUtils colorMap; field in ThemeColorManager
50 public ThemeColorManager(MaterialColorMapUtils colorMap) { in ThemeColorManager() argument
51 this.colorMap = colorMap; in ThemeColorManager()
73 colorMap.calculatePrimaryAndSecondaryColor(R.color.incall_call_spam_background_color); in updateThemeColors()
79 palette = colorMap.calculatePrimaryAndSecondaryColor(highlightColor); in updateThemeColors()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/common/
DAnimationDynamicColorsHelper.java118 Map<ColorItem, ColorItem> colorMap = getColorMap(nightMode); in setupSymmetricLayerColors() local
119 for (ColorItem targetColorItem : colorMap.keySet()) { in setupSymmetricLayerColors()
120 ColorItem otherColorItem = colorMap.get(targetColorItem); in setupSymmetricLayerColors()