OSDN Git Service

android-x86/frameworks-base.git
12 years agoMerge "Fixing test affected by API renaming."
Alex Sakhartchouk [Tue, 17 Apr 2012 17:34:41 +0000 (10:34 -0700)]
Merge "Fixing test affected by API renaming."

12 years agoMerge "Add webview tracing bit"
Chris Craik [Tue, 17 Apr 2012 17:04:44 +0000 (10:04 -0700)]
Merge "Add webview tracing bit"

12 years agoam 535b0f10: am 57e351f5: am 3d467946: Merge "Updated "Making your App Location Aware...
Fred Chung [Tue, 17 Apr 2012 16:56:55 +0000 (09:56 -0700)]
am 535b0f10: am 57e351f5: am 3d467946: Merge "Updated "Making your App Location Aware" class to include information on location provider enable check." into ics-mr1

* commit '535b0f10aaffc0195da16531fc33644760dbcf1d':

12 years agoam 5a1cf366: am fe71253b: am 3d467946: Merge "Updated "Making your App Location Aware...
Fred Chung [Tue, 17 Apr 2012 16:54:27 +0000 (09:54 -0700)]
am 5a1cf366: am fe71253b: am 3d467946: Merge "Updated "Making your App Location Aware" class to include information on location provider enable check." into ics-mr1

* commit '5a1cf3661c9b47ca682511f248987e680768e530':
  Updated "Making your App Location Aware" class to include information on location provider enable check.

12 years agoam 57e351f5: am 3d467946: Merge "Updated "Making your App Location Aware" class to...
Fred Chung [Tue, 17 Apr 2012 16:52:44 +0000 (09:52 -0700)]
am 57e351f5: am 3d467946: Merge "Updated "Making your App Location Aware" class to include information on location provider enable check." into ics-mr1

* commit '57e351f57cc296ed3ef29bdf071713689fc4516e':

12 years agoam fe71253b: am 3d467946: Merge "Updated "Making your App Location Aware" class to...
Fred Chung [Tue, 17 Apr 2012 16:51:55 +0000 (09:51 -0700)]
am fe71253b: am 3d467946: Merge "Updated "Making your App Location Aware" class to include information on location provider enable check." into ics-mr1

* commit 'fe71253b334e105a9f67dcef6f8790c246725976':
  Updated "Making your App Location Aware" class to include information on location provider enable check.

12 years agoam 3d467946: Merge "Updated "Making your App Location Aware" class to include informa...
Fred Chung [Tue, 17 Apr 2012 16:48:44 +0000 (09:48 -0700)]
am 3d467946: Merge "Updated "Making your App Location Aware" class to include information on location provider enable check." into ics-mr1

* commit '3d467946b2950c6a5e4946c49a33cf4c8d68df20':
  Updated "Making your App Location Aware" class to include information on location provider enable check.

12 years agoam 3d467946: Merge "Updated "Making your App Location Aware" class to include informa...
Fred Chung [Tue, 17 Apr 2012 16:48:01 +0000 (09:48 -0700)]
am 3d467946: Merge "Updated "Making your App Location Aware" class to include information on location provider enable check." into ics-mr1

* commit '3d467946b2950c6a5e4946c49a33cf4c8d68df20':
  Updated "Making your App Location Aware" class to include information on location provider enable check.

12 years agoMerge "Updated "Making your App Location Aware" class to include information on locat...
Fred Chung [Tue, 17 Apr 2012 16:46:11 +0000 (09:46 -0700)]
Merge "Updated "Making your App Location Aware" class to include information on location provider enable check." into ics-mr1

12 years agoA layout that switches between its children based on the requested layout height.
Chris Wren [Fri, 30 Mar 2012 22:28:14 +0000 (18:28 -0400)]
A layout that switches between its children based on the requested layout height.

Change-Id: I5a4e5892fbed7cab2470e458a38accbbcb05ae51

12 years agoMerge "Introduce cachedPhotoIcon for notification's large icon"
Daisuke Miyakawa [Tue, 17 Apr 2012 15:52:46 +0000 (08:52 -0700)]
Merge "Introduce cachedPhotoIcon for notification's large icon"

12 years agoMerge "Clean up JavaDoc for WebView.getZoomControls()"
Steve Block [Tue, 17 Apr 2012 12:08:04 +0000 (05:08 -0700)]
Merge "Clean up JavaDoc for WebView.getZoomControls()"

