History log of /frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/ColorCutQuantizer.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
ec183966232468c02440a5d81764c3c1a076e217 25-Apr-2016 Chris Banes <chrisbanes@google.com> Fix Palette errors when using region API

Instead of using getPixels() to retrieve the
region, we'll just manually do it from the whole
Bitmap. We get the whole bitmap anyway so technically
this is less work.

Also improved our RGB565 --> RGB888 upscale to use scaling
rather than shifting. This produces more reliable results.

BUG: 28349435
Change-Id: I19bd2d2be3794194fa08931024b545269d85724b
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/ColorCutQuantizer.java
2407aa65d62cfc1ec6ffffae726dec45021dd9a2 12-Jun-2015 Chris Banes <chrisbanes@google.com> Add filter API to Palette

BUG: 21799254
Change-Id: Ice6a505cbf2cf400f63e1881155c3f33e0e642ca
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/ColorCutQuantizer.java
44ae2f10b09fe865dd6ca767202218b4ce9426af 31-May-2015 Chris Banes <chrisbanes@google.com> Simplify Palette upscaling quantization

Scaling was causing issues on Intel CPUs. We now
just shift up instead.

BUG: 21436884
Change-Id: I69e05e11b4b62e8fe3a4c676c48086d399b2e136
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/ColorCutQuantizer.java
f78a300c82748e29a3890c8f17a13726aacf33be 22-Feb-2015 Chris Banes <chrisbanes@google.com> Add tests to Palette

Also changed the directory structure to enable
the tests to have their own resources.

Requires I7776f4d843aac8496240a54d0982525039b91469

Change-Id: I7bb98622995f009fc6e6c44e3a21aa88a151749a
/frameworks/support/v7/palette/src/main/java/android/support/v7/graphics/ColorCutQuantizer.java