OSDN Git Service

android-x86/frameworks-base.git
11 years agoFix the build
Ben Murdoch [Thu, 8 Aug 2013 11:16:10 +0000 (12:16 +0100)]
Fix the build

Change-Id: If34523c4b25b3d60edc00b0f37b636bedfc756c2

11 years agoMerge "Animate the heads up notification into the shade."
Chris Wren [Thu, 8 Aug 2013 10:48:31 +0000 (10:48 +0000)]
Merge "Animate the heads up notification into the shade."

11 years agoMerge "ensure heads up slider is initialized."
Chris Wren [Thu, 8 Aug 2013 10:47:02 +0000 (10:47 +0000)]
Merge "ensure heads up slider is initialized."

11 years agoMerge "proper geometry for heads up on tablets."
Chris Wren [Thu, 8 Aug 2013 10:46:02 +0000 (10:46 +0000)]
Merge "proper geometry for heads up on tablets."

11 years agoMerge "Extend assist context to foreground services"
Matt Casey [Thu, 8 Aug 2013 09:33:07 +0000 (09:33 +0000)]
Merge "Extend assist context to foreground services"

11 years agoMerge "NFC: Unify ApduServiceInfo for on/off host."
Martijn Coenen [Thu, 8 Aug 2013 04:25:55 +0000 (04:25 +0000)]
Merge "NFC: Unify ApduServiceInfo for on/off host."

11 years agoMerge "Fix for build breakage. Correcting the documentatation link in Sensor.java...
Ying Wang [Thu, 8 Aug 2013 04:03:25 +0000 (04:03 +0000)]
Merge "Fix for build breakage. Correcting the documentatation link in Sensor.java. I added a wrong link {@link #SENSOR_TYPE_ROTATION_VECTOR} instead of {@link #TYPE_ROTATION_VECTOR}."

