4900 Commits

Author SHA1 Message Date
John Spurlock
5d2268ad8d am e932e30e: Distinguish transient + transparent bar styles.
* commit 'e932e30eadb5978591316ffe3d21d60604c0cd91':
  Distinguish transient + transparent bar styles.
2013-08-13 10:34:49 -07:00
John Spurlock
e932e30ead Distinguish transient + transparent bar styles.
Transient bars = 30% black scrim per spec (formerly view alpha).
Transparent nav bar = Simple gradient drawable from 50% to 0% black.
Transparent status bar = Fully transparent.

Smoother transitions between bar modes will be tricky due to
coordination with window manager, and thus deferred to a separate
future change.

Pre-baked assets instead of the gradient drawable will also be
part of a separate future change, this change is simply meant to
move closer to the final look and feel to minimize confusion for
those kicking the tires on the new flags.

Bug:10012887
Change-Id: I8c35a660187903224a6bfe604b5313e9115c4a73
2013-08-13 13:29:43 -04:00
John Spurlock
8fb569e86c am 34e13d90: Update transient navigation confirmation logic.
* commit '34e13d90eda9bfda7a70998d190a95c88aa3d3d1':
  Update transient navigation confirmation logic.
2013-08-13 10:24:24 -07:00
John Spurlock
34e13d90ed Update transient navigation confirmation logic.
Show the confirmation toast when hiding the transient
navigation bar only the first time per app, per reboot.

Hitting the power key while the transient nav is hidden
is taken as a signal of possible user confusion, so reshow
the prompt the next time.

This requires the confirmation prompt to live in policy
(not sysui).  It arguably should have been here in the first
place, since the transient bar state/policy was here, and
sysui should not have not been able to fail to display
the prompt correctly.

Also take this opportunity to remove a hack wrt positioning
the confirmation properly while the nav bar is transitioning.
Toasts now support LAYOUT_HIDE_NAVIGATION if applied to the
toast's view.

Bug: 10246225
Change-Id: Ieb6355e4ca975c0758918a39e3c2ec13da81c7f4
2013-08-13 13:18:14 -04:00
Baligh Uddin
43e56c4a91 Merge "Import translations. DO NOT MERGE" into klp-dev 2013-08-13 07:29:07 +00:00
David Christie
8810a0c3c2 am 69b9eff1: Merge "Update Quick Settings to use new consolidated master location method. This is an effort to consolidate the logic of what the "master location switch" means. Quick settings will no longeer explicitly enable/disable gps and network providers." into
* commit '69b9eff155254f1c274b8adbbf5501ddec4da089':
  Update Quick Settings to use new consolidated master location method. This is an effort to consolidate the logic of what the "master location switch" means.  Quick settings will no longeer explicitly enable/disable gps and network providers.
2013-08-12 18:47:21 -07:00
David Christie
69b9eff155 Merge "Update Quick Settings to use new consolidated master location method. This is an effort to consolidate the logic of what the "master location switch" means. Quick settings will no longeer explicitly enable/disable gps and network providers." into klp-dev 2013-08-13 01:44:42 +00:00
Baligh Uddin
2bab15e513 Import translations. DO NOT MERGE
Change-Id: Iff45d8191fc4ac1fb7ae48c680cebd3f9dcf83da
Auto-generated-cl: translation import
2013-08-12 09:06:40 -07:00
Jeff Sharkey
0c305430e8 am 436b6ee3: Merge "Catch a few extra users of UserEnvironment." into klp-dev
* commit '436b6ee3500888a1611d2030b994263b5efa44bc':
  Catch a few extra users of UserEnvironment.
2013-08-11 18:07:49 -07:00
Jeff Sharkey
436b6ee350 Merge "Catch a few extra users of UserEnvironment." into klp-dev 2013-08-12 00:46:33 +00:00
Jeff Sharkey
7f392defcc Catch a few extra users of UserEnvironment.
Change-Id: I3112773b72c329893e4118ef1c4f4087d899139e
2013-08-11 17:42:17 -07:00
Svetoslav Ganov
098480310f am b8160401: Merge "Fix the build" into klp-dev
* commit 'b8160401a6ebfb6287513400ff9834656e5cb6e7':
  Fix the build
2013-08-11 15:30:56 -07:00
Svetoslav Ganov
b8160401a6 Merge "Fix the build" into klp-dev 2013-08-11 22:27:00 +00:00
Svetoslav Ganov
55daead3c5 Fix the build
Change-Id: Icf3b339f7b300cc8673443fa8afd38ce78964683
2013-08-11 15:26:13 -07:00
Svetoslav Ganov
e1c2dfeebd am c7c4d6dd: Merge "Refinement of the print service APIs." into klp-dev
* commit 'c7c4d6dd4df2b177d0b6e382fdcde9bf2032baea':
  Refinement of the print service APIs.
