From 1c1b86bf5127f9092d04b09681d92e1e1c61d8af Mon Sep 17 00:00:00 2001 From: Lyn Han Date: Wed, 19 Jun 2019 14:02:38 -0700 Subject: [PATCH] Dot location getters For use by SystemUI-Bubbles flyout-to-dot animation Bug: 129158983 Test: manual (Bubbles dot looks good) Change-Id: I53287efcfe3e02b4ba0572d62f138cc52f7f66a6 --- .../src/com/android/launcher3/icons/DotRenderer.java | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/iconloaderlib/src/com/android/launcher3/icons/DotRenderer.java b/iconloaderlib/src/com/android/launcher3/icons/DotRenderer.java index af07aa3a99..97a0fd3ffc 100644 --- a/iconloaderlib/src/com/android/launcher3/icons/DotRenderer.java +++ b/iconloaderlib/src/com/android/launcher3/icons/DotRenderer.java @@ -85,6 +85,14 @@ public class DotRenderer { return pos; } + public float[] getLeftDotPosition() { + return mLeftDotPosition; + } + + public float[] getRightDotPosition() { + return mRightDotPosition; + } + /** * Draw a circle on top of the canvas according to the given params. */