2787 Commits

Author SHA1 Message Date
Marco Nelissen
69f593ccb7 Support for selection of silent ringtone from the ringtone picker.
This doesn't actually enable that, but adds the necessary code to make it work when enabled, and cleans up some ringtone related code.
2009-07-28 16:06:38 -07:00
Android (Google) Code Review
e8c027756c Merge change 8779
* changes:
  Fix issue 2015322	mediaframeworktest.MediaAudioTrackTest fails.
2009-07-28 09:15:45 -07:00
Android (Google) Code Review
82c97867f2 Merge change 8735
* changes:
  ContactsContract: Renaming Aggregates to Contacts
2009-07-28 09:01:51 -07:00
Eric Laurent
83b3685050 Fix issue 2015322 mediaframeworktest.MediaAudioTrackTest fails. 2009-07-28 07:49:22 -07:00
Android (Google) Code Review
a6b281d2b9 am 738b4c00: Merge change 8773 into donut
Merge commit '738b4c000bab8414fa2969db489d7abce20e0af6'

* commit '738b4c000bab8414fa2969db489d7abce20e0af6':
  Only dismiss search on suggestion click in in-app search
2009-07-28 07:21:09 -07:00
Bjorn Bringert
da1f4b669e Only dismiss search on suggestion click in in-app search
We now distinguish between in-app search (pivoted in from GlobalSearch)
and real in-app search mode. Only the latter dismisses the search
dialog when a suggestion is clicked. Also, the drop-down
is now always visible except in real in-app search mode.

Fixes http://b/issue?id=2014626
2009-07-28 15:15:26 +01:00
Android (Google) Code Review
dfe673a591 am d0021dca: Merge change 8740 into donut
Merge commit 'd0021dcae7f474c062f23a449bdd18be5e882d7e'

* commit 'd0021dcae7f474c062f23a449bdd18be5e882d7e':
  Fix issue #1991230: DisplayMetrics.displayHeight is not updated with orientation change
2009-07-28 00:29:58 -07:00
Dianne Hackborn
0d907fa00b Fix issue #1991230: DisplayMetrics.displayHeight is not updated with orientation change 2009-07-27 20:48:50 -07:00
Dmitri Plotnikov
7cca5f8363 ContactsContract: Renaming Aggregates to Contacts 2009-07-27 20:25:59 -07:00
Dmitri Plotnikov
facbbb3783 ContactsContract: Renaming CONTACT_ID to RAW_CONTACT_ID 2009-07-27 15:18:19 -07:00
Android (Google) Code Review
b7c64f1585 Merge change 8683
* changes:
  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 15:03:12 -07:00
Android (Google) Code Review
692a316d48 am 95fa929e: Merge change 8682 into donut
Merge commit '95fa929ebe55b3745eb59a1c4b8f21cb9f8e6b1d'

* commit '95fa929ebe55b3745eb59a1c4b8f21cb9f8e6b1d':
  New small rating stars from the UI designers.
2009-07-27 14:38:24 -07:00
Android (Google) Code Review
95fa929ebe Merge change 8682 into donut
* changes:
  New small rating stars from the UI designers.
2009-07-27 14:31:33 -07:00
Ilya Firman
730c66e635 New small rating stars from the UI designers. 2009-07-27 14:03:55 -07:00
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
1fcabd7b32 Merge change 8677 into donut
* changes:
  DO NOT MERGE.
2009-07-27 13:55:18 -07:00
Android (Google) Code Review
9d5750636b Merge change 8593
* changes:
  When you double-tap a word in an EditText, select the word.
2009-07-27 13:49:21 -07:00
Grace Kloba
8268170d3f DO NOT MERGE.
Per product team request, remove 1x zoom button. Move the zoom overview to
the bottom left and zoom control to the bottom right.
2009-07-27 13:44:47 -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
Eric Fischer
a6e5045489 When you double-tap a word in an EditText, select the word.
Bug 1978109
2009-07-24 18:15:18 -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