OSDN Git Service

android-x86/frameworks-base.git
13 years agoCatching all Exceptions when calling through to RemoteViewsFactory
Adam Cohen [Wed, 16 Mar 2011 23:33:53 +0000 (16:33 -0700)]
Catching all Exceptions when calling through to RemoteViewsFactory

Change-Id: Ib20c880bb7626565541ab4697317fcfaa2e6b5b7

13 years agoMerge "Add byte limit in addition to ratio for installs DO NOT MERGE" into honeycomb-mr1
Kenny Root [Tue, 15 Mar 2011 21:01:39 +0000 (14:01 -0700)]
Merge "Add byte limit in addition to ratio for installs DO NOT MERGE" into honeycomb-mr1

13 years agoMerge "Bug 4016329 do full string comparisons" into honeycomb-mr1
Glenn Kasten [Tue, 15 Mar 2011 20:44:58 +0000 (13:44 -0700)]
Merge "Bug 4016329 do full string comparisons" into honeycomb-mr1

13 years agoMerge "USB Manager string clean up:" into honeycomb-mr1
Mike Lockwood [Tue, 15 Mar 2011 20:34:06 +0000 (13:34 -0700)]
Merge "USB Manager string clean up:" into honeycomb-mr1

13 years agoUSB Manager string clean up:
Mike Lockwood [Tue, 15 Mar 2011 20:04:12 +0000 (16:04 -0400)]
USB Manager string clean up:

- Use "Cancel" instead of "Ignore"
- Customize the text for the "always use" checkbox for devices and accessories
- Clean up strings for AccessoryChat test program

Bug: 4074719

Change-Id: Ideec838e4c1f1a82ef4ae411c9124417ffb63165
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoMerge "CheckBoxPreferences do not fire accessibility events" into honeycomb-mr1
Svetoslav Ganov [Tue, 15 Mar 2011 20:23:17 +0000 (13:23 -0700)]
Merge "CheckBoxPreferences do not fire accessibility events" into honeycomb-mr1

13 years agoMerge "SqliteDatabase: Fix local reference leak in custom_function_callback()" into...
Mike Lockwood [Tue, 15 Mar 2011 20:20:58 +0000 (13:20 -0700)]
Merge "SqliteDatabase: Fix local reference leak in custom_function_callback()" into honeycomb-mr1

13 years agoAdd byte limit in addition to ratio for installs DO NOT MERGE
Kenny Root [Tue, 15 Mar 2011 19:43:07 +0000 (12:43 -0700)]
Add byte limit in addition to ratio for installs DO NOT MERGE

Previously you were not allowed to install anything to the internal
storage if there was less than 10% free space available on the
internal storage. This doesn't make sense on devices with huge storage
capacity, so just add in a hard-coded byte limit.

This will be cleaned up at a later time to use the same code as
DeviceStorageMonitorService to determine the limits.

Bug: 4086510
Change-Id: I39f69b5272ef44fea218e3b45171b48e2eab2480

13 years agoCheckBoxPreferences do not fire accessibility events
Svetoslav Ganov [Tue, 15 Mar 2011 19:30:16 +0000 (12:30 -0700)]
CheckBoxPreferences do not fire accessibility events

bug:4091160

We no longer allow not shown views to fire accessibility
events. Therefore, CheckBoxPreference can no longer ask its
associated checkbox to fire an accessibility event because
the latter is not attached to the view hierarchy
(i.e. not shown) by the time the CheckBoxPreference has a
chance to send an accessibility event. Instead the
CheckBoxPreference itself is responsible for firing the event.

Change-Id: Ia742882b13bf6c441cc76fa1e84b47a55cee601c

13 years agoMerge "Fix bug 4088936 - Tabs in the action bar don't seem to have a fading edge...
Adam Powell [Tue, 15 Mar 2011 19:06:45 +0000 (12:06 -0700)]
Merge "Fix bug 4088936 - Tabs in the action bar don't seem to have a fading edge" into honeycomb-mr1

13 years agoFix bug 4088936 - Tabs in the action bar don't seem to have a fading edge
Adam Powell [Tue, 15 Mar 2011 18:57:46 +0000 (11:57 -0700)]
Fix bug 4088936 - Tabs in the action bar don't seem to have a fading edge

Change-Id: I23c736ad458c721dfa86563f66b42dd5d6ca708e

13 years agoMerge "Make RS Matrix functions threadable." into honeycomb-mr1
Stephen Hines [Tue, 15 Mar 2011 18:52:36 +0000 (11:52 -0700)]
Merge "Make RS Matrix functions threadable." into honeycomb-mr1

