10240 Commits

Author SHA1 Message Date
Selim Cinek
c699b87130 Merge "Fixed a bug with HUNS and dreams" into mnc-dev 2015-06-05 13:27:49 +00:00
Selim Cinek
8f93763cf0 Children which are removed when HUNd now animate out
Bug: 21652976
Change-Id: I7754cbc059e31e57b7b64ea4da7c6ccd9c8c7f04
2015-06-05 15:22:42 +02:00
Jorim Jaggi
81f2992fac Merge "Speed up recents -> app #2" into mnc-dev 2015-06-04 22:30:57 +00:00
Jorim Jaggi
752896648e Merge "Speed up recents -> app" into mnc-dev 2015-06-04 22:30:27 +00:00
Jorim Jaggi
3a4656e887 Merge "Make entering recents a lot faster" into mnc-dev 2015-06-04 21:52:14 +00:00
Vadim Tryshev
c51c3f6436 Merge "Processing non-long clicks on application icon." into mnc-dev 2015-06-04 21:08:33 +00:00
Vadim Tryshev
c1a6c658ae Processing non-long clicks on application icon.
This CL alone doens't fix the whole bug, see the bug
for the AI list.

In normal mode, clicking at application icon on a task view
is ignored to avoid accidental clicks. To open app properties,
we need a long click.

In accessibility mode, we want to make it easier to open app
properties, and accidental clicks are less likely. Hence, allowing
"simple" clicks.

Bug: 20945599
Change-Id: Iec3f911dced1eda09175500fc1e798dd09b6f9e2
2015-06-04 13:26:53 -07:00
Jorim Jaggi
6e18e00a24 Speed up recents -> app #2
Creating the thumbnail of the header for the transition was on the
critical path for starting the activity. This moves it off this path
by doing it after onPause().

Change-Id: Ic54a104d5ad4c40e88638566a3a69cc265a0a0fe
2015-06-04 11:22:48 -07:00
Jorim Jaggi
88f3db9e21 Speed up recents -> app
Because we created a bunch of layers, this delayed calling start
activity in the window manager. Disable these layers, as they are
not really needed.

Change-Id: I59343a92726665f72215a0699c52ead76e78a4b3
2015-06-04 11:22:37 -07:00
Jorim Jaggi
900fb48d26 Make entering recents a lot faster
- Precache the bitmap for the window animation in the preload phase
- Remove some post's so we have a faster path from UP -> startActivity
- Don't dim the headers in the first frame drawn, because layer
creation is slow. Instead, do it in the second frame, when the window
animation is already running.

All these changes combined make going to recents about 40-50ms faster.

Change-Id: I3e4060af1ac57b3f359fe7f86f9e3814c6490323
2015-06-04 11:21:49 -07:00
Jason Monk
ed9d3494a8 Merge "Fix Flashlight tile animation" into mnc-dev 2015-06-04 18:10:33 +00:00
Jason Monk
9128b1e241 Fix Flashlight tile animation
Don't refresh the state if its not different.
(This way setAllowAnimation won't get called when it shouldn't)

Bug: 21335624
Change-Id: Id6f8961b32d12141db5ac0bb847e4751b8a159b8
2015-06-04 13:36:14 -04:00
Selim Cinek
90975e38dd Removed Log message when expanding from HUN
Bug: 20828502
Change-Id: I116afbebe6e6042bb7939892a8ba516d06ba911d
2015-06-04 18:43:58 +02:00
Selim Cinek
dfa2f73602 Removed the arrow from the hint animation
Bug: 21513932
Change-Id: I741343c91a4c92d7f53cb673f60a57e733156521
2015-06-04 16:23:53 +00:00
Selim Cinek
cb9400aa23 Enabled expansion and dragging down when QS is expanded
Previously going to the full shade and expanding notifications
where disabled when QS was expanded even though there was enough
space to allow it. This is now allowed again in order to have
a consistent experience.

Bug: 19712809
Change-Id: Ie756d9c3fbf9dc2e60a05d02f0f4cc5dd6c7ebe0
2015-06-04 15:38:29 +00:00
Selim Cinek
72bcaa20af Moved the circle finishing animation to the RenderThread
Now the preview clipper animation and our own circle drawing
are in sync again when launching an affordance!