11 years agoFix for build breakage. Correcting the documentatation link in Sensor.java. I added...
Aravind Akella [Thu, 8 Aug 2013 03:05:29 +0000 (20:05 -0700)]
Fix for build breakage. Correcting the documentatation link in Sensor.java. I added a wrong link {@link #SENSOR_TYPE_ROTATION_VECTOR} instead of {@link #TYPE_ROTATION_VECTOR}.

Change-Id: I55be472c554a5170f3db64b9cb49337a1f4691c0

11 years agoNFC: Unify ApduServiceInfo for on/off host.
Martijn Coenen [Thu, 8 Aug 2013 03:03:03 +0000 (20:03 -0700)]
NFC: Unify ApduServiceInfo for on/off host.

Change-Id: I4f8bb441d7eb564da0486f3e8a1ac08dd18d0dc8

11 years agoMerge "Simplify LinkPropertiesTest."
Lorenzo Colitti [Thu, 8 Aug 2013 02:54:29 +0000 (02:54 +0000)]
Merge "Simplify LinkPropertiesTest."

11 years agoMerge "Print UI polish based on UX feedback."
Svetoslav Ganov [Thu, 8 Aug 2013 02:48:01 +0000 (02:48 +0000)]
Merge "Print UI polish based on UX feedback."

11 years agoPrint UI polish based on UX feedback.
Svetoslav Ganov [Thu, 8 Aug 2013 02:29:42 +0000 (19:29 -0700)]
Print UI polish based on UX feedback.

1. Refreshed the print UI based on UX redlines.

2. Implemented tap outside cancel for the print job config activity
   which is full-screen but pretends to be a dialog.

Change-Id: I5afc7cd40c696109d70af31536898cfcad91b2ab

11 years agoReduce the transaction fee of getEnabledInputMethodSubtypeList
Satoshi Kataoka [Wed, 7 Aug 2013 06:43:29 +0000 (15:43 +0900)]
Reduce the transaction fee of getEnabledInputMethodSubtypeList

Bug: 8467480
Change-Id: If18cce8fbe567df51f29adcdcedff3f743460b8b

11 years agoSimplify LinkPropertiesTest.
Lorenzo Colitti [Thu, 8 Aug 2013 01:56:22 +0000 (10:56 +0900)]
Simplify LinkPropertiesTest.

Instead of converting IP addresses to strings throughout the
test, do so once at the beginning.

Change-Id: I7f0dae5d2e9e2cdc6ec808e2cf71197ba6ade0a4

11 years agoMerge "Better handling of broken storage providers."
Jeff Sharkey [Thu, 8 Aug 2013 01:37:59 +0000 (01:37 +0000)]
Merge "Better handling of broken storage providers."

11 years agoBetter handling of broken storage providers.
Jeff Sharkey [Thu, 8 Aug 2013 01:33:33 +0000 (18:33 -0700)]
Better handling of broken storage providers.

Begin throwing FNFE when storage provider doesn't know about document
or when it's having trouble.  Treat all provider errors as FNFE and
avoid crashing our UI.

Change-Id: I946f1ae4125791999464dc4ce494853d5d1c0629

11 years agoMerge "Adding new constants for STEP_DETECTOR, STEP_COUNTER and GEOMAGNETIC_ROTATION_...
Aravind Akella [Thu, 8 Aug 2013 01:26:40 +0000 (01:26 +0000)]
Merge "Adding new constants for STEP_DETECTOR, STEP_COUNTER and GEOMAGNETIC_ROTATION_VECTOR."

11 years agoMerge "Add more virtual display tests."
Jeff Brown [Thu, 8 Aug 2013 01:14:04 +0000 (01:14 +0000)]
Merge "Add more virtual display tests."

11 years agoMerge "Dump information about recent input events."
Jeff Brown [Thu, 8 Aug 2013 01:10:06 +0000 (01:10 +0000)]
Merge "Dump information about recent input events."

11 years agoMerge "Fix propagation of display overscan information."
Jeff Brown [Thu, 8 Aug 2013 01:09:37 +0000 (01:09 +0000)]
Merge "Fix propagation of display overscan information."

11 years agoMerge "Add PAC File support for proxy configuration"
Jason Monk [Thu, 8 Aug 2013 01:06:02 +0000 (01:06 +0000)]
Merge "Add PAC File support for proxy configuration"

11 years agoMerge "Fix initial FastScroller enabled state, fix padding during layout"
Alan Viverette [Thu, 8 Aug 2013 01:05:42 +0000 (01:05 +0000)]
Merge "Fix initial FastScroller enabled state, fix padding during layout"

11 years agoAdd PAC File support for proxy configuration
Jason Monk [Wed, 3 Jul 2013 21:04:33 +0000 (17:04 -0400)]
Add PAC File support for proxy configuration

PAC (Proxy auto-config) files contain a single javascript function,
FindProxyForURL(url, host).  It gets called to determine what proxy should be
used for a specific request.

This adds PAC support to the system.  The ProxyProperties has been modified
to hold the PAC file when one is present.  The Proxy method
setHttpProxySystemProperty has been modified to insert a PacProxySelector
as the default ProxySelector when it is required.  This new ProxySelector
makes calls to the ConnectivityService to parse the PAC file.

The ConnectivityService and the WifiConfigStore have been modified to support
saving the extra PAC file data.

The ConnectivityService now has a class attached (PacProxyNative) that
interfaces to the native calls for PAC files.  The parsing of the PAC file
is handled by libpac (which is being added to external/) which utilizes
libv8 to parse the javascript.

As a fallback to applications that don't use the java ProxySelector,  the proxy
is setup to point to a local proxy server that will handle the pac parsing.

bug:10182711
Change-Id: I5eb8df893c632fd3e1b732385cb7720ad646f401

11 years agoAdd more virtual display tests.
Jeff Brown [Wed, 7 Aug 2013 21:17:04 +0000 (14:17 -0700)]
Add more virtual display tests.

We can't test everything in CTS because some features require
system permissions.  So this is another copy of the CTS test
with more stuff that we can build with the system cert.

Change-Id: Ied5a456a0810d38d307b6dfbad0f770cb480b4ee

11 years agoFix initial FastScroller enabled state, fix padding during layout
Alan Viverette [Thu, 8 Aug 2013 00:57:51 +0000 (17:57 -0700)]
Fix initial FastScroller enabled state, fix padding during layout

BUG: 10182784
Change-Id: I7f1ed029b68a1e6db6af0dc21e23aebca01bef31

11 years agoam ef54f611: am bdf85de3: am 7b60431b: update <uses-feature> for OpenGL ES version...
Scott Main [Thu, 8 Aug 2013 00:51:54 +0000 (17:51 -0700)]
am ef54f611: am bdf85de3: am 7b60431b: update <uses-feature> for OpenGL ES version with 3.0 example and API guide link. bug: 10207619

* commit 'ef54f611c1574c2cca89476494e7343df76aefad':
  update <uses-feature> for OpenGL ES version with 3.0 example and API guide link. bug: 10207619

11 years agoAdd support for broadcast intents
Ben Gruver [Wed, 7 Aug 2013 02:54:08 +0000 (19:54 -0700)]
Add support for broadcast intents

Change-Id: Icf61e7a202f489cb33b9fd95564285e48154b25b

11 years agoAdd support for matching explicit intents
Ben Gruver [Tue, 6 Aug 2013 22:57:01 +0000 (15:57 -0700)]
Add support for matching explicit intents

This adds a <component-filter> tag for the intent firewall rules,
which adds another top-level filter similar to intent-filter, that
matches intents based on the resolved component they are being sent
to.

Previously, the existing <intent-filter> mechanism did not allow
filtering for explicit intents that had no action/data/etc. The
new <component-filter> functionality can be used for both implicit
and explicit intents.

Change-Id: I6a10e8bfae901931ed2174bca42ea25ac79804d8

11 years agoPass in the ComponentName of the resolved service for service intents
Ben Gruver [Wed, 31 Jul 2013 22:09:51 +0000 (15:09 -0700)]
Pass in the ComponentName of the resolved service for service intents

Change-Id: I893035d5f2dba470d19a091c7a5945b13d9c9b67

11 years agoAdd support for service intents
Ben Gruver [Mon, 29 Jul 2013 23:35:40 +0000 (16:35 -0700)]
Add support for service intents

Change-Id: Ie090896b70bd6860181a021818fa6514d2e57a3f
(cherry picked from commit 8b028a6564d9e3af07e2424dc71d287550ebede7)

11 years agoMerge "Improve the logic for determining whether the caller is a system app"
Ben Gruver [Thu, 8 Aug 2013 00:09:23 +0000 (00:09 +0000)]
Merge "Improve the logic for determining whether the caller is a system app"

11 years agoDump information about recent input events.
Jeff Brown [Wed, 7 Aug 2013 23:46:50 +0000 (16:46 -0700)]
Dump information about recent input events.

To help track down ANRs, include more information about recent
events in the input dispatcher dumps.

Bug: 9774124
Change-Id: I94732f173d3518c2f4780668d2eb3ee9ae9fcb10

11 years agoMerge "Settings, replace files, sorting by size, tweaks."
Jeff Sharkey [Wed, 7 Aug 2013 23:34:44 +0000 (23:34 +0000)]
Merge "Settings, replace files, sorting by size, tweaks."

11 years agoSettings, replace files, sorting by size, tweaks.
Jeff Sharkey [Wed, 7 Aug 2013 23:22:02 +0000 (16:22 -0700)]
Settings, replace files, sorting by size, tweaks.

Add settings to show file sizes and advanced storage devices, both
disabled by default. Add sorting by size when enabled in settings.

Always show all documents, but only allow selection when they match
MIME filter. When creating, select entire filename on focus. When
creating, treat selected documents as replacement targets using that
exact Uri unless display name is changed.

Show available bytes for device roots. Show empty text label in
empty directories. Split grid backend and details into two separate
lines. Fix path label ordering when rendering recent directories.

Change-Id: I44c62e8adb8ca7d4355510a13d1ba975196a2d29

11 years agoMerge "Only destroy remote graphic buffers Bug #9795157"
Romain Guy [Wed, 7 Aug 2013 23:23:46 +0000 (23:23 +0000)]
Merge "Only destroy remote graphic buffers Bug #9795157"

11 years agoMerge "Fix FastScroller regression for non-UI threads"
Alan Viverette [Wed, 7 Aug 2013 22:59:17 +0000 (22:59 +0000)]
Merge "Fix FastScroller regression for non-UI threads"

11 years agoMerge "prototype colour emoji font"
Victoria Lease [Wed, 7 Aug 2013 22:51:22 +0000 (22:51 +0000)]
Merge "prototype colour emoji font"

11 years agoFix FastScroller regression for non-UI threads
Alan Viverette [Wed, 7 Aug 2013 22:47:04 +0000 (15:47 -0700)]
Fix FastScroller regression for non-UI threads

Previously it was safe to call setFastScrollEnabled() and
setFastScrollAlwaysVisible() off the UI thread. After switching
FastScroller to use an Overlay, these methods stopped working.

This change ensures that all direct interaction with FastScroller
happens on the thread that created the host AbsListView.

BUG: 10210504
Change-Id: Ib6d9bd9212965420c0de39546652e3bc2d32ff8b

11 years agoprototype colour emoji font
Victoria Lease [Wed, 7 Aug 2013 22:43:55 +0000 (15:43 -0700)]
prototype colour emoji font

Bug: 9577689
Change-Id: Ia92460280fa00fc6849cfa8aa41ca06ae5866b4a

11 years agoMerge "Unhide Context.APP_OPS_SERVICE"
David Christie [Wed, 7 Aug 2013 22:44:36 +0000 (22:44 +0000)]
Merge "Unhide Context.APP_OPS_SERVICE"

11 years agoOnly destroy remote graphic buffers
Romain Guy [Wed, 7 Aug 2013 22:03:40 +0000 (15:03 -0700)]
Only destroy remote graphic buffers
Bug #9795157

Change-Id: Ia7a39d3ef40994fede185482a5b4ca5500249b34

11 years agoFix propagation of display overscan information.
Jeff Brown [Wed, 7 Aug 2013 21:13:37 +0000 (14:13 -0700)]
Fix propagation of display overscan information.

Fix several problems in the way that the overscan was plumbed in
which could result in information not being delivered to applications.
There was also a violation of certain invariants regarding the
immutability of returned DisplayInfo objects.

Bug: 10213771
Change-Id: I21184a14305e44278b5e81353bf95d511e8517fb

11 years agoMerge "Destroy surfaces when display is removed."
Jeff Brown [Wed, 7 Aug 2013 21:32:32 +0000 (21:32 +0000)]
Merge "Destroy surfaces when display is removed."

11 years agoImprove the logic for determining whether the caller is a system app
Ben Gruver [Tue, 6 Aug 2013 19:34:17 +0000 (12:34 -0700)]
Improve the logic for determining whether the caller is a system app

Bug: 10024554
Change-Id: I742e918840a98dd83d713bdf7a43a919674e65fe

11 years agoMerge "Fix a bug where window animation could be janky"
Mathias Agopian [Wed, 7 Aug 2013 20:36:26 +0000 (20:36 +0000)]
Merge "Fix a bug where window animation could be janky"

11 years agoMerge "Add copy constructors for all widget-specific LayoutParams"
Alan Viverette [Wed, 7 Aug 2013 20:31:45 +0000 (20:31 +0000)]
Merge "Add copy constructors for all widget-specific LayoutParams"

11 years agoAdd copy constructors for all widget-specific LayoutParams
Alan Viverette [Wed, 7 Aug 2013 20:24:09 +0000 (13:24 -0700)]
Add copy constructors for all widget-specific LayoutParams

BUG: 10215589
Change-Id: I4c040091e216c87f851d6b617107f43729e55b0c

11 years agoam ec997806: am 1153eb46: am 4e847bd1: Doc change: fix federated urls.
Dirk Dougherty [Wed, 7 Aug 2013 20:18:34 +0000 (13:18 -0700)]
am ec997806: am 1153eb46: am 4e847bd1: Doc change: fix federated urls.

* commit 'ec9978063794317b9934e2fc9ae4eb2de8c9b7a4':
  Doc change: fix federated urls.

11 years agoDestroy surfaces when display is removed.
Craig Mautner [Wed, 7 Aug 2013 20:13:35 +0000 (13:13 -0700)]
Destroy surfaces when display is removed.

Fixes bug 10226153.

Change-Id: I4eb8b14258985768d36745260ad4e62ba6c78844

11 years agoFix a bug where window animation could be janky
Mathias Agopian [Wed, 7 Aug 2013 06:48:07 +0000 (23:48 -0700)]
Fix a bug where window animation could be janky

SurfaceControl.closeTransaction() will block until the transaction
takes effect and this happens at the next vsync -- in practice
it means this call blocks for ~15ms.

Immediately after that we ask the choreographer to schedule the
next frame, which will happen at the next vsync. depending the
timing, this would cause the window manager to animate at 30 fps
instead of 60.

This is fixed here by calling the choreographer before we
call closeTransaction().

In the near future, we should be able to fix this by using
an offseted vsync for the window manager and it won't need
closeTransaction() to block at all.

Bug: 10209014
Change-Id: I33d0c5ecfc25154b2859f3023a8cda6e641826bf

11 years agoUnhide Context.APP_OPS_SERVICE
David Christie [Wed, 7 Aug 2013 18:25:12 +0000 (11:25 -0700)]
Unhide Context.APP_OPS_SERVICE

Change-Id: Iab3e3fb2a32c3407c61abb694e21d84b50579d4f

11 years agoMerge "Add API for scrolling AbsListView by a pixel amount"
Alan Viverette [Wed, 7 Aug 2013 18:38:14 +0000 (18:38 +0000)]
Merge "Add API for scrolling AbsListView by a pixel amount"

11 years agobatteryservice: add battery current now and charge counter data
Todd Poynor [Wed, 31 Jul 2013 03:33:27 +0000 (20:33 -0700)]
batteryservice: add battery current now and charge counter data

Available for retrieval via future APIs if desired.  Dumped by dumpsys.
Not added to batterystats or ACTION_BATTERY_CHANGED intents at this point.

Also fixes a formatting problem in the existing dumpsys output for voltage.

Change-Id: I5320b19035914256fb872c13095c09c648dd522a

11 years agoMerge "Compare tasks not activities."
Craig Mautner [Wed, 7 Aug 2013 18:26:48 +0000 (18:26 +0000)]
Merge "Compare tasks not activities."

11 years agoCompare tasks not activities.
Craig Mautner [Wed, 7 Aug 2013 18:16:33 +0000 (11:16 -0700)]
Compare tasks not activities.

In order to determine if the topmost activity needs to be moved out
of the way, compare its task to the task of the source activity
rather than compare the activities themeselves.

Fixes bug 10182783.

Change-Id: Idd4542d7ddce8b7586ee47f100366bc47e07d54f

11 years agoMerge "Try again to cleanup all blocked apps"
Amith Yamasani [Wed, 7 Aug 2013 18:10:23 +0000 (18:10 +0000)]
Merge "Try again to cleanup all blocked apps"

11 years agoTry again to cleanup all blocked apps
Amith Yamasani [Wed, 7 Aug 2013 18:06:44 +0000 (11:06 -0700)]
Try again to cleanup all blocked apps

Since the Restrictions feature was removed, some cleanup code was
added to unblock apps. But the cleanup is causing some runtime exceptions
due to happening too early in the boot up sequence. Moved the cleanup
to after boot_completed broadcast is received.

Bug: 10212758
Change-Id: Id42eff16b54c24ea48cf8b3a81f77ea801264edd

11 years agoMerge "Track latency of captive portal checks"
Brian Williammee [Wed, 7 Aug 2013 17:34:50 +0000 (17:34 +0000)]
Merge "Track latency of captive portal checks"

11 years agoMerge "Update audio comments"
Glenn Kasten [Wed, 7 Aug 2013 17:17:56 +0000 (17:17 +0000)]
Merge "Update audio comments"

11 years agoMerge "Start adding IPC calls to retrieve proc stat data."
Dianne Hackborn [Wed, 7 Aug 2013 17:15:04 +0000 (17:15 +0000)]
Merge "Start adding IPC calls to retrieve proc stat data."

11 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Wed, 7 Aug 2013 17:06:24 +0000 (17:06 +0000)]
Merge "Import translations. DO NOT MERGE"