13 years agoMerge "SurfaceTexture: disallow unsupported uses." into honeycomb-mr1
Jamie Gennis [Tue, 15 Mar 2011 18:39:24 +0000 (11:39 -0700)]
Merge "SurfaceTexture: disallow unsupported uses." into honeycomb-mr1

13 years agoSqliteDatabase: Fix local reference leak in custom_function_callback()
Mike Lockwood [Tue, 15 Mar 2011 18:04:09 +0000 (14:04 -0400)]
SqliteDatabase: Fix local reference leak in custom_function_callback()

Caused a local reference table overflow, only when deleting a large number
of files in a single SQL transaction in the media provider.

Bug: 4093346

Change-Id: I10078a5d7537c2e577763d88e909e34321945a59
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoMerge "Fix disappearing edges in lists/scrollviews/etc. Bug #4093871" into honeycomb-mr1
Romain Guy [Tue, 15 Mar 2011 18:31:22 +0000 (11:31 -0700)]
Merge "Fix disappearing edges in lists/scrollviews/etc. Bug #4093871" into honeycomb-mr1

13 years agoam e8f95e7f: docs: update device dashboard
Scott Main [Tue, 15 Mar 2011 18:28:50 +0000 (11:28 -0700)]
am e8f95e7f: docs: update device dashboard

* commit 'e8f95e7f353d6205dbb09cc440f47256604229ee':
  docs: update device dashboard

13 years agoFix disappearing edges in lists/scrollviews/etc.
Romain Guy [Tue, 15 Mar 2011 18:12:25 +0000 (11:12 -0700)]
Fix disappearing edges in lists/scrollviews/etc.
Bug #4093871

This bug was introduced by a change that modified the way fade areas
are cleared. The previous change relied on Rect::intersect() to empty
the intersected rect when the two rects don't intersect. Unfortunately
this is not what intersect() does. The fix is rather simple and
sets the layer's bounds to empty when they don't intersect with the
clip or the viewport. This has the side effect of ignoring the layer
which is the expected result.

Change-Id: Icf0038b9a476c53f8eff7084136aba3033d093e6

13 years agoMerge "Use more padding on the sides for SearchView" into honeycomb-mr1
Amith Yamasani [Tue, 15 Mar 2011 17:47:01 +0000 (10:47 -0700)]
Merge "Use more padding on the sides for SearchView" into honeycomb-mr1

13 years agoSurfaceTexture: disallow unsupported uses.
Jamie Gennis [Mon, 14 Mar 2011 22:34:04 +0000 (15:34 -0700)]
SurfaceTexture: disallow unsupported uses.

This change makes the ANativeWindow_lock NDK function error out if it is
passed an ANativeWindow with a concrete type that is not Surface.  It
also makes eglCreateWindowSurface fail if it is passed a
SurfaceTextureClient as its 'window' argument.

Bug: 4087277
Change-Id: Ie68c50c52d88f72d8a387f6c094908044c83a88c

13 years agoMerge "SurfaceTextureClient: Add ISurfaceTexture getter." into honeycomb-mr1
Jamie Gennis [Tue, 15 Mar 2011 17:34:35 +0000 (10:34 -0700)]
Merge "SurfaceTextureClient: Add ISurfaceTexture getter." into honeycomb-mr1

13 years agoMerge "ANativeWindow: add query for the concrete type." into honeycomb-mr1
Jamie Gennis [Tue, 15 Mar 2011 17:33:35 +0000 (10:33 -0700)]
Merge "ANativeWindow: add query for the concrete type." into honeycomb-mr1

13 years agodocs: update device dashboard
Scott Main [Tue, 1 Mar 2011 22:27:27 +0000 (14:27 -0800)]
docs: update device dashboard

Change-Id: I8764dc12fdba7049d0ab4229dde5d61af29a64c0

13 years agoMerge "Tapping on the week number sends the DatePicker to epoch start." into honeycom...
Svetoslav Ganov [Tue, 15 Mar 2011 06:13:49 +0000 (23:13 -0700)]
Merge "Tapping on the week number sends the DatePicker to epoch start." into honeycomb-mr1

13 years agoMerge "Remove a workaround for the data inconsistency of SystemProperties" into honey...
satok [Tue, 15 Mar 2011 05:44:23 +0000 (22:44 -0700)]
Merge "Remove a workaround for the data inconsistency of SystemProperties" into honeycomb-mr1

13 years agoMerge "Update Droid Fonts" into honeycomb-mr1
Bart Sears [Tue, 15 Mar 2011 02:24:02 +0000 (19:24 -0700)]
Merge "Update Droid Fonts" into honeycomb-mr1