12 years agoClean up JavaDoc for WebView.getZoomControls()
Steve Block [Mon, 16 Apr 2012 13:10:54 +0000 (14:10 +0100)]
Clean up JavaDoc for WebView.getZoomControls()

Bug: 5461416
Change-Id: I4f2b5c9e4b4c2b1a38d678cb6756f128670ee490

12 years agoUpdated "Making your App Location Aware" class to include information on location...
Fred Chung [Mon, 16 Apr 2012 07:40:06 +0000 (00:40 -0700)]
Updated "Making your App Location Aware" class to include information on location provider enable check.

Change-Id: Ie6e966b4204eed60f518759480cebc945f87d91f

12 years agoMerge "Get rid of "isSentenceLevelSpellCheckSupported""
satok [Tue, 17 Apr 2012 05:07:45 +0000 (22:07 -0700)]
Merge "Get rid of "isSentenceLevelSpellCheckSupported""

12 years agoMerge "Fixing a regression I have introduced."
Svetoslav Ganov [Tue, 17 Apr 2012 02:30:45 +0000 (19:30 -0700)]
Merge "Fixing a regression I have introduced."

12 years agoFixing a regression I have introduced.
Svetoslav Ganov [Tue, 17 Apr 2012 02:28:22 +0000 (19:28 -0700)]
Fixing a regression I have introduced.

bug:6344558

Change-Id: Ie726e091942e337962baa052953002be724068b1

12 years agoMerge "Fix ssid fetch"
Irfan Sheriff [Tue, 17 Apr 2012 02:25:03 +0000 (19:25 -0700)]
Merge "Fix ssid fetch"

12 years agoMerge "Log messages in dump"
Irfan Sheriff [Tue, 17 Apr 2012 02:24:55 +0000 (19:24 -0700)]
Merge "Log messages in dump"

12 years agoMerge "Fixing broken add focusables behavior I have introduced."
Svetoslav Ganov [Tue, 17 Apr 2012 02:15:27 +0000 (19:15 -0700)]
Merge "Fixing broken add focusables behavior I have introduced."

12 years agoFixing broken add focusables behavior I have introduced.
Svetoslav Ganov [Tue, 17 Apr 2012 02:10:30 +0000 (19:10 -0700)]
Fixing broken add focusables behavior I have introduced.

bug:6344608

Change-Id: I1d241c02bc22c5ef3f4b4b69a756772e8b2ef902

12 years agoMerge "Build junit API docs from external/junit."
Brett Chabot [Tue, 17 Apr 2012 01:35:43 +0000 (18:35 -0700)]
Merge "Build junit API docs from external/junit."

12 years agoBuild junit API docs from external/junit.
Brett Chabot [Mon, 16 Apr 2012 17:13:59 +0000 (10:13 -0700)]
Build junit API docs from external/junit.

Bug 5826326

Change-Id: I67d18cacf0c4e908ec41dbed483314ece8b72ceb

12 years agoMake ACTION_SEND and ACTION_SEND_MULTIPLE build full clip items.
Dianne Hackborn [Sat, 14 Apr 2012 00:32:18 +0000 (17:32 -0700)]
Make ACTION_SEND and ACTION_SEND_MULTIPLE build full clip items.

The current code was just for transferring URI grants.  This change
makes it so it propagates all of the relevant extra data into the
ClipData, so developers can just retrieve the ClipData for all of
their data needs.

Change-Id: I36a050c7beae325aceb84518337f878c337d8b86

12 years agoMerge "Add new scale-up window manager animation."
Dianne Hackborn [Tue, 17 Apr 2012 00:34:25 +0000 (17:34 -0700)]
Merge "Add new scale-up window manager animation."

12 years agoAdd new scale-up window manager animation.
Dianne Hackborn [Mon, 16 Apr 2012 23:28:22 +0000 (16:28 -0700)]
Add new scale-up window manager animation.

Like zoom thumbnail, but without the thumbnail.

Change-Id: I9486dd204398b87c9e70ff0d05d03f4a22449cd6

12 years agoMerge "Add new aapt dump badging output explaining implicit badging."
Dianne Hackborn [Tue, 17 Apr 2012 00:32:18 +0000 (17:32 -0700)]
Merge "Add new aapt dump badging output explaining implicit badging."

12 years agoFix ssid fetch
Irfan Sheriff [Mon, 16 Apr 2012 23:36:59 +0000 (16:36 -0700)]
Fix ssid fetch