11 years agoStart adding IPC calls to retrieve proc stat data.
Dianne Hackborn [Wed, 7 Aug 2013 17:08:22 +0000 (10:08 -0700)]
Start adding IPC calls to retrieve proc stat data.

Also fix a bug where we were not correctly unparcelling service
duration data.

Change-Id: Ie9113b2e3a747622441b1939ffc45edb5803a10f

11 years agoMerge "Import translations. DO NOT MERGE"
Baligh Uddin [Wed, 7 Aug 2013 16:32:41 +0000 (16:32 +0000)]
Merge "Import translations. DO NOT MERGE"

11 years agoMerge "Create SurfaceSession before creating DimLayer."
Craig Mautner [Wed, 7 Aug 2013 16:27:20 +0000 (16:27 +0000)]
Merge "Create SurfaceSession before creating DimLayer."

11 years agoCreate SurfaceSession before creating DimLayer.
Craig Mautner [Wed, 7 Aug 2013 16:24:11 +0000 (09:24 -0700)]
Create SurfaceSession before creating DimLayer.

Fixes "java.lang.IllegalArgumentException: session must not be null"

Change-Id: Id7e77a44e59e5169ed8944682ab79783631182dd

11 years agoAnimate the heads up notification into the shade.
Chris Wren [Tue, 30 Jul 2013 15:31:46 +0000 (11:31 -0400)]
Animate the heads up notification into the shade.

