8549 Commits

Author SHA1 Message Date
Alex Gruenstein
cc47fae688 Add EXTRA_PARTIAL_RESULTS so that clients can enable receiving results via onPartialResults() 2010-02-09 15:25:53 -08:00
Adam Powell
87da860616 Manually merged VelocityTracker changes 2010-02-09 14:25:41 -08:00
Dianne Hackborn
632aa76422 Merge "New external storage APIs." 2010-02-09 14:22:29 -08:00
Dianne Hackborn
e83cefcef0 New external storage APIs.
This implements the spec for external storage organization, and
properly reflects how the media scanner organizes the files it finds.

Also includes package manager support for removing app private
files from external storage when the application is uninstalled.

For the new APIs and paths, the main place to look is Environment
and Context.
2010-02-09 14:20:55 -08:00
Fred Quintana
751fdc09bb only make AccountManager throw an exception on blocking calls in the UI thread if the application's SDK is froyo or later 2010-02-09 14:13:18 -08:00
Leon Scroggins
df737e442e Merge "Set the IME action to GO for normal textfields." 2010-02-09 14:12:07 -08:00
Amith Yamasani
72e5a8820a Merge "Restart input when moving to a new textfield." 2010-02-09 14:09:58 -08:00
Vasu Nori
787372568a Merge "suppress broken tests(http://b/2431671)" 2010-02-09 14:07:43 -08:00
Leon Scroggins
af314e246d Set the IME action to GO for normal textfields. 2010-02-09 17:06:59 -05:00
Leon Scroggins
5c84bf0a3b Restart input when moving to a new textfield.
Ensures that the IME action gets updated properly.

