110219 Commits

Author SHA1 Message Date
Svetoslav Ganov
32c5eb3bf8 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
2013-08-06 23:52:38 -07:00
Mathias Agopian
2275c6c8bf attempt to fix build. public api wasn't updated
Change-Id: I5afa7f20d60c1754e4d12318219af5a5861a85e0
2013-08-06 21:37:29 -07:00
Craig Mautner
3be4fed63c Merge "Add home StackBox to all DisplayContent." 2013-08-07 04:00:57 +00:00
Dianne Hackborn
1d3ff5b454 Add new app ops method to reset all op modes.
Change-Id: I5ee6764de8dc31d812e5a788914ab0099bbef4c0
2013-08-06 20:34:49 -07:00
Mathias Agopian
61be60b966 Merge "put TextureView back to async mode" 2013-08-07 03:19:23 +00:00
Mathias Agopian
24f43c9d2c 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
2013-08-06 20:16:12 -07:00
Jeff Tinker
8f6c998cfb Merge "Define error codes for MediaCodec.CryptoException" 2013-08-07 01:44:09 +00:00
Romain Guy
271c719224 Merge "Split assets atlas batches Bug #10185769" 2013-08-07 01:36:24 +00:00
Romain Guy
7f6d6b0370 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
2013-08-06 18:35:01 -07:00
Adam Skory
dfc7fd7818 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
2013-08-07 02:20:44 +01:00
Alan Viverette
2f3317a06d Add API for scrolling AbsListView by a pixel amount
Change-Id: Ib0fc48879991fd467242d8dc337db419edb12acf
2013-08-06 18:19:48 -07:00
Jeff Sharkey
1377be0fb6 Merge "Recents in create, uniform item layouts." 2013-08-07 01:18:02 +00:00
Jeff Sharkey
b156f4bf8c 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
2013-08-06 18:16:21 -07:00
Craig Mautner
9d808b1f48 Add home StackBox to all DisplayContent.
Each display needs a stack and a stack box to contain windows.

Fixes bug 10161525.

Change-Id: Ic617cdf5a082ae68f0589e826ecbb37d8fba52ac
2013-08-06 18:07:13 -07:00
jangwon.lee
740c1dd97e Guarantee that all db related files are deleted together.
When deleting a db file, all db related files has to be deleted together
like journal, wal, shm etc.

Change-Id: I49d4581673d03fe669e9e0eaa2b50f7b9d3c34a4
Signed-off-by: jangwon.lee <jangwon.lee@lge.com>
2013-08-07 09:50:43 +09:00
Ben Gruver
57e76b405f Add the inadvertently missing SCHEME string value provider
Change-Id: I70ce104efac23c3776596571e48ee195be958373
2013-08-06 17:25:27 -07:00
Brian Williammee
1ed51627d9 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
2013-08-06 16:32:44 -07:00
Amith Yamasani
40f5b63bd9 Merge "Use more styles for preferences to allow single pane 10"" 2013-08-06 23:21:24 +00:00
Martijn Coenen
d9b67633f6 Merge "NFC: @hide some APIs, add setDefaultForNextTap API." 2013-08-06 22:46:48 +00:00
Jean-Michel Trivi
b5edb0bd60 Merge "Event handler should be private in MediaFocusControl" 2013-08-06 22:37:45 +00:00
Martijn Coenen
d40f43c125 NFC: @hide some APIs, add setDefaultForNextTap API.
Change-Id: I31efe4c96a62e6c3dcb984a885214e6df045c6c6
2013-08-06 15:36:37 -07:00
Scott Main
ef54f611c1 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
2013-08-06 15:35:20 -07:00
Scott Main
bdf85de3b8 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
2013-08-06 15:30:41 -07:00
John Spurlock
166bc5b664 Merge "Introduce new transparent bars sysui flags." 2013-08-06 22:29:17 +00:00
Amith Yamasani
cf638aceef Use more styles for preferences to allow single pane 10"
Change-Id: Ib3b1032ca45f22bca08546eb65b2c42bc1975bdf
2013-08-06 15:19:10 -07:00
Svetoslav Ganov
14db9654f6 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
2013-08-06 15:07:17 -07:00
Aravind Akella
4b628cb53d Adding new constants for STEP_DETECTOR, STEP_COUNTER and GEOMAGNETIC_ROTATION_VECTOR.
Change-Id: I31fbdf379454e71950b111f2461bdb430f3352fc
2013-08-06 14:58:12 -07:00
Dianne Hackborn
614b4c4cd4 Merge "Refactor ProcessStats, ProcessTracker." 2013-08-06 21:32:42 +00:00
Craig Mautner
8dee535c41 Use package CompatibilityInfo as default.
Do not use CompatibilityInfo.DEFAULT_COMPATIBILITY_INFO as default
if there is one for the package.

Partial fix for 10191318.