Change-Id: Iee5ee5f53bea7dea219b41735cd169389ca7e719

12 years agoLog messages in dump
Irfan Sheriff [Mon, 16 Apr 2012 23:47:10 +0000 (16:47 -0700)]
Log messages in dump

Remove event logging and add messages in dump

Change-Id: Ic79c68443bac9b7257644ed6941853f44a9b0661

12 years agoMerge "Improve GLSurfaceView Pausing."
Jack Palevich [Mon, 16 Apr 2012 23:31:47 +0000 (16:31 -0700)]
Merge "Improve GLSurfaceView Pausing."

12 years agoMerge "Minor doc fix."
Philip Milne [Mon, 16 Apr 2012 23:28:16 +0000 (16:28 -0700)]
Merge "Minor doc fix."

12 years agoMinor doc fix.
Philip Milne [Mon, 16 Apr 2012 23:12:19 +0000 (16:12 -0700)]
Minor doc fix.

Change-Id: I8f20c4751b599e0108c9373caef7e672d1cd4821

12 years agoAdd webview tracing bit
Chris Craik [Mon, 16 Apr 2012 23:08:40 +0000 (16:08 -0700)]
Add webview tracing bit

Change-Id: I7e292cf780fa2e59f183debb0e7e2bc61f27543d

12 years agoIntroduce cachedPhotoIcon for notification's large icon
Daisuke Miyakawa [Mon, 16 Apr 2012 21:18:09 +0000 (14:18 -0700)]
Introduce cachedPhotoIcon for notification's large icon

Bug: 6336293
Change-Id: I492384fdb819dfd6574b0dbc84a0324c917c392c

12 years agoMerge "Refactor SensorManager to move non-API bits into a subclass."
Jeff Brown [Mon, 16 Apr 2012 22:46:47 +0000 (15:46 -0700)]
Merge "Refactor SensorManager to move non-API bits into a subclass."

12 years agoMerge "Added API to replace unicoded digits to ascii numbers"
Jake Hamby [Mon, 16 Apr 2012 22:10:18 +0000 (15:10 -0700)]
Merge "Added API to replace unicoded digits to ascii numbers"

12 years agoMerge "Convert Arabic phone numbers to ASCII when sending SMS."
Jake Hamby [Mon, 16 Apr 2012 22:10:07 +0000 (15:10 -0700)]
Merge "Convert Arabic phone numbers to ASCII when sending SMS."

12 years agoAdded API to replace unicoded digits to ascii numbers
jshin [Fri, 13 Jan 2012 18:25:16 +0000 (10:25 -0800)]
Added API to replace unicoded digits to ascii numbers

Users can enter arabic phone number or click arabic phone number
to send MMS. Works for generic Unicode digits (full-width, etc.).

bug:5615791
Change-Id: Ieec8c5c6c3736ee2b4ac8ddf17f8c41b2001460e

Signed-off-by: Jake Hamby <jhamby@google.com>
12 years agoConvert Arabic phone numbers to ASCII when sending SMS.
Jake Hamby [Fri, 13 Jan 2012 21:14:39 +0000 (13:14 -0800)]
Convert Arabic phone numbers to ASCII when sending SMS.

Modify PhoneNumberUtils to automatically convert non-ASCII digits,
such as Arabic-Indic numbers, CJK full-width digits, etc., to ASCII
in normalizeNumber(), extractNetworkPortion(), and stripSeparators().

This enables the SMS application to support sending SMS's to phone
numbers written with Arabic, or other non-ASCII digits. The number will
be converted to ASCII digits and formatted for the user according to the
country formatting rules.

Bug: 5615791
Change-Id: I42039285db5795b1dda22e4251f54af302e27f13

Signed-off-by: Jake Hamby <jhamby@google.com>
12 years agoMerge "Add # of changed rows to executeForChangedRowCount log"
Makoto Onuki [Mon, 16 Apr 2012 21:57:34 +0000 (14:57 -0700)]
Merge "Add # of changed rows to executeForChangedRowCount log"

12 years agoMerge "Build Smoke tests against the SDK."
Brett Chabot [Mon, 16 Apr 2012 21:37:24 +0000 (14:37 -0700)]
Merge "Build Smoke tests against the SDK."

12 years agoAdd # of changed rows to executeForChangedRowCount log
Makoto Onuki [Mon, 16 Apr 2012 20:46:15 +0000 (13:46 -0700)]
Add # of changed rows to executeForChangedRowCount log