2013-08-11 14:47:26 -07:00
Svetoslav Ganov
c7c4d6dd4d Merge "Refinement of the print service APIs." into klp-dev 2013-08-11 21:42:54 +00:00
Svetoslav Ganov
798bed6cc7 Refinement of the print service APIs.
1. Factored out the printer discovery APIs of a print service in a
   dedicated session object that is created by the print service on
   demand. This ensures that added/removed/updated printers from
   one session do not interfere with another session.

2. Updated the app facing APIs to pass in a document info along
   with a printed file. Also exposed the print file adapter so
   apps that create a temporary file for printing can intercept
   when it is read by the system so the file can be deleted.

3. Updated the print service documentation.

Change-Id: I3473d586c26d8bda1cf7e2bdacb441aa9df982ed
2013-08-11 14:40:05 -07:00
Baligh Uddin
78a4740aa5 Import translations. DO NOT MERGE
Change-Id: I8e06a2ad389d19787557ab26ef10b20e6d667ec4
Auto-generated-cl: translation import
2013-08-09 00:29:33 -07:00
Jeff Sharkey
1faca4cd10 am 37ee68fc: Merge "Always include a default DocumentStack." into klp-dev
* commit '37ee68fc091f64e17c0ef29b123b782b6daecf16':
  Always include a default DocumentStack.
2013-08-08 18:03:12 -07:00
Jeff Sharkey
255b4a6fdb Always include a default DocumentStack.
Change-Id: Idbde1d832ac95c4b3c8bd5cd82b0fa695e0bcb6d
2013-08-08 17:57:16 -07:00
David Christie
262f3ff288 am 8ffe17ae: Merge "Update gps status icon to be a "high power" location icon. Move icon to right side of the screen and synchronize status with AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION." into klp-dev
* commit '8ffe17ae32e72e5d872a36d5048bf912d28e766f':
  Update gps status icon to be a "high power" location icon. Move icon to right side of the screen and synchronize status with AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION.
2013-08-08 15:55:58 -07:00
John Spurlock
d5e9f2c159 am c059dbe9: Merge "Fix recent regression in hideytoast." into klp-dev
* commit 'c059dbe9c46d4b7f096826f9ce27f01491cc8087':
  Fix recent regression in hideytoast.
2013-08-08 15:55:39 -07:00
Daniel Sandler
4a76922e6c am d646882a: Add missing densities for HUN backgrounds.
* commit 'd646882af9a545c65bc591f85d0015fa45558e9e':
  Add missing densities for HUN backgrounds.
2013-08-08 15:55:36 -07:00
Daniel Sandler
9a81e154cc am f6971c80: Merge "OK, now it\'s a release." into klp-dev
* commit 'f6971c80fd413cad8e5333cd3184f41fcf64e14b':
  OK, now it's a release.
2013-08-08 15:55:33 -07:00
John Spurlock
d9c51fdcbe am 7a605df3: Merge "Don\'t always auto-collapse an empty notification shade."
* commit '7a605df3137ee571dec855761c0cb15b28513d26':
  Don't always auto-collapse an empty notification shade.
2013-08-08 15:55:28 -07:00
Chris Wren
60708eaf2f am e97f90b9: on screen off: convert heads up to full screen intent.
* commit 'e97f90b9bbe3e75db058827887a842c5f4a0dda0':
  on screen off: convert heads up to full screen intent.
2013-08-08 15:55:25 -07:00
Chris Wren
e7ea9466a0 am 6ccf0aff: Merge "heads up notifications always take the top spot"
* commit '6ccf0affd0a286ea4af9d48b54070deb9e476e90':
  heads up notifications always take the top spot
2013-08-08 15:55:23 -07:00
Chris Wren
4cbafb6a9a am d4db6cbc: don\'t bump an active heads up for a corrupt notification
* commit 'd4db6cbc0fa5b3b1ff7ea18f7b861f0753518e4f':
  don't bump an active heads up for a corrupt notification
2013-08-08 15:55:18 -07:00
Chris Wren
10afd0f095 am 464a8ce9: Merge "Animate the heads up notification into the shade."
* commit '464a8ce9cc6cfa19bce1abb5b744eff50a8a677d':
  Animate the heads up notification into the shade.
2013-08-08 15:55:15 -07:00
Chris Wren
457d901b13 am bb8b602b: Merge "ensure heads up slider is initialized."
* commit 'bb8b602b7826e7e819beee673a836629d78c3cbb':
  ensure heads up slider is initialized.
