17228 Commits

Author SHA1 Message Date
Brad Fitzpatrick
2e3908097b Merge "Unhide Content{Resolver,Provider}.call()" into honeycomb 2011-01-12 14:39:50 -08:00
Huahui Wu
f147d456a5 b/3344966 pan following the focus point instead the first point.
Change-Id: Iaed482c7c4e8a616cbabf8c5af706b8160c880b1
2011-01-12 14:38:30 -08:00
Kenny Root
6c46760b72 Make sure AppCacheTest casts to long
AppCacheTest was multiplying two integers that were too large for
devices that had more free space than 32-bits could represent.

Hopefully no one releases devices with 1TB soon.

The testAppCacheClear test doesn't work currently because it has an
"imax" attribute that doesn't allow the disk to be filled up entirely.
It only writes a couple hundred MB before it gives up.

Bug: 3216419
Change-Id: Ie371f42211bab65f2c767b36d9837ce76922501e
2011-01-12 14:33:55 -08:00
Mike Lockwood
c13db22581 Merge "Remove permission android.permission.WRITE_MEDIA_STORAGE" into honeycomb 2011-01-12 14:25:05 -08:00
Brad Fitzpatrick
534c84c1ce Unhide Content{Resolver,Provider}.call()
Change-Id: Ic7833b921f5a8e70ef7d565bfdf461e6e135ff1b
2011-01-12 14:19:19 -08:00
Romain Guy
3aaff3aef4 Better debug info for layers.
Change-Id: I816c2446a33a1135553eaeea2f89c7418641cfe1
2011-01-12 14:18:47 -08:00
Romain Guy
e465b11745 Merge "Better debug info for layers." into honeycomb 2011-01-12 14:15:59 -08:00
Gilles Debunne
54c38bf05d Merge "New QuickContactBadge holo style." into honeycomb 2011-01-12 14:07:26 -08:00
Jason parks
56aa5321fe Add a method enable encryption.
This is for testing and needs to be cleaned up.

Change-Id: I29958f2a95c7773744e61bbd23a302b752614f87
2011-01-12 16:00:23 -06:00
Amith Yamasani
fb0a242be6 Merge "Use light preference panel drawable for Theme.Light" into honeycomb 2011-01-12 13:18:20 -08:00
Jim Miller
a3a078e343 Merge "Fix 3201849: Use custom Drawable for bg in lockscreen" into honeycomb 2011-01-12 13:14:33 -08:00
Jason parks
1125d780a8 Remove the APIs for the old encryption scheme.
Change-Id: I55116a5b29b10dfd50015805ec019b485257f68b
2011-01-12 15:01:34 -06:00
Dianne Hackborn
02e852f968 Merge "Make ProgressDialog a little less lame." into honeycomb 2011-01-12 12:59:27 -08:00
Romain Guy
853548287f Merge "Cleanup GL objects on the correct thread." into honeycomb 2011-01-12 12:50:50 -08:00
Romain Guy
57066eb64c Cleanup GL objects on the correct thread.
Change-Id: Iddfea6e08a6591a4fab147151098ef27005f373d
2011-01-12 12:53:32 -08:00
Kenny Root
5e9ba49f5e Merge "Skip SD card tests on devices without SD cards" into honeycomb 2011-01-12 12:28:39 -08:00
Kenny Root
3c67689584 Skip SD card tests on devices without SD cards
Tests were giving false failures when they should instead be skipped.
Forcing an install to an SD card on a device without one shouldn't count
as a failure. It's expected behavior.

Bug: 3216422
Change-Id: Ia523861d1331e74c76b434f7ba73b642d474a9cc
2011-01-12 12:26:26 -08:00
Jaikumar Ganesh
95a4751f21 Merge "Add ability to parse keyboard fixed pin auto pair blacklist." into honeycomb 2011-01-12 12:22:57 -08:00
Jaikumar Ganesh
fc019bd4fa Merge "Revert "Add temporary hack for keyboards not following spec."" into honeycomb 2011-01-12 12:22:50 -08:00
Leon Scroggins
1415bb7a94 Merge "Differentiate between clicks for focus and actual clicks." into honeycomb 2011-01-12 12:01:31 -08:00
Kenny Root
502e9a47c6 Allow updated system apps to retain priority
Previously any updated system apps would not be able to have a greater
than 0 priority on an activity intent filter. Moving the priority check
later in the package scanning allows it to apply to updated system
packages as well.

