OSDN Git Service

android-x86/packages-apps-Contacts.git
14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Thu, 17 Sep 2009 22:18:58 +0000 (15:18 -0700)]
Import revised translations.  DO NOT MERGE

14 years agoMerge change 25522 into eclair
Android (Google) Code Review [Thu, 17 Sep 2009 20:51:50 +0000 (16:51 -0400)]
Merge change 25522 into eclair

* changes:
  Second try at fixing replacement of a range of digits with a pause.

14 years agoGET_CONTENT expects an "item" type not a "dir" type.
Evan Millar [Thu, 17 Sep 2009 16:06:57 +0000 (09:06 -0700)]
GET_CONTENT expects an "item" type not a "dir" type.

Change-Id: Ic8ad117537b4f91d05ef83aba2cb03f1ad2b004a

14 years agoSecond try at fixing replacement of a range of digits with a pause.
Eric Fischer [Thu, 17 Sep 2009 17:53:10 +0000 (10:53 -0700)]
Second try at fixing replacement of a range of digits with a pause.

It was still not working all the time, because the automatic number
formatter could change the buffer offsets in between the deletion of
the old digits and the insertion of the pause character.  Do it as
a single operation so that nothing can happen in between.

14 years agoFix http://b/issue?id=2085793
Evan Millar [Wed, 16 Sep 2009 17:55:33 +0000 (10:55 -0700)]
Fix http://b/issue?id=2085793

-Also fixes problems with the call button divider not disappearing when
the call button was gone.

-Also populates the typeList for the "fallback" source, for phone,
email, and postal DataKinds. The type lists are the unions of the focus
and exchange typeLists.

Change-Id: Idd68760d852e4accdcf3043007253e122bd5534b

14 years agoMerge change 25432 into eclair
Android (Google) Code Review [Thu, 17 Sep 2009 03:00:45 +0000 (23:00 -0400)]
Merge change 25432 into eclair

* changes:
  Finish up using Contract phone types for EAS.

14 years agoFinish up using Contract phone types for EAS.
Jeff Sharkey [Thu, 17 Sep 2009 02:59:27 +0000 (19:59 -0700)]
Finish up using Contract phone types for EAS.

Fixes http://b/2092744

14 years agoMerge change 25294 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 21:39:47 +0000 (17:39 -0400)]
Merge change 25294 into eclair

* changes:
  Adjust to new ContactHeaderWidget api.

14 years agoAdjust to new ContactHeaderWidget api.
Evan Millar [Wed, 16 Sep 2009 17:26:10 +0000 (10:26 -0700)]
Adjust to new ContactHeaderWidget api.

Change-Id: Ia56c026d4fba16d4846e794229ec41611792ac4b

14 years agoFix legacy support of viewing contacts in pick list
Neel Parekh [Wed, 16 Sep 2009 03:08:50 +0000 (20:08 -0700)]
Fix legacy support of viewing contacts in pick list

Bug: 2099535

14 years agoShow unsynced groups clearly in separate item, don't annoy.
Jeff Sharkey [Wed, 16 Sep 2009 06:21:49 +0000 (23:21 -0700)]
Show unsynced groups clearly in separate item, don't annoy.

This change adds a new "More groups..." list item under the
expandable list for a data source when it has any unsynced
groups, making it more discoverable for users to bring back
unsynced groups.  This fixes http://b/2084771

Also cleans up lingering issues so we show unsynced groups
from the correct accounts, and only prompt the user once
about removing "ungrouped."  Fixes http://b/2114723

14 years agoSeparate tab and state models, fix delete issues, dialogs.
Jeff Sharkey [Wed, 16 Sep 2009 02:52:40 +0000 (19:52 -0700)]
Separate tab and state models, fix delete issues, dialogs.

Maintain a separate model for tabs and the underlying state
so that we hide tabs for RawContacts deleted during the
edit session.  Also bail out when the last tab deleted.

Manage dialogs so we don't leak activities.  Parse legacy
IM types.  Fixes http://b/2122838

14 years agoMerge change 25208 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 02:33:16 +0000 (22:33 -0400)]
Merge change 25208 into eclair

* changes:
  Use Account information if possible when importing some vCard file(s).

14 years agoUse Account information if possible when importing some vCard file(s).
Daisuke Miyakawa [Wed, 16 Sep 2009 02:22:04 +0000 (19:22 -0700)]
Use Account information if possible when importing some vCard file(s).