Bug: 10001874
Change-Id: I14ece05dbc29a93a551381c6ddc3cbbb8a331430

11 years agoensure heads up slider is initialized.
Chris Wren [Mon, 5 Aug 2013 22:08:16 +0000 (18:08 -0400)]
ensure heads up slider is initialized.

Change-Id: I4095b89133b64dd5c5d81e3b7fab288ee5538654

11 years agoproper geometry for heads up on tablets.
Chris Wren [Fri, 2 Aug 2013 16:03:02 +0000 (12:03 -0400)]
proper geometry for heads up on tablets.

also some code cleanup since things are getting complicated.

Bug: 10074485
Change-Id: I900a60f0fdda8d2ef1bcfe01035d6f716e14aa56

11 years agoRevert "Reduce the transaction fee of getEnabledInputMethodSubtypeList"
Ken Wakasa [Wed, 7 Aug 2013 15:03:24 +0000 (15:03 +0000)]
Revert "Reduce the transaction fee of getEnabledInputMethodSubtypeList"

This reverts commit e9a6f9713ca48aab9a6c87e0645cb0a0af946a11.

Change-Id: I611d31086d4f02aae5c7021ac92975bd92a59f34

11 years agoReduce the transaction fee of getEnabledInputMethodSubtypeList
Satoshi Kataoka [Wed, 7 Aug 2013 06:43:29 +0000 (15:43 +0900)]
Reduce the transaction fee of getEnabledInputMethodSubtypeList