Cherry-pick from gingerbread branch

Bug: 2572398
Change-Id: I95d8b6360bf7a3f39cd7a1ff09e1ee57e11583d8
2011-01-12 11:57:23 -08:00
Jaikumar Ganesh
f487d72215 Add ability to parse keyboard fixed pin auto pair blacklist.
Try auto pairing with such keyboards.
Also fix bug where dynamic auto pairing file was not being created.

Change-Id: I93afb96fee8bc4f245f96ec5961979c620de7948
2011-01-12 11:56:15 -08:00
Jamie Gennis
b0ba48c95e Add getTransformMatrix to the SurfaceTexture API.
Change-Id: Icd11ed4982220be9d08b00498aef02531610ce1f
2011-01-12 11:28:38 -08:00
Dianne Hackborn
4389434c1d Make ProgressDialog a little less lame.
Change-Id: Ic3f1dd8ba32dd02d422ee6f05fff5541e54bb8a1
2011-01-12 11:17:17 -08:00
Kristian Monsen
7a8f01abf9 Merge "Add a static method to get the InputStream of a content URL" into honeycomb 2011-01-12 11:15:20 -08:00
Kristian Monsen
6c5e4dc231 Merge "Adding a static method to get the size of a content url" into honeycomb 2011-01-12 11:15:09 -08:00
Leon Scroggins
b45a263343 Differentiate between clicks for focus and actual clicks.
Bug:3344162

Requires a change in external/webkit.

Change-Id: I6650a3084926fe4c241ccd7deca146e44460f29c
2011-01-12 14:13:28 -05:00
Michael Jurka
b609881fb0 Merge "Add sym_def_app_icon to mipmap directory" into honeycomb 2011-01-12 11:06:44 -08:00
Chet Haase
535d5edad2 Merge "New interpolator resources now found in interpolator/ directory" into honeycomb 2011-01-12 11:01:50 -08:00
Huahui Wu
342bfbf94f Merge "b/3340946 Fix NPE caused by null gesture detector." into honeycomb 2011-01-12 10:57:51 -08:00
Huahui Wu
8465cc9d88 b/3340946 Fix NPE caused by null gesture detector.
Gmail use WebView without instantiating the gesture detector. The Gmail team replied that they don't need the pinch to zoom feature so we can safely skip multi-touch events for them.

Change-Id: Id60a4d4583979ef5b420fff04c4ca097c0594024
2011-01-12 10:37:11 -08:00
Amith Yamasani
5980cbbc9c Use light preference panel drawable for Theme.Light
Bug: 3281676

Change-Id: I16c5cca277e8d6d5e80f8b72b7b67456e7352889
2011-01-12 10:37:00 -08:00
Dianne Hackborn
6014527c35 Add "min size" facility to the Window class.
This allows us to have a new dialog theme that behaves like an alert dialog
for both Dialog and Activity versions.  Very useful with so many more things
being displayed as dialogs on our nice large screen.

Note I didn't change the existing dialog themes to have this behavior, since
it will probably break things.  Instead there is a new variation.  And the
DialogWhenLarge variations now use this for their dialog form, to fix many
of the real new dialogs we have that need this behavior.

Removed the public definition of the one alert dialog theme.  None of the
others have ever been public, this one shouldn't be.

Added new .Panel versions of the Holo themes, like we already had for the
original themes.

Changed the alert dialog layout to no longer use WeightedLinearLayout,
since the window now takes care of that.  This allowed for the removal
of the xlarge version of those layouts.

Change-Id: I0c8372bde25eb9af47404a719b3f07230baf73bf
2011-01-12 10:33:13 -08:00
Kenny Root
af604587c9 Add sym_def_app_icon to mipmap directory
The default activity icon was a drawable so different densities were
being stripped out during build time. Copying it to the mipmap
directory allows all different scales to be used.

