10492 Commits

Author SHA1 Message Date
Jorim Jaggi
b1cd3c1945 Inflate guts only when needed
This saves us a ton of views.

Bug: 17346296
Change-Id: I3eafd6703d19704dc8b108c1034266f38cf77f7b
2014-09-10 14:58:50 +02:00
Selim Cinek
e84e6676c4 Fixed a bug where text could overlap in Quick settings
Bug: 17434395
Change-Id: I001f54586666e2e575b0295315f7b2181c25a1e9
2014-09-10 14:41:58 +02:00
Svetoslav
3ab1ec0549 RTL support for print UI.
bug:16966145

Change-Id: I488d11f1941545630d52eea4c4d48c43667c6067
2014-09-09 21:30:35 -07:00
Svetoslav
dfa3e7c6fd Fix page spacing in preview list.
bug:16966145

Change-Id: I2c4bde3a50ee0fc202fc169a63d4eeeb43c5f4ae
2014-09-09 19:04:51 -07:00
Winson Chung
ee44595bd5 Announcing the task list as you scroll. (Bug 15699050)
Change-Id: I7453f41a2c87241e538cdc7281cdc20a8710ebbb
2014-09-09 22:50:01 +00:00
Winson Chung
8a8d9611e2 Fixing issue with Recents showing blank. (Bug 16987565) 2014-09-09 22:49:24 +00:00
Winson Chung
e5c06a6431 Fixing issue with touch events not being forwarded to task switch fling detector. (Bug 16656169)
Change-Id: Id8f96455f6e11a13a8ac12d341464bca4419d7c5
2014-09-09 22:49:04 +00:00
Winson Chung
3aa9c221c0 Adding task switching animation xmls for further tweaking. (Bug 16656169)
Change-Id: I472116cb3d86a3f90a935b2a3ac058ffc2ac1b5d
2014-09-09 22:48:19 +00:00
Winson Chung
7937fdb341 Fixing weird highlight on dismiss button ripple. (Bug 17420495)
Change-Id: I769c0647417efeda9b39913c01c62be0d6ff7887
2014-09-09 22:47:43 +00:00
Svetoslav
15040e0a58 Merge "Trim unnecessary pages when printing." into lmp-dev 2014-09-09 22:11:20 +00:00
Jorim Jaggi
ed713ee58d Use simpler layout for auto-redacted notifications
Saves us some views.

Bug: 17346296
Change-Id: I024f566354db2b6b93d50fcfb15f8434a1c2976b
2014-09-09 23:57:34 +02:00
John Spurlock
8143d2fbfd Merge "QS: Fix tile padding on dual tile first lines." into lmp-dev 2014-09-09 21:47:53 +00:00
John Spurlock
baa958dc44 QS: Fix tile padding on dual tile first lines.
Now that the caret is not being set, update the padding to
handle this case.

Bug:17421027
Change-Id: Iaacf60df6e39801a27dad054f2d42c99b85c46cd
2014-09-09 17:33:01 -04:00
John Spurlock
38553adb4f Merge "On db upgrade, reset ringer mode to normal." into lmp-dev 2014-09-09 21:20:28 +00:00
John Spurlock
7d424b6c50 On db upgrade, reset ringer mode to normal.
When users upgrade to L, don't restore into a state that would force
zen mode to follow suit.  A user's first encounter with zen mode
should be via the UI.

Bug:16826161
Change-Id: I4eb63dce37d88f3a91b5034b3393eed2b768562c
2014-09-09 17:05:54 -04:00
John Spurlock
d5dfb723b8 Merge "Doze: Wake up on touch, fade between states." into lmp-dev 2014-09-09 20:24:04 +00:00
John Spurlock
8b12f22bc1 Doze: Wake up on touch, fade between states.
- When dozing, the first motion event triggers a wake up.
- Fade the backgrounds to ease the transition out of doze.

