Searched refs:colorsCount (Results 1 – 2 of 2) sorted by relevance
2512 int colorsCount = wallpaper.primaryColors.getMainColors().size(); in writeWallpaperAttributes() local2513 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() local2776 if (colorsCount > 0) { in parseWallpaperAttributes()2778 for (int i = 0; i < colorsCount; i++) { in parseWallpaperAttributes()
449 uint32_t colorsCount = (op.meshWidth + 1) * (op.meshHeight + 1); in onBitmapMeshOp() local450 tempColors.reset(new int[colorsCount]); in onBitmapMeshOp()451 memset(tempColors.get(), 0xff, colorsCount * sizeof(int)); in onBitmapMeshOp()