2824 Commits

Author SHA1 Message Date
Android (Google) Code Review
4ed9d78754 Merge change 4768
* changes:
  Implement sliding window sync.
2009-07-29 10:18:30 -07:00
Android (Google) Code Review
a5d7b1b7f7 am 159e1a9a: Merge change 8883 into donut
Merge commit '159e1a9a13ccfa4d99941e21068994366e2bbc7b'

* commit '159e1a9a13ccfa4d99941e21068994366e2bbc7b':
  fix [1973755] Surface.SURACE_FROZEN spelled SURACE_FROZEN
2009-07-29 09:46:38 -07:00
Steve Block
4faee09c42 Adds the Java side of the system to show the Geolocation permissions prompt. 2009-07-29 17:02:37 +01:00
Steve Block
0ac031b3d2 Adds the Java GeolocationPermissions class.
This is used by the Browser 'Website Settings' menu to get information about Geolocation permissions.
2009-07-29 16:03:53 +01:00
Andrei Popescu
59e2ad93bf Wire in the AppCache out-of-space callback 2009-07-29 11:07:44 +01:00
Jeff Sharkey
bc25407b92 Expose type constants and accessor for unit tests.
Internally, ContentProviderOperation maintains a "type",
which correspond to builder methods, such as "newInsert()".

Unit tests often need to assert which operations are
being built, so this change adds a getType() accessor and
esposes the internal constants used.  They are marked with
@hide so they are not exposed in the public API.
2009-07-28 20:39:35 -07:00
Android (Google) Code Review
f256c4001b am a62f16ac: Merge change 8877 into donut
Merge commit 'a62f16accad31e03ede5e4e6525dbe30dccc6db0'

* commit 'a62f16accad31e03ede5e4e6525dbe30dccc6db0':
  Remove warning in non-eng builds.
2009-07-28 17:57:39 -07:00
Android (Google) Code Review
e406906e16 Merge change 8878
* changes:
  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:26:40 -07:00
Android (Google) Code Review
159e1a9a13 Merge change 8883 into donut
* changes:
  fix [1973755] Surface.SURACE_FROZEN spelled SURACE_FROZEN
2009-07-28 16:12:58 -07:00
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
Mathias Agopian
c87c4a3e3b fix [1973755] Surface.SURACE_FROZEN spelled SURACE_FROZEN 2009-07-28 15:59:52 -07:00
Android (Google) Code Review
a62f16acca Merge change 8877 into donut
* changes:
  Remove warning in non-eng builds.
2009-07-28 15:34:25 -07:00
Romain Guy
e551dc76bc Remove warning in non-eng builds. 2009-07-28 15:30:11 -07:00
Android (Google) Code Review
383cc38a20 am 6b46dc86: Merge change 8840 into donut
Merge commit '6b46dc8616dff7a5049b9fbaa7bbf8b4c0840eb4'

* commit '6b46dc8616dff7a5049b9fbaa7bbf8b4c0840eb4':
  Add padding to height of AutoCompleteTextView drop-down.
2009-07-28 15:27:10 -07:00
Dianne Hackborn
02f5228c3c resolved conflicts for merge of f0d83fd9 to master 2009-07-28 15:23:21 -07:00
Android (Google) Code Review
b2fe1fd4ae am 40c0de64: Merge change 8836 into donut
Merge commit '40c0de641a64ed4db4f0a08448a7b58bc50a5425'

* commit '40c0de641a64ed4db4f0a08448a7b58bc50a5425':
  Add menu with search settings to search dialog.
2009-07-28 14:24:07 -07:00
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
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