Bug:17167296
Change-Id: I5615ca0839dfa3ed2cf3001baf407c707f0676d5
2014-09-09 16:06:22 -04:00
Jason Monk
8a2d4fc5be Fix blank QS Panel after double tap on profile icon
When handleShowDetailImpl is called twice in quick succession (show
then not show), there is a race condition.  If the second call comes
in before the animation finishes, the second call will call
setGridContentVisibility(true) before the onAnimationEnd callback
calls setGridContentVisibility(false).  At that point the grid
is assumed to be visible when it isn't.

To fix this the HideGridContentWhenDone listener removes itself
as a listener when the animation is cancelled, this will avoid
onAnimationEnd being called in this circumstance, leaving the grid
visible (as it is assumed to be).

Bug: 17424221
Change-Id: I67b84b669ebe0e061e4a2c7f98e8151c221ee4fb
2014-09-09 15:46:35 -04:00
Winson Chung
69550456e3 Merge "Fixing issue with screen pinning not working. (Bug 17436123)" into lmp-dev 2014-09-09 18:33:18 +00:00
Winson Chung
31e8d7602c Merge "Separating the notion of transposed search vs nav bar. (Bug 17402331)" into lmp-dev 2014-09-09 18:33:08 +00:00
Jason Monk
9580f6c6cb Merge "Add user-specific playSoundEffect and use in NavBar" into lmp-dev 2014-09-09 18:03:14 +00:00
Svetoslav
62ce332c14 Trim unnecessary pages when printing.
A user may request a subset of the document's pages to be printed.
In this case the expectation is that the resulting document does
not include not selected pages. While print serivices can do the
trimming themselves or the printer may do so, moving, potantually
many, redundant pages is inefficient. The real problem is when
saving to a PDF file where the saved file must not have the pages
the user did not select. This change adds shredding of undesired
pages from the PDF before saving it or passing it to a print service.
:
bug:17285994

Change-Id: I7deba535af99457bea3c118202314f0f3812e809
2014-09-09 09:38:07 -07:00
Adrian Roos
84e4e62d3b Merge "Initilize LockPatternUtils with the current user" into lmp-dev 2014-09-09 16:37:40 +00:00
Adrian Roos
e5322f47bf Merge "Show confirmation dialog when adding user from QS" into lmp-dev 2014-09-09 16:37:09 +00:00
Adrian Roos
e60d6ed7cb Merge "Don't crash if there's no QS panel" into lmp-dev 2014-09-09 16:35:09 +00:00
Jorim Jaggi
fbc3f1984a Merge "Remove a few unnecessary withLayer() calls" into lmp-dev 2014-09-09 15:51:18 +00:00
Jorim Jaggi
f832638b57 Merge "Fix padding between R and wifi icon" into lmp-dev 2014-09-09 15:49:08 +00:00
Selim Cinek
a9dddfb011 Merge "Fixed a bug that the icon was not animating anymore when updating." into lmp-dev 2014-09-09 15:35:07 +00:00
Selim Cinek
2d12d98303 Merge "Properly announcing HUN state for talkback" into lmp-dev 2014-09-09 15:34:45 +00:00
Selim Cinek
f219dad7e5 Merge "Avoiding heads-up when accessibility is turned on" into lmp-dev 2014-09-09 15:34:07 +00:00
Jorim Jaggi
6107a10ca5 Remove a few unnecessary withLayer() calls
Fixes some jank.

Bug: 17287256
Change-Id: I6c518f12decffa0d3a180499a92823b35e2dd4d5
2014-09-09 17:23:29 +02:00
Jason Monk
e2f4771a01 Update zen mode and qs strings on locale change
Bug: 17288370
Change-Id: Ic6191d5c16687cd760b4a0656d6ee4dbb4c53c45
2014-09-09 10:47:25 -04:00
Jorim Jaggi
c737b9bd5a Fix padding between R and wifi icon
Also adds some padding for the type and the signal strength icon in
LTE, 3G, 4G and 1x case.

Bug: 17421452

