2769 Commits

Author SHA1 Message Date
Adam Bliss
dac57e4ec9 Fix a bug that was causing ArrayIndexOutOfBoutExceptions when obtaining a MotionEvent from an older one that had a number of time samples. 2009-07-27 14:03:02 -07:00
Android (Google) Code Review
2c3fc83ac5 am ef9fd18d: Merge change 8616 into donut
Merge commit 'ef9fd18d90829ecbd37769cc05a8d5288aff821c'

* commit 'ef9fd18d90829ecbd37769cc05a8d5288aff821c':
  Fiddle with default densities to try to sanitize the API.
2009-07-27 12:05:44 -07:00
Android (Google) Code Review
ef9fd18d90 Merge change 8616 into donut
* changes:
  Fiddle with default densities to try to sanitize the API.
2009-07-27 12:03:36 -07:00
Fred Quintana
a9e3e72544 fix for a method rename 2009-07-27 11:55:26 -07:00
Dmitri Plotnikov
d5f56d1467 Introducing Contacts#DELETED flag. 2009-07-27 11:30:44 -07:00
Android (Google) Code Review
143a2ce1ea am ba989ad0: Merge change 8648 into donut
Merge commit 'ba989ad0ed91beda010d44945fa015d75d99cf67'

* commit 'ba989ad0ed91beda010d44945fa015d75d99cf67':
  Use the old string for bookmarks permissions.
2009-07-27 10:50:53 -07:00
Android (Google) Code Review
ba989ad0ed Merge change 8648 into donut
* changes:
  Use the old string for bookmarks permissions.
2009-07-27 10:49:07 -07:00
Android (Google) Code Review
461628716e Merge change 8177
* changes:
  Added patch support based on serializer state in the android client
2009-07-27 10:33:43 -07:00
Android (Google) Code Review
ead1457616 Merge change 8639
* changes:
  explicitly set the hinting level for android apps (to match the old default)
2009-07-27 09:57:35 -07:00
Bjorn Bringert
2201bd1713 am 5b11a0f3: DPAD_DOWN moves from search/voice search key to drop-down
Merge commit '5b11a0f3e1d8e2681cfd3326b6808b894bb9c2c3'

* commit '5b11a0f3e1d8e2681cfd3326b6808b894bb9c2c3':
  DPAD_DOWN moves from search/voice search key to drop-down
2009-07-27 09:51:53 -07:00
Bjorn Bringert
0d289e5b63 am 9377738c: Remove search dialog PRE_CLOSE event
Merge commit '9377738cdbb7eb0a1267cb536443cbed700ff5e9'

* commit '9377738cdbb7eb0a1267cb536443cbed700ff5e9':
  Remove search dialog PRE_CLOSE event
2009-07-27 09:42:19 -07:00
Bjorn Bringert
d0b1faa441 am 6ddaa349: Send max displayed position in search dialog click event
Merge commit '6ddaa3497ce7af2c303771365449501e2be52511'

* commit '6ddaa3497ce7af2c303771365449501e2be52511':
  Send max displayed position in search dialog click event
2009-07-27 09:42:14 -07:00
Dmitri Plotnikov
2365ded446 Renaming ContactsContract.Contacts to ContactsContract.RawContacts 2009-07-27 09:36:09 -07:00
Bjorn Bringert
5b11a0f3e1 DPAD_DOWN moves from search/voice search key to drop-down
Fixes http://b/issue?id=2014688
2009-07-27 17:10:46 +01:00
Android (Google) Code Review
7f90e47bc5 Merge change 8569
* changes:
  Fix 1993520 where page cycler fails.
2009-07-27 08:53:46 -07:00
Leon Scroggins
e7d1c8f377 Use the old string for bookmarks permissions.
When we made the bookmark permissions public, we also changed their
names, which might break existing apps.  Change them back.  Depends
on a change in packages/apps/Browser
2009-07-27 11:14:04 -04:00
Mike Reed
3d63e0119d explicitly set the hinting level for android apps (to match the old default) 2009-07-27 09:50:31 -04:00
Bjorn Bringert
9377738cdb Remove search dialog PRE_CLOSE event
This is part of the fix for http://b/issue?id=2000655
2009-07-27 11:48:32 +01:00
Bjorn Bringert
6ddaa3497c Send max displayed position in search dialog click event
This is part of the fix for http://b/issue?id=2000655
2009-07-27 11:44:56 +01: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
Dianne Hackborn
96e240f25a Fiddle with default densities to try to sanitize the API.
An issue with the density API is that bitmaps assumed the old default density,
so new programs would have to explicitly set the correct density for every bitmap
they create.

This is an attempt to fix that situation, by define the default density of bitmaps
to be the main screen's density, except for old apps where it is the original default
density.

Actually implementing this is not so great, though, because the Bitmap constructors
can't really know anything about who is calling them to know which density to use.
So at this level the compatibility mode is defined per-process -- meaning the initial
package loaded into a process defines the default bitmap density, and everyone else
loaded in later on has to live with that.

In practice this shouldn't be much of a problem, there shouldn't be much mixing of
old vs. new apps in a process.  It does mean that, going forward, if a developer is
going to use shared user IDs for this, they will need to make sure either that all of
their apps are in the same compatibility mode, or that their code explicitly sets the
density of bitmaps it receives.  This isn't all that great, but I think it is worth
the benefit of allowing people who write modern apps to not have to deal with bitmap
densities.

This change also does some cleanup of the density management (making sure to always
copy over bitmap densities, etc) and adds java docs to explain the various ways
density is set and used by the system.
2009-07-26 17:42:30 -07:00
Jeff Sharkey
ef348c757d Minor naming fixes. 2009-07-26 14:14:47 -07:00
Amith Yamasani
07ee3fdaea DO NOT MERGE. Already in master. 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-24 17:51:10 -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