cde7389187ebc6816bd73d4704f1ca1b4ee39ac3 |
|
07-Apr-2011 |
Jeff Sharkey <jsharkey@android.com> |
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
/packages/apps/Contacts/src/com/android/contacts/util/NotifyingAsyncQueryHandler.java
|
8579e25faeedbb1d00ee295da4c74e45bd782573 |
|
07-Dec-2009 |
Fred Quintana <fredq@google.com> |
changed to use the new EntityIterator interface
/packages/apps/Contacts/src/com/android/contacts/util/NotifyingAsyncQueryHandler.java
|
3f0b7b87cd41b5a9cd631b6fcf29ea5025905e18 |
|
12-Aug-2009 |
Jeff Sharkey <jsharkey@android.com> |
Use AccountManager for details, handle INSERT cases. Connected Sources to use AccountManager and inflate details through registered sync adapters. Each ContactsSource now has a "level" of inflation, since deeper levels aren't always needed right away. Several places we're making blocking calls into other processes that are tied to the UI thread. (This would take a large effort to fix.) Turned most background Edit activity operations into WeakAsyncTask, which helps finish background tasks while preventing leaked Contexts. This allows us to hold the UI thread while saving, but release it just before ANR, allowing the background operation to complete. Enabled INSERT case, both from overall list and when already editing an aggregate. Finally, cleaned up the manifest intent-filters to directly match authorities.
/packages/apps/Contacts/src/com/android/contacts/util/NotifyingAsyncQueryHandler.java
|