Home
last modified time | relevance | path

Searched refs:colorsCount (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/services/core/java/com/android/server/wallpaper/
DWallpaperManagerService.java2512 int colorsCount = wallpaper.primaryColors.getMainColors().size(); in writeWallpaperAttributes() local
2513 out.attribute(null, "colorsCount", Integer.toString(colorsCount)); in writeWallpaperAttributes()
2514 if (colorsCount > 0) { in writeWallpaperAttributes()
2515 for (int i = 0; i < colorsCount; i++) { in writeWallpaperAttributes()
2775 int colorsCount = getAttributeInt(parser, "colorsCount", 0); in parseWallpaperAttributes() local
2776 if (colorsCount > 0) { in parseWallpaperAttributes()
2778 for (int i = 0; i < colorsCount; i++) { in parseWallpaperAttributes()
/frameworks/base/libs/hwui/
DBakedOpDispatcher.cpp449 uint32_t colorsCount = (op.meshWidth + 1) * (op.meshHeight + 1); in onBitmapMeshOp() local
450 tempColors.reset(new int[colorsCount]); in onBitmapMeshOp()
451 memset(tempColors.get(), 0xff, colorsCount * sizeof(int)); in onBitmapMeshOp()