Searched refs:colorsCount (Results 1 – 2 of 2) sorted by relevance
2351 int colorsCount = wallpaper.primaryColors.getMainColors().size(); in writeWallpaperAttributes() local2352 out.attribute(null, "colorsCount", Integer.toString(colorsCount)); in writeWallpaperAttributes()2353 if (colorsCount > 0) { in writeWallpaperAttributes()2354 for (int i = 0; i < colorsCount; i++) { in writeWallpaperAttributes()2614 int colorsCount = getAttributeInt(parser, "colorsCount", 0); in parseWallpaperAttributes() local2615 if (colorsCount > 0) { in parseWallpaperAttributes()2617 for (int i = 0; i < colorsCount; i++) { in parseWallpaperAttributes()
453 uint32_t colorsCount = (op.meshWidth + 1) * (op.meshHeight + 1); in onBitmapMeshOp() local454 tempColors.reset(new int[colorsCount]); in onBitmapMeshOp()455 memset(tempColors.get(), 0xff, colorsCount * sizeof(int)); in onBitmapMeshOp()