internal issue: 21162162102720

14 years agoMerge change 25180 into eclair
Android (Google) Code Review [Wed, 16 Sep 2009 00:51:32 +0000 (20:51 -0400)]
Merge change 25180 into eclair

* changes:
  Prevent unstateful edits, empty trimming, INSERT edge cases.

14 years agoPrevent unstateful edits, empty trimming, INSERT edge cases.
Jeff Sharkey [Wed, 16 Sep 2009 00:51:08 +0000 (17:51 -0700)]
Prevent unstateful edits, empty trimming, INSERT edge cases.

Monkeys found some edge cases that could perform actions
when editor was in an invalid state.  Added validity checks
in about a dozen places to prevent.  Fixes http://b/2121368
and http://b/2115921

Hook up trimming of extra empty fields that users have
left blank, including dropping of entire RawContact if no
valid fields remain.  Also wrote a pile of unit tests to
verify behavior.  Fixes http://b/2112915

Don't CCO when inserting bundles that use CharSequence
instead of Strings.  Don't NPE when inserting bundles and
we encounter a DataKind that the chosen ContactsSource isn't
able to handle.  Fixes http://b/2105737 and http://b/2118580

Insert bundles for INSERT_AND_EDIT cases where user chose
to edit an existing contact.  Fixes http://b/2098856 and
http://b/1645578

Adopted new framework back key API from hackbod.

14 years agoUse the new FasttrackBadgeWidget in the ContactsListActivity.
Evan Millar [Thu, 27 Aug 2009 22:59:36 +0000 (15:59 -0700)]
Use the new FasttrackBadgeWidget in the ContactsListActivity.

Change-Id: Ib75d6b861f06e1bb9db06f6416ca0ac46fa08363

14 years agoFix the address coming from maps.
Neel Parekh [Mon, 14 Sep 2009 23:13:22 +0000 (16:13 -0700)]
Fix the address coming from maps.

Bug: 2101939

14 years agoChange the text if no favorites exist.
Neel Parekh [Tue, 15 Sep 2009 01:00:09 +0000 (18:00 -0700)]
Change the text if no favorites exist.

Bug: 2102959

14 years agoExecute back key on key up.
Dianne Hackborn [Tue, 15 Sep 2009 04:33:24 +0000 (21:33 -0700)]
Execute back key on key up.

Change-Id: Ic878e145f68f3a2b4e8167d4df0685c9d63462f2

14 years agoChange the text to not include SIM if working on a CDMA phone
Neel Parekh [Mon, 14 Sep 2009 17:47:43 +0000 (10:47 -0700)]
Change the text to not include SIM if working on a CDMA phone

Bug: 2031065

14 years agoMerge change 24893 into eclair
Android (Google) Code Review [Mon, 14 Sep 2009 20:54:39 +0000 (16:54 -0400)]
Merge change 24893 into eclair

* changes:
  More call log and favorites list UI changes.

14 years agoMore call log and favorites list UI changes.
Evan Millar [Mon, 14 Sep 2009 17:53:49 +0000 (10:53 -0700)]
More call log and favorites list UI changes.

Change-Id: Ie108539f5d116898a82586ddce3ec99c95a5bb34

14 years agoChange display groups "only phones" filter to checkbox
Neel Parekh [Mon, 14 Sep 2009 18:57:20 +0000 (11:57 -0700)]
Change display groups "only phones" filter to checkbox

Bug: 2110776

14 years agoAdd new MIME-type to launch contacts list.
Jeff Sharkey [Sun, 13 Sep 2009 08:08:43 +0000 (01:08 -0700)]
Add new MIME-type to launch contacts list.

14 years agoMerge change 24701 into eclair
Android (Google) Code Review [Fri, 11 Sep 2009 21:47:02 +0000 (17:47 -0400)]
Merge change 24701 into eclair

* changes:
  Add call button to favorites, and move button to right side of call log.

14 years agoCorrectly check for empty state when leaving editor early.
Jeff Sharkey [Fri, 11 Sep 2009 21:22:31 +0000 (14:22 -0700)]
Correctly check for empty state when leaving editor early.

Fixes http://b/2112520 and http://b/2114480

14 years agoAdd call button to favorites, and move button to right side of call log.
Evan Millar [Thu, 10 Sep 2009 23:25:28 +0000 (16:25 -0700)]
Add call button to favorites, and move button to right side of call log.