13 years agoMake RS Matrix functions threadable.
Stephen Hines [Tue, 15 Mar 2011 02:15:47 +0000 (19:15 -0700)]
Make RS Matrix functions threadable.

BUG=4100079

Change-Id: I6cefa0eab42481fa974077d6aed98007f9fd87f7

13 years agoTapping on the week number sends the DatePicker to epoch start.
Svetoslav Ganov [Tue, 15 Mar 2011 01:30:39 +0000 (18:30 -0700)]
Tapping on the week number sends the DatePicker to epoch start.

bug:4093343

1. If getting a day from location in a week view fails
   the out date was cleared but the client was unaware
   of that failure. I have added a return value indicating
   where getting the day from locations was successfull.

Change-Id: I566a9ee33dfe2e64300a4b50dacc652114e01442

13 years agoMerge "Fix bug 4099023 - Phantom clicks on some websites" into honeycomb-mr1
Adam Powell [Tue, 15 Mar 2011 01:32:45 +0000 (18:32 -0700)]
Merge "Fix bug 4099023 - Phantom clicks on some websites" into honeycomb-mr1

13 years agoMerge "Updated HTML5 media playback controls Bug: 4080127" into honeycomb-mr1
Justin Ho [Tue, 15 Mar 2011 01:24:13 +0000 (18:24 -0700)]
Merge "Updated HTML5 media playback controls Bug: 4080127" into honeycomb-mr1

13 years agoMerge "Fixing naming for disabled paste assets Updated paste assets" into honeycomb-mr1
Justin Ho [Tue, 15 Mar 2011 01:24:06 +0000 (18:24 -0700)]
Merge "Fixing naming for disabled paste assets Updated paste assets" into honeycomb-mr1

13 years agoMerge "Updated textfield search assets Bug: 3321263" into honeycomb-mr1
Justin Ho [Tue, 15 Mar 2011 01:23:18 +0000 (18:23 -0700)]
Merge "Updated textfield search assets Bug: 3321263" into honeycomb-mr1

13 years agoFixing naming for disabled paste assets
Justin Ho [Tue, 15 Mar 2011 01:19:25 +0000 (18:19 -0700)]
Fixing naming for disabled paste assets
Updated paste assets

Bug: 4083486
Change-Id: I21bc469ef42c4eca4bcbea953f3c9e3a72b13388

13 years agoMerge "Fix rendering artifact in edge fades. Bug #4092053" into honeycomb-mr1
Romain Guy [Tue, 15 Mar 2011 01:16:39 +0000 (18:16 -0700)]
Merge "Fix rendering artifact in edge fades. Bug #4092053" into honeycomb-mr1

13 years agoFix rendering artifact in edge fades.
Romain Guy [Tue, 15 Mar 2011 01:05:08 +0000 (18:05 -0700)]
Fix rendering artifact in edge fades.
Bug #4092053

The problem always existed but was made visible by partial invalidation.
When saving a layer, the renderer would try to postpone glClear()
operations until the next drawing command. This however does not work
since the clip might have changed. The fix is rather simple and
simply gets rid of this "optimization" (that turned out to be
usless anyway given how View issues saveLayer() calls.)

This change also fixes an issue with gradients (color stops where
not properly computed when using a null stops array) and optimizes
display lists rendering (quickly rejects larger portions of the
tree to avoid executing unnecessary code.)

Change-Id: I0f5b5f6e1220d41a09cc2fa84c212b0b4afd9c46

13 years agoUpdated HTML5 media playback controls
Justin Ho [Tue, 15 Mar 2011 01:01:36 +0000 (18:01 -0700)]
Updated HTML5 media playback controls
Bug: 4080127

Change-Id: I89e7822f18c11536aea92adf4a01a5af61ed1186

13 years agoBug 4016329 do full string comparisons
Glenn Kasten [Mon, 14 Mar 2011 18:32:29 +0000 (11:32 -0700)]
Bug 4016329 do full string comparisons

Use full string comparisons instead of partial for
  file extension and MIME type.
Do case-insensitive comparison of MIME type and file extensions.
Fix error in comment for String8::getPathExtension.
Remove dead code -- StringTokenizer is unused.

Change-Id: I322be6235abbdaab5f7eafa48926dbb2cf46dc29

13 years agoFix bug 4099023 - Phantom clicks on some websites
Adam Powell [Tue, 15 Mar 2011 00:54:10 +0000 (17:54 -0700)]
Fix bug 4099023 - Phantom clicks on some websites

Don't forward touch events when webkit has already claimed it doesn't
want them.

Change-Id: Ib00f9014bb23ff544dde6ec9a50ce71ebcb2bb26

