Searched defs:numColors (Results 1 - 10 of 10) sorted by relevance
/frameworks/support/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/graphics/ |
H A D | PaletteActivity.java | 182 void setNumColors(int numColors) { argument 183 mNumColors = numColors;
|
H A D | PaletteDetailActivity.java | 123 private void loadImage(final int numColors) { argument 129 new Palette.Builder(bitmap).maximumColorCount(numColors).generate(
|
/frameworks/support/samples/Support7Demos/src/com/example/android/supportv7/graphics/ |
H A D | PaletteActivity.java | 182 void setNumColors(int numColors) { argument 183 mNumColors = numColors;
|
H A D | PaletteDetailActivity.java | 123 private void loadImage(final int numColors) { argument 129 new Palette.Builder(bitmap).maximumColorCount(numColors).generate(
|
/frameworks/base/libs/hwui/ |
H A D | Patch.cpp | 43 const int8_t numColors = patch->numColors; local 44 if (uint8_t(numColors) < sizeof(uint32_t) * 4) { 45 for (int8_t i = 0; i < numColors; i++) {
|
/frameworks/base/core/java/com/android/internal/graphics/palette/ |
H A D | Palette.java | 128 public static Palette generate(Bitmap bitmap, int numColors) { argument 129 return from(bitmap).maximumColorCount(numColors).generate(); 146 final Bitmap bitmap, final int numColors, final Palette.PaletteAsyncListener listener) { 147 return from(bitmap).maximumColorCount(numColors).generate(listener); 145 generateAsync( final Bitmap bitmap, final int numColors, final Palette.PaletteAsyncListener listener) argument
|
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/ |
H A D | Palette.java | 123 public static Palette generate(Bitmap bitmap, int numColors) { argument 124 return from(bitmap).maximumColorCount(numColors).generate(); 141 final Bitmap bitmap, final int numColors, final PaletteAsyncListener listener) { 142 return from(bitmap).maximumColorCount(numColors).generate(listener); 140 generateAsync( final Bitmap bitmap, final int numColors, final PaletteAsyncListener listener) argument
|
/frameworks/base/tools/aapt/ |
H A D | Images.cpp | 556 int8_t numColors; local 713 numColors = numRows * numCols; 714 image->info9Patch.numColors = numColors; 715 image->colors = (uint32_t*)malloc(numColors * sizeof(uint32_t)); 768 assert(colorIndex == numColors); 770 for (i=0; i<numColors; i++) { 774 if (i == numColors - 1) printf("\n"); 816 for (int i = 0; i < outPatch->numColors; i++) { 1100 int numColors local [all...] |
/frameworks/base/tools/aapt2/compile/ |
H A D | Png.cpp | 180 for (int i = 0; i < outPatch->numColors; i++) { 990 int8_t numColors; local 1154 numColors = numRows * numCols; 1155 image->info9Patch.numColors = numColors; 1156 image->colors.resize(numColors); 1206 assert(colorIndex == numColors); 1209 for (i = 0; i < numColors; i++) { 1212 if (i == numColors - 1) printf("\n");
|
/frameworks/base/libs/androidfw/include/androidfw/ |
H A D | ResourceTypes.h | 125 uint8_t numColors; variable
|
Completed in 399 milliseconds