summaryrefslogtreecommitdiffstats
path: root/iconloaderlib
diff options
context:
space:
mode:
authorLyn Han <lynhan@google.com>2019-06-19 14:02:38 -0700
committerLyn Han <lynhan@google.com>2019-06-20 22:34:44 +0000
commit1c1b86bf5127f9092d04b09681d92e1e1c61d8af (patch)
tree6670402e75695285a13762a4b1a6daebd7d018c1 /iconloaderlib
parentb4ff31218166527e4fc48b65f8cbbb3ba5086251 (diff)
downloadandroid_packages_apps_Trebuchet-1c1b86bf5127f9092d04b09681d92e1e1c61d8af.tar.gz
android_packages_apps_Trebuchet-1c1b86bf5127f9092d04b09681d92e1e1c61d8af.tar.bz2
android_packages_apps_Trebuchet-1c1b86bf5127f9092d04b09681d92e1e1c61d8af.zip
Dot location getters
For use by SystemUI-Bubbles flyout-to-dot animation Bug: 129158983 Test: manual (Bubbles dot looks good) Change-Id: I53287efcfe3e02b4ba0572d62f138cc52f7f66a6
Diffstat (limited to 'iconloaderlib')
-rw-r--r--iconloaderlib/src/com/android/launcher3/icons/DotRenderer.java8
1 files changed, 8 insertions, 0 deletions
diff --git a/iconloaderlib/src/com/android/launcher3/icons/DotRenderer.java b/iconloaderlib/src/com/android/launcher3/icons/DotRenderer.java
index af07aa3a9..97a0fd3ff 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.
*/