13 years agoam 2f1d2ce1: Merge "Doc change: updated home tab announce post-GDC" into honeycomb
Dirk Dougherty [Tue, 15 Mar 2011 00:50:06 +0000 (17:50 -0700)]
am 2f1d2ce1: Merge "Doc change: updated home tab announce post-GDC" into honeycomb

* commit '2f1d2ce1f2d58f959adaf8ce514d39970210331a':
  Doc change: updated home tab announce post-GDC

13 years agoSurfaceTextureClient: Add ISurfaceTexture getter.
Jamie Gennis [Mon, 14 Mar 2011 22:08:53 +0000 (15:08 -0700)]
SurfaceTextureClient: Add ISurfaceTexture getter.

This change adds a getter method to SurfaceTextureClient to get the
ISurfaceTexture object with which the SurfaceTextureClient is
communicating.

Bug: 4086509
Change-Id: Ifec621e0fe5392a5be56b2348fdc54067cbebcdd

13 years agoANativeWindow: add query for the concrete type.
Jamie Gennis [Mon, 14 Mar 2011 22:00:06 +0000 (15:00 -0700)]
ANativeWindow: add query for the concrete type.

This change adds a query to the ANativeWindow interface for getting the
concrete type of the ANativeWindow.

Bug: 4086509
Change-Id: I64aa86d72fbca3b52a98e1fc35608737781a3178

13 years agoMerge "Doc change: updated home tab announce post-GDC" into honeycomb
Dirk Dougherty [Tue, 15 Mar 2011 00:44:28 +0000 (17:44 -0700)]
Merge "Doc change: updated home tab announce post-GDC" into honeycomb

13 years agoMerge "SurfaceTexture: fix transform matrix computation." into honeycomb-mr1
Jamie Gennis [Tue, 15 Mar 2011 00:42:48 +0000 (17:42 -0700)]
Merge "SurfaceTexture: fix transform matrix computation." into honeycomb-mr1

13 years agoMerge "Fix broadcast receiver leak in UsbConfirmActivity" into honeycomb-mr1
Mike Lockwood [Tue, 15 Mar 2011 00:42:04 +0000 (17:42 -0700)]
Merge "Fix broadcast receiver leak in UsbConfirmActivity" into honeycomb-mr1

13 years agoMerge "Add support for USB accessory serial numbers" into honeycomb-mr1
Mike Lockwood [Tue, 15 Mar 2011 00:39:43 +0000 (17:39 -0700)]
Merge "Add support for USB accessory serial numbers" into honeycomb-mr1

13 years agoDoc change: updated home tab announce post-GDC
Dirk Dougherty [Tue, 15 Mar 2011 00:39:35 +0000 (17:39 -0700)]
Doc change: updated home tab announce post-GDC

Change-Id: I28d5d88431f5bf456d0b3461319f27e4d4ec1eac

13 years agoMerge "Fix for Don't allow adding 64-bit files(4086708)" into honeycomb-mr1
Shailendra Yadav [Tue, 15 Mar 2011 00:23:05 +0000 (17:23 -0700)]
Merge "Fix for Don't allow adding 64-bit files(4086708)" into honeycomb-mr1

13 years agoUpdate Droid Fonts
Bart Sears [Mon, 14 Mar 2011 01:08:56 +0000 (18:08 -0700)]
Update Droid Fonts

DroidSans-Bold.ttf
DroidSans.ttf
DroidSansMono.ttf
DroidSerif-Bold.ttf
DroidSerif-BoldItalic.ttf
DroidSerif-Italic.ttf
DroidSerif-Regular.ttf
 - Fix the Tcedilla glyphs

DroidSansFallback
 - Add Dingbat Symbols
 - Add Currency Symbols
 - Add International Phonetic Alphabet (IPA)
 - Add U+02BB Modifier letter turned comma
 - Add U+2011 Non-breaking hyphen

DroidSansArabic.ttf
 - Updated Arabic font
 - Added support for initial and medial forms of Persian (Farsi) yeh (glyphs U+FBFE and U+FBFF)

Bug: 3315583
Change-Id: I7667f9b83fff32a1d97adfbea9a4db5c4dccb160

13 years agoFix broadcast receiver leak in UsbConfirmActivity
Mike Lockwood [Tue, 15 Mar 2011 00:17:13 +0000 (20:17 -0400)]
Fix broadcast receiver leak in UsbConfirmActivity

Change-Id: Ie1db70d9a57f16f192178583871994467f50a636
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoAdd support for USB accessory serial numbers
Mike Lockwood [Mon, 14 Mar 2011 22:24:35 +0000 (18:24 -0400)]
Add support for USB accessory serial numbers

