Home
last modified time | relevance | path

Searched refs:mPalette (Results 1 – 7 of 7) sorted by relevance

/frameworks/opt/colorpicker/src/com/android/colorpicker/
DColorPickerDialog.java55 private ColorPickerPalette mPalette; field in ColorPickerDialog
112 mPalette = (ColorPickerPalette) view.findViewById(R.id.color_picker); in onCreateDialog()
113 mPalette.init(mSize, mColumns, this); in onCreateDialog()
142 mPalette.drawPalette(mColors, mSelectedColor); in onColorSelected()
149 if (mProgress != null && mPalette != null) { in showPaletteView()
152 mPalette.setVisibility(View.VISIBLE); in showPaletteView()
157 if (mProgress != null && mPalette != null) { in showProgressBarView()
159 mPalette.setVisibility(View.GONE); in showProgressBarView()
193 if (mPalette != null && mColors != null) { in refreshPalette()
194 mPalette.drawPalette(mColors, mSelectedColor, mColorContentDescriptions); in refreshPalette()
/frameworks/base/core/java/com/android/internal/graphics/palette/
DQuantizerMap.java36 private Palette mPalette; field in QuantizerMap
50 mPalette = Palette.from(swatches); in quantize()
55 return mPalette.getSwatches(); in getQuantizedColors()
DWSMeansQuantizer.java61 private Palette mPalette; field in WSMeansQuantizer
79 return mPalette.getSwatches(); in getQuantizedColors()
123 mPalette = Palette.from(swatches); in quantize()
DWuQuantizer.java60 private Palette mPalette; field in WuQuantizer
66 return mPalette.getSwatches(); in getQuantizedColors()
97 mPalette = Palette.from(swatches); in quantize()
/frameworks/base/libs/hwui/hwui/
DBitmap.h154 mPalette = computePalette(info(), pixels(), rowBytes()); in palette()
157 return mPalette; in palette()
201 BitmapPalette mPalette = BitmapPalette::Unknown; variable
DBitmap.cpp292 , mPalette(palette) in Bitmap()
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/startingsurface/
DSplashscreenContentDrawer.java905 private final Palette mPalette; field in SplashscreenContentDrawer.DrawableColorTester.ComplexDrawableTester
951 mPalette = builder.generate(); in ComplexDrawableTester()
963 return mPalette.getSwatches().size() > 1; in isComplexColor()
968 final Palette.Swatch mainSwatch = mPalette.getDominantSwatch(); in getDominantColor()
977 final List<Palette.Swatch> swatches = mPalette.getSwatches(); in isGrayscale()