summaryrefslogtreecommitdiffstats
path: root/Android.mk
diff options
context:
space:
mode:
authorJeff Sharkey <jsharkey@android.com>2011-04-07 00:48:02 -0700
committerJeff Sharkey <jsharkey@android.com>2011-04-08 13:44:27 -0700
commitcde7389187ebc6816bd73d4704f1ca1b4ee39ac3 (patch)
treec4455f596a83aa7277b06752c1b7e1099bec2db1 /Android.mk
parentf6c62c03f64d14f2f84d847d97ac0657f7adf2f6 (diff)
downloadpackages_apps_Contacts-cde7389187ebc6816bd73d4704f1ca1b4ee39ac3.tar.gz
packages_apps_Contacts-cde7389187ebc6816bd73d4704f1ca1b4ee39ac3.tar.bz2
packages_apps_Contacts-cde7389187ebc6816bd73d4704f1ca1b4ee39ac3.zip
Move QuickContact to Activity instead of Window.
QuickContact has traditionally used a Window to show a bubble with callout centered around a target area. This change moves away from private Window APIs, and instead creates FloatingChildLayout to layout the bubble. Using onLayout() is more flexible than a PopupWindow or Dialog, since it gives us access to getWindowVisibleDisplayFrame() to correctly handle system windows. (Similar to FLAG_LAYOUT_INSET_DECOR.) Changes background Drawable to use state_first and state_last to select above/below callout arrow. Also moves to using setLevel() to set arrow horizontal location. Removes recycling chiclet code, and brings in Guava library. Bug: 3362647 Change-Id: Iae953bae71db76e91e05996fe4c0dcea38bb446f
Diffstat (limited to 'Android.mk')
-rw-r--r--Android.mk6
1 files changed, 5 insertions, 1 deletions
diff --git a/Android.mk b/Android.mk
index ff1b7e25b..1c9dcc475 100644
--- a/Android.mk
+++ b/Android.mk
@@ -5,7 +5,11 @@ LOCAL_MODULE_TAGS := optional
LOCAL_SRC_FILES := $(call all-java-files-under, src)
-LOCAL_STATIC_JAVA_LIBRARIES := com.android.phone.common com.android.vcard android-common
+LOCAL_STATIC_JAVA_LIBRARIES := \
+ com.android.phone.common \
+ com.android.vcard \
+ android-common \
+ guava
LOCAL_PACKAGE_NAME := Contacts
LOCAL_CERTIFICATE := shared