Change-Id: I7445ceee5f7cd39b037feb80f04fb61153a6db02

14 years agoBring positions back into photo setTag() for FT launching.
Jeff Sharkey [Fri, 11 Sep 2009 20:22:18 +0000 (13:22 -0700)]
Bring positions back into photo setTag() for FT launching.

Earlier change had switched setTag() to store Photos._ID
values instead of list positions.  This broke FastTrack
launching from lists.

This change adds a container class so both values happily
live in the same tag.  Fixes http://b/2114632

14 years agoMerge change 24628 into eclair
Android (Google) Code Review [Fri, 11 Sep 2009 18:04:47 +0000 (14:04 -0400)]
Merge change 24628 into eclair

* changes:
  Fix an exception in Contacts when you select text backwards from the end.

14 years ago[Issue 2113852] Fixing mismatches between pictures and contacts
Dmitri Plotnikov [Fri, 11 Sep 2009 17:14:37 +0000 (10:14 -0700)]
[Issue 2113852] Fixing mismatches between pictures and contacts

Change-Id: Iea49a8b995632753b71572105c8443f4a63ad6d7

14 years agoFix an exception in Contacts when you select text backwards from the end.
Eric Fischer [Fri, 11 Sep 2009 00:57:45 +0000 (17:57 -0700)]
Fix an exception in Contacts when you select text backwards from the end.

It was assuming that the end of the selection always came after or at the
start of the selection, and that therefore (start,end) was a safe range
to replace, but this is not actually the case when you select backwards --
in this case, the end comes before the start.

Bug 2087034

14 years agoAdd StructuredPostal editor for EAS. Fixes http://b/2111725
Jeff Sharkey [Fri, 11 Sep 2009 00:41:52 +0000 (17:41 -0700)]
Add StructuredPostal editor for EAS.  Fixes b/2111725

14 years agoMerge change 24599 into eclair
Android (Google) Code Review [Thu, 10 Sep 2009 23:22:44 +0000 (19:22 -0400)]
Merge change 24599 into eclair

* changes:
  [Issue 2112887] Fixing picture display in the manual contact join UI

14 years agoInsert, update, delete photos. Trim empty fields.
Jeff Sharkey [Thu, 10 Sep 2009 22:02:32 +0000 (15:02 -0700)]
Insert, update, delete photos.  Trim empty fields.

Allow photo changes when the ContactsSource allows Photo
entries.  This change also trims out any inserted or updated
fields that are now "empty" according to their respective
DataKind fields.  Wrote unit tests for field trimming to
ensure wiping works.  Fixes http://b/2050549

14 years ago[Issue 2112887] Fixing picture display in the manual contact join UI
Dmitri Plotnikov [Thu, 10 Sep 2009 17:59:34 +0000 (10:59 -0700)]
[Issue 2112887] Fixing picture display in the manual contact join UI

Change-Id: Ibf747091532b4c03fb29594d79c0156465437779

14 years agoFix bug 2110011
Evan Millar [Thu, 10 Sep 2009 19:30:03 +0000 (12:30 -0700)]
Fix bug 2110011

Change-Id: Ib4aee767d11a8ae71d55815908e89c1097041f60

14 years agoShow a disambig dialoge to choose a number when initiating a call on a contact.
Evan Millar [Wed, 9 Sep 2009 16:23:12 +0000 (09:23 -0700)]
Show a disambig dialoge to choose a number when initiating a call on a contact.

This fixes 2098966

Change-Id: I6fd80a2fe25ab1b6d36d913cb96c7927939512b7

14 years agoFix the hardcoded sources for Facebook. The fallback sources don't do what I thought...
Jeff Hamilton [Thu, 10 Sep 2009 17:20:06 +0000 (10:20 -0700)]
Fix the hardcoded sources for Facebook. The fallback sources don't do what I thought they did.

Change-Id: I3383ac47b32b82f7b34acc114b0e9b61746a525e

14 years agoLookup uris, delete, aggregation rules, untyped, sharing.
Jeff Sharkey [Mon, 7 Sep 2009 09:14:21 +0000 (02:14 -0700)]
Lookup uris, delete, aggregation rules, untyped, sharing.

ContactsListView: combined together various import/export
menus under single dialog, hiding SIM import when no ICC
present.  Switched almost all cases to use soft "lookup"
uris, especially for pick and operation cases.  Brought
back delete in long-press menu, and pick modes needed for
SHOW_OR_CREATE.  These partially fix http://b/2096050 and
http://b/2096870 and http://b/2102632