Bug: 8467480
Change-Id: Ic1fddfe433e097041fcb09d1fd341d77d7d8b13b

11 years agoUpdate the print job dialog and added notification assets.
Svetoslav Ganov [Wed, 7 Aug 2013 06:49:25 +0000 (23:49 -0700)]
Update the print job dialog and added notification assets.

1. Update the transition between the print job edit dialog and the
   generating print job dialog. Now the former shrinks into the
   latter.

2. Added most of the notification assets.

Change-Id: I84f35df5cb4f71b86a103c16ab87fd4d108b055b

11 years agoattempt to fix build. public api wasn't updated
Mathias Agopian [Wed, 7 Aug 2013 04:37:29 +0000 (21:37 -0700)]
attempt to fix build. public api wasn't updated

Change-Id: I5afa7f20d60c1754e4d12318219af5a5861a85e0

11 years agoMerge "Add home StackBox to all DisplayContent."
Craig Mautner [Wed, 7 Aug 2013 04:00:57 +0000 (04:00 +0000)]
Merge "Add home StackBox to all DisplayContent."

11 years agoMerge "put TextureView back to async mode"
Mathias Agopian [Wed, 7 Aug 2013 03:19:23 +0000 (03:19 +0000)]
Merge "put TextureView back to async mode"

11 years agoput TextureView back to async mode
Mathias Agopian [Wed, 7 Aug 2013 03:16:12 +0000 (20:16 -0700)]
put TextureView back to async mode