Bug: 3325002
Change-Id: Id7138aa243ba11c02b33f0e3e9154569542592e8
2011-01-12 10:14:21 -08:00
Jaikumar Ganesh
ac6f13dc68 Revert "Add temporary hack for keyboards not following spec."
This reverts commit 8cc316e4f4458725f78b2b7ebde2f780f9b8447b.
2011-01-12 10:08:57 -08:00
Mike Lockwood
35a2ea2fbf Remove permission android.permission.WRITE_MEDIA_STORAGE
Access to the /data/media directory is now restricted exclusively to the
sdcard daemon, so there is no longer a need for this permission.

Change-Id: Iea8400f0eee167df19cc231c502d251a364f98b3
Signed-off-by: Mike Lockwood <lockwood@android.com>
2011-01-12 12:48:13 -05:00
Patrick Scott
92a9a3c5ef Merge "Do not merge." into honeycomb 2011-01-12 09:44:59 -08:00
Patrick Scott
d1737edc13 Do not merge.
Cherry picked:

Add an api to toggle content url access.

By default, WebView allows access to content providers on the system.  This
setting allows applications to turn off content urls.

Bug: 1196879
Change-Id: I49eaea6d7b9ccc3b3a4443d712222556087568c0
2011-01-12 12:42:51 -05:00
Chet Haase
efcceb856a New interpolator resources now found in interpolator/ directory
Change-Id: Ib08200d71fce1706a0c683df104f0ff3d777ca17
2011-01-12 07:41:31 -08:00
Cary Clark
7170bb6391 add null check to copy selection
This prevents a toast from appearing
if copyselection is done initially.

bug:3339016
Change-Id: If6f91b8f3794b3807fb3319fc542838abd431c64
2011-01-12 10:12:15 -05:00
Kristian Monsen
3ede315d65 Add a static method to get the InputStream of a content URL
Part of fix for bug 2862096

Change-Id: I91f7e7aa1f0fef10b1617e91a167594d4de41b71
2011-01-12 11:53:28 +00:00
Kristian Monsen
80ff5d82bd Adding a static method to get the size of a content url
Part of fixes for bug 2862096

Change-Id: I86f1255c17efb367fac54b69b8de220d2874fc70
2011-01-12 10:21:17 +00:00
Svetoslav Ganov
2ad2bf2327 Merge "Renaming NumberPicker resources to be consistent." into honeycomb 2011-01-11 21:56:03 -08:00
Jim Miller
39d4b067a7 Fix 3201849: Use custom Drawable for bg in lockscreen
This uses a custom drawable to improve the performance of
rendering a transparent background in LockScreen on devices
without hardware acceleration.

Change-Id: I7aae13070d475c3ac19d91ba5c6cb7d2a83a18ce
2011-01-11 20:30:20 -08:00
Christopher Tate
02d2b3ba9b API CHANGE: startDrag() now takes "int flags" instead of "boolean localOnly"
There will be, in the future, a flag (View.DRAG_FLAG_GLOBAL) that means
for the drag to be cross-application.  For now that flag constant is @hide
and furthermore the server-side implementation strips it, enforcing
local-only drags.

Change-Id: I8db840480ab90e18a5b8ecf29d62b4e6eafd405e
2011-01-11 18:30:23 -08:00
Svetoslav Ganov
5220834c6c Merge "Down arrow on the month can end up at the start of the month" into honeycomb 2011-01-11 18:04:42 -08:00
Svetoslav Ganov
d7419986ca Down arrow on the month can end up at the start of the month
bug:3338078

1. The bug was that I was claculating delta month and day from
   the current date but was changing the latter in the middle
   thus causing inconsistent state.

Change-Id: Id3082b01778fc2b3116aa412aff3f12e9ebf0c97
2011-01-11 17:59:32 -08:00
Dianne Hackborn
540f86aa42 Get rid of old ParcelFileDescriptor API.
Also some new debugging code in AsyncTaskLoader.

Change-Id: Ib13386b7862821cf0ee31b003bedef78f46240f1
2011-01-11 17:56:12 -08:00
Romain Guy
6c319ca127 Better backend for hardware layers.
With this new backend, a hardware layer is only recreated when
its associated view is udpated. This offers fast composition
in GL and fast update of the layer in GL as well.

Change-Id: I97c43a612f5955c6bf1c192c8ca4af10fdf1d076
2011-01-11 17:53:19 -08:00
Romain Guy
d139a0ca25 Merge "Better backend for hardware layers." into honeycomb 2011-01-11 17:52:05 -08:00