Bug: 21440634
Change-Id: I96cda04926fb9ae62db6690ddebaf73df38e9ca9
2015-06-04 15:31:40 +00:00
Selim Cinek
bbc580b0bf Fixed layer trashing when opening / closing the shade
Bug: 21445574
Change-Id: I67ed5f28581a366a4fa7fdc6355371c1fdd0dac3
2015-06-04 15:30:55 +00:00
Selim Cinek
04fb25871d Fixed the touch handling when QS was open
When QS was open, the panel could not always be correctly
scrolled.

Bug: 21525300
Change-Id: If18878d08d20254d9d822d80a295163703d897aa
2015-06-04 15:28:17 +00:00
Selim Cinek
b18a20f13c Fixed a bug with HUNS and dreams
When a notification came in dreamMode and would become a HUN
we were firing its fullscreen intent imediatelly. If that notification
got updated again a moment later, it would also show an additional
HUN even though we just launched the fullscreen intent. This is very
troublesome to handle on the app level, as the notification state
is the same. We are now introducing a cooldown for HUNs when it just
launched a fullscreen intent.

Bug: 19377091
Change-Id: Ib32341c8983f0e977354432ea8d8e98909a13829
2015-06-04 17:08:35 +02:00
Selim Cinek
18d669dc59 Merge "Added logging to debug empty keyguard state" into mnc-dev 2015-06-04 13:50:12 +00:00
Selim Cinek
6ef21fa1c2 Merge "Increased the touch target size for the keyboard affordances" into mnc-dev 2015-06-04 13:48:34 +00:00
Selim Cinek
6a1bd2b3db Added logging to debug empty keyguard state
Bug: 21124013
Change-Id: Icdc085e993aae073ed7c42333f49644624971787
2015-06-04 13:47:03 +00:00
Winson Chung
981975a3e7 Merge "Fixing case where we were not preloading tasks correctly." into mnc-dev 2015-06-03 21:21:58 +00:00
Winson Chung
e1e20e11a7 Fixing case where we were not preloading tasks correctly.
- Should use the actual isTopTaskHome check when preloading.

Bug: 21516523
Bug: 20882957

Change-Id: I60cf1e97f7704828426f72a45329c8c7b962a78c
2015-06-03 12:52:24 -07:00
Adrian Roos
27a2ce2e42 Continuous brightness slider
Changes the brightness slider to have no visible steps
when in auto brightness mode. Also changes mirror
logic to dispatching touches instead of forwarding values.

Bug: 19516826
Change-Id: Ib0233c2dcc6807da96a71d1f5619a117ca2a73bd
2015-06-03 18:14:57 +00:00
Geoff Mendal
4f31c07fdd Merge "Import translations. DO NOT MERGE" into mnc-dev 2015-06-03 17:22:07 +00:00
Geoff Mendal
77100c2094 Import translations. DO NOT MERGE
Change-Id: I885d3ce3321af31b87a4817037557914d9679a4e
Auto-generated-cl: translation import
2015-06-03 11:58:05 -05:00
Xiaohui Chen
4913211dbe Merge "usb debugging: show alert to secondary user" into mnc-dev 2015-06-03 16:35:09 +00:00
Xiaohui Chen
ffcfe3411f usb debugging: show alert to secondary user
Bug: 12785423
Change-Id: If7f60899cfdaca7bdad560bd59a78f5be74c24be
2015-06-03 09:32:19 -07:00
John Spurlock
b9f2b4ec11 Merge "Volume: Ripple tweaking on zen mode condition rows." into mnc-dev 2015-06-03 16:01:00 +00:00
John Spurlock
9ec8f0607e Volume: Ripple tweaking on zen mode condition rows.
Bug: 21335622
Change-Id: Ifcd7e5a3c14625e0442dcdb23b9b27a01545953c
2015-06-03 11:56:08 -04:00
John Spurlock
dfe8044160 Merge "Audio policy: setting explicit non-zero volume unmutes the stream." into mnc-dev 2015-06-03 15:17:55 +00:00
John Spurlock
75ae23c096 Audio policy: setting explicit non-zero volume unmutes the stream.
And vice versa.