Change-Id: I240849f8e90490bbb6f73bbf7047e71254c83f0c

12 years agoMerge "Unhide new media related java APIs."
Andreas Huber [Mon, 16 Apr 2012 21:06:05 +0000 (14:06 -0700)]
Merge "Unhide new media related java APIs."

12 years agoMerge "Import translations. DO NOT MERGE"
Eric Fischer [Mon, 16 Apr 2012 20:41:23 +0000 (13:41 -0700)]
Merge "Import translations. DO NOT MERGE"

12 years agoMerge "Import translations. DO NOT MERGE"
Eric Fischer [Mon, 16 Apr 2012 20:40:53 +0000 (13:40 -0700)]
Merge "Import translations. DO NOT MERGE"

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Mon, 16 Apr 2012 20:38:47 +0000 (13:38 -0700)]
Import translations. DO NOT MERGE

Change-Id: I040b3101c38af0ae31039893863012eccc035381

12 years agoMerge "Fix lock ordering bug due to use of reentrant lock."
Jeff Brown [Mon, 16 Apr 2012 20:28:37 +0000 (13:28 -0700)]
Merge "Fix lock ordering bug due to use of reentrant lock."

12 years agoImport translations. DO NOT MERGE
Eric Fischer [Mon, 16 Apr 2012 20:28:08 +0000 (13:28 -0700)]
Import translations. DO NOT MERGE

Change-Id: I20ad5f365128dac908e1f5a7ced40af98be4dba5

12 years agoMerge "Unhide new SurfaceTexture & TextureView APIs"
Jamie Gennis [Mon, 16 Apr 2012 20:21:53 +0000 (13:21 -0700)]
Merge "Unhide new SurfaceTexture & TextureView APIs"

12 years agoFix lock ordering bug due to use of reentrant lock.
Jeff Brown [Mon, 16 Apr 2012 20:19:05 +0000 (13:19 -0700)]
Fix lock ordering bug due to use of reentrant lock.

Bug: 6340736
Change-Id: I4dc738da8c976182669b89af9dcb6fd11dcb0223

12 years agoRefactor SensorManager to move non-API bits into a subclass.
Jeff Brown [Mon, 16 Apr 2012 19:13:05 +0000 (12:13 -0700)]
Refactor SensorManager to move non-API bits into a subclass.

Changed the SensorManager class so that it only contains API-related
bits including what's needed to support legacy sensors.  Mostly just
moved stuff around.  Making the class abstract is safe because
it does not have a visible constructor in the API.

One minor change is that the cache of sensor type to sensor lists
is now per instance of SensorManager instead of being static.
We can fix this if desired.

Another small change is that we bail out early from registerListener
if the listener has already been registered for the particular
sensor.  This happened for both legacy and standard listeners.
The problem is that the ListenerDelegate maintains two lists of
sensors, one is a Map and the other is a List.  Adding a sensor
twice causes one entry to be added to the Map and two entries to be
added to the List, but when the sensor is removed the next time, only
one entry is removed from the List, leaving it in an inconsistent
state.

Removed Sensor.getLegacyType() since the value it provides is only
needed in LegacyListener and we don't really save any significant
computation by caching it.  Removing the field makes support for
legacy sensors a little more self-contained.

Bug: 6339552
Change-Id: I50d41ac97cf535924f2bfa2026d28547a4d00286

12 years agoImprove GLSurfaceView Pausing.
Jack Palevich [Mon, 16 Apr 2012 19:25:36 +0000 (12:25 -0700)]
Improve GLSurfaceView Pausing.

When pausing we want to do three separate things, in order:

 + release the EGL surface
 + optionally release the EGL context
 + optionally terminate Egl

Previously we would only do these things if we had an EGL surface. But
it is possible that we don't have an EGL Surface, but still have an EGL
context. And in that situation we still want to release the EGL context.

Now we check the preconditions for the three cases separately.

Bug: 6338235
Change-Id: I804683b3d5c136cc98ea3f5051067eea18152ddf

12 years agoMerge "Better error reporting for PackageManager tests"
Kenny Root [Mon, 16 Apr 2012 19:16:00 +0000 (12:16 -0700)]
Merge "Better error reporting for PackageManager tests"

12 years agoMerge "Move TrafficStats iface counters to xt_qtaguid."
Jeff Sharkey [Mon, 16 Apr 2012 19:11:21 +0000 (12:11 -0700)]
Merge "Move TrafficStats iface counters to xt_qtaguid."

