Home
last modified time | relevance | path

Searched full:palette (Results 1 – 25 of 2012) sorted by relevance

12345678910>>...81

/aosp_15_r20/out/soong/.intermediates/prebuilts/sdk/current/androidx/m2repository/androidx/palette/palette/1.1.0-alpha01/androidx.palette_palette/android_common/aar/
Dandroidx.palette_palette.jar ... palette.graphics.Palette$Filter) androidx.palette.graphics.Palette$Filter filter public androidx. ...
Dclasses.jar ... palette.graphics.Palette$Filter) androidx.palette.graphics.Palette$Filter filter public androidx. ...
/aosp_15_r20/external/webp/src/utils/
H A Dpalette.c10 // Utilities for palette analysis.
14 #include "src/utils/palette.h"
27 // Palette reordering for smaller sum of deltas (and for smaller storage).
41 // palette entry diff.
80 void PrepareMapToPalette(const uint32_t palette[], uint32_t num_colors, in PrepareMapToPalette() argument
83 memcpy(sorted, palette, num_colors * sizeof(*sorted)); in PrepareMapToPalette()
86 idx_map[SearchColorNoIdx(sorted, palette[i], num_colors)] = i; in PrepareMapToPalette()
95 int GetColorPalette(const WebPPicture* const pic, uint32_t* const palette) { in GetColorPalette() argument
137 if (palette != NULL) { // Fill the colors into palette. in GetColorPalette()
141 palette[num_colors] = colors[i]; in GetColorPalette()
[all …]
/aosp_15_r20/frameworks/base/core/java/com/android/internal/graphics/palette/
H A DPalette.java17 package com.android.internal.graphics.palette;
36 * generated Palette. See that class' documentation for more information.
43 * Palette p = Palette.from(bitmap).generate();
46 * Palette.from(bitmap).generate(new PaletteAsyncListener() {
47 * public void onGenerated(Palette p) {
53 public final class Palette { class
56 * Listener to be used with {@link #generateAsync(Bitmap, Palette.PaletteAsyncListener)} or
57 * {@link #generateAsync(Bitmap, int, Palette.PaletteAsyncListener)}
62 * Called when the {@link Palette} has been generated.
64 void onGenerated(@Nullable Palette palette); in onGenerated() argument
[all …]
/aosp_15_r20/prebuilts/sdk/current/androidx/m2repository/androidx/palette/palette/1.1.0-alpha01/
H A Dpalette-1.1.0-alpha01.module4 "group": "androidx.palette",
5 "module": "palette",
27 "group": "androidx.palette",
28 "module": "palette-ktx",
32 "reason": "palette is in atomic group androidx.palette"
37 "name": "palette-1.1.0-alpha01-sources.jar",
38 "url": "palette-1.1.0-alpha01-sources.jar",
66 "group": "androidx.palette",
67 "module": "palette-ktx",
71 "reason": "palette is in atomic group androidx.palette"
[all …]
H A Dpalette-1.1.0-alpha01-versionMetadata.json1palette.graphics.Palette.Builder","addedIn":"1.0.0","methods":[{"method":"addFilter(androidx.palet…
/aosp_15_r20/external/libmonet/dynamiccolor/
H A DMaterialDynamicColors.java55 /* palette= */ (s) -> s.primaryPalette, in primaryPaletteKeyColor()
63 /* palette= */ (s) -> s.secondaryPalette, in secondaryPaletteKeyColor()
71 /* palette= */ (s) -> s.tertiaryPalette, in tertiaryPaletteKeyColor()
79 /* palette= */ (s) -> s.neutralPalette, in neutralPaletteKeyColor()
87 /* palette= */ (s) -> s.neutralVariantPalette, in neutralVariantPaletteKeyColor()
95 /* palette= */ (s) -> s.neutralPalette, in background()
108 /* palette= */ (s) -> s.neutralPalette, in onBackground()
121 /* palette= */ (s) -> s.neutralPalette, in surface()
134 /* palette= */ (s) -> s.neutralPalette, in surfaceDim()
148 /* palette= */ (s) -> s.neutralPalette, in surfaceBright()
[all …]
/aosp_15_r20/platform_testing/libraries/app-helpers/interfaces/auto/src/android/platform/helpers/
H A DIAutoStatusBarHelper.java21 /** Opens bluetooth palette. */
69 * Setup expectations: Open Bluetooth Palette
76 * Setup expectations: Open Bluetooth Palette
85 * <p>This method verifies bluetooth button from bluetooth palette</>
92 * <p>This method verifies phone button from bluetooth palette</>
99 * <p>This method verifies media button from bluetooth palette</>
132 * Setup expectations: Status bar Network palette is open.
134 * <p>Open status bar network palette.
141 * <p>Click on toggle button from status bar palette
143 * @param name options in the palette
[all …]
/aosp_15_r20/frameworks/base/core/java/com/android/internal/colorextraction/types/
H A DTonal.java48 // Used for tonal palette fitting
125 // palette and finds a best fit amongst a collection of pre-defined in runTonalExtraction()
127 // and replaces the original palette. in runTonalExtraction()
134 // the Material Tonal Palette defines hues from 0 to 1. in runTonalExtraction()
137 // Find the palette that contains the closest color in runTonalExtraction()
138 TonalPalette palette = findTonalPalette(hsl[0], hsl[1]); in runTonalExtraction() local
139 if (palette == null) { in runTonalExtraction()
140 Log.w(TAG, "Could not find a tonal palette!"); in runTonalExtraction()
144 // Figure out what's the main color index in the optimal palette in runTonalExtraction()
145 int fitIndex = bestFit(palette, hsl[0], hsl[1], hsl[2]); in runTonalExtraction()
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/image/gif/
Dwriter.go14 "image/color/palette"
153 if p, ok := e.g.Config.ColorModel.(color.Palette); ok && len(p) > 0 {
194 func encodeColorTable(dst []byte, p color.Palette, size int) (int, error) { argument
203 // It is most likely that the palette is full of color.RGBAs, so they
238 if len(pm.Palette) == 0 {
239 e.err = errors.New("gif: cannot encode image block with empty palette")
254 for i, c := range pm.Palette {
292 // To determine whether or not this frame's palette is the same as the
293 // global palette, we can check a couple things. First, do they actually
295 // frame's palette is not longer than the global palette...
[all …]
/aosp_15_r20/frameworks/base/core/res/res/xml/
H A Dcolor_extraction.xml22 <palette h="0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f, 0f"
28 <palette h="1,1,0.991,0.991,0.9833333333333333,0,0,0,
36 <palette h="0.638,0.638,0.6385767790262171,0.6301169590643275,
46 <palette h="0.563,0.569,0.5666,0.5669934640522876,0.5748031496062993,
55 <palette h="0.508,0.511,0.508,0.508,0.5082304526748972,
65 <palette h="0.333,0.333,0.333,0.3333333333333333,0.3333333333333333,
76 <palette h="0.161,0.163,0.163,0.162280701754386,0.15032679738562088,
85 <palette h="0.108,0.105,0.105,0.105,0.10619469026548674,
94 <palette h="0.036,0.036,0.036,0.036,0.03561253561253561,
101 <palette h="0.955,0.961,0.958,0.9596491228070175,0.9593837535014005,
[all …]
/aosp_15_r20/prebuilts/vndk/v31/arm/include/external/freetype/include/freetype/
Dftcolor.h47 * palette entries in OpenType's 'CPAL' tables.
57 * This structure models a BGRA color value of a 'CPAL' palette entry.
95 * @FT_Palette_Data structure to indicate for which background a palette
100 * The palette is appropriate to use when displaying the font on a
104 * The palette is appropriate to use when displaying the font on a dark
127 * An optional read-only array of palette name IDs with `num_palettes`
137 * An optional read-only array of palette flags with `num_palettes`
145 * The number of entries in a single palette. All palettes have the
149 * An optional read-only array of palette entry name IDs with
150 * `num_palette_entries`. In each palette, entries with the same index
[all …]
/aosp_15_r20/prebuilts/vndk/v32/arm/include/external/freetype/include/freetype/
Dftcolor.h47 * palette entries in OpenType's 'CPAL' tables.
57 * This structure models a BGRA color value of a 'CPAL' palette entry.
95 * @FT_Palette_Data structure to indicate for which background a palette
100 * The palette is appropriate to use when displaying the font on a
104 * The palette is appropriate to use when displaying the font on a dark
127 * An optional read-only array of palette name IDs with `num_palettes`
137 * An optional read-only array of palette flags with `num_palettes`
145 * The number of entries in a single palette. All palettes have the
149 * An optional read-only array of palette entry name IDs with
150 * `num_palette_entries`. In each palette, entries with the same index
[all …]
/aosp_15_r20/prebuilts/vndk/v31/arm64/include/external/freetype/include/freetype/
Dftcolor.h47 * palette entries in OpenType's 'CPAL' tables.
57 * This structure models a BGRA color value of a 'CPAL' palette entry.
95 * @FT_Palette_Data structure to indicate for which background a palette
100 * The palette is appropriate to use when displaying the font on a
104 * The palette is appropriate to use when displaying the font on a dark
127 * An optional read-only array of palette name IDs with `num_palettes`
137 * An optional read-only array of palette flags with `num_palettes`
145 * The number of entries in a single palette. All palettes have the
149 * An optional read-only array of palette entry name IDs with
150 * `num_palette_entries`. In each palette, entries with the same index
[all …]
/aosp_15_r20/prebuilts/vndk/v31/x86_64/include/external/freetype/include/freetype/
Dftcolor.h47 * palette entries in OpenType's 'CPAL' tables.
57 * This structure models a BGRA color value of a 'CPAL' palette entry.
95 * @FT_Palette_Data structure to indicate for which background a palette
100 * The palette is appropriate to use when displaying the font on a
104 * The palette is appropriate to use when displaying the font on a dark
127 * An optional read-only array of palette name IDs with `num_palettes`
137 * An optional read-only array of palette flags with `num_palettes`
145 * The number of entries in a single palette. All palettes have the
149 * An optional read-only array of palette entry name IDs with
150 * `num_palette_entries`. In each palette, entries with the same index
[all …]
/aosp_15_r20/prebuilts/vndk/v32/arm64/include/external/freetype/include/freetype/
Dftcolor.h47 * palette entries in OpenType's 'CPAL' tables.
57 * This structure models a BGRA color value of a 'CPAL' palette entry.
95 * @FT_Palette_Data structure to indicate for which background a palette
100 * The palette is appropriate to use when displaying the font on a
104 * The palette is appropriate to use when displaying the font on a dark
127 * An optional read-only array of palette name IDs with `num_palettes`
137 * An optional read-only array of palette flags with `num_palettes`
145 * The number of entries in a single palette. All palettes have the
149 * An optional read-only array of palette entry name IDs with
150 * `num_palette_entries`. In each palette, entries with the same index
[all …]
/aosp_15_r20/prebuilts/vndk/v32/x86/include/external/freetype/include/freetype/
Dftcolor.h47 * palette entries in OpenType's 'CPAL' tables.
57 * This structure models a BGRA color value of a 'CPAL' palette entry.
95 * @FT_Palette_Data structure to indicate for which background a palette
100 * The palette is appropriate to use when displaying the font on a
104 * The palette is appropriate to use when displaying the font on a dark
127 * An optional read-only array of palette name IDs with `num_palettes`
137 * An optional read-only array of palette flags with `num_palettes`
145 * The number of entries in a single palette. All palettes have the
149 * An optional read-only array of palette entry name IDs with
150 * `num_palette_entries`. In each palette, entries with the same index
[all …]
/aosp_15_r20/prebuilts/vndk/v32/x86_64/include/external/freetype/include/freetype/
Dftcolor.h47 * palette entries in OpenType's 'CPAL' tables.
57 * This structure models a BGRA color value of a 'CPAL' palette entry.
95 * @FT_Palette_Data structure to indicate for which background a palette
100 * The palette is appropriate to use when displaying the font on a
104 * The palette is appropriate to use when displaying the font on a dark
127 * An optional read-only array of palette name IDs with `num_palettes`
137 * An optional read-only array of palette flags with `num_palettes`
145 * The number of entries in a single palette. All palettes have the
149 * An optional read-only array of palette entry name IDs with
150 * `num_palette_entries`. In each palette, entries with the same index
[all …]
/aosp_15_r20/prebuilts/vndk/v31/x86/include/external/freetype/include/freetype/
Dftcolor.h47 * palette entries in OpenType's 'CPAL' tables.
57 * This structure models a BGRA color value of a 'CPAL' palette entry.
95 * @FT_Palette_Data structure to indicate for which background a palette
100 * The palette is appropriate to use when displaying the font on a
104 * The palette is appropriate to use when displaying the font on a dark
127 * An optional read-only array of palette name IDs with `num_palettes`
137 * An optional read-only array of palette flags with `num_palettes`
145 * The number of entries in a single palette. All palettes have the
149 * An optional read-only array of palette entry name IDs with
150 * `num_palette_entries`. In each palette, entries with the same index
[all …]
/aosp_15_r20/external/rust/android-crates-io/crates/predicates/src/str/
Dbasics.rs36 let palette = crate::Palette::new(f.alternate()); in fmt() localVariable
40 palette.var("var"), in fmt()
41 palette.description("is_empty"), in fmt()
84 let palette = crate::Palette::new(f.alternate()); in fmt() localVariable
88 palette.var("var"), in fmt()
89 palette.description("starts_with"), in fmt()
138 let palette = crate::Palette::new(f.alternate()); in fmt() localVariable
142 palette.var("var"), in fmt()
143 palette.description("ends_with"), in fmt()
212 let palette = crate::Palette::new(f.alternate()); in fmt() localVariable
[all …]
Ddifference.rs33 let palette = crate::Palette::new(true); in find_case() localVariable
41 &palette.expected("orig").to_string(), in find_case()
42 &palette.var("var").to_string(), in find_case()
45 let mut diff = colorize_diff(diff, palette); in find_case()
67 let palette = crate::Palette::new(f.alternate()); in fmt() localVariable
71 palette.description("diff"), in fmt()
72 palette.expected("original"), in fmt()
73 palette.var("var"), in fmt()
99 fn colorize_diff(mut lines: Vec<String>, palette: crate::Palette) -> Vec<String> { in colorize_diff()
104 *line = format!("{:#} {}", palette.expected(prefix), body); in colorize_diff()
[all …]
/aosp_15_r20/development/tools/winscope/src/
H A Dmaterial-theme.scss27 $light-primary: mat.define-palette(mat.$blue-palette, 700);
28 $dark-primary: mat.define-palette(mat.$blue-palette, 400);
29 $light-accent: mat.define-palette(mat.$grey-palette, 700);
30 $dark-accent: mat.define-palette(mat.$grey-palette, 500);
31 $warn: mat.define-palette(mat.$red-palette);
58 --background-color: #{mat.get-color-from-palette($background, background)};
59 --contrast-background-color: #{mat.get-color-from-palette($contrast-background, background)};
68 --border-color: #{mat.get-color-from-palette($foreground, divider)};
76 --drawer-color: #{mat.get-color-from-palette($background, dialog)};
86 --blue-text-color: #{map.get(mat.$indigo-palette, A200)};
[all …]
/aosp_15_r20/frameworks/libs/systemui/monet/src/com/android/systemui/monet/
DCustomDynamicColors.java65 /* palette= */ (s) -> s.primaryPalette, in widgetBackground()
77 /* palette= */ (s) -> s.secondaryPalette, in clockHour()
91 /* palette= */ (s) -> s.primaryPalette, in clockMinute()
103 /* palette= */ (s) -> s.tertiaryPalette, in clockSecond()
115 /* palette= */ (s) -> s.primaryPalette, in weatherTemp()
129 /* palette= */ (s) -> s.primaryPalette, in themeApp()
141 /* palette= */ (s) -> s.primaryPalette, in onThemeApp()
153 /* palette= */ (s) -> s.primaryPalette, in themeAppRing()
165 /* palette= */ (s) -> s.tertiaryPalette, in themeNotif()
181 /* palette= */ (s) -> s.primaryPalette, in brandA()
[all …]
/aosp_15_r20/prebuilts/go/linux-x86/src/image/png/
Dreader.go114 palette color.Palette member
122 // transparency, as opposed to palette transparency.
230 np := int(length / 3) // The number of palette entries.
241 d.palette = make(color.Palette, 256)
243 d.palette[i] = color.RGBA{d.tmp[3*i+0], d.tmp[3*i+1], d.tmp[3*i+2], 0xff}
246 // Initialize the rest of the palette to opaque black. The spec (section
251 d.palette[i] = color.RGBA{0x00, 0x00, 0x00, 0xff}
253 d.palette = d.palette[:np]
309 if len(d.palette) < n {
310 d.palette = d.palette[:n]
[all …]
/aosp_15_r20/external/libpng/arm/
H A Dpalette_neon_intrinsics.c2 /* palette_neon_intrinsics.c - NEON optimised palette expansion functions
23 /* Build an RGBA8 palette from the separate RGB and alpha palettes. */
27 png_const_colorp palette = png_ptr->palette; in png_riffle_palette_neon() local
43 /* First, riffle the RGB colours into an RGBA8 palette. in png_riffle_palette_neon()
48 uint8x16x3_t v = vld3q_u8((png_const_bytep)(palette + i)); in png_riffle_palette_neon()
111 png_const_bytep palette = (png_const_bytep)png_ptr->palette; in png_do_expand_palette_rgb8_neon() local
128 cur = vld3_dup_u8(palette + sizeof(png_color) * (*(sp - 7))); in png_do_expand_palette_rgb8_neon()
129 cur = vld3_lane_u8(palette + sizeof(png_color) * (*(sp - 6)), cur, 1); in png_do_expand_palette_rgb8_neon()
130 cur = vld3_lane_u8(palette + sizeof(png_color) * (*(sp - 5)), cur, 2); in png_do_expand_palette_rgb8_neon()
131 cur = vld3_lane_u8(palette + sizeof(png_color) * (*(sp - 4)), cur, 3); in png_do_expand_palette_rgb8_neon()
[all …]

12345678910>>...81