2909 Commits

Author SHA1 Message Date
Android (Google) Code Review
10e85ba987 Merge change 8437
* changes:
  Re-add double tap to the Browser. It only works if WebView uses wide viewport. It is also controlled by ENABLE_DOUBLETAP_ZOOM flag. Currently the default is on.
2009-07-28 13:45:58 -07:00
Android (Google) Code Review
7a45a2ec06 Merge change 8681
* changes:
  PowerManager: Add proximity sensor support.
2009-07-28 13:20:16 -07:00
Grace Kloba
8b97e4b0fe Re-add double tap to the Browser. It only works if WebView uses wide viewport.
It is also controlled by ENABLE_DOUBLETAP_ZOOM flag. Currently the default
is on.

Double tap will toggle between current zoom level and all the way zoom out,
in another word, zoom overview mode.

While in zoom overview mode, don't display zoom control while panning. You
can click to follow the link. If clicking on a text input box, it should
bring it back to the normal mode so that it will be easy to edit text.

While in zoom overview mode, the page is zoomed to fit the width in the
view. While the text paragraph are wrapped to the matching normal mode scale.
So there is no reflow when we switching between two modes.
2009-07-28 13:17:12 -07:00
Android (Google) Code Review
6b46dc8616 Merge change 8840 into donut
* changes:
  Add padding to height of AutoCompleteTextView drop-down.
2009-07-28 13:11:13 -07:00
Mike Lockwood
bc706a03a2 PowerManager: Add proximity sensor support.
Add new wakelock flag PROXIMITY_SCREEN_OFF_WAKE_LOCK.
If you create a wakelock with this flag, while the wakelock is acquired,
the screen will turn off automatically when the sensor detects an object close to the screen.
Removing the object will cause the screen to wake up again.

Added PowerManager.getSupportedWakeLockFlags(), which can be used to determine
if proximity screen off wakelocks are supported by the hardware.

Signed-off-by: Mike Lockwood <lockwood@android.com>
2009-07-28 13:09:21 -07:00
Bjorn Bringert
5420d01cef Add padding to height of AutoCompleteTextView drop-down.
As described in http://b/issue?id=2017825
PopupWindow.getMaxAvailableHeight() does not include the padding in
the available height. To get the ACTV drop-down to actually fill
the screen, this change adds the padding to the value returned
by PopupWindow.getMaxAvailableHeight().

This is part of the fix for http://b/issue?id=2014450
2009-07-28 21:08:25 +01:00
Android (Google) Code Review
f0d83fd907 Merge change 8752 into donut
* changes:
  Updates from API review.
2009-07-28 12:36:49 -07:00
Android (Google) Code Review
40c0de641a Merge change 8836 into donut
* changes:
  Add menu with search settings to search dialog.
2009-07-28 12:28:06 -07:00
Bjorn Bringert
f4acf39d99 Add menu with search settings to search dialog.
Fixes http://b/issue?id=2018143
2009-07-28 20:15:49 +01:00
Android (Google) Code Review
5e7d68223a am 50f05b8f: Merge change 8825 into donut
Merge commit '50f05b8ffd2c4f4d877c4564b2339ca0ccca6ec1'

* commit '50f05b8ffd2c4f4d877c4564b2339ca0ccca6ec1':
  Fixes 2017393. Correctly apply gravity in RelativeLayout.
2009-07-28 11:29:34 -07:00
Android (Google) Code Review
48000fe23a am c6590d6f: Merge change 8759 into donut
Merge commit 'c6590d6f390fc69fe15a9a565327a8f8c97f107b'

* commit 'c6590d6f390fc69fe15a9a565327a8f8c97f107b':
  Cancel search on BACK if IME is obscured.
2009-07-28 11:29:15 -07:00
Android (Google) Code Review
50f05b8ffd Merge change 8825 into donut
* changes:
  Fixes 2017393. Correctly apply gravity in RelativeLayout.
2009-07-28 11:19:19 -07:00
Romain Guy
d10a576791 Fixes 2017393. Correctly apply gravity in RelativeLayout.
RL was applying a horizontal offset to its children even when the gravity was only
specified for the vertical axis (and vice-versa.)

