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.java2351 int colorsCount = wallpaper.primaryColors.getMainColors().size(); in writeWallpaperAttributes() local
2352 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() local
2615 if (colorsCount > 0) { in parseWallpaperAttributes()
2617 for (int i = 0; i < colorsCount; i++) { in parseWallpaperAttributes()
/frameworks/base/libs/hwui/
DBakedOpDispatcher.cpp453 uint32_t colorsCount = (op.meshWidth + 1) * (op.meshHeight + 1); in onBitmapMeshOp() local
454 tempColors.reset(new int[colorsCount]); in onBitmapMeshOp()
455 memset(tempColors.get(), 0xff, colorsCount * sizeof(int)); in onBitmapMeshOp()