From 51889b0be83dc34c9752fc066d0d6e75ab4f5e26 Mon Sep 17 00:00:00 2001 From: Tony Wickham Date: Mon, 27 Feb 2017 16:30:47 -0800 Subject: Merge deep shortcuts in rounded rect - DeepShortcutViews are added to ShortcutsItemView, which is in PopupContainerWithArrow - Moved some shortcut-specific logic to ShortcutsItemView (namely, touch/long-click handling for draggin shortcuts) - Moved round-rect clipping to PopupItemView - Removed collapseToIcon() logic, including PillWidthRevealOutlineProvider, which was only used for that purpose. It isn't necessary now that the deep shortcuts have no background themselves. - Replaced focus pill drawable with ripple effect on shortcuts and notification view. Bug: 35766387 Change-Id: I6bc09f1851cfbb806df4bf75a6e435b0f1900c9c --- src/com/android/launcher3/badge/BadgeRenderer.java | 1 - 1 file changed, 1 deletion(-) (limited to 'src/com/android/launcher3/badge') diff --git a/src/com/android/launcher3/badge/BadgeRenderer.java b/src/com/android/launcher3/badge/BadgeRenderer.java index 864a65d8a..1f3e22de2 100644 --- a/src/com/android/launcher3/badge/BadgeRenderer.java +++ b/src/com/android/launcher3/badge/BadgeRenderer.java @@ -22,7 +22,6 @@ import android.graphics.Bitmap; import android.graphics.Canvas; import android.graphics.Paint; import android.graphics.Rect; -import android.graphics.RectF; import android.graphics.Shader; import android.support.annotation.Nullable; -- cgit v1.2.3