Searched defs:palette (Results 1 – 12 of 12) sorted by relevance
123 final Palette palette = Palette.from(bitmap).generate(); in testBlueBitmapReturnsBlueSwatch() local138 final Palette palette = Palette.from(bitmap) in testBlueBitmapWithRegionReturnsBlueSwatch() local167 final Palette palette = Palette.from(bitmap).generate(); in testDominantSwatch() local
39 val palette = Palette.from(bitmap).generate() in operatorGet() constant
160 void setSwatches(List<Palette.Swatch> palette) { in setSwatches()175 private void populatePalette(Palette palette) { in populatePalette()
129 Palette palette = paletteBuilder.generate(); in processNotification() local157 private int selectForegroundColor(int backgroundColor, Palette palette) { in selectForegroundColor()246 private int findBackgroundColorAndFilter(Palette palette) { in findBackgroundColorAndFilter()
41 private int[] palette; field in PlatLogoActivity.PBackground
160 TonalPalette palette = findTonalPalette(hsl[0], hsl[1]); in runTonalExtraction() local331 private static int bestFit(@NonNull TonalPalette palette, float h, float s, float l) { in bestFit()
160 final Palette palette = Palette in fromBitmap() local
485 uint8_t const* const palette = (uint8_t*)data; in decodePalette4() local509 uint8_t const* const palette = (uint8_t*)data; in decodePalette4() local536 uint8_t const* const palette = (uint8_t*)data; in decodePalette4() local
88 void onGenerated(Palette palette); in onGenerated()
86 void onGenerated(@Nullable Palette palette); in onGenerated()
1439 Palette palette = new Palette.Builder(art).maximumColorCount(1).generate(); in doInBackground() local
1446 Palette palette = new Palette.Builder(art).maximumColorCount(1).generate(); in doInBackground() local