Fixes http://b/issue?id=2428023
2010-02-09 17:03:44 -05:00
Dan Egnor
44d993798f Merge "Fix NPE in FileObserver when multiple events pile in for a defunct observer. Also, fix up some bogus whitespace (hard tabs, etc)." 2010-02-09 13:47:21 -08:00
Vasu Nori
5793a17366 suppress broken tests(http://b/2431671)
should have debugged the broken test.
added transactions to speed up tests wherver possible
2010-02-09 13:46:16 -08:00
Romain Guy
cdc045dd6d Merge "Properly notifies listener when an animation is cancelled. Bug: #2428005." 2010-02-09 13:21:09 -08:00
Vasu Nori
cb72cda8ca Merge "change wording in warning msg printed when compiled-sql cache is full" 2010-02-09 12:29:21 -08:00
Bjorn Bringert
8e867eb454 Merge "Fix NPE in PackageParser" 2010-02-09 12:09:28 -08:00
Eugene Koh
4398486a92 Merge "Update the mdpi resource with 2.0 style icons" 2010-02-09 12:05:49 -08:00
Vasu Nori
82f82be4b3 change wording in warning msg printed when compiled-sql cache is full 2010-02-09 11:49:01 -08:00
Romain Guy
305a2eb8e5 Properly notifies listener when an animation is cancelled.
Bug: #2428005.
2010-02-09 11:36:44 -08:00
Shimeng (Simon) Wang
b7f17d4742 Take into account the visible title height when scrolling.
Bug: 2425057
	modified:   core/java/android/webkit/WebView.java
2010-02-09 11:32:16 -08:00
San Mehat
b104340496 Framework: Clean up / Refactor Mount APIs
- Move android.storage.* -> android.os.storage.* and refactor users
 - Refactor generic shares back to explicit ums enable/disable/isEnabled
 - Remove media insert/removed event callbacks (not ready for Froyo)
 - Remove 'label' from volume state change callbacks
 - Add public API functions for enabling/disabling USB mass storage (permissions enforced
   in MountSevice)
 - Remove some stray un-needed import lines
 - Move android.os.IMountService / android.os.IMountServiceListener -> android.os.storage
 - Improve code comments

Updated:
  MountService: Add dup state check and move debugging behind a conditional
  UsbStorageActivity: Fix review comments + a TODO
  StorageNotification: Add @Override tags
  StorageManager: Don't use a static Listener list
  MountService: Reduce bloat and fix == where I meant .equals()
  PackageManagerTests: Update for new API

Signed-off-by: San Mehat <san@google.com>
2010-02-09 11:03:16 -08:00
San Mehat
64e6a45ed4 StorageNotification: Add general storage notification for UMS/Storage events
Signed-off-by: San Mehat <san@google.com>
2010-02-09 11:03:15 -08:00
Adam Powell
18f75bd45c am e88192b9: Cleanup fixes for ScaleGestureDetector
Merge commit 'e88192b9d2a8c364d8545471907c5baa275bb5f6' into eclair-plus-aosp

* commit 'e88192b9d2a8c364d8545471907c5baa275bb5f6':
  Cleanup fixes for ScaleGestureDetector
2010-02-09 10:55:57 -08:00
Adam Powell
e88192b9d2 Cleanup fixes for ScaleGestureDetector 2010-02-09 10:27:48 -08:00
San Mehat
c8da710f00 Merge changes I1aabef01,I8dbd0f83
* changes:
  SystemServer: Move MountService startup before NotificationManagerService
  StorageManager: Check for a null MountService
2010-02-09 08:58:23 -08:00
Kenny Root
ace5a3fbfb Hide resourceDirs from public API
Change-Id: I070558c0adca43c8650ac740d3cda4334d0f4a50
2010-02-09 08:47:30 -08:00
Leon Scroggins
d5ff5dbfeb Handle the Tab key by moving to the next textfield. And ensure
there is always a way to get to the next field.

http://b/issue?id=2414236 and http://b/issue?id=2414229
2010-02-09 10:30:08 -05:00
Bjorn Bringert
e04b1ad9cd Fix NPE in PackageParser
Before, PackageParser threw NPE when reading <path-permission>
android:writePermission set.

Fixes http://b/issue?id=2430967

Change-Id: I4c69f0210ab362a649ff239c5f9e927d93c2f241
2010-02-09 13:56:08 +00:00
Wu-cheng Li
ff723b6c43 Add exposure compensation parameter.
bug:2375993
2010-02-09 18:28:50 +08:00
Andy Stadler
a90cee8250 Merge "Fixes to DeviceAdmin & DevicePolicyManager Javadoc" 2010-02-08 23:06:31 -08:00
Andrew Stadler
88209d15dd Fixes to DeviceAdmin & DevicePolicyManager Javadoc
1.  Fix build break caused by renaming of sample app files
2.  Rewrote JavaDoc for setMaximumFailedPasswords()
2010-02-08 22:59:36 -08:00
Jim Miller
0b31970cac Fix 2402303: Split Keyboard widget from LatinIME into reusable PasswordEntryKeyboardView
- Added new PasswordEntryKeyboardView to internal/widgets.  Widget supports:
	- alpha mode with symbols (latin-1 only).
	- a numeric keyboard
	- IME emulation that applies keyboard input to arbitrary top-level view widget.
- Added new transparent assets to framework resources.
- Modified Keyguard and Keyguard layouts to use new PasswordEntryKeyboardView.
2010-02-08 21:04:39 -08:00
San Mehat
17da5a691c StorageManager: Check for a null MountService
Signed-off-by: San Mehat <san@google.com>
2010-02-08 19:29:58 -08:00
Dan Egnor
d95244faef Fix NPE in FileObserver when multiple events pile in for a defunct
observer.  Also, fix up some bogus whitespace (hard tabs, etc).
2010-02-08 17:21:18 -08:00
Fred Quintana
53bd2522ca - change the SyncManager to retry MANUAL syncs that encounter a soft error
- make the sync dump handle the case where there are no accounts
- fix a bug that caused the SyncManager to burn up CPU in the system process

The following was implemented:

scheduler offers:
 - settings to disable sync
 - retries of certain errors
 - backoffs

want a way to control these when scheduling a sync
 - "ignore_settings"
 - "ignore initial backoff"
 - "manual" : ignore settings, ignore initial backoff
 - "do not retry"

- need to change the default behavior of not retrying manual syncs to retry regardless
2010-02-08 16:54:43 -08:00
Amith Yamasani
ec5df83c5b Fix to enable having a primary index that's not the closest match.
Needed for predictive hit target correction in LatinIME.
2010-02-08 15:26:00 -08:00
Jean-Baptiste Queru
47f46981cc Public Download Manager API
Change-Id: Ie91e816620b367816572f83d85cfecc91d66c764
2010-02-08 15:24:27 -08:00
Romain Guy
1fa2d46fd2 Merge "Always remember the last touch mode state when touch mode changes." 2010-02-08 14:59:03 -08:00
Romain Guy
498b2960d5 Always remember the last touch mode state when touch mode changes.
Do not just rely on getting an onWindowFocusChanged() event. There are cases
where we might not get it (view removed from the window for instance.)
2010-02-08 14:58:01 -08:00
Suchi Amalapurapu
a22927909f Merge "Rename media resource broadcasts Add checks for fwdlocked and updated system apps add more tests remove duplicate adds" 2010-02-08 14:51:38 -08:00
Suchi Amalapurapu
b56ae20b22 Rename media resource broadcasts
Add checks for fwdlocked and updated system apps
add more tests
remove duplicate adds
2010-02-08 14:52:25 -08:00
Mike Reed
c9532609f5 animated the return to normal of mr-stretchy 2010-02-08 17:18:40 -05:00
Joe Onorato
e8d898f4ed Merge "Make ComponentName cloneable." 2010-02-08 13:10:46 -08:00
Romain Guy
43d5e65049 Merge "Prevent crash in KeyboardView when the view is 0x0." 2010-02-08 13:06:17 -08:00
Joe Onorato
edc649aabc Make ComponentName cloneable. 2010-02-08 12:40:45 -08:00
Doug Zongker
870d81d038 remove android.os.Base64Utils
There are no more users of this code.

Change-Id: Ie0109ece2ea329aeb9607e9193eaf0808955eab9
2010-02-08 12:27:07 -08:00
Romain Guy
46a61bb730 Prevent crash in KeyboardView when the view is 0x0.
See http://code.google.com/p/android/issues/detail?id=6374
2010-02-08 11:57:55 -08:00
Vasu Nori
8d45e4e4c6 changes after review by API council
please refer to http://b/issue?id=2420299
2010-02-08 11:12:04 -08:00
Vasu Nori
3ef94e25b4 use sqlite 3.6.22 to print and profile the sql statetements
instead of rolling our own trace/profile code in java, lets use
sqlite 3.6.22 features. turns out sqlite does a good job of
printing the sql statements - including the ones from the triggers.
2010-02-08 10:56:48 -08:00
The Android Open Source Project
5d36c46d2d am ad9bcb22: merge from open-source master
Merge commit 'ad9bcb22d05fbf130ac64254abd51a137e9a3d3f'

* commit 'ad9bcb22d05fbf130ac64254abd51a137e9a3d3f':
  Fix x coordinate of the ACTION_UP event in TouchUtils.drag() method
  Fixed Android animation framework, for using interpolators that do not start at 0.0f
  Fix for GPS engines without separate session and engine status events.
  Be tolerant of GPS session and engine on status messages arriving out of order.
  GpsLocationProvider: Do not release wakelock until the GPS engine is fully off
2010-02-08 09:17:10 -08:00
Bjorn Bringert
7406e53c4c Merge "Fixing a bug when installing VoiceSearch cause error" 2010-02-08 06:20:08 -08:00