ViewContactActivity: changed menus to inflate from XML,
added "Share" option to replace barcode.  Confirmed that it
sends vCard through Gmail, other apps can match MIME-type
to begin appearing in picker.  Changed EAS rules back to
untyped for Email and IM, which now allows use to use IM
type as protocol picker.  Fixes http://b/2072731 and
http://b/2092744 and http://b/2088935

EditContactActivity: restructured editing to front-load all
version assertions, and perform as single batch to prepare
for reparenting.  Correctly generate AggregationExceptions
using new API from dplotnikov, especially in cases where we
create multiple RawContacts from scratch.  Unit tests to
verify exceptions built correctly for edge cases.  Also
showing toast when saving failed.  These changes were mostly
untracked, but fixes http://b/2099211

Various untracked NPE related to untyped HardCodedSources
and cleanup of "tel" "smsto" and SMS MIME-type constants.

14 years agoShow organization company and postion instead of "Organization" and position.
Evan Millar [Fri, 4 Sep 2009 22:26:36 +0000 (15:26 -0700)]
Show organization company and postion instead of "Organization" and position.

Fixes bug 2101949

Change-Id: Ia6c96eb05b95bac3a7510a8d9d9312bd2ac9209d

14 years agoFix for bug 2100165.
Evan Millar [Fri, 4 Sep 2009 21:07:44 +0000 (14:07 -0700)]
Fix for bug 2100165.

Change-Id: Id147518259b94b1f398e538d0b7b509afd346006

14 years agoFix issue 1992233: DTMF tones on Sholes is really long.
Eric Laurent [Mon, 7 Sep 2009 15:45:14 +0000 (08:45 -0700)]
Fix issue 1992233: DTMF tones on Sholes is really long.

Do not use a delayed message to define the DTMF tone duration. Use the duration parameter in ToneGenerator.startTone() instead. This garanties that the actual tone duration is independent from the filling level of the audio buffers when the tone starts.

14 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Tue, 8 Sep 2009 23:26:49 +0000 (16:26 -0700)]
Import revised translations.  DO NOT MERGE

14 years agoFix the display of social updates in the fast track, and the hard coded Facebook...
Jeff Hamilton [Tue, 8 Sep 2009 18:21:42 +0000 (13:21 -0500)]
Fix the display of social updates in the fast track, and the hard coded Facebook sources.

Change-Id: Ifbb429ad5714bdd78a5571c4adc575b74f928649

14 years agoFixing contact aggregation exception API.
Dmitri Plotnikov [Sat, 5 Sep 2009 00:37:15 +0000 (17:37 -0700)]
Fixing contact aggregation exception API.

14 years agoFixing mime types for contact.GET_CONTENT intent
Dmitri Plotnikov [Thu, 3 Sep 2009 23:57:30 +0000 (16:57 -0700)]
Fixing mime types for contact.GET_CONTENT intent

14 years ago[Issue 2099504] Bypassing contact split dialog when there are only two raw contacts...
Dmitri Plotnikov [Thu, 3 Sep 2009 22:17:56 +0000 (15:17 -0700)]
[Issue 2099504] Bypassing contact split dialog when there are only two raw contacts in the aggregate

14 years agoResetting URI before a contact lookup
Dmitri Plotnikov [Thu, 3 Sep 2009 21:37:15 +0000 (14:37 -0700)]
Resetting URI before a contact lookup

14 years agoSwitching to contact lookup URI in View Contact.
Dmitri Plotnikov [Thu, 3 Sep 2009 21:09:45 +0000 (14:09 -0700)]
Switching to contact lookup URI in View Contact.

This also fixes UI update after contact split.

14 years ago[Issue 2097203] Fixing a crash in manual contact join
Dmitri Plotnikov [Thu, 3 Sep 2009 17:21:06 +0000 (10:21 -0700)]
[Issue 2097203] Fixing a crash in manual contact join

14 years agoCorrectly change aggregation mode in all cases, unit tests.
Jeff Sharkey [Thu, 3 Sep 2009 05:55:59 +0000 (22:55 -0700)]
Correctly change aggregation mode in all cases, unit tests.

Fixed broken unit tests, and in the process corrected an
issue where we changed aggregation mode in some cases where
is wasn't needed.  (When updating but no values change.)

