• Home
  • History
  • Annotate
  • only in /frameworks/support/v7/palette/src/android/support/
History log of /frameworks/support/v7/palette/src/android/support/
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
d517c8e7bf3106eae27ed00435164020c052308e 24-Oct-2014 Chris Banes <chrisbanes@google.com> Make Palette 're-surrectable'

Also helps dev test Palette

Change-Id: Ib62db3e052e03b7f476e62cb8ff72c0f9ef9181b
7/graphics/Palette.java
c95f023926f2b73e257b9635567cea05214d1252 20-Oct-2014 Chris Banes <chrisbanes@google.com> Try and make sure that Palette's text color are similar

BUG: 18051909
Change-Id: I0bd597c075420a3a383301edb0984af8f6077916
7/graphics/ColorUtils.java
7/graphics/Palette.java
fafe0c08a352e9916a5041241f98fb762e14566c 11-Aug-2014 Chris Banes <chrisbanes@google.com> Merge "Fix some off-by-1 errors in Palette" into lmp-dev
e538500b3daa25cbcd460167fcc82d61f7b03a3c 04-Aug-2014 Chris Banes <chrisbanes@google.com> Override equals and hashCode in Palette

Necessary for caching.

Change-Id: Ie7f9e16eb7b55689257ffc65d06db4d4389421cd
7/graphics/Palette.java
e7410604e4f1743608ae16d5ebe6614e4d8e887d 29-Jul-2014 Chris Banes <chrisbanes@google.com> Fix some off-by-1 errors in Palette

Due to using exclusive array iteration instead
of inclusive. Also renamed some variables for
consistency.

Change-Id: I3f044b0da9b79bc18bbb04a1fcd21f861771e653
7/graphics/ColorCutQuantizer.java
f3082d731b24a0cee4305ee6bba168a11c11f068 08-Jul-2014 Chris Banes <chrisbanes@google.com> Add text color generation to Palette

Each Swatch now contains appropriate text
colors for 'body' and 'title' text. Those colors
are currently just white/black with appropriate
alphas.

Change-Id: Ieba8c756b1ce6c69e9972227dd4a4413c48fff09
7/graphics/ColorCutQuantizer.java
7/graphics/ColorUtils.java
7/graphics/Palette.java
c6cdc41397bc3ad2c936069af6d448f242790513 01-Jul-2014 Chris Banes <chrisbanes@google.com> Update Palette + AsyncTaskCompat

- Added AsyncTaskCompat to v4
- Moved PaletteItem into Swatch inner class of Palette
- Removed unnecessary copying of pixel int[] data
- Use THREAD_POOL_EXECUTOR for AsyncTask
- Various other improvements

Change-Id: I06f1efefcdfa3d22578653b5f5da3d61a064b5d5
7/graphics/ColorCutQuantizer.java
7/graphics/ColorHistogram.java
7/graphics/Palette.java
7/graphics/PaletteItem.java
51ea7c98b34f39a2da711549a0a443c77f2c94b0 03-Jul-2014 Narayan Kamath <narayan@google.com> Revert "Update Palette + AsyncTaskCompat"

This reverts commit b14fc7c928307b6758688ed38590bf674c62a01b.

Change-Id: I57a2cee10f4084e921bc9204784c6fffce56b80b
7/graphics/ColorCutQuantizer.java
7/graphics/ColorHistogram.java
7/graphics/Palette.java
7/graphics/PaletteItem.java
b14fc7c928307b6758688ed38590bf674c62a01b 01-Jul-2014 Chris Banes <chrisbanes@google.com> Update Palette + AsyncTaskCompat

- Added AsyncTaskCompat to v4
- Moved PaletteItem into Swatch inner class of Palette
- Removed unnecessary copying of pixel int[] data
- Use THREAD_POOL_EXECUTOR for AsyncTask
- Various other improvements

Change-Id: I66ada4bd2d4cec48b87acce50fb0fd6952473c25
7/graphics/ColorCutQuantizer.java
7/graphics/ColorHistogram.java
7/graphics/Palette.java
7/graphics/PaletteItem.java
962314b896095275d1ac968b85aa39b9603ab1af 18-Jun-2014 Chris Banes <chrisbanes@google.com> Fix doc error in Palette

Change-Id: I922e2c620e79fa7476407c42787640d014df4faa
7/graphics/Palette.java
2d2b62754f4d466c0ff1fadd2e2f77ace9342d38 12-Jun-2014 Chris Banes <chrisbanes@google.com> Rename badly named filtering method

Change-Id: Ia19adb43f3c9fded01edc2cdd9fd5afde020ab47
7/graphics/ColorCutQuantizer.java
8772c3de9ca656e82f2fdb34ef95c266c831d48d 12-Jun-2014 Chris Banes <chrisbanes@google.com> Improve white and black filter

The previous implementation was a bit too permissive and
filtered colors which are not white/black (but are close).
The new impl use HSL's lightness value.

Change-Id: I50d5e51bcb36bc6a10f641608fda4b4784351251
7/graphics/ColorCutQuantizer.java
059178a8c7cc80848e5594a9287be91bd924831a 19-May-2014 Chris Banes <chrisbanes@google.com> New Palette support library

Allows the generation of color palette from an Android
Bitmap. Items from the palette can then be used to
enhance the UI.

On my Nexus 5, a Palette instance take 10-20ms to
generate.

Change-Id: I8e16c2c9027c260a1f0ff353affa930cfa2f2c95
7/graphics/ColorCutQuantizer.java
7/graphics/ColorHistogram.java
7/graphics/ColorUtils.java
7/graphics/Palette.java
7/graphics/PaletteItem.java