OSDN Git Service
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.
Roy West [Fri, 25 Sep 2009 20:25:13 +0000 (13:25 -0700)]
Tweak no contacts text to fit better; partial step to display options.
Android (Google) Code Review [Fri, 25 Sep 2009 22:48:19 +0000 (18:48 -0400)]
Merge change 26096 into eclair
* changes:
Try to do an update before inserting.
Android (Google) Code Review [Fri, 25 Sep 2009 22:18:22 +0000 (18:18 -0400)]
Merge change 27134 into eclair
* changes:
Make sure we don't get an Out of bounds exception when getting a section.
Android (Google) Code Review [Fri, 25 Sep 2009 22:10:47 +0000 (18:10 -0400)]
Merge change 27102 into eclair
* changes:
- fix a crash that happens when reparenting a change - fix a bug wher to Longs are compared using == instead of equals
Fred Quintana [Fri, 25 Sep 2009 20:13:35 +0000 (13:13 -0700)]
- fix a crash that happens when reparenting a change
- fix a bug wher to Longs are compared using == instead of equals
Neel Parekh [Fri, 25 Sep 2009 21:26:20 +0000 (14:26 -0700)]
Make sure we don't get an Out of bounds exception when getting a section.
Evan Millar [Thu, 24 Sep 2009 16:39:21 +0000 (09:39 -0700)]
Show sources / Hide sources UI in the view card.
Change-Id: Iee14c66c0b9b065403778c6b8e4cb1273a02ee65
Fred Quintana [Fri, 25 Sep 2009 00:15:49 +0000 (17:15 -0700)]
don't delete photo rows that have an empty photo
Neel Parekh [Thu, 24 Sep 2009 23:37:47 +0000 (16:37 -0700)]
Fix divider showing up in contacts list
Android (Google) Code Review [Fri, 25 Sep 2009 15:00:26 +0000 (11:00 -0400)]
Merge change 26949 into eclair
* changes:
Fixed the font size in the dialer (increased the size).
Roy West [Fri, 25 Sep 2009 14:25:03 +0000 (07:25 -0700)]
Fix bug2143343: Edits to "no contacts" screen in Contacts.
Neel Parekh [Mon, 21 Sep 2009 02:08:50 +0000 (19:08 -0700)]
Try to do an update before inserting.
Daisuke Miyakawa [Thu, 24 Sep 2009 02:03:16 +0000 (19:03 -0700)]
Make SDCard/SIM importer allows import into "phone-local" account.
Also make importer try to create "My Contacts" group if it does not exist in
the Google account.
Note that the code for the issue
2138187 is also added but temporaly commented out.
I agree this is not clean change, but please ignore these now.
I'll comment in them soon...
Internal issue number:
2141766
Android (Google) Code Review [Thu, 24 Sep 2009 23:47:59 +0000 (19:47 -0400)]
Merge change 26787 into eclair
* changes:
Fixes DisplayGroups to not show sync options for account types that don't support sync.
Evan Millar [Thu, 24 Sep 2009 23:45:09 +0000 (16:45 -0700)]
Fix http://b/issue?id=
2144841
Change-Id: I0955ceaeff76be5912e1add68d40b233d565b0d4
Nicolas Catania [Thu, 24 Sep 2009 23:27:05 +0000 (16:27 -0700)]
Fixed the font size in the dialer (increased the size).
Looks good on sh... and dream.
Bug:
2104523
Megha Joshi [Thu, 24 Sep 2009 22:21:19 +0000 (15:21 -0700)]
Fixes DisplayGroups to not show sync options for account types
that don't support sync.
Bug:
2126681
Conflicts:
src/com/android/contacts/ui/DisplayGroupsActivity.java
android-build SharedAccount [Thu, 24 Sep 2009 19:12:47 +0000 (12:12 -0700)]
Revert "clear PHOTO column instead of deleting the row for focus"
This reverts commit
a3c1b8beda9a79727690889647fdb9f234c760eb, as per Fred.
Neel Parekh [Thu, 24 Sep 2009 00:43:42 +0000 (17:43 -0700)]
Hide contact context from fast track window in the contacts view
Android (Google) Code Review [Thu, 24 Sep 2009 17:52:14 +0000 (13:52 -0400)]
Merge change 26770 into eclair
* changes:
Show a line at the bottom of favorites.
Android (Google) Code Review [Thu, 24 Sep 2009 17:07:33 +0000 (13:07 -0400)]
Merge change 26858 into eclair
* changes:
Changed the 'dialer' string to 'phone' in the tab and app name.
Nicolas Catania [Thu, 24 Sep 2009 16:52:50 +0000 (09:52 -0700)]
Changed the 'dialer' string to 'phone' in the tab and app name.
The new UI design uses phone instead of dialer.
Need to go to the localization team to update all languages.
Bug
2104523
Android (Google) Code Review [Thu, 24 Sep 2009 15:48:09 +0000 (11:48 -0400)]
Merge change 26772 into eclair
* changes:
Fixes the issue about fasttrack window not being dismissed on tapping just outside it.
Megha Joshi [Wed, 23 Sep 2009 22:32:06 +0000 (15:32 -0700)]
Change display order of account name, account type in create
contact under account dialog.
Fixes bug
2139498
Jeff Sharkey [Thu, 24 Sep 2009 10:10:06 +0000 (03:10 -0700)]
Delay updating of Contacts.IN_VISIBLE_GROUP until finished.
To help prevent ANRs, this change take advantage of new
query parameters that delay updating until explicitly
requested. When the user finishes changing groups and
presses back, we show a progress dialog while we force a
single visible update pass in the background.
Fixes http://b/
2075275
Android (Google) Code Review [Thu, 24 Sep 2009 10:14:08 +0000 (06:14 -0400)]
Merge change 26813 into eclair
* changes:
Compare rawContactIds using actual number value.
Jeff Sharkey [Thu, 24 Sep 2009 10:11:13 +0000 (03:11 -0700)]
Compare rawContactIds using actual number value.
Android (Google) Code Review [Thu, 24 Sep 2009 08:39:25 +0000 (04:39 -0400)]
Merge change 26710 into eclair
* changes:
Delay the type value change until the custom value is correct.
Jeff Sharkey [Thu, 24 Sep 2009 07:53:38 +0000 (00:53 -0700)]
Bring back EAS assistant name editor.
Megha Joshi [Thu, 24 Sep 2009 03:16:08 +0000 (20:16 -0700)]
Fixes the issue about fasttrack window not being
dismissed on tapping just outside it.
Bug:
2093519
Neel Parekh [Thu, 24 Sep 2009 02:31:56 +0000 (19:31 -0700)]
Show a line at the bottom of favorites.
Bug:
2138715
Dmitri Plotnikov [Thu, 24 Sep 2009 02:21:11 +0000 (19:21 -0700)]
[Issue
2139542] Making sure a contact cannot be joined with itself.
Change-Id: If1a8ab01941e2017ed7532a61607c4ce09793e14
Dmitri Plotnikov [Thu, 24 Sep 2009 02:01:15 +0000 (19:01 -0700)]
Fixing the issue where empty contacts could not be joined
Basically if you did not have any _displayable_ items on a contact,
you could not merge it with another contact.
Change-Id: I58807cc25390bce4edb5fb0870641920281571f9
Android (Google) Code Review [Thu, 24 Sep 2009 01:59:03 +0000 (21:59 -0400)]
Merge change 26655 into eclair
* changes:
clear PHOTO column instead of deleting the row for focus
Daisuke Miyakawa [Wed, 23 Sep 2009 23:40:17 +0000 (16:40 -0700)]
Delay the type value change until the custom value is correct.
Also make createCustomDialog() private, as
- This method is used only by createLableDialog()
- This method heavily depends on the state of private instances (mKind, mType),
so I thought external objects should not touch this method directly.
Internal issue number:
1752454
Android (Google) Code Review [Wed, 23 Sep 2009 22:42:23 +0000 (18:42 -0400)]
Merge change 26641 into eclair
* changes:
Change the haptic feedback from a duration to a pattern.
Android (Google) Code Review [Wed, 23 Sep 2009 22:05:04 +0000 (18:05 -0400)]
Merge change 26264 into eclair
* changes:
Assoicates make primary logic with the remember this choice checkbox in fasttrack window.
Jeff Sharkey [Wed, 23 Sep 2009 21:55:29 +0000 (14:55 -0700)]
Populate default types for nickname and website.
Fixes http://b/
2138153
Android (Google) Code Review [Wed, 23 Sep 2009 21:36:34 +0000 (17:36 -0400)]
Merge change 26666 into eclair
* changes:
Suppress showDialog() if the Activity is finishing().
Megha Joshi [Mon, 21 Sep 2009 22:36:26 +0000 (15:36 -0700)]
Assoicates make primary logic with the remember this choice checkbox
in fasttrack window.
Fixes bug
2072454
Fred Quintana [Wed, 23 Sep 2009 20:08:35 +0000 (13:08 -0700)]
clear PHOTO column instead of deleting the row for focus
Jeff Sharkey [Wed, 23 Sep 2009 21:22:27 +0000 (14:22 -0700)]
Only allow 1 organization for EAS contacts.
Fixes http://b/
2139188
Jeff Sharkey [Wed, 23 Sep 2009 21:16:59 +0000 (14:16 -0700)]
Avoid OOB exception when editing contacts.
Fixes http://b/
2140908
Daisuke Miyakawa [Wed, 23 Sep 2009 20:52:58 +0000 (13:52 -0700)]
Suppress showDialog() if the Activity is finishing().
Internal issue number:
2133273
Android (Google) Code Review [Wed, 23 Sep 2009 19:56:34 +0000 (15:56 -0400)]
Merge change 26599 into eclair
* changes:
New assets for the new UI design.
Nicolas Catania [Wed, 23 Sep 2009 18:42:00 +0000 (11:42 -0700)]
Change the haptic feedback from a duration to a pattern.
The pattern is a platform config parameter.
Removed config_dialer_key_vibrate_duration, it is not needed.
Bug
2139025
Evan Millar [Wed, 23 Sep 2009 17:51:46 +0000 (10:51 -0700)]
Fix a couple layout bugs in call list and call log.
-Fixed http://b/issue?id=
2139651
-Fixed http://b/issue?id=
2119813
-Also use the *opaque version of the dividers to match the default list
style.
Change-Id: Iaed2f3625630c6f09b0dd5742cf21102a37b11ac
Android (Google) Code Review [Wed, 23 Sep 2009 17:37:28 +0000 (13:37 -0400)]
Merge change 26614 into eclair
* changes:
Make Contacts app not allow users to create empty label for TYPE_CUSTOM field.
Daisuke Miyakawa [Wed, 23 Sep 2009 17:35:18 +0000 (10:35 -0700)]
Make Contacts app not allow users to create empty label for TYPE_CUSTOM field.
Internal issue number:
1752454
Vasu Nori [Wed, 23 Sep 2009 00:23:38 +0000 (17:23 -0700)]
Avoid NPE if host is null, e.g. for "custom" IM protocol.
Android (Google) Code Review [Wed, 23 Sep 2009 16:50:49 +0000 (12:50 -0400)]
Merge change 26584 into eclair
* changes:
Turns the create contact dialog into a Activity managed dialog to fix window leak. Fixes bug
2133210.
Megha Joshi [Wed, 23 Sep 2009 10:21:07 +0000 (03:21 -0700)]
Turns the create contact dialog into a Activity managed
dialog to fix window leak.
Fixes bug
2133210.
Nicolas Catania [Wed, 23 Sep 2009 15:14:05 +0000 (08:14 -0700)]
New assets for the new UI design.
Removed old tabs assets, replaced with new ones.
Bug:
2104523