14 years agoShowing a toast when a contact shortcut leads nowhere.
Dmitri Plotnikov [Thu, 3 Sep 2009 02:04:41 +0000 (19:04 -0700)]
Showing a toast when a contact shortcut leads nowhere.

This is a temporary patch to prevent a crash.  We need a better UI solution.

14 years agoAdd Organization and Note kinds to Exchange viewing/editing
Evan Millar [Wed, 2 Sep 2009 23:42:47 +0000 (16:42 -0700)]
Add Organization and Note kinds to Exchange viewing/editing

Also add placeholder "chat" string to show as label for exchange im
items.

Fixes bug 2072710 and 2092920

Change-Id: I5c3ba0c73160f93b6d06b5b6a2ca20a84f56da18

14 years agoAdd missing import. Fix the build.
Evan Millar [Thu, 3 Sep 2009 00:53:25 +0000 (17:53 -0700)]
Add missing import. Fix the build.

Change-Id: I9ddf3cb6bf530c77fb89e0e2aa6505d6a52505c1

14 years agoFix http://b/issue?id=2086484 and http://b/issue?id=2087539
Evan Millar [Wed, 2 Sep 2009 21:33:38 +0000 (14:33 -0700)]
Fix b/issue?id=2086484 and http://b/issue?id=2087539

Change-Id: I392e52ac821a2eabd40c26024dbc587e6e63236f

14 years agoUse ContactsSource in View
Evan Millar [Wed, 2 Sep 2009 15:55:01 +0000 (08:55 -0700)]
Use ContactsSource in View

Combine BaseContactCardActivity and ViewContactActivity, since
EditContactActivity isn't using it anyway.

Use Entity querying, and ContactsSource in ViewContactActivity.

Change-Id: Idc0fb4d5d4e2637f5a345461362d55d4bfcb6cf2

14 years agoSpecify editors for fallback StructuredName.
Jeff Sharkey [Thu, 3 Sep 2009 00:29:29 +0000 (17:29 -0700)]
Specify editors for fallback StructuredName.

Fixes http://b/2096580

14 years agoUse "IM" for EAS-specific field titles.
Jeff Sharkey [Wed, 2 Sep 2009 19:00:40 +0000 (12:00 -0700)]
Use "IM" for EAS-specific field titles.

14 years agoRoll back (for now) to *all* low-density artwork in Contacts.
Daniel Sandler [Wed, 2 Sep 2009 18:11:13 +0000 (14:11 -0400)]
Roll back (for now) to *all* low-density artwork in Contacts.

This should end http://b/issue?id=2086871 by removing the high-density assets
introduced in <https://android-git.corp.google.com/w/?p=platform/packages/apps/Contacts.git;a=commit;h=bb769338d3ba4af769db147bae06e4f3ddc5030c>

They are way out of sync with the current version of Contacts and need to be replaced with updated versions.

Should fix http://b/2086871.

14 years agoFixing support for contact shortcuts.
Dmitri Plotnikov [Wed, 2 Sep 2009 15:44:32 +0000 (08:44 -0700)]
Fixing support for contact shortcuts.

14 years agoOlder EAS types, new Email field, fix count and INSERT bugs.
Jeff Sharkey [Tue, 1 Sep 2009 19:00:58 +0000 (12:00 -0700)]
Older EAS types, new Email field, fix count and INSERT bugs.

The EAS sync-adapter isn't ready to handle type-less Email
and IM entries yet, so bring back the original strongly-
typed editors.  Partially fixes http://b/2089080

Provide a second edit field for Email.DISPLAY_NAME when
editing EAS contacts.  Partially fixes http://b/2092744

Correct count when determining canInsert() for fields that
have typeOverallMax constraints.  Fixes http://b/2089132

Correctly build incoming StructuredName using existing
field, and check for empty fields to fix http://b/2078726

14 years agoMerge change 23475 into eclair
Android (Google) Code Review [Tue, 1 Sep 2009 20:12:00 +0000 (13:12 -0700)]
Merge change 23475 into eclair

* changes:
  Return appropriate URI for PICKER intents.

14 years agoMerge change 23177 into eclair
Android (Google) Code Review [Tue, 1 Sep 2009 20:08:33 +0000 (13:08 -0700)]
Merge change 23177 into eclair

* changes:
  Refactor the way we track selected tab in ViewContactActivity.