Change-Id: I47b79f091b300ced60bfc61eff2f771139663aae
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoMerge "For issue 4082089 Add more info and error events into the DRM framework" into...
Gloria Wang [Tue, 15 Mar 2011 00:02:58 +0000 (17:02 -0700)]
Merge "For issue 4082089 Add more info and error events into the DRM framework" into honeycomb-mr1

13 years agoam c2366c89: Merge "docs: update optimization guide with more info most importantly...
Scott Main [Mon, 14 Mar 2011 23:42:28 +0000 (16:42 -0700)]
am c2366c89: Merge "docs: update optimization guide with more info most importantly, information about using <compatible-screens> also add sample code to <compatible-screens> doc" into honeycomb

* commit 'c2366c898abacb4b6e3723f6cad522615a2b304e':
  docs: update optimization guide with more info most importantly, information about using <compatible-screens> also add sample code to <compatible-screens> doc

13 years agoam 7b013bb5: docs: release notes for ADT 10.0.1
Scott Main [Mon, 14 Mar 2011 23:42:17 +0000 (16:42 -0700)]
am 7b013bb5: docs: release notes for ADT 10.0.1

* commit '7b013bb579a9bc372b30e2e520f6e200f6c2b1b9':
  docs: release notes for ADT 10.0.1

13 years agoMerge "docs: update optimization guide with more info most importantly, information...
Scott Main [Mon, 14 Mar 2011 23:08:09 +0000 (16:08 -0700)]
Merge "docs: update optimization guide with more info most importantly, information about using <compatible-screens> also add sample code to <compatible-screens> doc" into honeycomb

13 years agodocs: update optimization guide with more info
Scott Main [Thu, 24 Feb 2011 19:16:30 +0000 (11:16 -0800)]
docs: update optimization guide with more info
most importantly, information about using <compatible-screens>
also add sample code to <compatible-screens> doc

Change-Id: I62f6ceee4e358a18f5e513cf54c9c96f27470ae9

13 years agodocs: release notes for ADT 10.0.1
Scott Main [Mon, 14 Mar 2011 21:17:31 +0000 (14:17 -0700)]
docs: release notes for ADT 10.0.1

Change-Id: If2a95c306e935c00944b0722b17b62315625ff93

13 years agoFor issue 4082089
Gloria Wang [Mon, 14 Mar 2011 19:04:15 +0000 (12:04 -0700)]
For issue 4082089
Add more info and error events into the DRM framework

Change-Id: I0bb3251c5947fc8e977d478e1ba46b242cb97e9d

13 years agoMerge "Adding placeholders for the large play button used by the browser for HTML5...
Nicolas Roard [Mon, 14 Mar 2011 22:26:58 +0000 (15:26 -0700)]
Merge "Adding placeholders for the large play button used by the browser for HTML5 video (the button will appear surimposed to the video)" into honeycomb-mr1

13 years agoMerge "LayoutLib: Fix Arc rendering." into honeycomb-mr1
Xavier Ducrohet [Mon, 14 Mar 2011 22:24:20 +0000 (15:24 -0700)]
Merge "LayoutLib: Fix Arc rendering." into honeycomb-mr1

13 years agoAdding placeholders for the large play button
Nicolas Roard [Mon, 14 Mar 2011 22:13:34 +0000 (15:13 -0700)]
Adding placeholders for the large play button
used by the browser for HTML5 video (the button will appear
surimposed to the video)

bug:4080127
Change-Id: I681d2a4a3de1b2db64ffb3bbf4ce883320c771f1

13 years agoLayoutLib: Fix Arc rendering.
Xavier Ducrohet [Mon, 14 Mar 2011 22:12:21 +0000 (15:12 -0700)]
LayoutLib: Fix Arc rendering.

Looks like Java2D and Skia go in different directions for angles.

Change-Id: Ia0c9c70cd66c9a0941fa9921fecf8e4e83538af3

13 years agoMerge "Adding placeholders for the fullscreen button used by the browser for HTML5...
Nicolas Roard [Mon, 14 Mar 2011 22:11:55 +0000 (15:11 -0700)]
Merge "Adding placeholders for the fullscreen button used by the browser for HTML5 video" into honeycomb-mr1

13 years agoFix for Don't allow adding 64-bit files(4086708)
Shailendra Yadav [Sat, 12 Mar 2011 06:15:16 +0000 (22:15 -0800)]
Fix for Don't allow adding 64-bit files(4086708)

Change-Id: I880c89b565dd8172fdf077a514d5b3d03eab7d9e

13 years agoUse more padding on the sides for SearchView
Amith Yamasani [Mon, 14 Mar 2011 21:09:20 +0000 (14:09 -0700)]
Use more padding on the sides for SearchView

