8358 Commits

Author SHA1 Message Date
Patrick Scott
45948fd407 First pass at the url rendering service.
The service renders a list of urls at the given dimension and invokes the
callback interface for each result. A ParcelFileDescriptor is used to transfer
the large image data to the client. The client must close the file descriptor
is order free the underlying resources.

A more robust api will use UrlRendererRequest and UrlRendererResponse objects
to transfer data.
2010-01-28 08:27:42 -05:00
Jack Palevich
8a4de4be9e Implement the GL11ExtensionPack APIs. 2010-01-28 20:28:32 +08:00
Romain Guy
7543f9e293 Merge "Added OverScroller and overscroll effects for ScrollView and HorizontalScrollView." 2010-01-27 22:00:44 -08:00
Adam Powell
17dfce15d5 Added OverScroller and overscroll effects for ScrollView and HorizontalScrollView. 2010-01-27 21:15:58 -08:00
Fred Quintana
a322dfa47e am 6f3e1e27: am 9a400fa4: Merge "initialize sync adapters that get installed while the system is running bug http://b/issue?id=2360782" into eclair
Merge commit '6f3e1e27a697d3e64bf73792c1007135319ff0d5'

* commit '6f3e1e27a697d3e64bf73792c1007135319ff0d5':
  initialize sync adapters that get installed while the system is running
2010-01-27 18:40:11 -08:00
Dianne Hackborn
d47c6ed4a9 Bite the bullet and add support for multiple device admins. 2010-01-27 17:31:56 -08:00
Eric Fischer
93a81378d8 am ad0e5363: am 50adb167: Pull in "emergency calls only" translations.
Merge commit 'ad0e53635571066e7928e30a4a669067fff6a382'

* commit 'ad0e53635571066e7928e30a4a669067fff6a382':
  Pull in "emergency calls only" translations.
2010-01-27 17:27:23 -08:00
John Wang
a338136499 am 97fdd0ab: am 7f70998d: Merge "Add Emergency Calls Only String." into eclair
Merge commit '97fdd0aba93f7c609c1194edf636805ff70e4918'

* commit '97fdd0aba93f7c609c1194edf636805ff70e4918':
  Add Emergency Calls Only String.
2010-01-27 17:26:40 -08:00
Chih-Chung Chang
e7bd22a9d9 Unhide camera api for set display orientation. 2010-01-27 17:05:21 -08:00
Wei Huang
83e5ff09d5 am 29bc7270: am 495bae67: Merge "fix bug 2264186: clean up the outstanding async queries in ContactHeaderWidget." into eclair
Merge commit '29bc7270ec2fd54707326eeee556be2fd4d86ca3'

* commit '29bc7270ec2fd54707326eeee556be2fd4d86ca3':
  fix bug 2264186: clean up the outstanding async queries in ContactHeaderWidget.
2010-01-27 16:29:10 -08:00
Romain Guy
87ef4252ec resolved conflicts for merge of 176a88ff to master 2010-01-27 16:20:49 -08:00
Romain Guy
43c9cdffb6 New View.dispatchDisplayHint() API.
Bug #2399147

This new API will be used by scrollable containers to tell children that they
are/are not displayed. This will allow lists to hide their filter popup window
for instance.
2010-01-27 15:53:40 -08:00
Owen Lin
507354e4ba Merge "Revert I3fdda2588a7c612d7c9cfb4f25d9aedd1d609162 which open two functions in preference manager." 2010-01-27 15:48:26 -08:00
Grace Kloba
98e6fcf2f7 Need to check parent for performLongClick() as it
is the result of a delayed message.

Fix http://b/issue?id=2398251
2010-01-27 15:20:30 -08:00
Andy McFadden
72a20db0c7 Add streaming method profiling support.
This adds a new (hidden) startMethodTracingDdms call.  It's like the
normal method tracing calls, but you don't specify an output file.
Instead, when tracing stops, the data is sent directly to DDMS.

This also adds handlers for the MPSS/MPSE requests that DDMS sends.
2010-01-27 14:48:41 -08:00
Neal Nguyen
1d3165f10b Phase 2 of test file cleanup: relocating test files from FrameworkTest closer to their sources in core.
In addition to the file moves, the package names of the tests have been updated and adjusted to match their new locations.
2010-01-27 14:15:55 -08:00
Neal Nguyen
e6dca5c29b Merge "Moving framework core tests closer to their source files." 2010-01-27 14:03:34 -08:00
Dianne Hackborn
8ea138cbf1 More work on device admins:
- You can now show a dynamic message to the user when asking to
  have your DeviceAdmin added.