Also fix the ExpandableListView icons.
2009-07-28 11:18:14 -07:00
Android (Google) Code Review
c6590d6f39 Merge change 8759 into donut
* changes:
  Cancel search on BACK if IME is obscured.
2009-07-28 10:45:35 -07:00
Android (Google) Code Review
b3c82efb47 am 1dd6936a: Merge change 8728 into donut
Merge commit '1dd6936a862be97efca02e4b7582a9fca1fcc269'

* commit '1dd6936a862be97efca02e4b7582a9fca1fcc269':
  Fix resource code and version attributes
2009-07-28 10:21:45 -07:00
Android (Google) Code Review
1dd6936a86 Merge change 8728 into donut
* changes:
  Fix resource code and version attributes Create a new package setting object for updated system apps rather than moving around the same setting. This updates the resource, code and version correctly. For updating system packages, disable the package first which removes the entry from internal structures, create a new package setting, add it to list of user id's then rest of installation steps, kill the process if needed via ActivityManager then add this setting if everything was successful. This also fixes issues with updating values prematurely.
2009-07-28 10:18:47 -07:00
Suchi Amalapurapu
261e66acd1 Fix resource code and version attributes
Create a new package setting object for updated system apps rather than moving
around the same setting. This updates the resource, code and version correctly.
For updating system packages, disable the package first which removes the entry
from internal structures, create a new package setting, add it to list of user id's
then rest of installation steps, kill the process if needed via ActivityManager
then add this setting if everything was successful. This also fixes issues with
updating values prematurely.

When a new version of system package is available via OTA, just physically remove
entries for pkg. Note that the component and other info will be eventually updated
later on when scanning the package.
Also move certificate verification slightly ahead before scanning packages.

Some null checks

New api's in ActivityManager to kill an application pkg before finishing installation
2009-07-28 10:21:38 -07:00
Android (Google) Code Review
de3bfda8ac Merge change 8742
* changes:
  Modify BluetoothPbap for a few wrong wordings
2009-07-28 10:05:35 -07:00
Bjorn Bringert
003ad48380 Cancel search on BACK if IME is obscured.
This adds a hidden method AutoCompleteTextView.isImeHidden(),
and uses that in SearchDialog to cancel the search dialog
when BACK is pressed, if there is no previous search component
to return to.

mlebeau says:
 If we fill the whole screen then it makes the issue of the back
 button a little more important. Specifically, right now if you have
 the list expanded and you press back, the keyboard hides but it's not
 really showing any more anyway so it seems like pressing the button
 does nothing. We rationalized this by saying "part of the keyboard
 will be showing so it won't be completely non-obvious that it was
 hidden". But since really the right UX is to fill the screen, as part
 of this we should probably also add logic to the back button such
 that if it is pressed when the list is obscuring the keyboard
 (i.e. softInputMode on the PopupWindow is INPUT_METHOD_NOT_NEEDED)
 then we should hide the dialog entirely rather than closing the
 keyboard.

This is part of the fix for http://b/issue?id=2014450
2009-07-28 17:39:17 +01: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
Chung-yih Wang
fd3db87e28 Support x509-user-cert mime type in browser.
+ Fix the public key matching and intent parameter mismatch.
2009-07-28 18:37:13 +08: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
7f2054392e Updates from API review.
* AccessibilityService -- document onBind() to not be implemented.
    * GestureLibrary.getLearner() -- needs to be hidden.
    * IntentSender -- remove protected constructors, document that it is retrieved from a PendingIntent.
    * Hide permissions: SHUTDOWN, STOP_APP_SWITCHES.
    * Context -- hide BACKUP_SERVICE.
    * ContextWrapper -- hide getSharedPrefs bla h blah
    * Intent.parseUri() -- fix docs.
    * ApplicationInfo.FLAG_TEST_ONLY?!?
    * Hide MockContext.getSharedPrefs blah blah
2009-07-28 00:13:47 -07:00
Jackson Fan
c8b04a93a6 Modify BluetoothPbap for a few wrong wordings 2009-07-27 21:28:38 -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