Bug: 21584884
Change-Id: I2cd6a84ab40edba4c6fc2b219693e0d4f0527d8d
2015-06-03 10:50:52 -04:00
John Spurlock
e7f68c18bf Merge "Volume footer uglification." into mnc-dev 2015-06-03 13:24:44 +00:00
Adrian Roos
21d2a25763 Prevent panel and QS expansion before device is decrypted
Bug: 21514179
Change-Id: Ia36409a2645a00fc2c2630eb39c05d3a0599fd8a
2015-06-03 01:08:21 +00:00
Jason Monk
6ef831fe1a Merge "Tuner: Let Status bar be tuned" into mnc-dev 2015-06-02 22:39:04 +00:00
Jorim Jaggi
7d01d2c6cf Merge "Fix API review: Camera prewarm" into mnc-dev 2015-06-02 22:25:29 +00:00
John Spurlock
023544f762 Volume footer uglification.
- Move "End now" button to its own line, below the condition lines.
 - Add the feature name "Do Not Disturb" to the condition summary
   for the indef condition.
 - Fix found RTL issues with the footer.

Bug: 21171893
Change-Id: Ia12fe57d46a5547beec82cf76e175982bfa3fd6c
2015-06-02 17:56:28 -04:00
Adrian Roos
579e7b7b9a Merge "Patches for IKeyguardStateCallback" into mnc-dev 2015-06-02 21:05:22 +00:00
Jason Monk
3b230077dc Tuner: Let Status bar be tuned
Also fix a crash in the QSTuner

Bug: 21192440
Change-Id: Ideb8e34b93a4b456d758266dfc06545e7f7ab109
2015-06-02 16:29:35 -04:00
Winson Chung
42fde939ea Merge "Use immutable ashmem bitmaps in screenshot notifications." into mnc-dev 2015-06-02 20:20:07 +00:00
Winson Chung
1b87be470a Use immutable ashmem bitmaps in screenshot notifications.
Bug 21037890
Change-Id: Ib5ed32bb475e1e8f7b3407ac72f53a6d640ffad1
2015-06-02 12:18:05 -07:00
Andrew Flynn
55fc8004ad Show Carrier Network Change icon SysUI even while connected
Taking connect/disconnect events into accounts results in frequent jank
while trying to show the icon.

Bug: 21504588
Change-Id: If271980cc46cfc20f80083de17a4b57c42439069
2015-06-02 12:41:53 -04:00
Selim Cinek
233241f13d Fixed a crash with HUNs
Bug: 21500600
Change-Id: Idf0a7be5d58bb5c666b930a0beada1e0ed2869aa
2015-06-02 13:01:11 +00:00
dooyoung.hwang
328472ebd8 Patches for IKeyguardStateCallback
1. Also notify input is restricted or not when IKeyguardStateCallback callback is added.
When first Keyguard is showing after boot, the mInputRestricted is not updated. So,
inKeyguardRestrictedInputMode still returns false, although device is locked.

2. If mShowing remains false during setup time of KeyguardViewMediator, mInputRestricted
is not updated. This is because updateInputRestrictedLocked is called only if showing
value is changed during setup time.
For this reason, when device is not provisioned, inKeyguardRestrictedInputMode returns
false, and device does not restrict key.

3. If one of callbacks causes RemoteException, the other callbacks are not called.
This is because catching RemoteException breaks for-loop.

(cherry-picked from commit 516dad062580201d7a4ad6c112b23434385d5268)

Change-Id: I0281405127bcc75285b908d01485da3ac9b40b52
Signed-off-by: Dooyoung Hwang <dooyoung.hwang@lge.com>
2015-06-02 03:01:20 +00:00
Jorim Jaggi
d944986fbd Fix API review: Camera prewarm
Let the intent receiver of a camea launch intent declare a prewarm
service instead of sending broadcasts.

Bug: 21347653
Change-Id: I11e31aad4f788ad90eb46a661b819d3e808ddb51
2015-06-01 18:01:20 -07:00
Adrian Roos
c45d6c30a5 Merge "Translucent bars in landscape" into mnc-dev 2015-06-01 23:25:35 +00:00
Winson Chung
c85cd734bd Merge "Don't focus view for invalid task index." into mnc-dev 2015-06-01 23:07:37 +00:00
Winson Chung
daa4a78682 Don't focus view for invalid task index.
Bug: 21322861
Change-Id: I7b8397d18b488bd8f459e578b64d6e82e4f1437d
2015-06-01 16:02:58 -07:00
Adrian Roos
8a8ffd4e9b Translucent bars in landscape
Bug: 18739556
Change-Id: Ib9602a9d1f09e6bd6c1306927990676120dff012
2015-06-01 15:42:26 -07:00