10373 Commits

Author SHA1 Message Date
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
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
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
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
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
vandwalle
171575266c Merge "add more info to WifiConfiguration.toString: - add the noInternetAccess field - add stats about user triggered wifi state disabling requests - Wifi SSID can change even though we don't loose connection, hence it must be looked at with each Network State Change" into lmp-dev 2014-09-08 19:22:15 +00:00
Jason Monk
95e71085e2 Merge "Add VPN Key to signal icons" into lmp-dev 2014-09-08 18:15:38 +00:00
Adrian Roos
b60d47ccef Initilize LockPatternUtils with the current user
Prevents us from ending up with the wrong user in case
of SystemUI restarts.

Bug: 17343537
Change-Id: I40282380740f8b58adc72d24cb01d1018f07cfe7
2014-09-08 19:23:00 +02:00
Adrian Roos
0c6763a19f Show confirmation dialog when adding user from QS
Bug: 17392352
Change-Id: I522b0427dbb594d5e8ce33e928dfdc896dc961c7
2014-09-08 19:11:00 +02:00
Jorim Jaggi
85dc23cc69 Start all resolver activities after keyguard is gone
Bug: 17417099
Change-Id: I30b154067b1c4cbca09af49a4763f9cf5fdc19e6
2014-09-08 16:53:11 +02:00
Selim Cinek
62ea340af4 Announcing the stream type when the volume panel comes up
Bug: 17299985
Change-Id: I5f71f1ca63223d0a039a5b92dc9521b6dc1e2da5
2014-09-08 15:54:41 +02:00
Adrian Roos
1e4ecf8e7b Don't crash if there's no QS panel
Bug: 17408080
Change-Id: I4632f3b1f484e2e0870f128031ab23db9c520837
2014-09-08 15:20:07 +02:00
Jorim Jaggi
9261b3b778 Fix invisible low prio notifications in SHADE_LOCKED
Bug: 17403672
Change-Id: Iaee27d839f30cf13bfa7b10186c0f52f811fdc62
2014-09-08 14:02:07 +02:00
Selim Cinek
cb2b6737ae Fixed a bug with the anti-falsing logic with dismissing
Bug: 15433087
Change-Id: I48b96c1b8e081d6790d4cd9f5866f699b64e61fc
2014-09-08 13:56:18 +02:00
vandwalle
448e208b0a add more info to WifiConfiguration.toString:
- add the noInternetAccess field
- add stats about user triggered wifi state disabling requests
- Wifi SSID can change even though we don't loose connection, hence it must be looked at with each Network State Change

Bug:17348200

Change-Id: Ic956e11e7d61faf472a7332f84a46a746922455a
2014-09-07 21:43:25 -07:00
Amith Yamasani
d28665b3c8 Merge "Use correct API for badging" into lmp-dev 2014-09-07 22:56:19 +00:00
Amith Yamasani
fdf169cbea Use correct API for badging
Bug: 17414778
Change-Id: I7c0321d9435b0787a90cd62be80862069ba2d790
2014-09-07 15:45:57 -07:00
Winson Chung
4e8dd649b4 Ensuring that we retry if the callback for animation started comes before the Recents activity starts. (Bug 17316671)
Change-Id: I8e50e2cd9ba6a47dda21f21afbe14bb9d3eda979
2014-09-07 20:08:55 +00:00
Winson Chung
2e7f3bdcc9 Removing unnecessary delays, ensuring transition thumbnail is the size of the header. (Bug. 16987565)
Change-Id: Ic104876c5fe16997eca00e0a2b3d8644c927120c
2014-09-07 20:08:40 +00:00
Winson Chung
d78d4f3acd Revert "Delay in app transition until home animation completes. (Bug 17012456)"
This reverts commit e9883b8a92d72a3cfd947b3ce835bc8e4da2f1b2.

Change-Id: I61664e2a2589d09e5a93a776cf3c391049e7b284
2014-09-07 20:08:22 +00:00
Dianne Hackborn
a4e102ee58 Work on issue #17357238: Recents is often slow if not used in a while
Add a new activity attribute, resumeWhilePausing, that allows an
activity specifying it to immediately start running without waiting
for the previous activity to pause.  The recents activity is updated
to use this.

The implementation of this is ultimately fairly simple -- if we are
in the path of resuming such an activity, and find that we first need
to pause the existing activity, then within the activity manager we
do the regular pause flow but act like it has immediately finished
pausing right then so that we can immediately go on to the resume.
To make this clean, we tell the activity when asking it to pause that
it should not come back and tell us it is done, because we aren't in
any way waiting for it.

One potentially important change I needed to make here is the pause
callback no longer provides the saved persistent state, because we
now can't count on that callback happening.  I don't think there was
really any utility in this anyway -- all modern apps will have their
save state flow happen as part of stopping, not pausing, so we'll
only capture that saved state when the stop is reported back anyway.
And since we do send the saved state back when stopping, it would
always blow away whatever we had gotten at the pause.

Finally, update the documentation for AppTask.startActivity(), and
fix the implementation handling that to be cleaner -- we need to
deal with inTask first before getting in to "oh noes add NEW_TASK
if this isn't coming from a calling activity" flow.

Change-Id: Ia1da0fac90d7bdbaafdda2e34850d795ce17a39f
2014-09-05 18:43:43 -07:00
Svetoslav
6552bf3da6 Print spooler UI polish and bug fixes.
1. Added an empty state for pages that are being rendered.

2. Fixed a NPA on a binder thread when destoroying the
   remote print adapter.

3. Fixed a rare crash when the print activity gets an
   activity class callback while initializing.

4. Changed the preview pages on phone in land to four.

5. Fixed a flicker from a list of pages to an empty state
   and then back to the list of pages.

bug:15704969
bug:16966145

Change-Id: I0eea2f30a102d8fefcbf90187fa6d8612fb19434

Conflicts:
	packages/PrintSpooler/src/com/android/printspooler/widget/PageContentView.java
2014-09-05 15:21:50 -07:00
Eino-Ville Talvala
71aa8ab5d7 Merge "Camera2: Final API revisions" into lmp-dev 2014-09-05 20:43:52 +00:00
RoboErik
dfafca7691 Merge "rename add/removeCallback to register/unregisterCallback" into lmp-dev 2014-09-05 19:49:36 +00:00