Change-Id: Ib3e6d2983397833958bca1fd33eb8b8c69e7c7fd
2014-09-09 16:35:17 +02:00
Selim Cinek
51ae05d920 Fixed a bug that the icon was not animating anymore when updating.
Bug: 16043845
Change-Id: I0cdb1ee5ddefd4404cd9a6cab61baf1b281a457b
2014-09-09 16:35:08 +02:00
Jorim Jaggi
33b5f783af Merge "Do not dim the non-activated notifications on lockscreen" into lmp-dev 2014-09-09 14:01:24 +00:00
Jorim Jaggi
4538cee46d Do not dim the non-activated notifications on lockscreen
This fixes a lot of jank when showing all cards by tapping the more
card, because this lead to layer trashing in every frame (the
background was updated as well as the overall alpha for the card).

Bug: 17419967
Change-Id: Ib39af6eaab26409eedff72c921e9aa1ede31b830
2014-09-09 15:51:39 +02:00
Winson Chung
3751c359b4 Fixing issue with screen pinning not working. (Bug 17436123) 2014-09-09 14:13:04 +02:00
Jorim Jaggi
e51d6a3aec Merge "Apply color to auto-redacted notification" into lmp-dev 2014-09-09 12:01:32 +00:00
Selim Cinek
5276a772ce Properly announcing HUN state for talkback
Bug: 17067870
Bug: 16652871
Change-Id: I5d33166eaab31e3ac58d75653c0f80fab23718c2
2014-09-09 12:27:50 +02:00
Selim Cinek
a8fefa54bd Avoiding heads-up when accessibility is turned on
Bug: 16017019
Change-Id: I08ec75e6b3296eefb9ae5e8fdc9f8dd6c4ad4816
2014-09-09 12:27:27 +02:00
Selim Cinek
5da328beb2 Merge "Announcing the stream type when the volume panel comes up" into lmp-dev 2014-09-09 10:24:45 +00:00
Selim Cinek
0110c57f92 Merge "Fixed a bug with the anti-falsing logic with dismissing" into lmp-dev 2014-09-09 10:23:45 +00:00
Baligh Uddin
50abe004f1 Import translations. DO NOT MERGE
Change-Id: If963270f079a31c285bd50a706330dbcd2a86a7f
Auto-generated-cl: translation import
2014-09-08 16:05:29 -07:00
Chris Wren
6db58cb0a1 Merge "Bring consistency to FLAG_ONLY_ALERT_ONCE semantics." into lmp-dev 2014-09-08 20:47:07 +00:00
Chris Wren
d93d5adfe7 Bring consistency to FLAG_ONLY_ALERT_ONCE semantics.
For updates, the sounds layer checks for existence of the flag on the
new version while the heads up was checking for the flag on the
old version.

Both now agree to check the new version.

Bug: 14255617
Change-Id: Ib617df11f0dea17b5dfdf2ef6330bdbd18032ac6
2014-09-08 16:40:39 -04:00
Jorim Jaggi
92cb37a027 Merge "Start all resolver activities after keyguard is gone" into lmp-dev 2014-09-08 20:38:36 +00:00
Jorim Jaggi
a1eeadee63 Apply color to auto-redacted notification
Bug: 17419964
Change-Id: I82010fe9c2bb2fd0a2300a8290258c7dc13bf6a6
2014-09-08 22:34:39 +02:00
Winson Chung
19d62382d0 Ensuring that the start delay matches the transition delay. (Bug 16987565)
- Also ensure that the empty text is normal weight

Change-Id: I3227a62fcb39910a402b13f42a6cb9e418f992aa
2014-09-08 20:08:01 +00:00
Jorim Jaggi
a3bb226b08 Merge "Fix invisible low prio notifications in SHADE_LOCKED" into lmp-dev 2014-09-08 19:34:44 +00:00
Jason Monk
0c37ba3188 Add user-specific playSoundEffect and use in NavBar
Add a hidden version of playSoundEffect that takes a userId to
get the correct setting as to whether sound effects should play
or not.

Bug: 15106706
Change-Id: I5c0b74081fd00732a43fe42a76d33d05197333d0
2014-09-08 15:34:23 -04:00