12 years agoMerge "DownloadManager and metered networks."
Jeff Sharkey [Mon, 16 Apr 2012 19:03:43 +0000 (12:03 -0700)]
Merge "DownloadManager and metered networks."

12 years agoDownloadManager and metered networks.
Jeff Sharkey [Mon, 16 Apr 2012 18:52:18 +0000 (11:52 -0700)]
DownloadManager and metered networks.

API to control whether a download is allowed to use metered networks.

Bug: 3001465
Change-Id: I29153d2a7495a2e9f76ef5be0a77696a85823839

12 years agoAdd new aapt dump badging output explaining implicit badging.
Dianne Hackborn [Sat, 14 Apr 2012 02:18:41 +0000 (19:18 -0700)]
Add new aapt dump badging output explaining implicit badging.

New uses-implied-feature and uses-implied-permission tell you
about any features or permissions that aapt is automatically
adding to your app, and why it is doing so.

Change-Id: I45edb055408e1259699c994f956166ce67e8db5d

12 years agoMerge "Add missing clean steps."
Dianne Hackborn [Mon, 16 Apr 2012 18:28:50 +0000 (11:28 -0700)]
Merge "Add missing clean steps."

12 years agoAdd missing clean steps.
Dianne Hackborn [Mon, 16 Apr 2012 18:27:11 +0000 (11:27 -0700)]
Add missing clean steps.

Change-Id: Iecb3ff4d6658e581e51414bdfc397953189e66cb

12 years agoMerge "Find new recognizer if old one is gone"
Bjorn Bringert [Mon, 16 Apr 2012 18:23:55 +0000 (11:23 -0700)]
Merge "Find new recognizer if old one is gone"

12 years agoMerge "API to report if active network is metered."
Jeff Sharkey [Mon, 16 Apr 2012 18:22:22 +0000 (11:22 -0700)]
Merge "API to report if active network is metered."

12 years agoFixing test affected by API renaming.
Alex Sakhartchouk [Mon, 16 Apr 2012 18:21:02 +0000 (11:21 -0700)]
Fixing test affected by API renaming.

Change-Id: Ib42e1958b385069461ca9fec1ccd9f578c5d47d3

12 years agoAPI to report if active network is metered.
Jeff Sharkey [Fri, 13 Apr 2012 01:34:54 +0000 (18:34 -0700)]
API to report if active network is metered.

Report to developers if active network is "metered" and define it
as the user being sensitive to heavy data usage.

Bug: 3001465
Change-Id: I855ca3cd3eb1de3c4814148d70ccf24957af898a

12 years agoFix for doc error.
Philip Milne [Mon, 16 Apr 2012 17:47:21 +0000 (10:47 -0700)]
Fix for doc error.

Change-Id: I8aa029d96d4cd28354ecc742007e0fc35b05b705

12 years agoBuild Smoke tests against the SDK.
Brett Chabot [Mon, 16 Apr 2012 17:35:32 +0000 (10:35 -0700)]
Build Smoke tests against the SDK.

Done so the new 'launch all apps' test can be utilized on older platforms.

Change-Id: Ie74ce258ceb372e78a0634a633bbb19dcd8e2779

12 years agoFind new recognizer if old one is gone
Bjorn Bringert [Mon, 16 Apr 2012 17:16:37 +0000 (18:16 +0100)]
Find new recognizer if old one is gone

Before, RecognitionManagerService just cleared the recognizer
setting, which the Settings app really doesn't like.

Bug: 6332933
Change-Id: If4f9b583c304c5ea99021dddda50fca55e3ac541

12 years agoUnhide new media related java APIs.
Andreas Huber [Wed, 11 Apr 2012 19:21:20 +0000 (12:21 -0700)]
Unhide new media related java APIs.

Change-Id: If0b8201eaca74f51f3499b6ecdfb73088586ee24

12 years agoMerge "Fix for bug 6110465."
Philip Milne [Mon, 16 Apr 2012 17:03:17 +0000 (10:03 -0700)]
Merge "Fix for bug 6110465."

12 years agoMerge "Perform null check on empty view before doing accessibility check."
Mindy Pereira [Mon, 16 Apr 2012 16:45:29 +0000 (09:45 -0700)]
Merge "Perform null check on empty view before doing accessibility check."