14 years agoReturn appropriate URI for PICKER intents.
Evan Millar [Mon, 31 Aug 2009 19:52:39 +0000 (12:52 -0700)]
Return appropriate URI for PICKER intents.

Based on under which authority the calling activity is asking, return
either a legacy style URI or new style URI as a result of a PICK
intent.

Change-Id: Icd7cf220c6355ff3fd14a5f9a39fc071aa7c0434

14 years agoMerge change 23458 into eclair
Android (Google) Code Review [Tue, 1 Sep 2009 18:40:43 +0000 (11:40 -0700)]
Merge change 23458 into eclair

* changes:
  Temporarily reverting to low-res Contacts tab artwork.

14 years agoTemporarily reverting to low-res Contacts tab artwork.
Daniel Sandler [Tue, 1 Sep 2009 18:10:09 +0000 (14:10 -0400)]
Temporarily reverting to low-res Contacts tab artwork.

Per http://b/2086871 - the hdpi artwork I put into the build previously are
illegible in the current version of the app.  External vendor is supposed
to deliver proper high-res artwork for these UI elements at some point, but
until that time, better to have low-res & legible art in place.

14 years agoMerge change 23379 into eclair
Android (Google) Code Review [Tue, 1 Sep 2009 17:49:57 +0000 (10:49 -0700)]
Merge change 23379 into eclair

* changes:
  Mark the VCard configuration strings untranslatable.

14 years agoMark the VCard configuration strings untranslatable.
Eric Fischer [Tue, 1 Sep 2009 00:38:51 +0000 (17:38 -0700)]
Mark the VCard configuration strings untranslatable.

These are internal tokens, not display strings that need translation.

14 years agoModify string
Daisuke Miyakawa [Mon, 31 Aug 2009 23:37:54 +0000 (08:37 +0900)]
Modify string

14 years agoExpandable structured support, organize editors, much more.
Jeff Sharkey [Sun, 30 Aug 2009 01:19:20 +0000 (18:19 -0700)]
Expandable structured support, organize editors, much more.

Wrote expandable editor support, so that StructuredName and
StructuredPostal could be displayed compactly on smaller
screens, but still expanded to edit all possible fields.

Reorganized editors to directly inflate classes instead of
using ViewHolder pattern.  This helps us prepare for focus
saving logic coming soon, and also required that each data
row have getViewId() to be uniquely identified.

