History log of /frameworks/base/graphics/java/android/graphics/Outline.java
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
136d1af1cc67f51e8523189260a7c4a22cc02768 04-Apr-2016 Chris Craik <ccraik@google.com> Fix how outlines are sent to rendernode

bug:27918183

Fixes an issue where all convex outlines were pushed as empty rects to
RenderNode.

Also adds outline/reveal clip property logging, so such issues are
easier to debug in the future.

Change-Id: Ic4a996ecd09a8ef84cdf8b963bdb4853c7f6d180
/frameworks/base/graphics/java/android/graphics/Outline.java
2c7f9a8fb955022a1ae2581dbcc71e176247229a 17-Mar-2016 Chris Craik <ccraik@google.com> Avoid allocation in methods of Outline

bug:26516265

Outlines are generally cached by the View system and reused, so optimize
for performance/allocation avoidance, rather than size.

Change-Id: I578d24c1255f1c1d8ebb30f3223fbe4ade4c67b4
/frameworks/base/graphics/java/android/graphics/Outline.java
fb354a375202e697e3b797cbdc5da95357989028 15-Mar-2016 Chris Craik <ccraik@google.com> Return <0 if undefined Outline radius

bug:27531289

Change-Id: I0a2880693c59406e2d610f3a11020cde5379e230
/frameworks/base/graphics/java/android/graphics/Outline.java
24bf21b89469a7175d66add2affd6fe765d3a075 10-Mar-2016 Alan Viverette <alanv@google.com> Ensure Outline consistently sets the radius to be undefined

Radius should only be defined when the rect is also defined. Also updates
ArcShape to not return an outline, since it may be convex.

Bug: 27593976
Bug: 27592381
Change-Id: I99010b139361607af6ec8cab26c9aa1d4dcbba77
/frameworks/base/graphics/java/android/graphics/Outline.java
921ec4464720ebe5f07a4dcb6e18b86e27baba6e 23-Feb-2016 Alan Viverette <alanv@google.com> Fix NinePatchDrawable handling of density changes

Scaling is now manually applied when the canvas density is not set.

Removes set/getNinePatch accessors that were added in N, since these
are not used and setting the nine patch directly will break padding.
Also removes local NinePatch, which was not necessary.

Bug: 27038114
Change-Id: Ie8b2e485b54d1ed1521081b329a09915fd0a95c1
/frameworks/base/graphics/java/android/graphics/Outline.java
b3ec733bb830f2d4425825d93f9ed95f284e9145 04-Mar-2015 Tor Norbye <tnorbye@google.com> Annotate methods with size and range annotations

Change-Id: I666861f0dfae31402b1280e9a966a583b88e2e1a
/frameworks/base/graphics/java/android/graphics/Outline.java
0e12fa12cb2cd4e049e560bdad8f1cd654825f3b 12-Nov-2014 Chris Craik <ccraik@google.com> Add offset method to Outline

Also clean up offset docs in Path

Change-Id: Ieca02611d32acce726efba652ae1969340a55a76
/frameworks/base/graphics/java/android/graphics/Outline.java
c49e3ce6c6ac5100dc5a73c6bd12cbfda4d4ca76 19-Aug-2014 Chris Craik <ccraik@google.com> Don't cast shadows from gradients with transparent parts

bug:17070982
Change-Id: I607dd3c9397845fce53b7f097ec0b57246077ea1
/frameworks/base/graphics/java/android/graphics/Outline.java
13ed2178c4df86b5b417497ac0b130e76c9804f2 04-Aug-2014 Chris Craik <ccraik@google.com> Make outline alpha APIs public

bug:16140822
Change-Id: Ie21e2a75b462319fb49c5696f0c019e1ea803bc1
/frameworks/base/graphics/java/android/graphics/Outline.java
77b5cad3efedd20f2b7cc14d87ccce1b0261960a 31-Jul-2014 Chris Craik <ccraik@google.com> Add outline alpha

bug:16140822
bug:16566746

This allows background drawables to alter the opacity of a shadow
being cast with their own alpha values.

Change-Id: I49698cc7c1bf4b2b55ffe2f82899543ca62bc61c
/frameworks/base/graphics/java/android/graphics/Outline.java
0645128b80621edee70f8cab4afb208fe0c26bec 21-Jul-2014 Chris Craik <ccraik@google.com> Make setter methods on Outline call setEmpty() based on params

bug:16142564

Additionally, better define behavior around null outline providers:

A view with an empty outline, and setClipToOutline=true will not be
rendered, though one with a null outline provider
(and thus no outline) will be.

Change-Id: Ic9549841b107b2eb51b417c66058a0cd69dd89eb
/frameworks/base/graphics/java/android/graphics/Outline.java
31ba192dd201df2cad96a8c503f730130ab0d80f 18-Jul-2014 Chris Craik <ccraik@google.com> Tweaks to outline API

b/15283203
b/16142564

Remove boolean return value chaining, as it's redundant with
the data in the Outline itself.

Change-Id: I3116e57cd1b35c98b74e95195117edd7e39fb2df
/frameworks/base/graphics/java/android/graphics/Outline.java
9a347f199284ad8bcb8a81bfbd306fe0b1a710ba 28-Jun-2014 Chris Craik <ccraik@google.com> Initial replacement of setOutline() with ViewOutlineProvider API

bug:15283203

A View's outline is now managed by its outline provider. This means
the outline is automatically requeried when needed (e.g. drawable
updates or resize), with customizable querying behavior.

Also adds 'isFilled' property to outline, to be used for hinting
shadow overdraw avoidance.

Change-Id: Ie137548fa850f1ff7863ab2f660d05145c2ad11e
/frameworks/base/graphics/java/android/graphics/Outline.java
7dc5b41e609d3ff55ca194682832d14a7236fa87 20-May-2014 Chris Craik <ccraik@google.com> Clean up Outline API, method on drawable

bug:15025466
bug:15089680
Change-Id: I8d3b64a0d9dbdbaf679042c8b384d2050323a8e6
/frameworks/base/graphics/java/android/graphics/Outline.java
deeda3d337aed1eee218b89a7aba5992ced371f0 06-May-2014 Chris Craik <ccraik@google.com> Round rect outline clipping

Change-Id: Iee9cf4f719f6f1917507b69189ad114fa365917b
/frameworks/base/graphics/java/android/graphics/Outline.java
7979388d4f7d5d9dbfcf7e1cc4709f8088c034ae 25-Apr-2014 Chris Craik <ccraik@google.com> Support Oval GradientDrawable outlines, and ShapeDrawable

Change-Id: Ifc9e55757d3325cb28a1a812ec696512d4a18b39
/frameworks/base/graphics/java/android/graphics/Outline.java
e6a39b12656ab8d5c77d8366b24aa6410fd42e11 24-Apr-2014 Chris Craik <ccraik@google.com> Refactor Drawable outline production, flesh out Outline methods

Change-Id: I1b8c25384b5f123e86cf5e0b2270eb741bc3159b
/frameworks/base/graphics/java/android/graphics/Outline.java
f975823773ffddde476e8a8563702f5acc45ab6c 25-Mar-2014 Chris Craik <ccraik@google.com> Fix doc build

Change-Id: I18627229be3e8e242e469af83e7e5ae580b03707
/frameworks/base/graphics/java/android/graphics/Outline.java
b49f446c98096c4790a11d9b5bc83a4e585278c9 20-Mar-2014 Chris Craik <ccraik@google.com> Rework Outline API, remove isolatedZVolume remnants

Change-Id: I30c2fe832dcb98fa6329b1a595b3d3aafbdcad6b
/frameworks/base/graphics/java/android/graphics/Outline.java