it's probably not strictly needed, but it guarantees
that the app won't deadlock itself while using a
TextureView -- this could happen if it blocked
in View.onDraw() waiting for the producer

this mimics the behavior TextureView always had.

Change-Id: I453339237a48dea91a10840b8cc0f5d2d84d1520

11 years agoMerge "Define error codes for MediaCodec.CryptoException"
Jeff Tinker [Wed, 7 Aug 2013 01:44:09 +0000 (01:44 +0000)]
Merge "Define error codes for MediaCodec.CryptoException"

11 years agoMerge "Split assets atlas batches Bug #10185769"
Romain Guy [Wed, 7 Aug 2013 01:36:24 +0000 (01:36 +0000)]
Merge "Split assets atlas batches Bug #10185769"

11 years agoSplit assets atlas batches
Romain Guy [Tue, 6 Aug 2013 20:49:28 +0000 (13:49 -0700)]
Split assets atlas batches
Bug #10185769

The assets atlas contains assets that need to be blended and assets
that do not need to be blended. With a single merge id, currently
set to be the pointer to the atlas itself, draw ops merging could
generate batches of commands containing both opaque and translucent
assets. The blend state was chosen from only one of the assets in
the batch, leading either to inefficiencies (blending large opaque
assets) or incorrect behaviors (not blending translucent assets.)