12 years agoPerform null check on empty view before doing accessibility check.
Mindy Pereira [Mon, 16 Apr 2012 15:58:53 +0000 (08:58 -0700)]
Perform null check on empty view before doing accessibility check.

Fixes b/6341858 AdapterView does not properly check for null before checking empty view accessibility info

Change-Id: Ia19fdef2c7c5f3e6c3053ebc754efe6a664f9d66

12 years agoMerge "Animate from Choreographer only."
Craig Mautner [Mon, 16 Apr 2012 15:39:32 +0000 (08:39 -0700)]
Merge "Animate from Choreographer only."

12 years agoMerge "Check for null mWebViewCore in selectText"
George Mount [Mon, 16 Apr 2012 14:39:01 +0000 (07:39 -0700)]
Merge "Check for null mWebViewCore in selectText"

12 years agoMerge "Clean up JavaDoc for WebStorage"
Steve Block [Mon, 16 Apr 2012 13:42:36 +0000 (06:42 -0700)]
Merge "Clean up JavaDoc for WebStorage"

12 years agoFix javadoc breakage by not linking to now hidden WebView.getZoomControls method.
Mikhail Naganov [Mon, 16 Apr 2012 12:35:32 +0000 (13:35 +0100)]
Fix javadoc breakage by not linking to now hidden WebView.getZoomControls method.

Change-Id: I770a647b2e6068687530813133847a624ed5aa0d

12 years agoGet rid of "isSentenceLevelSpellCheckSupported"
satok [Wed, 11 Apr 2012 11:40:07 +0000 (20:40 +0900)]
Get rid of "isSentenceLevelSpellCheckSupported"

Bug: 6320351
Change-Id: I0e931b7248f8c65268b60af599c07432d58d2f1f

12 years agoMerge "Clarify WebSettings comments related to zooming."
Steve Block [Mon, 16 Apr 2012 09:25:14 +0000 (02:25 -0700)]
Merge "Clarify WebSettings comments related to zooming."

12 years agoMerge "Two WebView API cleanups"
Jonathan Dixon [Mon, 16 Apr 2012 08:05:06 +0000 (01:05 -0700)]
Merge "Two WebView API cleanups"

12 years agoBetter error reporting for PackageManager tests
Kenny Root [Sun, 15 Apr 2012 02:46:09 +0000 (19:46 -0700)]
Better error reporting for PackageManager tests

The unit tests were eating failure reasons. Remove some assertions so
the useful messages percolate up to the JUnit report.

Change-Id: Ica8efe403ca3eb4f0c4f2a18939a22085f74a08f

12 years agoBuild "install" resource for PMS tests
Kenny Root [Sun, 15 Apr 2012 19:08:53 +0000 (12:08 -0700)]
Build "install" resource for PMS tests

All the APKs in the FrameworkCoreTests's res/raw directory should be
built by source.

This change makes one more built from source that was causing test
failures with mismatched certificates.

Change-Id: I1baed15477ee39c45d3d77f9b02b81f771a16ca2

12 years agoMerge "Close streams for forward-locked apps"
Kenny Root [Sun, 15 Apr 2012 01:43:53 +0000 (18:43 -0700)]
Merge "Close streams for forward-locked apps"

12 years agoClose streams for forward-locked apps
Kenny Root [Sat, 14 Apr 2012 17:13:10 +0000 (10:13 -0700)]
Close streams for forward-locked apps

Forward-locked apps aren't very prevalent, but it needed to be
restructured to make sure both streams and ZipFile objects are closed.

Change-Id: I41f863224fecd24069e525e9ce3738de8237bd5e

12 years agoMerge "Add warning log for mismatched signatures"
Kenny Root [Sat, 14 Apr 2012 19:16:58 +0000 (12:16 -0700)]
Merge "Add warning log for mismatched signatures"

12 years agoAdd warning log for mismatched signatures
Kenny Root [Sat, 14 Apr 2012 19:10:38 +0000 (12:10 -0700)]
Add warning log for mismatched signatures

It's difficult to see in bugreports when this situation arises. Add a
small log so we can easily determine installation failure reason.

Change-Id: Ie59c205cf731cad7b3d04ceb995e58a093c62455

12 years agoAnimate from Choreographer only.
Craig Mautner [Fri, 6 Apr 2012 22:26:23 +0000 (15:26 -0700)]
Animate from Choreographer only.