When editing EAS contacts, don't use separate types for
"Email 1", "Email 2", etc, and instead use a single overall
limit on type-less values.  (This is dependant on
http://b/2065904 being resolved.)

Defined fallback "on-phone" account separately to prevent
confusion with Google account, also limited the possible
data types that could be entered.

Suspend aggregation while persisting RawContacts updates
to prevent possible re-aggregation and user confusion when
returning to View activity.  Also correctly generate
AggregationExceptions when inserting new RawContacts under
an existing aggregate.  Fixes http://b/2087517

When inserting Google contacts, add GroupMembership for
"My Contacts" to help visibility, fixing http://b/2070479

Don't reprompt for account when rotating during INSERT,
fixing http://b/2084585 and hide editor until finished
with async loading.  Ensure that specific rows exist so
we always have StructuredName to edit, and have waiting
Phone and Email fields for INSERT.

Used better method of creating generic ArrayList/HashMap.

14 years agoEnable vCard export world-wide
Daisuke Miyakawa [Sun, 30 Aug 2009 23:09:07 +0000 (08:09 +0900)]
Enable vCard export world-wide

14 years agoWhen dismissing Fast-Track, don't let touch fall through.
Jeff Sharkey [Sat, 29 Aug 2009 23:07:46 +0000 (16:07 -0700)]
When dismissing Fast-Track, don't let touch fall through.

Instead of being NOT_TOUCH_MODAL and relying on the window
manager to mark ACTION_OUTSIDE touch events, detect the
events ourselves so we don't let them fall through to any
window behind us.

Also clean up some verbose logcat when loading resources.

14 years agoRefactor the way we track selected tab in ViewContactActivity.
Evan Millar [Fri, 28 Aug 2009 16:31:57 +0000 (09:31 -0700)]
Refactor the way we track selected tab in ViewContactActivity.

Change-Id: I68ca5a7d7ea3897f2d724f465787fb9c45ffc06f

14 years agoMerge change 23139 into eclair
Android (Google) Code Review [Fri, 28 Aug 2009 20:16:11 +0000 (13:16 -0700)]
Merge change 23139 into eclair

* changes:
  High-resolution (hdpi) artwork from TAT for Contacts.

14 years agoArmor string format tokens with translation placeholders.
Eric Fischer [Fri, 28 Aug 2009 19:56:58 +0000 (12:56 -0700)]
Armor string format tokens with translation placeholders.

Change-Id: I4644b4d47c553ea89dc935059746f908f73aa3d4

14 years agoHigh-resolution (hdpi) artwork from TAT for Contacts.
Daniel Sandler [Fri, 28 Aug 2009 18:51:55 +0000 (14:51 -0400)]
High-resolution (hdpi) artwork from TAT for Contacts.

14 years agoSpecific columns for Fast-Track, hide missing social, call.
Jeff Sharkey [Fri, 28 Aug 2009 00:05:59 +0000 (17:05 -0700)]
Specific columns for Fast-Track, hide missing social, call.

Request explicit columns needed for Fast-Track, since "null"
projection no longer returns all needed columns.  Hide the
medium header when no social snippet is present.  Finally,
initiate a direct call instead of simply dialing.

Fixes http://b/2084086 and http://b/2072448

14 years agoMerge change 22961 into eclair
Android (Google) Code Review [Thu, 27 Aug 2009 21:34:25 +0000 (14:34 -0700)]
Merge change 22961 into eclair

* changes:
  Fix strings whose apostrophes were eaten because of the lack of a backslash.

14 years agoFix strings whose apostrophes were eaten because of the lack of a backslash.
Eric Fischer [Thu, 27 Aug 2009 20:52:11 +0000 (13:52 -0700)]
Fix strings whose apostrophes were eaten because of the lack of a backslash.

Change-Id: I259c1cd3fb1d2a65db03b4813dc45ab4aafb5632

14 years agoFix bug 2082102.
Evan Millar [Thu, 27 Aug 2009 20:17:39 +0000 (13:17 -0700)]
Fix bug 2082102.

Clear image fetch handler messages in onFinish().

Change-Id: I6630ee4600a0479c03ca92698792eaea0eedab74

14 years agoIteration on Fast-Track, new assets drop, account menu icon.
Jeff Sharkey [Mon, 24 Aug 2009 05:13:04 +0000 (22:13 -0700)]
Iteration on Fast-Track, new assets drop, account menu icon.

New asset drop for Fast-Track with new style disambig with
"set default" checkbox, will be hooked up soon.  Cleanup of
legacy API references in some places.

Adjust action building to query against PackageManager,
which now brings in best-matching app icons.  Previously
the data provider needed to supply icons.  This solves the
case where people use third-party apps for SMS, etc.

We also use the ResolveInfo to populate the content
description for the track icons so that Fast-Track actions
use the system accessibility APIs.

14 years agoMerge change 22820 into eclair
Android (Google) Code Review [Wed, 26 Aug 2009 22:34:50 +0000 (15:34 -0700)]
Merge change 22820 into eclair

* changes:
  New minitab assets.

14 years agoNew minitab assets.
Evan Millar [Wed, 26 Aug 2009 22:09:02 +0000 (15:09 -0700)]
New minitab assets.

Add new minitab assets, and fix z-ordering so the selcted tab is always
drawn on top, and it's drop shadows bleed over onto adjacent tabs.

Change-Id: I100e20411972285675de42f356c201326c0386f6

14 years agoUse fasttrack badge in list view.
Evan Millar [Wed, 26 Aug 2009 15:46:54 +0000 (08:46 -0700)]
Use fasttrack badge in list view.

Right now the fasttrack badge is a private framework asset. This will
change soon when I create a custom fasttrack badge view.

Change-Id: Ibbcb2f691f4e3eb121ba9ea873194468bb4d4b3e

14 years agoUse new tab assets.
Evan Millar [Wed, 26 Aug 2009 17:35:24 +0000 (10:35 -0700)]
Use new tab assets.

Also make the ContactsActivityList activity draw it's own list
separators, so that it can *not* draw the when an A-Z divider is
visible.

Change-Id: I0755a2cbcb57d646d770003844e394ac0de753ac

14 years agoMerge change 22754 into eclair
Android (Google) Code Review [Wed, 26 Aug 2009 06:14:44 +0000 (23:14 -0700)]
Merge change 22754 into eclair

* changes:
  Temporarily remove summary counts from display groups UI.

14 years agoTemporarily remove summary counts from display groups UI.
Jeff Sharkey [Wed, 26 Aug 2009 06:13:16 +0000 (23:13 -0700)]
Temporarily remove summary counts from display groups UI.

The queries pulling these summary stats can be slow when
someone has thousands of contacts.  Will add back later once
we have better, faster solution.

14 years ago- Make Contacts app use new vCard handling codes
Daisuke Miyakawa [Mon, 24 Aug 2009 01:51:58 +0000 (10:51 +0900)]
- Make Contacts app use new vCard handling codes
- Enable "multiple vCard selection"

Internal issue id: 2030674

14 years agoMerge change 22311 into eclair
Android (Google) Code Review [Tue, 25 Aug 2009 21:48:04 +0000 (14:48 -0700)]
Merge change 22311 into eclair

* changes:
  Make the minitabs stretch to fit the available space.

14 years agoMake the minitabs stretch to fit the available space.
Evan Millar [Fri, 21 Aug 2009 03:30:12 +0000 (20:30 -0700)]
Make the minitabs stretch to fit the available space.

Change-Id: Ifd2b774b40e2831f4f2326c0fe9ebbb3e7d714d0

14 years agoChanged Fast-Track window flags so it avoids dim bug.
Jeff Sharkey [Tue, 25 Aug 2009 21:19:39 +0000 (14:19 -0700)]
Changed Fast-Track window flags so it avoids dim bug.

Fixes http://b/2077548

14 years agoMerge change 22565 into eclair
Android (Google) Code Review [Tue, 25 Aug 2009 05:08:36 +0000 (22:08 -0700)]
Merge change 22565 into eclair

* changes:
  Fixed up intent MIME-types, add Accounts menu, clean unused.

14 years agoMerge change 22499 into eclair
Android (Google) Code Review [Tue, 25 Aug 2009 05:08:16 +0000 (22:08 -0700)]
Merge change 22499 into eclair

* changes:
  Use new API for resolving Email addresses.

14 years agoFixed up intent MIME-types, add Accounts menu, clean unused.
Jeff Sharkey [Tue, 25 Aug 2009 03:46:23 +0000 (20:46 -0700)]
Fixed up intent MIME-types, add Accounts menu, clean unused.

Cleaned up <intent-filter> entries for INSERT_OR_EDIT and
EDIT to watch for more MIME-types after legacy change-over.

Finished clean-up from display groups by removing deprecated
edit sync groups UI, and unused menu.  Changed
ContactsListActivity to use XML-based menus and added an
"Accounts" link that replaces the edit sync groups.

Finally, hooked up the INSERT case to read extras from any
incoming intents to help with SHOW_OR_CREATE intent testing.

14 years agoUse new API for resolving Email addresses.
Jeff Sharkey [Mon, 24 Aug 2009 22:27:31 +0000 (15:27 -0700)]
Use new API for resolving Email addresses.

Also fix case where Fast-Track window would end up hanging
when the background query failed.

14 years agoSupport for Global Search Shortcut refresh and contact images.
Dmitri Plotnikov [Mon, 24 Aug 2009 18:42:47 +0000 (11:42 -0700)]
Support for Global Search Shortcut refresh and contact images.

14 years agoUse extra to exclude specific MIME-types for Fast-Track.
Jeff Sharkey [Sun, 23 Aug 2009 21:16:27 +0000 (14:16 -0700)]
Use extra to exclude specific MIME-types for Fast-Track.

This is used so that the header widget can hide the profile
icon when launched while already looking at the profile.

Also fixes http://b/2058751

15 years agoIteration on display groups UI, was neglected for awhile.
Jeff Sharkey [Sun, 16 Aug 2009 07:12:48 +0000 (00:12 -0700)]
Iteration on display groups UI, was neglected for awhile.

Switched to using Accounts metadata provided through
Sources cache.  Also added long-press and menu item to serve
as our "edit sync groups" in the same UI.

Need to iterating to show all accounts regardless of group
existance, and persist DEFAULT_SHOULD_SYNC values.

15 years agoAlways re-read RawContacts._ID before editing.
Jeff Sharkey [Sun, 23 Aug 2009 06:49:02 +0000 (23:49 -0700)]
Always re-read RawContacts._ID before editing.

In cases where the user hasn't selected a tab, and there is
no "All" tab present (a single RawContact), this code would
try reading details for the second tab that didn't exist.

This fixes http://b/2072410