This change introduces two new merge ids in the atlas: an opaque
key and a blend key. These keys are simple booleans set to false
and true respectively (the values do not matter really.) Their
memory addresses are used as the merge ids when createing draw ops
batches, allowing all opaque ops to be batched together and all
translucent ops to be batched together.

Change-Id: I114dba0533c44987e53864b471ccb28c811f2025

11 years agoExtend assist context to foreground services
Adam Skory [Tue, 6 Aug 2013 02:23:41 +0000 (19:23 -0700)]
Extend assist context to foreground services

Add Service.onProvideAssistData(Bundle) which will be
called on foreground Services that have the new attr
in their manifest of provideAssistData = true;

Rename private reference to e.g. "getTopActivityExtras"
as "getAssistContextExtras" - do not rename the relevant
permission, since it is already public.

In ActivityManagerService, request extras both from the
top activity and from any foreground services with the
above attribute. Extend PendingActivityExtras as
PendingAssistExtras with a list of Services from which
extras are expected.

Reduce the timeout to or reporting extras from 4 sec to
just 500 ms.

Bug: 9526331
Change-Id: Ia03b96e8189033a68ae9c514c8cea0199a19bce8

11 years agoAdd API for scrolling AbsListView by a pixel amount
Alan Viverette [Wed, 7 Aug 2013 01:19:48 +0000 (18:19 -0700)]
Add API for scrolling AbsListView by a pixel amount

Change-Id: Ib0fc48879991fd467242d8dc337db419edb12acf

11 years agoMerge "Recents in create, uniform item layouts."
Jeff Sharkey [Wed, 7 Aug 2013 01:18:02 +0000 (01:18 +0000)]
Merge "Recents in create, uniform item layouts."

11 years agoRecents in create, uniform item layouts.
Jeff Sharkey [Tue, 6 Aug 2013 23:26:14 +0000 (16:26 -0700)]
Recents in create, uniform item layouts.

Show recent directories in a separate fragment, and save as serialized
versions of new DirectoryStack. Cleaner behavior around recents and
search, instead of treating them as pseudo-Documents.

More uniform item layouts between list and grid, including both date
and size information, and originating storage root in recents. Avoid
clashing directory loaders by assigning unique numbers. Promote
list/grid switching up into activity.

Change-Id: I9a93460b896067ca036d7e772eeabde31face2e1

11 years agoAdd home StackBox to all DisplayContent.
Craig Mautner [Wed, 7 Aug 2013 01:00:25 +0000 (18:00 -0700)]
Add home StackBox to all DisplayContent.

Each display needs a stack and a stack box to contain windows.

Fixes bug 10161525.

Change-Id: Ic617cdf5a082ae68f0589e826ecbb37d8fba52ac

11 years agoAdd the inadvertently missing SCHEME string value provider
Ben Gruver [Wed, 31 Jul 2013 22:41:24 +0000 (15:41 -0700)]
Add the inadvertently missing SCHEME string value provider

Change-Id: I70ce104efac23c3776596571e48ee195be958373

11 years agoTrack latency of captive portal checks
Brian Williammee [Thu, 1 Aug 2013 00:07:33 +0000 (17:07 -0700)]
Track latency of captive portal checks

When captive portal check occurs, track its latency, whether or not
we received a response, and whether or not the response was a captive
portal.  Pair with information identifying the access point / base
station, and broadcast it (with a system|signature-protected
permission).

Broadcast only occurs if user has consented to
Settings.Global.WIFI_SCAN_ALWAYS_AVAILABLE.

Change-Id: I6fd59954a7ee2cc7acedf064a1465882653b2173

11 years agoMerge "Use more styles for preferences to allow single pane 10""
Amith Yamasani [Tue, 6 Aug 2013 23:21:23 +0000 (23:21 +0000)]
Merge "Use more styles for preferences to allow single pane 10""

11 years agoMerge "NFC: @hide some APIs, add setDefaultForNextTap API."
Martijn Coenen [Tue, 6 Aug 2013 22:46:48 +0000 (22:46 +0000)]
Merge "NFC: @hide some APIs, add setDefaultForNextTap API."

11 years agoMerge "Event handler should be private in MediaFocusControl"
Jean-Michel Trivi [Tue, 6 Aug 2013 22:37:45 +0000 (22:37 +0000)]
Merge "Event handler should be private in MediaFocusControl"

11 years agoNFC: @hide some APIs, add setDefaultForNextTap API.
Martijn Coenen [Tue, 6 Aug 2013 22:34:03 +0000 (15:34 -0700)]
NFC: @hide some APIs, add setDefaultForNextTap API.

