summaryrefslogtreecommitdiff
path: root/libs/hwui/RevealClip.h
diff options
context:
space:
mode:
authorJohn Reck <jreck@google.com>2014-07-15 14:29:33 -0700
committerJohn Reck <jreck@google.com>2014-07-18 22:10:22 +0000
commitd3de42cae84fadfa1befd082a2cf1bf72f9ad82a (patch)
treee3bff6900caa9cc6546dc6e843f37414192fcc74 /libs/hwui/RevealClip.h
parentfac77c46fe03466cb4bd728da3dc49b40652964b (diff)
Add RT-enabled reveal animator
Bug: 16161431 Also re-writes RevealAnimator to avoid using any listeners internally, removing the logic around shadowing the update listeners. Change-Id: I6ed8126398eed971a87f20bccb7584c9acafbb6c
Diffstat (limited to 'libs/hwui/RevealClip.h')
-rw-r--r--libs/hwui/RevealClip.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/libs/hwui/RevealClip.h b/libs/hwui/RevealClip.h
index ece8498b7e73..07404cbffa50 100644
--- a/libs/hwui/RevealClip.h
+++ b/libs/hwui/RevealClip.h
@@ -57,6 +57,10 @@ public:
return mShouldClip;
}
+ float radius() const {
+ return mRadius;
+ }
+
const SkPath* getPath() const {
if (!mShouldClip) return NULL;