Bug: 4088716

Change-Id: I2e49a38939c13a5fa57333dc745a82fdf3ead8f8

13 years agoMerge "gl2_yuvtex: use the gralloc-provided stride." into honeycomb-mr1
Jamie Gennis [Mon, 14 Mar 2011 21:49:37 +0000 (14:49 -0700)]
Merge "gl2_yuvtex: use the gralloc-provided stride." into honeycomb-mr1

13 years agoMerge "b/3392594 keep the remain touch points when one is ended." into honeycomb-mr1
Huahui Wu [Mon, 14 Mar 2011 21:43:46 +0000 (14:43 -0700)]
Merge "b/3392594 keep the remain touch points when one is ended." into honeycomb-mr1

13 years agoam abdf0d53: docs: update search dev guide with SearcView widget
Scott Main [Mon, 14 Mar 2011 21:36:56 +0000 (14:36 -0700)]
am abdf0d53: docs: update search dev guide with SearcView widget

* commit 'abdf0d533c292709e51cee2c1213d5e44baca963':
  docs: update search dev guide with SearcView widget

13 years agoUpdated textfield search assets
Justin Ho [Mon, 14 Mar 2011 21:19:17 +0000 (14:19 -0700)]
Updated textfield search assets
Bug: 3321263

Change-Id: I3e453f5d969cc94b11ec51a3807bc74948473833

13 years agoMerge "Import revised translations. DO NOT MERGE" into honeycomb-mr1
Eric Fischer [Mon, 14 Mar 2011 21:17:01 +0000 (14:17 -0700)]
Merge "Import revised translations.  DO NOT MERGE" into honeycomb-mr1

13 years agoMerge "Add "new incognito window" translations." into honeycomb-mr1
Eric Fischer [Mon, 14 Mar 2011 21:13:29 +0000 (14:13 -0700)]
Merge "Add "new incognito window" translations." into honeycomb-mr1

13 years agoImport revised translations. DO NOT MERGE
Eric Fischer [Mon, 14 Mar 2011 21:06:03 +0000 (14:06 -0700)]
Import revised translations.  DO NOT MERGE

Change-Id: I5d1b5c2891ffd19e45dbc6d20caf3449147f7218

13 years agoAdding placeholders for the fullscreen button
Nicolas Roard [Mon, 14 Mar 2011 20:59:04 +0000 (13:59 -0700)]
Adding placeholders for the fullscreen button
used by the browser for HTML5 video

bug:4080127
Change-Id: I8fedef7eb0442de547ff083f15f6fcc7a9fea791

13 years agodocs: update search dev guide with SearcView widget
Scott Main [Tue, 8 Feb 2011 18:20:27 +0000 (10:20 -0800)]
docs: update search dev guide with SearcView widget

Change-Id: Ieb0ccdb78760a3c90df2381e647463f7532b0efc

13 years agob/3392594 keep the remain touch points when one is ended.
Huahui Wu [Mon, 14 Mar 2011 01:13:42 +0000 (18:13 -0700)]
b/3392594 keep the remain touch points when one is ended.

This is the Java side code change for b/3392594.
It adds an action index into the touch event data and pass it
to the native side.

Change-Id: Ibb393e62a590d0fff1dd3172041748e2b10501d6

13 years agoRemove a workaround for the data inconsistency of SystemProperties
satok [Mon, 14 Mar 2011 19:38:34 +0000 (12:38 -0700)]
Remove a workaround for the data inconsistency of SystemProperties

Bug: 3473532
Reverting: Ie3f5b484b5574e10a4

Depends on Bug: 3511230
This must be fixed before submitting this CL.

Change-Id: I435a294a818bec5675f0ada00d81c1b3e37d1dce

13 years agoMerge "Backup and restore IP and proxy settings" into honeycomb-mr1
Irfan Sheriff [Mon, 14 Mar 2011 18:48:35 +0000 (11:48 -0700)]
Merge "Backup and restore IP and proxy settings" into honeycomb-mr1

13 years agoSurfaceTexture: fix transform matrix computation.
Jamie Gennis [Fri, 11 Mar 2011 00:24:46 +0000 (16:24 -0800)]
SurfaceTexture: fix transform matrix computation.

This change fixes the transform matrix computation in SurfaceTexture
when a crop rectangle is specified by the image producer.  It also adds
a test for this case as well as a basic test for the uncropped case.

Bug: 4070775
Change-Id: I1481c9ce9d08fe7f2bff86d3afdeab7d4002b157