2013-08-08 15:55:13 -07:00
Chris Wren
944e41fe32 am 10dc5d97: Merge "proper geometry for heads up on tablets."
* commit '10dc5d97d4f1186ab9ea0eac254427e4082872a9':
  proper geometry for heads up on tablets.
2013-08-08 15:55:10 -07:00
Svetoslav Ganov
c8916c9d05 am 1194d3f7: Merge "Print UI polish based on UX feedback."
* commit '1194d3f7332c933599c7b8dcf86b0b604b6e5cf1':
  Print UI polish based on UX feedback.
2013-08-08 15:54:57 -07:00
Jeff Sharkey
20d49271a5 am 26d4adf3: Merge "Better handling of broken storage providers."
* commit '26d4adf30f3a40a7f3f7945939f5534a93a27c44':
  Better handling of broken storage providers.
2013-08-08 15:54:52 -07:00
Jason Monk
020d429ded am 3bf09f77: Merge "Add PAC File support for proxy configuration"
* commit '3bf09f77c2150c5d3426cf9b347e8d7a835a73c7':
  Add PAC File support for proxy configuration
2013-08-08 15:54:40 -07:00
Jeff Sharkey
9a1237b5b9 am 72bd0620: Merge "Settings, replace files, sorting by size, tweaks."
* commit '72bd06204406e93abc236b91bfafd7d2be368221':
  Settings, replace files, sorting by size, tweaks.
2013-08-08 15:54:19 -07:00
David Christie
d4544b75f1 Update Quick Settings to use new consolidated master location method.
This is an effort to consolidate the logic of what the "master
location switch" means.  Quick settings will no longeer explicitly
enable/disable gps and network providers.

Change-Id: I78e1337561f72aca81ba5b14321845a0a9d0b597
2013-08-08 14:23:20 -07:00
David Christie
c750c1fb83 Update gps status icon to be a "high power" location icon.
Move icon to right side of the screen and synchronize status with
AppOpsManager.OP_MONITOR_HIGH_POWER_LOCATION.

Change-Id: Iea2570501cb18be0489669fd4ea240dc63f9567a
2013-08-08 14:06:25 -07:00
John Spurlock
c059dbe9c4 Merge "Fix recent regression in hideytoast." into klp-dev 2013-08-08 19:17:31 +00:00
Daniel Sandler
d646882af9 Add missing densities for HUN backgrounds.
Bug: 10242598
Change-Id: I4bb48102c1d1f94e61c6c8f61e567be919a5fbdf
2013-08-08 14:32:53 -04:00
Daniel Sandler
f6971c80fd Merge "OK, now it's a release." into klp-dev 2013-08-08 17:50:00 +00:00
John Spurlock
bcb21a8390 Fix recent regression in hideytoast.
Bug:10240896
Change-Id: Iba7af673bdfd878a02932e19dd594e3f9667d7a1
2013-08-08 13:31:47 -04:00
Daniel Sandler
06c0e408c4 OK, now it's a release.
Bug: 10239687
Change-Id: I38a86926f32e5877cd47ae5e4b625a811478aadc
2013-08-08 12:03:38 -04:00
John Spurlock
7a605df313 Merge "Don't always auto-collapse an empty notification shade." 2013-08-08 11:27:30 +00:00
Chris Wren
e97f90b9bb on screen off: convert heads up to full screen intent.
Let the app handle screen off as appropriate.

Bug: 10209767
Change-Id: I3949def1980118c0380b173a83148321ad8c5d95
2013-08-08 07:23:13 -04:00
Chris Wren
f0048ce66f heads up notifications always take the top spot
If it was important enough to be a heads up, it should get top spot.
Make this sticky so bumping out of the HUN doesn't require a shade sort.
Split view creation and insertion so we can get the shade order correct.

Bug: 10001616
Change-Id: I4c1f2581e11a94241269984a01b92289a8943065
2013-08-08 07:16:38 -04:00
Chris Wren
d4db6cbc0f don't bump an active heads up for a corrupt notification
Change-Id: I405d6438e003b08fc3e144bb870c3b3233f71e26
2013-08-08 07:06:15 -04:00
Chris Wren
464a8ce9cc Merge "Animate the heads up notification into the shade." 2013-08-08 10:48:31 +00:00
Chris Wren
bb8b602b78 Merge "ensure heads up slider is initialized." 2013-08-08 10:47:02 +00:00
Chris Wren
10dc5d97d4 Merge "proper geometry for heads up on tablets." 2013-08-08 10:46:02 +00:00
Svetoslav Ganov
1194d3f733 Merge "Print UI polish based on UX feedback." 2013-08-08 02:48:01 +00:00