- A DeviceAdmin can now provide a warning message that is displayed
  before a user disables it.
- Better ordering (and text) of the policy warnings.
- New API to set the maximum failed password attempts before the device
  wipes itself.
- We now store the number of failed unlock attempts in persistent
  storage.
- New managed dialog APIs that will be used by the settings app.

Also a little bit of cleanup as I was working on this - removed the
long unused MailboxNotAvailableException, fixed a java doc in Messenger.
2010-01-27 13:51:53 -08:00
Grace Kloba
2fc1f4a029 Merge "Add request header support for the Browser/WebView. QSB can use this instead of POST to send the location data. After QSB makes the switch, we should also remove the POST_DATA intent which is hidden." 2010-01-27 13:41:39 -08:00
Neal Nguyen
22e31e5b60 Moving framework core tests closer to their source files.
Phase 2 of test case cleanup; distributing CoreTests files closer to their respective sources under frameworks.
2010-01-27 13:36:38 -08:00
Ken Shirriff
6c1ddedfee Merge "Fix ExtendedProperties EntityIterator." 2010-01-27 13:08:01 -08:00
Amith Yamasani
a3b95a995f Merge "Move Search dialog out of system process into current activity." 2010-01-27 12:45:23 -08:00
Grace Kloba
bb074ef9c2 am 769ed21c: Fix http://b/issue?id=2400423.
Merge commit '769ed21c33c3629411eb3bbf924de45737a18067' into eclair-plus-aosp

* commit '769ed21c33c3629411eb3bbf924de45737a18067':
  Fix http://b/issue?id=2400423.
2010-01-27 12:30:19 -08:00
Ken Shirriff
3b16892c6b Fix ExtendedProperties EntityIterator.
The iterator was using the wrong cursor.

bug 2399618
2010-01-27 12:28:33 -08:00
Grace Kloba
d0d9bc2f2f Add request header support for the Browser/WebView.
QSB can use this instead of POST to send the location
data. After QSB makes the switch, we should also
remove the POST_DATA intent which is hidden.

Add loadUrl(String url, HashMap extraHeaders) to
WebView so that the caller can send the extra http
headers.

Remove "inline:" as no one is using it and it is a
hidden feature.

Part 1 of 3-project checkin.
2010-01-27 12:28:11 -08:00
Grace Kloba
769ed21c33 Fix http://b/issue?id=2400423.
When the same page is loaded, updateRestoreState
will be false when we finish the first layout. As
we are still in the same page, we don't want to
update the current zoom/scroll. But in some cases,
like a site switch from mobile to full site and
keeps the same url, we do want to update the zoom
range as the viewport spec changed. Otherwise, user
can't zoom in the full site as the WebView thought
it is still a mobile non-scalable page.
2010-01-27 12:24:38 -08:00
Amith Yamasani
e9ce3f01d4 Move Search dialog out of system process into current activity.
SearchManager now manages the SearchDialog, in-process.
Nuked SearchDialogWrapper
SearchManagerService now just holds the Searchables information.
Hitting Search when in the local Search dialog will launch the QSB.
2010-01-27 12:16:45 -08:00
Suchi Amalapurapu
c028be4f3b AppsOnSd feature - Add default container
Add new remote interface to do temporary copies. The new
remote stub handling is done on mHandler thread and doesn't need locking
for now.
Add new InstallArgs class and subclasses to isolate cases for installation.
Move resource deletion for failed installs/upgrades to later on in installation
cycle.
Fix code path for forward locked apps when using scanPackageLI

TODO's
Fix installation paths to completely use InstallArgs based design later on.
Get rid of using flags in various install/uninstall code paths.
Ideally InstallArgs should be created using these flags and used in the
rest of the code.
Function renames.
Revisit mount api's.
2010-01-27 10:26:43 -08:00
Doug Zongker
aeb4126736 Merge "update javadoc for Settings.Secure.ANDROID_ID" 2010-01-27 09:40:23 -08:00
Doug Zongker
d8893db060 update javadoc for Settings.Secure.ANDROID_ID
Remove reference to GoogleLoginService, explain what this value is now.

