Loading tests/tapl/com/android/launcher3/tapl/AppIcon.java +9 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package com.android.launcher3.tapl; import static com.android.launcher3.testing.shared.TestProtocol.TEST_DRAG_APP_ICON_TO_MULTIPLE_WORKSPACES_FAILURE; import android.graphics.Point; import android.util.Log; import android.widget.TextView; Loading Loading @@ -128,6 +129,14 @@ public abstract class AppIcon extends Launchable { return getObject().getContentDescription(); } /** * @return the center coordinates of the icon */ @NonNull public Point getVisibleCenter() { return getObject().getVisibleCenter(); } /** * Create a regular expression pattern that matches strings containing all of the non-whitespace * characters of the app name, with any amount of whitespace added between characters (e.g. Loading Loading
tests/tapl/com/android/launcher3/tapl/AppIcon.java +9 −0 Original line number Diff line number Diff line Loading @@ -18,6 +18,7 @@ package com.android.launcher3.tapl; import static com.android.launcher3.testing.shared.TestProtocol.TEST_DRAG_APP_ICON_TO_MULTIPLE_WORKSPACES_FAILURE; import android.graphics.Point; import android.util.Log; import android.widget.TextView; Loading Loading @@ -128,6 +129,14 @@ public abstract class AppIcon extends Launchable { return getObject().getContentDescription(); } /** * @return the center coordinates of the icon */ @NonNull public Point getVisibleCenter() { return getObject().getVisibleCenter(); } /** * Create a regular expression pattern that matches strings containing all of the non-whitespace * characters of the app name, with any amount of whitespace added between characters (e.g. Loading