2749 Commits

Author SHA1 Message Date
Dmitri Plotnikov
2365ded446 Renaming ContactsContract.Contacts to ContactsContract.RawContacts 2009-07-27 09:36:09 -07:00
Android (Google) Code Review
7f90e47bc5 Merge change 8569
* changes:
  Fix 1993520 where page cycler fails.
2009-07-27 08:53:46 -07:00
Jaikumar Ganesh
6754296487 Add PBAP service start. 2009-07-26 22:54:36 -07:00
Jiafa Liu
3f41673265 frameworks/base: Add PBAP support
- Update according to comments
- Add aidl support in frameworks for Settings to retrieve current
  PBAP transaction status.
- Add status bar support for PBAP
2009-07-26 22:54:35 -07:00
Jeff Sharkey
ef348c757d Minor naming fixes. 2009-07-26 14:14:47 -07:00
Dianne Hackborn
ddca3ee3e8 Add support for power keys, improve behavior of virtual keys.
The platform now knows how to deal with a platform key, which at this
point is "just like end call, but don't end a call."

Also improve the handling of virtual keys, to allow for canceling when
sliding off into the display and providing haptic feedback.

Finally fixes a bug where the raw x and y in motion event were not
always set which caused the status bar to not work.
2009-07-24 17:30:15 -07:00
Grace Kloba
a16de7b03a Fix 1993520 where page cycler fails.
Recover the old logic before removing network management. Remove the empty
list for the host after consuming the last entry. As we should never have
an empty list, it is safe to call removeFirst without checking whether it is
empty.

Currently, in getRequest() or removeFrist(), if we found an empty list, we
remove it. Then we return null for the request even there are requests in
another list. So the page stops loading until the next getRequest() or
removeFirst() is called. If they are not called, those requests will never
be accessed.
2009-07-24 16:27:11 -07:00
Dianne Hackborn
e2dba02441 am 11ea3347: Allow for screen density drawables in compatibility mode.
Merge commit '11ea33471e1a14a8594f0b2cd012d86340dd3bd8'

* commit '11ea33471e1a14a8594f0b2cd012d86340dd3bd8':
  Allow for screen density drawables in compatibility mode.
2009-07-24 16:08:56 -07:00
Android (Google) Code Review
2470a7b4a8 am 3b99e64e: Merge change 8475 into donut
Merge commit '3b99e64e5899030b5d6f8201cb56cd149c80b24d'

* commit '3b99e64e5899030b5d6f8201cb56cd149c80b24d':
  Per conversation, remove the toast while saving the Certificates to CertTools.
2009-07-24 16:08:50 -07:00
Android (Google) Code Review
41220f2c5b am 7c187de1: Merge change 8462 into donut
Merge commit '7c187de14f6b5ec6d90bc8e26265a2ca2824e39a'

* commit '7c187de14f6b5ec6d90bc8e26265a2ca2824e39a':
  Make the DatePicker respect the date format setting if the date is numeric.
2009-07-24 16:08:45 -07:00
Android (Google) Code Review
ff899e4090 am 0a4730f8: Merge change 8443 into donut
Merge commit '0a4730f8889bd98e272bd5e7e0fedb6a69d33f54'

* commit '0a4730f8889bd98e272bd5e7e0fedb6a69d33f54':
  add some more defensiveness to SuggestionsAdapter to avoid system process crashes.
2009-07-24 12:52:09 -07:00
Dianne Hackborn
11ea33471e Allow for screen density drawables in compatibility mode.
This change allows us to use drawables that match the current screen
density even when being loaded in compatibility mode.  In this case,
the bitmap is loaded in the screen density, and the bitmap and
nine-patch drawables take care of accounting for the density difference.

This should be safe for existing applications, for the most part, since
they shouldn't really be pulling the bitmap out of the drawable.  For
the small rare chance of them breaking, it worth getting the correct
graphics.  Also this will only happen when there is actually a resource
of the matching density, and no existing apps should have resources for
anything besides the default density (though of course all of the
framework resources will be available in the native density).

As part of this, the bitmap density API has been changed to a single
integer provider the DPI unit density.
2009-07-24 10:47:15 -07:00
Dmitri Plotnikov
55048a980e Associating Presence with Contact rather than Aggregate. 2009-07-24 10:25:34 -07:00
Android (Google) Code Review
3b99e64e58 Merge change 8475 into donut
* changes:
  Per conversation, remove the toast while saving the Certificates to CertTools.
2009-07-24 10:18:26 -07:00
Android (Google) Code Review
7c187de14f Merge change 8462 into donut
* changes:
  Make the DatePicker respect the date format setting if the date is numeric.