Animation steps are now executed on a Thread launched from the
Choreographer rather than being called at the end of the WindowManager
layout process. Animations and layout are still tightly coupled in
that they share considerable state information and neither can be
executed without holding a lock on WindowServiceManager.mWindowMap.

Change-Id: Ie17d693706971507b50aa473da1b7258e9e67764

12 years agoMerge "Add setting to redirect vibrator to game controller."
Jeff Brown [Sat, 14 Apr 2012 03:39:50 +0000 (20:39 -0700)]
Merge "Add setting to redirect vibrator to game controller."

12 years agoAdd setting to redirect vibrator to game controller.
Jeff Brown [Sat, 14 Apr 2012 03:38:38 +0000 (20:38 -0700)]
Add setting to redirect vibrator to game controller.

Bug: 6334179
Change-Id: I70093e38824ea3e5cf9cf242d1d7b6d26115ed80

12 years agoMerge "SurfaceTexture: fix updateTexImage JNI"
Jamie Gennis [Sat, 14 Apr 2012 03:33:01 +0000 (20:33 -0700)]
Merge "SurfaceTexture: fix updateTexImage JNI"

12 years agoMerge "Surface list of apps with given network policy."
Jeff Sharkey [Sat, 14 Apr 2012 03:15:54 +0000 (20:15 -0700)]
Merge "Surface list of apps with given network policy."

12 years agoSurface list of apps with given network policy.
Jeff Sharkey [Fri, 13 Apr 2012 23:03:40 +0000 (16:03 -0700)]
Surface list of apps with given network policy.

Bug: 6007276
Change-Id: I0f0e939ee6481496480c4afaa108c99eb158547c

12 years agoSurfaceTexture: fix updateTexImage JNI
Jamie Gennis [Sat, 14 Apr 2012 02:14:37 +0000 (19:14 -0700)]
SurfaceTexture: fix updateTexImage JNI

Sigh...

Change-Id: I0271bed44c58e0c9a03eda4886eb2c1ee76e041f

12 years agoAccessibility focus - framework
Svetoslav Ganov [Tue, 20 Mar 2012 18:51:39 +0000 (11:51 -0700)]
Accessibility focus - framework

Usefulness: Keep track of the current user location in the screen when
            traversing the it. Enabling structural and directional
            navigation over all elements on the screen. This enables
            blind users that know the application layout to efficiently
            locate desired elements as opposed to try touch exploring the
            region where the the element should be - very tedious.

Rationale: There are two ways to implement accessibility focus One is
           to let accessibility services keep track of it since they
           have access to the screen content, and another to let the view
           hierarchy keep track of it. While the first approach would
           require almost no work on our part it poses several challenges
           which make it a sub-optimal choice. Having the accessibility focus
           in the accessibility service would require that service to scrape
           the window content every time it changes to sync the view tree
           state and the accessibility focus location. Pretty much the service
           will have to keep an off screen model of the screen content. This
           could be quite challenging to get right and would incur performance
           cost for the multiple IPCs to repeatedly fetch the screen content.
           Further, keeping virtual accessibility focus (i.e. in the service)
           would require sync of the input and accessibility focus. This could
           be challenging to implement right as well. Also, having an unlimited
           number of accessibility services we cannot guarantee that they will
           have a proper implementation, if any, to allow users to perform structural
           navigation of the screen content. Assuming two accessibility
           services implement structural navigation via accessibility focus,
           there is not guarantee that they will behave similarly by default,
           i.e. provide some standard way to navigate the screen content.
           Also feedback from experienced accessibility researchers, specifically
           T.V Raman, provides evidence that having virtual accessibility focus
           creates many issues and it is very hard to get right.
           Therefore, keeping accessibility focus in the system will avoid
           keeping an off-screen model in accessibility services, it will always
           be in sync with the state of the view hierarchy and the input focus.
           Also this will allow having a default behavior for traversing the
           screen via this accessibility focus that is consistent in all
           accessibility services. We provide accessibility services with APIs to
           override this behavior but all of them will perform screen traversal
           in a consistent way by default.