Change-Id: I2359bd21d9c250245c01e26d660b133f4e469759
2010-01-27 09:39:42 -08:00
Evan Millar
1b624fa164 Merge "b/2383073 Add fine-grained status codes for failed downloads." 2010-01-27 09:26:24 -08:00
Chih-Chung Chang
89e02edf6f Merge "Add support for setting camera display orientation." 2010-01-27 09:20:19 -08:00
San Mehat
02735bc9b7 MountService: Introduce new @hide permissions to protect secure containers.
Signed-off-by: San Mehat <san@google.com>
2010-01-27 06:14:28 -08:00
Wei-Ta Chen
bca2d613e0 Add a Java API that converts yuv data to a jpeg.
The compression is done in the native layer via calling libjpeg.

Bug: 2285598
2010-01-27 11:41:34 +08:00
Dmitri Plotnikov
2a650dd574 Adding system preferences for contacts: sort order and display order.
We are using the system settings provider, but the preference
UI is in the Contacts app for now.

Change-Id: Iad840d131a4eb13bb745643b3c4b0234889d1202
2010-01-26 17:28:52 -08:00
Eugene Koh
bce2806a37 Merge "Modify the interface of HanziToPinyin class to make it generic and add test class" 2010-01-26 16:48:52 -08:00
Scott Main
7d3a558b9e Merge "remove @deprecated from dropDownHeight and dropDownWidth" 2010-01-26 15:42:15 -08:00
Scott Main
34c09b53fd remove @deprecated from dropDownHeight and dropDownWidth 2010-01-26 15:37:01 -08:00
Scott Main
6f3abdd29e Merge "remove @deprecated tag from "fill_parent" because it bubbles up and declares the entire attribute as deprecated." 2010-01-26 15:32:02 -08:00
Scott Main
4459295998 remove @deprecated tag from "fill_parent" because it bubbles up
and declares the entire attribute as deprecated.
2010-01-26 15:27:54 -08:00
Attila Bodis
f238ad7746 b/2383073 Add fine-grained status codes for failed downloads.
Introduces new download status codes (STATUS_DEVICE_NOT_FOUND_ERROR and
STATUS_INSUFFICIENT_SPACE_ERROR) to allow apps to show more accurate and
informative error messages upon failed downloads.
2010-01-26 14:52:32 -08:00
Jim Miller
fbf977be54 am 9985867a: Fix 2397617: Right-align carrier text in lock screen and add carrier text to PINunlock in landscape mode.
Merge commit '9985867a8eb80c6db84c80a9b5e96bd68e2d14d7' into eclair-plus-aosp

* commit '9985867a8eb80c6db84c80a9b5e96bd68e2d14d7':
  Fix 2397617: Right-align carrier text in lock screen and add carrier text to PINunlock in landscape mode.
2010-01-26 13:55:16 -08:00
Jim Miller
9985867a8e Fix 2397617: Right-align carrier text in lock screen and add carrier text to PINunlock in landscape mode. 2010-01-26 12:34:25 -08:00
Chris Tate
b91f4643b6 Merge "Move towards a formal public API for backup and restore" 2010-01-26 12:29:13 -08:00
Dianne Hackborn
8aa2e8939c More device admin work: description, policy control.
There is now a description attribute associated with all components,
that can supply user-visible information about what the component does.
We use this to show such information about device admins, and wallpapers
are also updated to be able to show this in addition to the existing
description in their meta-data.

This also defines security control for admins, requiring that they
declare the policies they will touch, and enforcing that they do
so to be able to use various APIs.
2010-01-26 12:28:15 -08:00
Mike Reed
148fea03ca Merge "add API to change default config on image decoders." 2010-01-26 12:20:43 -08:00
Chih-Chung Chang
017091669a Unhide brightness constants to help unbundle Camera. 2010-01-26 12:08:21 -08:00
Mike Lockwood
fd0c2dda2d Merge "Unhide the secure setting for LocationProviderEnabled" 2010-01-26 11:36:41 -08:00
David Turner
508370f0cb Merge "Make PackageManager unpack gdbserver binaries at installation time." 2010-01-26 11:24:47 -08:00
Chih-Chung Chang
d1d7706fce Add support for setting camera display orientation. 2010-01-26 11:07:07 -08:00