2009-07-24 10:00:05 -07:00
Mitsuru Oshima
30b06eb8b9 am 589cebe2: * Use the scaled size for surface view instead of native. The surface will be always scaled by surface flinger in compatiblity mode. The original approach confused the app because the surface size and the view size were different. * a few clean up. remo
Merge commit '589cebe2d58591403de4a77077941c0454bc91bc'

* commit '589cebe2d58591403de4a77077941c0454bc91bc':
  * Use the scaled size for surface view instead of native. The surface will be always scaled
2009-07-23 23:58:16 -07:00
Android (Google) Code Review
08f89ed9a4 am e0ef973b: Merge change 8323 into donut
Merge commit 'e0ef973b1358585d039989ee5572e16751078aaf'

* commit 'e0ef973b1358585d039989ee5572e16751078aaf':
  * a best effort fix for apps that uses get/set Matrix API on canvas.
2009-07-23 23:58:11 -07:00
Grace Kloba
c9d4c8790a Per conversation, remove the toast while saving the Certificates to CertTools.
Remove the unused strings.
2009-07-23 21:22:51 -07:00
Android (Google) Code Review
cfc2b31b64 Merge change 8444
* changes:
  Fix #1977876 : Key preview in WVGA broken.
2009-07-23 21:13:59 -07:00
Eric Fischer
03a8017d0f Make the DatePicker respect the date format setting if the date is numeric.
In some locales, there are no abbreviated month names; the abbreviated
date formats are essentially numeric.  If the user is in such a locale,
have the DatePicker respect the date format setting so that the order
of the fields will match other numeric-only dates.

In locales that have abbreviated month names, continue to use the order
that is normal in spelled-out dates.

And update the order in updateDate() so that the new order is reflected
if you change the order setting and immediately go to change the date
without leaving and returning to the Date & Time settings in between.

At the same time, change DateFormat.getDateFormatOrder() back to working
the way it did in cupcake (prioritizing the date order preference over
the locale), even though the DatePicker no longer calls the method.

Bug 1805085
2009-07-23 18:48:44 -07:00
Android (Google) Code Review
0a4730f888 Merge change 8443 into donut
* changes:
  add some more defensiveness to SuggestionsAdapter to avoid system process crashes.
2009-07-23 17:38:24 -07:00
Amith Yamasani
e403700972 Fix #1977876 : Key preview in WVGA broken.
Use PX unit when setting the text size since we're getting the size from getTextSize()
Reduce delay for popup.
2009-07-23 17:38:15 -07:00
Karl Rosaen
92f461ea66 add some more defensiveness to SuggestionsAdapter to avoid system process crashes. 2009-07-23 17:20:47 -07:00
Android (Google) Code Review
4b0c3c73c7 Merge change 8302
* changes:
  add account manager permission checking
2009-07-23 17:17:03 -07:00
Android (Google) Code Review
d3eb531146 Merge change 8287
* changes:
  Add some more (off by default) logging to trace what's happening with UrlRules
2009-07-23 16:40:48 -07:00
Android (Google) Code Review
97c747b85d Merge change 8406
* changes:
  Make HttpDateTime public (but hidden), so the rest of us can use it instead of SimpleDateTime (which is super slow).
2009-07-23 16:39:49 -07:00
Dan Egnor
62e7cbf0b2 Add some more (off by default) logging to trace what's happening with UrlRules 2009-07-23 16:38:51 -07:00
Dan Egnor
ee756b3d02 Make HttpDateTime public (but hidden), so the rest of us can use it
instead of SimpleDateTime (which is super slow).
2009-07-23 16:38:50 -07:00
Android (Google) Code Review
683ed9f9dd am 62c6c357: Merge change 8263 into donut
Merge commit '62c6c357060dca8597986783b67ec9ae06ccef66'

* commit '62c6c357060dca8597986783b67ec9ae06ccef66':
  Make the date formats as close as possible to what the translators wanted.
2009-07-23 16:25:53 -07:00
Android (Google) Code Review
e60066db18 am 0e638630: Merge change 8291 into donut
Merge commit '0e6386300c958c5566d09b6a18b4338a6db3e965'

* commit '0e6386300c958c5566d09b6a18b4338a6db3e965':
  Add gservices flag for configuring the URL vending redirects to when TOS is inaccessible due to no/bad network.
2009-07-23 16:25:44 -07:00
Fred Quintana
d4a1d2e142 add account manager permission checking 2009-07-23 16:03:54 -07:00
Android (Google) Code Review
b3167dc3e1 Merge change 8399
* changes:
  BackupAgent-related lifecycle APIs need to be oneway
