OSDN Git Service
Jeff Hamilton [Thu, 1 Oct 2009 09:22:33 +0000 (02:22 -0700)]
New edit UI, now without tabs.
Make ExternalSource derive from FallbackSource
and add photo and name to the list of sources
since they're not optional.
Change-Id: I043db076a001a711e56dd6e5e6ee32c4c0c9477a
Jeff Sharkey [Wed, 30 Sep 2009 21:57:07 +0000 (14:57 -0700)]
Single query with social, IM rows, heavy recycling, large.
Moved to a single query when showing FastTrack, instead of
previous three. This change also limits photos so we only
request when needed for large mode, and even then only the
super-primary photo. Helps fix http://b/
2134623
New query also brings in new social status API along with
attribution lines, fixing http://b/
2149038
Change also adds any IM rows under contact, or treats
Email entries with presence as Google Talk IM rows, which
fixes http://b/
2087402
When selecting chiclet icons, prefer a specific set of
built-in platform and system apps. This does /not/ replace
the system intent dialog to actually select an app when
there are multiple matches. Fixes http://b/
2139517
Heavy recycling strategies for preserving layouts. This
uses a ActivityManager trick to keep FastTrack pre-warmed
behind any other tasks. It also recycles inflated chiclets
between showings. With these and other optimizations, we
now show 60% faster. Fixes http://b/
2134623
Implements large FastTrack layout, fixing http://b/
2126683
Switched import/export icons to correct DPI, corrected HDPI
FastTrack shadow asset, and fixed dialog launching logic in
ContactsListView.
Android (Google) Code Review [Thu, 1 Oct 2009 07:43:28 +0000 (03:43 -0400)]
Merge change I6f8ec24e into eclair
* changes:
Refreshing view contact based on the result of editing
Android (Google) Code Review [Thu, 1 Oct 2009 07:37:57 +0000 (03:37 -0400)]
Merge change I457e2149 into eclair
* changes:
More icons
Mike Cleron [Thu, 1 Oct 2009 07:35:43 +0000 (00:35 -0700)]
More icons
Dmitri Plotnikov [Thu, 1 Oct 2009 06:48:12 +0000 (23:48 -0700)]
Refreshing view contact based on the result of editing
Specifically, when edit does joins, new contacts and deletes, the lookup key can change beyond recognition.
Change-Id: I6f8ec24ecaf3d1e80f765a5fa9e4fd3d371bf62c
Dmitri Plotnikov [Thu, 1 Oct 2009 05:32:13 +0000 (22:32 -0700)]
Moving join contact functionality to the Contact Edit screen.
Change-Id: I1630e909be3283d7274d093e8c86a8ee142d8afc
Android (Google) Code Review [Thu, 1 Oct 2009 06:25:28 +0000 (02:25 -0400)]
Merge change I511ba352 into eclair
* changes:
Remove tabs, join, and aggregate badge from ViewContactActivity
Android (Google) Code Review [Thu, 1 Oct 2009 05:32:59 +0000 (01:32 -0400)]
Merge change Ie07ae802 into eclair
* changes:
New icon
Mike Cleron [Thu, 1 Oct 2009 05:30:28 +0000 (22:30 -0700)]
New icon
Android (Google) Code Review [Thu, 1 Oct 2009 04:49:40 +0000 (00:49 -0400)]
Merge change I8490c0ec into eclair
* changes:
com.android.contacts.action.FAST_TRACK->com.android.contacts.action.QUICK_CONTACT
Evan Millar [Thu, 1 Oct 2009 04:45:08 +0000 (21:45 -0700)]
com.android.contacts.action.FAST_TRACK->com.android.contacts.action.QUICK_CONTACT
Change-Id: I8490c0ec674bd3dfc3944fcb54ae8f76e32fdb3c
Fred Quintana [Thu, 1 Oct 2009 00:22:21 +0000 (17:22 -0700)]
show events in the UI
Evan Millar [Wed, 30 Sep 2009 22:15:51 +0000 (15:15 -0700)]
Remove tabs, join, and aggregate badge from ViewContactActivity
Change-Id: I511ba352d6c9f155aa66c14123e1e90e9d530ec5
Android (Google) Code Review [Thu, 1 Oct 2009 04:10:33 +0000 (00:10 -0400)]
Merge change I2a7e4e10 into eclair
* changes:
Make secondary edit entries unvisible if no data kind for it.
Evan Millar [Thu, 1 Oct 2009 02:03:35 +0000 (19:03 -0700)]
FastTrack->QuickContact
Change-Id: I9376e6ffa2e804ba4a3b60465344b058064eb098
Android (Google) Code Review [Thu, 1 Oct 2009 03:38:06 +0000 (23:38 -0400)]
Merge change I30d0cce2 into eclair
* changes:
Add ContactsContract.CALLER_IS_SYNCADAPTER query parameter to the ContentProviderOperation which updates group display/should_sync values.
Megha Joshi [Tue, 22 Sep 2009 16:38:41 +0000 (09:38 -0700)]
Disable delete for read only contacts such as facebook contacts.
Fixes bug
2121909.
Android (Google) Code Review [Thu, 1 Oct 2009 03:14:43 +0000 (23:14 -0400)]
Merge change I1172406d into eclair
* changes:
Moving contact split functionality to contact Edit
Dmitri Plotnikov [Thu, 1 Oct 2009 03:06:03 +0000 (20:06 -0700)]
Moving contact split functionality to contact Edit
Change-Id: I1172406d9eaed9b996d0376ff23413c8d7848d06
Evan Millar [Thu, 1 Oct 2009 01:33:17 +0000 (18:33 -0700)]
Fix http://b/issue?id=
2158641
Change-Id: I91f020b4d762fcaf0072d641a8a926897b7b3cd5
Tadashi G. Takaoka [Wed, 30 Sep 2009 17:05:21 +0000 (10:05 -0700)]
Make secondary edit entries unvisible if no data kind for it.
Internal Bug:
2151377
Megha Joshi [Thu, 1 Oct 2009 00:17:12 +0000 (17:17 -0700)]
Add ContactsContract.CALLER_IS_SYNCADAPTER query parameter to the
ContentProviderOperation which updates group display/should_sync values.
Partly fixes
2093578
Android (Google) Code Review [Wed, 30 Sep 2009 22:52:35 +0000 (18:52 -0400)]
Merge change I5ba08ed2 into eclair
* changes:
Final drop of hdpi assets for contacts.
Evan Millar [Wed, 30 Sep 2009 19:12:44 +0000 (12:12 -0700)]
Final drop of hdpi assets for contacts.
Change-Id: I5ba08ed2d113779cb0994e049d9a176a85e052f9
Jeff Hamilton [Wed, 30 Sep 2009 21:50:11 +0000 (14:50 -0700)]
String change from Roy.
Change-Id: I2bffa4fb041038e2ca315cf7dc82f9d2ec73eb53
Android (Google) Code Review [Wed, 30 Sep 2009 21:16:23 +0000 (17:16 -0400)]
Merge change I6f9a7185 into eclair
* changes:
Fix the number off by one when typing in the contact list.
Neel Parekh [Wed, 30 Sep 2009 20:59:44 +0000 (13:59 -0700)]
Fix the number off by one when typing in the contact list.
Bug:
2157000
Android (Google) Code Review [Wed, 30 Sep 2009 21:15:35 +0000 (17:15 -0400)]
Merge change I041d3933 into eclair
* changes:
Add import export menu drawables.
Android (Google) Code Review [Wed, 30 Sep 2009 21:15:16 +0000 (17:15 -0400)]
Merge change I6d074325 into eclair
* changes:
Add FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET Intent flag to each of the intents launched from fasttrack window.
Megha Joshi [Wed, 30 Sep 2009 20:58:48 +0000 (13:58 -0700)]
Add import export menu drawables.
fixes
2096050
Megha Joshi [Wed, 30 Sep 2009 04:49:35 +0000 (21:49 -0700)]
Add FLAG_ACTIVITY_CLEAR_WHEN_TASK_RESET Intent flag to each of
the intents launched from fasttrack window.
Fixes bug
2137624
Android (Google) Code Review [Wed, 30 Sep 2009 19:56:15 +0000 (15:56 -0400)]
Merge change I1ad6f4ae into eclair
* changes:
Use soft uris in ViewContactActivity and ContactOptionsActivity.
Evan Millar [Tue, 29 Sep 2009 21:00:43 +0000 (14:00 -0700)]
Use soft uris in ViewContactActivity and ContactOptionsActivity.
Change-Id: I1ad6f4aef27dec2007aaea05ba289a4b9fe3939a
Android (Google) Code Review [Wed, 30 Sep 2009 18:26:09 +0000 (14:26 -0400)]
Merge change Iaa0c610a into eclair
* changes:
Hookup building the contact header widget from deltas.
Android (Google) Code Review [Wed, 30 Sep 2009 18:19:04 +0000 (14:19 -0400)]
Merge change I623d3ba1 into eclair
* changes:
Placeholder mdpi assets
Android (Google) Code Review [Wed, 30 Sep 2009 18:12:05 +0000 (14:12 -0400)]
Merge change I0bb240dc into eclair
* changes:
Fix a sample code commented out, complying with the new vCard implementation.
Daisuke Miyakawa [Wed, 30 Sep 2009 18:07:12 +0000 (11:07 -0700)]
Fix a sample code commented out, complying with the new vCard implementation.
Mike Cleron [Wed, 30 Sep 2009 18:02:59 +0000 (11:02 -0700)]
Placeholder mdpi assets
Neel Parekh [Mon, 21 Sep 2009 23:57:03 +0000 (16:57 -0700)]
Hookup building the contact header widget from deltas.
Bug:
2126659
Evan Millar [Wed, 30 Sep 2009 01:00:05 +0000 (18:00 -0700)]
Adjust to FasttrackBadgeWidget->QuickContactBadge name change.
Change-Id: If4d85018dfe4488d46a0eed748314b5d448d2494
Daisuke Miyakawa [Wed, 30 Sep 2009 16:53:49 +0000 (09:53 -0700)]
Fix string, again..
Daisuke Miyakawa [Wed, 30 Sep 2009 16:43:58 +0000 (09:43 -0700)]
Fix error message shown when there's no vCard in SD card.
Internal Issue number:
2155357
Tadashi G. Takaoka [Tue, 29 Sep 2009 15:22:37 +0000 (08:22 -0700)]
Revert "Hide contact context from fast track window in the contacts view"
This reverts commit
f493b768816f245ccf593953a743996e1a54055a.
Internal Bug:
2138745
Jeff Hamilton [Wed, 30 Sep 2009 08:57:10 +0000 (01:57 -0700)]
Don't pass the query parameter in if the calling package is null.
The provider would read the string "null" and always refuse restricted access.
Change-Id: I1a592c2284ada8ab3c41bc71e510bd4ec7fd05d8
Android (Google) Code Review [Wed, 30 Sep 2009 08:30:30 +0000 (04:30 -0400)]
Merge change If143a45c into eclair
* changes:
Newer icons
Mike Cleron [Wed, 30 Sep 2009 08:13:23 +0000 (01:13 -0700)]
Newer icons
Android (Google) Code Review [Wed, 30 Sep 2009 05:44:13 +0000 (01:44 -0400)]
Merge change I386dd954 into eclair
* changes:
Remove GAIA string
Android (Google) Code Review [Wed, 30 Sep 2009 04:42:08 +0000 (00:42 -0400)]
Merge change Ibb6bf6b8 into eclair
* changes:
Minor cosmetic cleanups.
Dmitri Plotnikov [Wed, 30 Sep 2009 04:01:25 +0000 (21:01 -0700)]
[Issue
2097049] Adding a collapsed "Show all contacts" item to the join suggestion list
Change-Id: I7cf12800b942720d00229d6c61ba6180f4cd87d4
Nicolas Catania [Wed, 30 Sep 2009 03:28:01 +0000 (20:28 -0700)]
Minor cosmetic cleanups.
Costin Manolache [Wed, 30 Sep 2009 01:58:41 +0000 (18:58 -0700)]
Remove GAIA string
Android (Google) Code Review [Wed, 30 Sep 2009 01:15:33 +0000 (21:15 -0400)]
Merge change Ic0c20625 into eclair
* changes:
Don't hightlight call button in lists.
Android (Google) Code Review [Wed, 30 Sep 2009 01:14:22 +0000 (21:14 -0400)]
Merge change I53f94fc2 into eclair
* changes:
Tweaked the dialer screen to match the designer's PPL.
Dmitri Plotnikov [Wed, 30 Sep 2009 01:13:08 +0000 (18:13 -0700)]
[Issue
2097049] Updating the header of contact join screen - new icon and text
Change-Id: Ib780fba650dad0e070eabce497dde3ffa75661f5
Tadashi G. Takaoka [Tue, 29 Sep 2009 23:04:08 +0000 (16:04 -0700)]
Added source label name to account name hsection.
Internal Bug:
2154925
Tadashi G. Takaoka [Tue, 29 Sep 2009 20:08:28 +0000 (13:08 -0700)]
Make tab widget contain account name text view to avoid animation glitch
Internal Bug:
2153912
Android (Google) Code Review [Tue, 29 Sep 2009 23:03:45 +0000 (19:03 -0400)]
Merge change Iefb766ce into eclair
* changes:
[Issue
2155068] Fixing the selection clause for legacy API request in EditContactActivity
Dmitri Plotnikov [Tue, 29 Sep 2009 23:02:54 +0000 (16:02 -0700)]
[Issue
2155068] Fixing the selection clause for legacy API request in EditContactActivity
Change-Id: Iefb766ce73baf707cfd74f66627cf8fc4fb70249
Evan Millar [Tue, 29 Sep 2009 16:33:51 +0000 (09:33 -0700)]
Restrict data shown in picker based on calling activity.
Change-Id: I07be295b05f272c268019817732f6d98953bc3fd
Neel Parekh [Tue, 29 Sep 2009 19:33:19 +0000 (12:33 -0700)]
Make total contacts header more like a separator.
Dmitri Plotnikov [Tue, 29 Sep 2009 21:07:19 +0000 (14:07 -0700)]
[Issue
2149076] More wording cleanup on contacts Display Options
Change-Id: I8ec4e7ab63387fffa6f32063776176e8dbcff600
Android (Google) Code Review [Tue, 29 Sep 2009 20:25:15 +0000 (16:25 -0400)]
Merge change I394867d3 into eclair
* changes:
Cancel the selection and move the cursor pass the wait/pause symbol.
Nicolas Catania [Tue, 29 Sep 2009 06:03:33 +0000 (23:03 -0700)]
Tweaked the dialer screen to match the designer's PPL.
Created a layout-long-finger version of the dialpad for wvga devices.
For these devices, the buttons are taller than for hvga and
the margin around the elements are also different.
Extracted the bar with the 3 buttons in a separate file that gets
included in both portrait and landscape modes.
Simplified the ButtonGridLayout. Now runs 6% faster (3 runs w/ traceview).
I hardcoded the size of the button grid because the number of columns was
already hardcoded, so why not fix everything?
Use some member to cache the calculation made during onMeasure to be reused
in onLayout.
Tested on dream and sh.... in portrait and landscape modes.
Bug:
2104523
Daisuke Miyakawa [Tue, 29 Sep 2009 19:20:39 +0000 (12:20 -0700)]
Fix Contacts app so that it is able to use import feature!!!
Android (Google) Code Review [Tue, 29 Sep 2009 19:05:07 +0000 (15:05 -0400)]
Merge change Ibb10a3d9 into eclair
* changes:
[Issue
2149076] Wording cleanup on contacts Display Options
Dmitri Plotnikov [Tue, 29 Sep 2009 19:04:28 +0000 (12:04 -0700)]
[Issue
2149076] Wording cleanup on contacts Display Options
Change-Id: Ibb10a3d9a7735d3bb3005aa188cf43877cc955f1
Android (Google) Code Review [Tue, 29 Sep 2009 17:43:33 +0000 (13:43 -0400)]
Merge change Ice18ecc3 into eclair
* changes:
Fix collapsing to do fuzzy phone number matching.
Tadashi G. Takaoka [Tue, 29 Sep 2009 16:12:46 +0000 (09:12 -0700)]
Do not show "star" in contact editor.
Internal Bug:
2147622
Evan Millar [Tue, 29 Sep 2009 00:20:50 +0000 (17:20 -0700)]
Fix collapsing to do fuzzy phone number matching.
-Also use Collapser to collapse the numbers shown in the context menu
from the A-Z list.
Fixes http://b/issue?id=
2047514 and http://b/issue?id=
2144616
Change-Id: Ice18ecc306c2f30fd1525418bc9f7408c4435a50
Android (Google) Code Review [Tue, 29 Sep 2009 07:05:08 +0000 (03:05 -0400)]
Merge change I1dd85cfe into eclair
* changes:
New icons
Mike Cleron [Tue, 29 Sep 2009 07:03:17 +0000 (00:03 -0700)]
New icons
Dmitri Plotnikov [Tue, 29 Sep 2009 01:06:11 +0000 (18:06 -0700)]
[Issue
2097049] Adding a header to Contact Join UI
Also fixing this bug:
java.lang.RuntimeException: Unable to stop activity {com.android.contacts/com.android.contacts.ContactsListActivity$JoinContactActivity}: java.lang.IllegalStateException: get field slot from row 0 col -1 failed
Change-Id: I74025ee687944282ea9fea945ce281e9a00f6fdc
Android (Google) Code Review [Tue, 29 Sep 2009 03:50:04 +0000 (23:50 -0400)]
Merge change Ibcade31c into eclair
* changes:
[Issue
2147295] Only showing visible contacts in contact Join UI
Nicolas Catania [Tue, 29 Sep 2009 03:37:33 +0000 (20:37 -0700)]
Cancel the selection and move the cursor pass the wait/pause symbol.
When a selection is active and a special wait/pause charater is inserted,
it should replace the selection (currently done) but is should also
deselect the resulting area and move back to cursor positioned after
the inserted wait/pause character.
Bug:
2150657
Dmitri Plotnikov [Tue, 29 Sep 2009 03:40:13 +0000 (20:40 -0700)]
[Issue
2147295] Only showing visible contacts in contact Join UI
Change-Id: Ibcade31cdba388e9f3053662e2650c680fdb6806
Jeff Sharkey [Tue, 29 Sep 2009 03:16:37 +0000 (20:16 -0700)]
Remove TYPE_CUSTOM from EAS source.
Helps fix http://b/
2127721
Android (Google) Code Review [Tue, 29 Sep 2009 02:20:44 +0000 (22:20 -0400)]
Merge change I60a8f5d0 into eclair
* changes:
Disable labels, fields and add button for readonly contacts in edit contact view.
Jeff Sharkey [Mon, 28 Sep 2009 01:21:04 +0000 (18:21 -0700)]
Invalidate sources cache when accounts change.
This change listens for AccountManager changes, such as
when an account is added. Fixes http://b/
2115977
Android (Google) Code Review [Tue, 29 Sep 2009 00:54:07 +0000 (20:54 -0400)]
Merge change I3aaf0497 into eclair
* changes:
Show a header containing the total number of contacts.
Neel Parekh [Tue, 29 Sep 2009 00:19:03 +0000 (17:19 -0700)]
Show a header containing the total number of contacts.
Bug:
2138779
Megha Joshi [Sun, 27 Sep 2009 02:05:57 +0000 (19:05 -0700)]
Disable labels, fields and add button for readonly
contacts in edit contact view.
Fixes
2139627.
Jeff Sharkey [Mon, 28 Sep 2009 00:28:13 +0000 (17:28 -0700)]
Use separate API when sending vCard through ACTION_SEND.
Fixes http://b/
2138790
Tadashi G. Takaoka [Sun, 27 Sep 2009 21:22:28 +0000 (14:22 -0700)]
Contacts: added source account name to view/edit activity.
Internal Bug:
2129158
Android (Google) Code Review [Mon, 28 Sep 2009 23:10:18 +0000 (19:10 -0400)]
Merge change I778df15f into eclair
* changes:
Create a title on long press in view contact
Android (Google) Code Review [Mon, 28 Sep 2009 23:03:34 +0000 (19:03 -0400)]
Merge change Ifcd23efc into eclair
* changes:
Prevents empty contacts from being saved.
Megha Joshi [Sat, 26 Sep 2009 22:46:49 +0000 (15:46 -0700)]
Prevents empty contacts from being saved.
Fixes
2128988
Vasu Nori [Mon, 28 Sep 2009 21:31:02 +0000 (14:31 -0700)]
display text "no matching contacts found" if none found while searching contacts
Neel Parekh [Sat, 26 Sep 2009 01:05:18 +0000 (18:05 -0700)]
Create a title on long press in view contact
Bug:
2138724
Daisuke Miyakawa [Fri, 25 Sep 2009 20:33:27 +0000 (13:33 -0700)]
Several changes included...
- Suppress RuntimeException reported in the issue
2145361
-- Ask the parent Activity to show messages.
- Make vCard exporter a separated Activity.
-- There's no need to do this any more, but looks cleaner and easier to
understand the behavior.
- Make error messages from vCard composer translatable.
- Stop using showDialog() when it is not appropriate.
Dmitri Plotnikov [Mon, 28 Sep 2009 00:36:11 +0000 (17:36 -0700)]
Renaming Presence and Presence-related columns.
Change-Id: If5bfe3d88203cc1dabd81a65ca96e81be193ce71
Nicolas Catania [Fri, 25 Sep 2009 00:30:27 +0000 (17:30 -0700)]
Added annotation for the newly created test's size.
Made it a medium test (3 secs to run + in mem sql provider + activity)
Nicolas Catania [Sun, 27 Sep 2009 22:15:05 +0000 (15:15 -0700)]
New theme for the dialtacts activity (no shadow/no title)
This brings the tabs and text dial in line with the UI mocks.
Note that it is still consistent with traditional UIs where
the title and notification bar are on the same z-index, it
is just that a tab activity's title is the active tab.
Bug
2104523
Android (Google) Code Review [Sun, 27 Sep 2009 22:34:50 +0000 (18:34 -0400)]
Merge change 26967 into eclair
* changes:
Disable the call icon in the logs for private and unknown numbers.
Tadashi G. Takaoka [Sun, 27 Sep 2009 17:18:46 +0000 (10:18 -0700)]
Contacts: removed stale translation strings.
DO NOT MERGE to master
Nicolas Catania [Fri, 25 Sep 2009 00:30:27 +0000 (17:30 -0700)]
Disable the call icon in the logs for private and unknown numbers.
We cannot callback private numbers (ie number with a caller id blocked)
so we need to disable the call icon.
Same for Unknown ones (e.g private number on GSM shows as unknown).
Added a test to make sure call icon is not visible on the right entries.
Bug:
2144575
Evan Millar [Sat, 26 Sep 2009 23:02:31 +0000 (16:02 -0700)]
Save show sources/hide sources on orientation change.`
Change-Id: Ib5a58b09f13de9ddd4be048788228928fd591f53
Evan Millar [Sat, 26 Sep 2009 22:23:37 +0000 (15:23 -0700)]
Fix http://b/issue?id=
2098463
Change-Id: I04d4da9dfc70a16c547efd4c4331dd910788e9e4
Evan Millar [Wed, 23 Sep 2009 19:05:30 +0000 (12:05 -0700)]
Adjust to ContactHeaderWidget api changes.
Change-Id: I34d77fa00421951cef0dc62d33982be6aa06b644
Jeff Sharkey [Sat, 26 Sep 2009 08:57:35 +0000 (01:57 -0700)]
Rewrite display groups to persist changes in transaction.
In a previous change we relied on now-removed query
parameters to delay visibility updates until forced through
a specific update. This would leave the contacts list in
a stale state when the user left the Activity through
non-typical methods, such as notification or home key.
This change keeps all user edits in memory, reusing code
from our edit UI, and persisting them in as a single
transaction when finished. This also adds a button bar
to help confirm or revert changes. Fixes http://b/
2075275
In addition, this change cleans up inefficient code where
we had been previously joining together up to 3 cursors for
each account to match a given UI spec.