13 years agogl2_yuvtex: use the gralloc-provided stride.
Jamie Gennis [Thu, 10 Mar 2011 22:49:00 +0000 (14:49 -0800)]
gl2_yuvtex: use the gralloc-provided stride.

This change fixes the gl2_yuvtex test to use the stride chosen by the
gralloc implementation rather than hard-coding it.

Bug: 4081948
Change-Id: If7c96a20fc3fb1df2ff25e6afaa9f34dbad2002c

13 years agoMerge "Paste popup uses a disabled icon when there is nothing to paste." into honeyco...
Gilles Debunne [Mon, 14 Mar 2011 18:26:36 +0000 (11:26 -0700)]
Merge "Paste popup uses a disabled icon when there is nothing to paste." into honeycomb-mr1

13 years agoMerge "Partial fix for issue 3515250: video chat and SCO" into honeycomb-mr1
Eric Laurent [Mon, 14 Mar 2011 18:21:50 +0000 (11:21 -0700)]
Merge "Partial fix for issue 3515250: video chat and SCO" into honeycomb-mr1

13 years agoAdd "new incognito window" translations.
Eric Fischer [Mon, 14 Mar 2011 18:17:02 +0000 (11:17 -0700)]
Add "new incognito window" translations.

These are all unfortunately for the "window" version instead of the
"tab" version because I didn't realize that there were two versions.

Change-Id: If9a4bd6d0d70fe8992b4bf63e674865080f8c597

13 years agoMerge "MtpDevice: Handle zero length packets in readResponse()" into honeycomb-mr1
Mike Lockwood [Mon, 14 Mar 2011 16:43:14 +0000 (09:43 -0700)]
Merge "MtpDevice: Handle zero length packets in readResponse()" into honeycomb-mr1

13 years agoMerge "- Some change on the DrmManager in order to support feature request 4082089...
Gloria Wang [Mon, 14 Mar 2011 16:32:58 +0000 (09:32 -0700)]
Merge "- Some change on the DrmManager in order to support feature request 4082089.     In DrmManager, we currently lock both processDrmInfo() and onInfo() which is     ok for now since processDrmInfo() is async call, and it will return without     waiting for onInfo() call. However, if we send an event in processDrmInfo(),     we will got deadlock here because we need to invoke onInf() which will wait     for processDrmInfo() to release the lock. Use different lock for onInfo(). - Remove some redundent mutex lock." into honeycomb-mr1

13 years agoMtpDevice: Handle zero length packets in readResponse()
Mike Lockwood [Mon, 14 Mar 2011 14:33:22 +0000 (10:33 -0400)]
MtpDevice: Handle zero length packets in readResponse()

Bug: 3509060

Change-Id: I291eefeaa667688c9e6e75da74ec3025b84065e9
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoMerge "Add a dialog to ask user to start an application for a USB device or accessory...
Mike Lockwood [Mon, 14 Mar 2011 11:02:50 +0000 (04:02 -0700)]
Merge "Add a dialog to ask user to start an application for a USB device or accessory" into honeycomb-mr1

13 years agoMerge "MTP host: Fix problems reading large data packets" into honeycomb-mr1
Mike Lockwood [Mon, 14 Mar 2011 11:02:29 +0000 (04:02 -0700)]
Merge "MTP host: Fix problems reading large data packets" into honeycomb-mr1

13 years agoAdd a dialog to ask user to start an application for a USB device or accessory
Mike Lockwood [Sun, 13 Mar 2011 21:26:52 +0000 (17:26 -0400)]
Add a dialog to ask user to start an application for a USB device or accessory

This is used when there is only one application available and the user has
not chosen to start it by default.
If more than one application is available we continue to use UsbResolverActivity

Bug: 4074719

Change-Id: Id61f2ccc6de5b9ac70fb4670006ff1fee2028d55
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoPartial fix for issue 3515250: video chat and SCO
Eric Laurent [Sat, 12 Mar 2011 23:59:51 +0000 (15:59 -0800)]
Partial fix for issue 3515250: video chat and SCO

Do not call directly into AudioSystem in setBluetoothScoOn() but
send a message to the AudioService handler instead. As the
procedure to switch audio path to BT SCO can last some time we should
not block the caller which can run in the UI thread.

Change-Id: I6ac4b5a934d69781db3aebe5d0e8137b52a0ada4

13 years agoMTP host: Fix problems reading large data packets
Mike Lockwood [Sat, 12 Mar 2011 19:03:23 +0000 (14:03 -0500)]
MTP host: Fix problems reading large data packets

Fixes problem reading large thumbnails via PTP

Bug: 4065217