Change-Id: Ie218f0717398bb86e5c35066c8fe6a462b7d5273
2013-08-06 14:04:05 -07:00
Dianne Hackborn
d2932243e3 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
2013-08-06 13:54:07 -07:00
Glenn Kasten
86fad47e68 Update audio comments
Change-Id: If470efd77ed886da8d83a1b427c132bad77e668b
2013-08-06 13:38:16 -07:00
Scott Main
7b60431ba0 update <uses-feature> for OpenGL ES version with 3.0 example and API guide link.
bug: 10207619

Change-Id: Ia94b102f3c1476eb118c212de3246e735ffe57b6
2013-08-06 13:17:41 -07:00
Mathias Agopian
52a9a10b6b Clearly separate consumer and producer interfaces
Bug: 9265647
Change-Id: Ic68e91788d0a05251e1d2fb9f9d4de403c7099bf
2013-08-06 13:07:42 -07:00
Ben Gruver
0dff706489 Merge "Read intent firewall rules from any xml file in the ifw directory" 2013-08-06 20:02:30 +00:00
Craig Mautner
4373232037 Merge "Extend clearing of mLastPausedActivity." 2013-08-06 19:56:50 +00:00
Jeff Brown
445b5f460f Merge "Minor style cleanups." 2013-08-06 19:31:23 +00:00
Jean-Michel Trivi
55e1bc6c58 Event handler should be private in MediaFocusControl
Change-Id: I034224d42a3cfed8c49bfee55b332068796f9977
2013-08-06 12:01:03 -07:00
Jeff Sharkey
b3316ef798 Merge "Storage roots in fragment, sectioned." 2013-08-06 18:42:18 +00:00
Jean-Michel Trivi
34077aa6bb Merge "Reorder and comment MediaFocusControl code" 2013-08-06 18:40:55 +00:00
Jeff Sharkey
66516697a2 Storage roots in fragment, sectioned.
Move storage roots into a fragment, since it's not a drawer on
tablets.  Cluster and sort roots when displaying.  SectionedListAdapter
to make clustered roots easier to manage.  Add docs for root types.

Move roots cache into separate class to make it easier to share.

Change-Id: Ia0b92eade059e816324641f600c08026c0e268c9
2013-08-06 11:38:46 -07:00
Amith Yamasani
aac3954414 Merge "Remove restrictions PIN for all users" 2013-08-06 18:20:55 +00:00
Amith Yamasani
350962ca82 Remove restrictions PIN for all users
Bug: 10200097
Change-Id: I4d95cd49a21e8f4f6b2c141d1205f81622c395b5
2013-08-06 11:18:53 -07:00
Alan Viverette
3ed2ba3e76 Merge "Avoid creating new objects when DateView updates time" 2013-08-06 18:18:06 +00:00
John Spurlock
e1f366faf8 Introduce new transparent bars sysui flags.
Two new public sysui flags for views to request transparent
bars:
  View.SYSTEM_UI_FLAG_TRANSPARENT_STATUS
  View.SYSTEM_UI_FLAG_TRANSPARENT_NAVIGATION

This first change simply introduces the flags at the framework
level, and makes the requisite layout tweaks to WM.

As part of this change, expunge the term "hideybars" from the
codebase. The flag to declare support for transient bars is called:
  View.SYSTEM_UI_FLAG_ALLOW_TRANSIENT

Final visuals/transitions between opaque/transparent bars will be
done as a subsequent change. Right now the transparent style is
identical to the transient bars.

Change-Id: I5ead9c5e7b77f212df5b2a5f6e770596cd2226f3
2013-08-06 14:17:22 -04:00
Dirk Dougherty
ec99780637 am 1153eb46: am 4e847bd1: Doc change: fix federated urls.
* commit '1153eb46b3aa0226f6d1eac7a196052bd5d818f0':
  Doc change: fix federated urls.
2013-08-06 10:48:48 -07:00
Dirk Dougherty
1153eb46b3 am 4e847bd1: Doc change: fix federated urls.
* commit '4e847bd1f0c4e09f169603fde129e4433a3fe5bc':
  Doc change: fix federated urls.
2013-08-06 10:46:37 -07:00
Jean-Michel Trivi
73673ab798 Reorder and comment MediaFocusControl code
Change-Id: Iacc03a7233789bd1588e9f7d2ca5df10a756fb0d
2013-08-06 10:42:45 -07:00
Dirk Dougherty
605ca20378 am c5663c9f: am 8154d293: am 58c68d77: Merge "Doc change: Updated reference docs for Google Play Services 3.2." into jb-mr2-docs
* commit 'c5663c9f7cdd33e163f745bf4e65e141ca233537':
  Doc change: Updated reference docs for Google Play Services 3.2.
2013-08-06 10:37:14 -07:00
David Christie
c5a5d20b7c Merge "Revert "Fix broken unit test"" 2013-08-06 17:28:49 +00:00
David Christie
ba530545f7 Revert "Fix broken unit test"
This reverts commit 0ca981fe42c43a4b7c345f4a0a2b3b2a519be5da.

Change-Id: I67f5e7227a8a874158c4f0954e62a77a317f1edd
2013-08-06 17:28:03 +00:00