Behavior:  If accessibility is enabled the accessibility focus is the leading one
           and the input follows it. Putting accessibility focus on a view moves
           the input focus there. Clearing the accessibility focus of a view, clears
           the input focus of this view. If accessibility focus is on a view that
           cannot take input focus, then no other view should have input focus.
           In accessibility mode we initially give accessibility focus to the topmost
           view and no view has input focus. This ensures consistent behavior accross
           all apps. Note that accessibility focus can move hierarchically in the
           view tree and having it at the root is better than putting it where the
           input focus would be - at the first input focusable which could be at
           an arbitrary depth in the view tree. By default not all views are reported
           for accessibility, only the important ones. A view may be explicitly labeled
           as important or not for accessibility, or the system determines which one
           is such - default. Important views for accessibility are all views that are
           not dumb layout managers used only to arrange their chidren. Since the same
           content arrangement can be obtained via different combintation of layout
           managers, such managers cannot be used to reliably determine the application
           structure. For example, a user should see a list as a list view with several
           list items and each list item as a text view and a button as opposed to seeing
           all the layout managers used to arrange the list item's content.
           By default only important for accessibility views are regared for accessibility
           purposes. View not regarded for accessibility neither fire accessibility events,
           nor are reported being on the screen. An accessibility service may request the
           system to regard all views. If the target SDK of an accessibility services is
           less than JellyBean, then all views are regarded for accessibility.
           Note that an accessibility service that requires all view to be ragarded for
           accessibility may put accessibility focus on any view. Hence, it may implement
           any navigational paradigm if desired. Especially considering the fact that
           the system is detecting some standard gestures and delegates their processing
           to an accessibility service. The default implementation of an accessibility
           services performs the defualt navigation.

bug:5932640
bug:5605641

Change-Id: Ieac461d480579d706a847b9325720cb254736ebe

12 years agoUnhide new SurfaceTexture & TextureView APIs
Jamie Gennis [Fri, 13 Apr 2012 23:15:20 +0000 (16:15 -0700)]
Unhide new SurfaceTexture & TextureView APIs

This change unhides the new SurfaceTexture and TextureView APIs that were added
to allow transferring ownership of the SurfaceTexture from the UI framework to
the application.

Change-Id: Ic4b781d907a59e99ff1a5974009305c1f9aee36a

12 years agoMerge "SurfaceTexture: update API docs"
Jamie Gennis [Sat, 14 Apr 2012 01:02:28 +0000 (18:02 -0700)]
Merge "SurfaceTexture: update API docs"

12 years agoam 6a9835a2: am 08135aa1: am 38e09c3d: docs: Android Training: Creating Backward...
Roman Nurik [Sat, 14 Apr 2012 00:57:18 +0000 (17:57 -0700)]
am 6a9835a2: am 08135aa1: am 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs class

* commit '6a9835a2cdd95826ce0e4b9cb88c45b2e8277baf':

12 years agoam 4d7038cb: am 3fc245a1: am 38e09c3d: docs: Android Training: Creating Backward...
Roman Nurik [Sat, 14 Apr 2012 00:55:08 +0000 (17:55 -0700)]
am 4d7038cb: am 3fc245a1: am 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs class

* commit '4d7038cb96690c93c6ca407d338159ea062424fb':

12 years agoam 273ad179: am 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs...
Roman Nurik [Sat, 14 Apr 2012 00:54:15 +0000 (17:54 -0700)]
am 273ad179: am 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs class

* commit '273ad17995679c5cdcf45b1458efb221889a9e90':
  docs: Android Training: Creating Backward-Compatible UIs class

12 years agoam 08135aa1: am 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs...
Roman Nurik [Sat, 14 Apr 2012 00:53:47 +0000 (17:53 -0700)]
am 08135aa1: am 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs class

* commit '08135aa17fc5e5e8ecfebf04c10911fb083c3660':

12 years agoam 3fc245a1: am 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs...
Roman Nurik [Sat, 14 Apr 2012 00:53:17 +0000 (17:53 -0700)]
am 3fc245a1: am 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs class

* commit '3fc245a181269c5e425698d8ad212015812ebd8d':
  docs: Android Training: Creating Backward-Compatible UIs class

12 years agoam 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs class
Roman Nurik [Sat, 14 Apr 2012 00:51:40 +0000 (17:51 -0700)]
am 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs class

* commit '38e09c3ddb7da47a23bf4221ab678e058c7e923a':
  docs: Android Training: Creating Backward-Compatible UIs class

12 years agoam 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs class
Roman Nurik [Sat, 14 Apr 2012 00:51:34 +0000 (17:51 -0700)]
am 38e09c3d: docs: Android Training: Creating Backward-Compatible UIs class

* commit '38e09c3ddb7da47a23bf4221ab678e058c7e923a':
  docs: Android Training: Creating Backward-Compatible UIs class