History log of /frameworks/base/tools/layoutlib/bridge/src/android/graphics/BlendComposite.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
5521f65ecb0b91a6847bd78afc4e8c927b6b78ef 12-Mar-2015 Deepanshu Gupta <deepanshu@google.com> Fix cyclic dependency in BlendComposite and BlendingMode.

Introduced in commit 1a10ca7e526736b4fd143f7c9f3b29643c0062a4

Bug: http://b.android.com/159708
Change-Id: I6add5be3a933bbe4f8d888906e2aa1b2e35d045a
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/BlendComposite.java
1a10ca7e526736b4fd143f7c9f3b29643c0062a4 26-Feb-2015 Deepanshu Gupta <deepanshu@google.com> Correct PorterDuff filters.

1. Remove unused modes - makes the class more manageable, and missing
modes can always be readded from the git history.
2. Reuse the existing BlendComposite instances where possible.
3. Fix incorrect alpha computation for multiply mode.
4. Change the alpha computation for all blend modes to compenstate for
the fact that the color filter image that we create extends beyond the
image it is inteded to be applied to.

Change-Id: Iedebf289a23325ee4c6d406dcad46a9edb1855c7
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/BlendComposite.java
47fa5c920d6eb93e435794544b96a0e4ede4403a 07-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Optimize Blend composites. [DO NOT MERGE]

Removed redundant array allocations to improve performance for various
blending modes.

Change-Id: Iaba1d6ff3ad03eebdc859c599b610cc593370438
(cherry picked from commit 9ce074610413ce3a5dd0cef9295f0ae9061402b7)
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/BlendComposite.java
3dfc1c21d58a7a6764a436cbf5c3c8ba09db45e5 07-Jul-2014 Deepanshu Gupta <deepanshu@google.com> Add BlendComposite.java [DO NOT MERGE]

The class is adapted from a demo tool for Blending Modes written by
Romain Guy (romainguy@android.com). The tool is available at
http://www.curious-creature.org/2006/09/20/new-blendings-modes-for-java2d/

Change-Id: I8f7c7ca08d3078106056764a4e2f1ce95d990137
(cherry picked from commit 882e08759137a77090c3c7dff8cba425a3393474)
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/BlendComposite.java