/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/controller/ |
D | ColorChooser.java | 63 int [] palette = mParameter.getColorPalette(); in setUp() local 68 Color.colorToHSV(palette[i], hsvo); in setUp() 69 hsvo[OPACITY_OFFSET] = (0xFF & (palette[i] >> 24)) / (float) 255; in setUp() 72 sd.setColor(palette[i]); in setUp() 95 int []palette = mParameter.getColorPalette(); in setColorSet() local 96 for (int i = 0; i < palette.length; i++) { in setColorSet() 97 palette[i] = basColors[i]; in setColorSet() 99 Color.colorToHSV(palette[i], hsvo); in setColorSet() 100 hsvo[OPACITY_OFFSET] = (0xFF & (palette[i] >> 24)) / (float) 255; in setColorSet() 103 sd.setColor(palette[i]); in setColorSet() [all …]
|
D | ParameterColor.java | 108 public void setColorpalette(int[] palette) { in setColorpalette() argument 109 mBasColors = Arrays.copyOf(palette, palette.length); in setColorpalette()
|
/packages/apps/Dialer/java/com/android/incallui/ |
D | ThemeColorManager.java | 70 MaterialPalette palette; in updateThemeColors() local 72 palette = in updateThemeColors() 79 palette = colorMap.calculatePrimaryAndSecondaryColor(highlightColor); in updateThemeColors() 87 backgroundColorTop = applyAlpha(palette.mPrimaryColor, backgroundColorTop); in updateThemeColors() 88 backgroundColorMiddle = applyAlpha(palette.mPrimaryColor, backgroundColorMiddle); in updateThemeColors() 89 backgroundColorBottom = applyAlpha(palette.mPrimaryColor, backgroundColorBottom); in updateThemeColors() 90 backgroundColorSolid = applyAlpha(palette.mPrimaryColor, backgroundColorSolid); in updateThemeColors() 94 primaryColor = palette.mPrimaryColor; in updateThemeColors() 95 secondaryColor = palette.mSecondaryColor; in updateThemeColors()
|
/packages/apps/Launcher3/src_ui_overrides/com/android/launcher3/uioverrides/dynamicui/ |
D | ColorExtractionAlgorithm.java | 101 TonalPalette palette = findTonalPalette(hsl[0], hsl[1]); in extractInto() local 102 if (palette == null) { in extractInto() 108 int fitIndex = bestFit(palette, hsl[0], hsl[1], hsl[2]); in extractInto() 115 float[] h = fit(palette.h, hsl[0], fitIndex, in extractInto() 117 float[] s = fit(palette.s, hsl[1], fitIndex, 0.0f, 1.0f); in extractInto() 118 float[] l = fit(palette.l, hsl[2], fitIndex, 0.0f, 1.0f); in extractInto() 213 private static int bestFit(@NonNull TonalPalette palette, float h, float s, float l) { in bestFit() argument 217 for (int i = 0; i < palette.h.length; i++) { in bestFit() 219 FIT_WEIGHT_H * Math.abs(h - palette.h[i]) in bestFit() 220 + FIT_WEIGHT_S * Math.abs(s - palette.s[i]) in bestFit() [all …]
|
/packages/apps/TV/tuner/SampleNetworkTuner/ |
D | build.gradle | 66 implementation 'androidx.palette:palette:1.0.0'
|
/packages/apps/TV/tuner/SampleDvbTuner/ |
D | build.gradle | 66 implementation 'androidx.palette:palette:1.0.0'
|
/packages/apps/TV/ |
D | build.gradle | 83 implementation 'androidx.palette:palette:1.0.0'
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | PhotoEditorView.java | 115 public void setPalette(MaterialPalette palette) { in setPalette() argument 116 mMaterialPalette = palette; in setPalette()
|
/packages/apps/TV/common/ |
D | build.gradle | 83 implementation 'androidx.palette:palette:1.0.0'
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | AppLinkCardView.java | 35 import androidx.palette.graphics.Palette; 413 public void onGenerated(Palette palette) { 415 palette.getDarkVibrantColor(
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
D | QuickContactActivity.java | 98 import androidx.palette.graphics.Palette; 2001 protected void onPostExecute(MaterialPalette palette) { in extractAndApplyTintFromPhotoViewAsynchronously() argument 2002 super.onPostExecute(palette); in extractAndApplyTintFromPhotoViewAsynchronously() 2015 setThemeColor(palette); in extractAndApplyTintFromPhotoViewAsynchronously() 2021 private void setThemeColor(MaterialPalette palette) { in setThemeColor() argument 2023 mColorFilterColor = palette.mPrimaryColor; in setThemeColor() 2025 mStatusBarColor = palette.mSecondaryColor; in setThemeColor() 2056 final Palette palette = Palette.generate(bitmap, NUMBER_OF_PALETTE_COLORS); in colorFromBitmap() local 2057 if (palette != null && palette.getVibrantSwatch() != null) { in colorFromBitmap() 2058 return palette.getVibrantSwatch().getRgb(); in colorFromBitmap()
|
/packages/apps/TV/tuner/ |
D | Android.bp | 26 "android-support-v7-palette",
|
/packages/inputmethods/LatinIME/dictionaries/ |
D | en_GB_wordlist.combined.gz | 1dictionary=main:en_gb,locale=en_GB,description=English (UK),date ... |
D | en_US_wordlist.combined.gz | 1dictionary=main:en_us,locale=en_US,description=English (US),date ... |
D | en_wordlist.combined.gz | 1dictionary=main:en,locale=en,description=English,date=1414726273, ... |
D | nl_wordlist.combined.gz | 1dictionary=main:nl,locale=nl,description=Nederlands,date=1414726258, ... |
D | it_wordlist.combined.gz | 1dictionary=main:it,locale=it,description=Italiano,date=1414726258, ... |
D | fr_wordlist.combined.gz | 1dictionary=main:fr,locale=fr,description=Français,date=1414726264, ... |