Change-Id: I31efe4c96a62e6c3dcb984a885214e6df045c6c6

11 years agoam bdf85de3: am 7b60431b: update <uses-feature> for OpenGL ES version with 3.0 exampl...
Scott Main [Tue, 6 Aug 2013 22:35:20 +0000 (15:35 -0700)]
am bdf85de3: am 7b60431b: update <uses-feature> for OpenGL ES version with 3.0 example and API guide link. bug: 10207619

* commit 'bdf85de3b81586aadce564cf9cad6f4c725a302e':
  update <uses-feature> for OpenGL ES version with 3.0 example and API guide link. bug: 10207619

11 years agoam 7b60431b: update <uses-feature> for OpenGL ES version with 3.0 example and API...
Scott Main [Tue, 6 Aug 2013 22:30:41 +0000 (15:30 -0700)]
am 7b60431b: update <uses-feature> for OpenGL ES version with 3.0 example and API guide link. bug: 10207619

* commit '7b60431ba0f69e51b25e5bf92379222d8ef8691b':
  update <uses-feature> for OpenGL ES version with 3.0 example and API guide link. bug: 10207619

11 years agoMerge "Introduce new transparent bars sysui flags."
John Spurlock [Tue, 6 Aug 2013 22:29:16 +0000 (22:29 +0000)]
Merge "Introduce new transparent bars sysui flags."

11 years agoUse more styles for preferences to allow single pane 10"
Amith Yamasani [Mon, 5 Aug 2013 17:26:18 +0000 (10:26 -0700)]
Use more styles for preferences to allow single pane 10"

Change-Id: Ib3b1032ca45f22bca08546eb65b2c42bc1975bdf

11 years agoPrint UI polish (a.k.a. just the next iteration))
Svetoslav Ganov [Tue, 6 Aug 2013 21:40:46 +0000 (14:40 -0700)]
Print UI polish (a.k.a. just the next iteration))

1. Added a dialog to show a spinner while the app is writing the
   printed content.

2. Fixed print job config acitivity leaking.

3. Updated the notifications a bit.

Change-Id: I8314390135a49605ee11ab4ed14b210a29566745

11 years agoAdding new constants for STEP_DETECTOR, STEP_COUNTER and GEOMAGNETIC_ROTATION_VECTOR.
Aravind Akella [Tue, 6 Aug 2013 01:43:55 +0000 (18:43 -0700)]
Adding new constants for STEP_DETECTOR, STEP_COUNTER and GEOMAGNETIC_ROTATION_VECTOR.

Change-Id: I31fbdf379454e71950b111f2461bdb430f3352fc

11 years agoMerge "Refactor ProcessStats, ProcessTracker."
Dianne Hackborn [Tue, 6 Aug 2013 21:32:41 +0000 (21:32 +0000)]
Merge "Refactor ProcessStats, ProcessTracker."

11 years agoRefactor ProcessStats, ProcessTracker.
Dianne Hackborn [Tue, 6 Aug 2013 01:18:42 +0000 (18:18 -0700)]
Refactor ProcessStats, ProcessTracker.

ProcessStats is now called ProcessCpuTracker.

ProcessTracker is now ProcessStatsService, and its inner State
class is broken out into a separate top-level ProcessStats class.
This ProcessStats is moved to the framework, so we will be able
to use it elsewhere.

Change-Id: I6a127bcb835b6b474b72647c0b99b82c2137e5c5

11 years agoUpdate audio comments
Glenn Kasten [Thu, 21 Jun 2012 23:21:36 +0000 (16:21 -0700)]
Update audio comments

Change-Id: If470efd77ed886da8d83a1b427c132bad77e668b

11 years agoupdate <uses-feature> for OpenGL ES version with 3.0 example and API guide link.
Scott Main [Tue, 6 Aug 2013 20:07:34 +0000 (13:07 -0700)]
update <uses-feature> for OpenGL ES version with 3.0 example and API guide link.
bug: 10207619

Change-Id: Ia94b102f3c1476eb118c212de3246e735ffe57b6

11 years agoClearly separate consumer and producer interfaces
Mathias Agopian [Fri, 2 Aug 2013 08:38:38 +0000 (01:38 -0700)]
Clearly separate consumer and producer interfaces

Bug: 9265647
Change-Id: Ic68e91788d0a05251e1d2fb9f9d4de403c7099bf