2009-07-23 14:51:01 -07:00
Christopher Tate
d884f43ffa BackupAgent-related lifecycle APIs need to be oneway
Bad Things(tm) happen if some of the lifecycle interfaces on IActivityThread are
oneway but others are not [notably, out-of-order method delivery, i.e.
catastrophe].  This change makes the methods added for backup-agent management
oneway like the rest of the API.
2009-07-23 14:40:13 -07:00
Mitsuru Oshima
589cebe2d5 * Use the scaled size for surface view instead of native. The surface will be always scaled
by surface flinger in compatiblity mode. The original approach confused the app because
 the surface size and the view size were different.
* a few clean up. removed unsed arguments, obsolete conditions from getTranslator()
 (expandable check was a bug)
2009-07-23 13:38:01 -07:00
Android (Google) Code Review
e0ef973b13 Merge change 8323 into donut
* changes:
  * a best effort fix for apps that uses get/set Matrix API on canvas.   - scale the matrix   - but don't scale if the matrix *looks* like obtained from the canvas itself. (typically to set it back to original matrix)
2009-07-23 13:33:07 -07:00
Leon Scroggins
72543e1bc3 Improvements to dragging on the WebTextView.
When TextView handles a mouse move as a scroll, scroll the
underlying textfield/textarea.  Also do not hide the cursor
while scrolling within a text input.  Requires a change to
external/webkit.
2009-07-23 16:32:38 -04:00
Mitsuru Oshima
240f8a7532 * a best effort fix for apps that uses get/set Matrix API on canvas.
- scale the matrix
  - but don't scale if the matrix *looks* like obtained from the canvas itself. (typically to set it back to original matrix)

This is best effort change and not perfect (not even close), but works for one game,
and hopes it can handle many other apps that uses set/get Matrix. If you have an alternative idea, please let me know.
2009-07-23 13:31:00 -07:00
Android (Google) Code Review
62c6c35706 Merge change 8263 into donut
* changes:
  Make the date formats as close as possible to what the translators wanted.
2009-07-23 11:10:00 -07:00
Android (Google) Code Review
f88c0a0625 Merge change 8199
* changes:
  Prevent a drag from both scrolling the page and changing the selection.
2009-07-23 10:19:27 -07:00
Android (Google) Code Review
8eb9881d20 Merge change 7735
* changes:
  Fix issue 1795088       Improve audio routing code
2009-07-23 09:48:57 -07:00
Android (Google) Code Review
8dc0c9b4ad Merge change 8189
* changes:
  Enforce app cache maximum size
2009-07-23 09:44:23 -07:00
Grace Kloba
675c7d2eb8 Fix 1997929. The final mScrollX/Y has been pinned to the legal bounds.
So we can't use it to calculate the intermediate scroll position. Use
the original scroll offset and scale to find the animated scroll position.
2009-07-23 09:21:21 -07:00
Eric Laurent
a553c25b33 Fix issue 1795088 Improve audio routing code
Initial commit for review.
Integrated comments after patch set 1 review.
Fixed lockup in AudioFlinger::ThreadBase::exit()
Fixed lockup when playing tone with AudioPlocyService startTone()
2009-07-23 06:03:39 -07:00
lknguyen
f965d1690e Add gservices flag for configuring the URL vending redirects to when TOS is inaccessible due to no/bad network. 2009-07-22 18:26:38 -07:00
Android (Google) Code Review
c53d69e627 Merge change 8242
* changes:
  Make intent broadcasts in "am" synchronous (they wait until exit). Clean up error handling and reporting in "am". Make the usage message for "am" more informative.
2009-07-22 17:35:18 -07:00
Mike LeBeau
e39900ca7a Merge commit '4182e684' into manualmerge
Conflicts:
	core/java/android/widget/AutoCompleteTextView.java
2009-07-22 17:31:09 -07:00
Dan Egnor
9f4af53561 Make intent broadcasts in "am" synchronous (they wait until exit).
Clean up error handling and reporting in "am".
Make the usage message for "am" more informative.

Make it easier to turn on logging in GoogleHttpClient.
2009-07-22 16:56:55 -07:00
Eric Fischer
ce4ba52c63 Make the date formats as close as possible to what the translators wanted.
Remove all the country-specific files that are exactly the same as the
language files, and several unverified country-specific files.
2009-07-22 16:25:06 -07:00
Android (Google) Code Review
6abef06ed0 Merge change 8134
* changes:
  Adding contact group NOTES and SYSTEM_ID
2009-07-22 15:27:57 -07:00
Mike LeBeau
d4760d77e7 Add new hidden API setForceIgnoreOutsideTouch to AutoCompleteTextView for
use by SearchDialog. SearchDialog wants to be able to say a dropdown should
not always be visible but still let it ignore outside touch when it does
show.

Fixes http://b/1997170
2009-07-22 15:19:59 -07:00