Change-Id: I643672512829c93ab0827091f39103dbb1918071
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years agoMerge "Add a test app: quota exceeded doing a backup" into honeycomb-mr1
Christopher Tate [Sat, 12 Mar 2011 02:22:37 +0000 (18:22 -0800)]
Merge "Add a test app: quota exceeded doing a backup" into honeycomb-mr1

13 years agoMerge "Fix issues #4087362 and #4087356" into honeycomb-mr1
Dianne Hackborn [Sat, 12 Mar 2011 02:01:47 +0000 (18:01 -0800)]
Merge "Fix issues #4087362 and #4087356" into honeycomb-mr1

13 years agoAdd a test app: quota exceeded doing a backup
Christopher Tate [Fri, 11 Mar 2011 20:39:17 +0000 (12:39 -0800)]
Add a test app: quota exceeded doing a backup

This is a simple test app (a clone of the Backup/Restore sample code)
that deliberately backs up 20 megabytes of data every time it performs
a backup pass.  This is to trigger the quota-exceeded logic both on
the client and on the backend, for testing purposes.

Change-Id: I01f04d0f85c827baadf1990c09643d5eb5f88266

13 years agoMerge "USB: minor cleanup work" into honeycomb-mr1
Mike Lockwood [Sat, 12 Mar 2011 01:52:36 +0000 (17:52 -0800)]
Merge "USB: minor cleanup work" into honeycomb-mr1

13 years agoMerge "Fix bug 4083825 - Gesture zoom locked along content edges under some circumsta...
Adam Powell [Sat, 12 Mar 2011 00:39:42 +0000 (16:39 -0800)]
Merge "Fix bug 4083825 - Gesture zoom locked along content edges under some circumstances" into honeycomb-mr1

13 years agoMerge "Bug 3515073 Add ANativeWindow_fromSurfaceTexture" into honeycomb-mr1
Glenn Kasten [Sat, 12 Mar 2011 00:31:55 +0000 (16:31 -0800)]
Merge "Bug 3515073 Add ANativeWindow_fromSurfaceTexture" into honeycomb-mr1

13 years agoUSB: minor cleanup work
Mike Lockwood [Fri, 11 Mar 2011 23:39:03 +0000 (18:39 -0500)]
USB: minor cleanup work

Bug: 4067029

Change-Id: Icd8f912ab8732b5f770a217b9b3731092597ce02
Signed-off-by: Mike Lockwood <lockwood@android.com>
13 years ago- Some change on the DrmManager in order to support feature request 4082089.
Gloria Wang [Fri, 11 Mar 2011 22:07:21 +0000 (14:07 -0800)]
- Some change on the DrmManager in order to support feature request 4082089.
    In DrmManager, we currently lock both processDrmInfo() and onInfo() which is
    ok for now since processDrmInfo() is async call, and it will return without
    waiting for onInfo() call. However, if we send an event in processDrmInfo(),
    we will got deadlock here because we need to invoke onInf() which will wait
    for processDrmInfo() to release the lock. Use different lock for onInfo().
- Remove some redundent mutex lock.

Change-Id: I59c794f95ba1693425723224114fa975cf9b235f

13 years agoMerge "HTML5 Video improvements" into honeycomb-mr1
Nicolas Roard [Fri, 11 Mar 2011 22:35:32 +0000 (14:35 -0800)]
Merge "HTML5 Video improvements" into honeycomb-mr1

13 years agoHTML5 Video improvements
Nicolas Roard [Fri, 11 Mar 2011 22:29:05 +0000 (14:29 -0800)]
HTML5 Video improvements

- add support for the fullscreen button

counterpart webkit CL: https://android-git.corp.google.com/g/#change,101484

bug:2126902
Change-Id: Ibcc8c5b115089ad1f30ebe76e4d5c31b2d6389f9

13 years agoFix issues #4087362 and #4087356
Dianne Hackborn [Fri, 11 Mar 2011 21:17:57 +0000 (13:17 -0800)]
Fix issues #4087362 and #4087356

4087362: Provide a safer way to call DialogFragment.dismiss()
4087356: PreferenceActivity.invalidateHeaders() can cause
IllegalStateException: Can not perform this action after onSaveInstanceState

These are very safe; the first is just a new public API that
allows you to use an existing feature in DialogFragment, and the
second just uses the version of commit that avoids the failure if
happening at a point where the operation would be lost if restored
from the last state (which is no big deal for preferences).

Change-Id: I53971c9fb1efdcd599694cdcd4585b81afc156b8

13 years agoMerge "Clear default for USB device/accessory when new matching app is installed...
Mike Lockwood [Fri, 11 Mar 2011 21:24:01 +0000 (13:24 -0800)]
Merge "Clear default for USB device/accessory when new matching app is installed" into honeycomb-mr1