Commit Graph

16765 Commits

Author SHA1 Message Date
Adrian Roos
026a6122d6 HIC: Improve AccelerationClassifier am: 6b312a09fc
am: 127dcbcf07

Change-Id: Ic349f652a1fa37615f371f2a66ea0e94a584d9f9
2016-08-19 23:01:12 +00:00
Adrian Roos
127dcbcf07 HIC: Improve AccelerationClassifier
am: 6b312a09fc

Change-Id: Ic0e0db4d8c0cdd507352b18904fb5fb0747168e9
2016-08-19 22:28:08 +00:00
Adrian Roos
6b312a09fc HIC: Improve AccelerationClassifier
Apply a bunch of improvements to the acceleration classifier:

- When dragging from the edges, we get some delay without
  movement between the DOWN and MOVE, which confounds the
  classifier. Now discounts data segments where the delay
  does not match the expected 16ms.
- The distance ratio did not compensate for differences
  in sampling. If it does it's equivalent to the speed
  ratio however. The distance ratio was removed and the
  impact of the speed ratio score doubled.
- If we cannot calculate the ratio, no longer penalize
  the traces for this.

Bug: 27405075
Change-Id: I067eb4d478593afbb20354e5c85a05353e2b4184
2016-08-19 13:38:02 -07:00
Jorim Jaggi
9322632f6a Fix a flicker when returning to the lockscreen am: d11d1a9486
am: afaf4ac7a9

Change-Id: I26eb19aba2c68fea5faa82bf1e41286b8999bf4a
2016-08-17 18:54:20 +00:00
Jorim Jaggi
afaf4ac7a9 Fix a flicker when returning to the lockscreen
am: d11d1a9486

Change-Id: Ia0b617be2bb00db24115f04f362cd072d59ebe71
2016-08-17 18:28:59 +00:00
Selim Cinek
00768a7fdc Fixed the animation of the no notifications view am: a9d3efd194
am: 5e5a78fc56

Change-Id: Id1dc8db7bfd6be2f0d0892f9c0b4c2b06c878c16
2016-08-17 18:27:34 +00:00
Selim Cinek
4a7e6cfe3f Fixed a bug where the summary could become visible even if it was suppressed am: 80c44dd800
am: b665b73437

Change-Id: If10fcd405843f8e84e1512970b58186af5965948
2016-08-17 18:18:48 +00:00
Adrian Roos
d966384d80 NavBar: Use rotation watcher am: a98b32cea2
am: c5d9eb8ebd

Change-Id: I599c828ade63e93b0d71a3a1b5e96670c7a40ea1
2016-08-17 18:18:39 +00:00
Jorim Jaggi
d11d1a9486 Fix a flicker when returning to the lockscreen
If we return to the lockscreen from a FLAG_SHOW_WHEN_LOCKED activity,
there was an additional black flicker as the wallpaper wasn't shown
for a couple of frames. The issue is that we didn't set the wallpaper
flag again, to fix another flicker with lockscreen wallpapers. Now,
we pass the state whether we currently have a lockscreen wallpaper
and if we don't have one, we immediately set the wallpaper flag
again.

Bug: 30829255
Bug: 30883413
Change-Id: I9faeaa77b98eb02058171ce19cf90b43826ebe9e
2016-08-17 18:10:54 +00:00
Sriram Viswanathan
f90598df12 Replace android auto assets with the latest am: e45311adc9
am: a7ad4e2e45

Change-Id: I8358957ea74d8d815189cf5a843c978fca61c777
2016-08-17 18:04:29 +00:00
Selim Cinek
b665b73437 Fixed a bug where the summary could become visible even if it was suppressed
am: 80c44dd800

Change-Id: Id811e1b58d656aefcd776f6bff110a5021890214
2016-08-17 17:15:48 +00:00
Adrian Roos
c5d9eb8ebd NavBar: Use rotation watcher
am: a98b32cea2

Change-Id: Ia820decbca2535b85ac1bf366bd789ab51be4d73
2016-08-17 17:15:34 +00:00
Sriram Viswanathan
a7ad4e2e45 Replace android auto assets with the latest
am: e45311adc9

Change-Id: Ied7a5adcceda1efba66e91d97a835c7ccf870f4d
2016-08-17 17:14:27 +00:00
Selim Cinek
a9d3efd194 Fixed the animation of the no notifications view
The view was also animating when the shade wasn't expanded.

Change-Id: If235db60230525dda17c5df0681beec2ab01a79e
Fixes: 30880548
2016-08-16 21:46:47 +00:00
TreeHugger Robot
e68228fbd9 Merge "Fixed a bug where the summary could become visible even if it was suppressed" into nyc-mr1-dev 2016-08-16 18:36:25 +00:00
Adrian Roos
27c3c34fe1 Merge "NavBar: Use rotation watcher" into nyc-mr1-dev 2016-08-16 18:32:29 +00:00
Sriram Viswanathan
91ef993e2d Merge "Replace android auto assets with the latest" into nyc-mr1-dev 2016-08-16 18:20:11 +00:00
Bill Yi
ab2c244135 Merge "Import translations. DO NOT MERGE" into cw-f-dev 2016-08-16 17:40:35 +00:00
Selim Cinek
80c44dd800 Fixed a bug where the summary could become visible even if it was suppressed
Because the updating of the suppression was prohibited, some groups could loose
their suppression state when they were heads upped. This would lead to duplicate
notifications. We're now still allowing the state to be properly modified instead
but don't notify listeners anymore since that was only an internal update.

Change-Id: I6ae96ea8cfab00ef6bdb1ef047f8b77ea88e8206
Fixes: 30608517
2016-08-16 17:19:14 +00:00
TreeHugger Robot
60ab8d072a Merge "Import translations. DO NOT MERGE" into nyc-mr1-dev 2016-08-16 15:32:05 +00:00
Bill Yi
ad0dfea172 Import translations. DO NOT MERGE
Change-Id: I7c27b0c03c815ecccf209cd70ab764b836c7932b
Auto-generated-cl: translation import
2016-08-16 00:29:56 -07:00
Bill Yi
722903594e Import translations. DO NOT MERGE
Change-Id: Id1e14fdd967a5e1abbf775ea762a369d562a90dd
Auto-generated-cl: translation import
2016-08-15 19:03:54 -07:00
Robert Carr
bdbc23bebe Introduce new constant for double tap gesture rotation hint. am: 57d9fbd17f
am: 5f684d92b6

Change-Id: Idf2bb8511e24732018ff59ffbf30f440cb7f9779
2016-08-16 01:44:07 +00:00
Robert Carr
5f684d92b6 Introduce new constant for double tap gesture rotation hint.
am: 57d9fbd17f

Change-Id: I994c15c692ec52160deb3d29b46396802562588a
2016-08-16 01:35:59 +00:00
TreeHugger Robot
b14543d9d8 Merge "Introduce new constant for double tap gesture rotation hint." into nyc-mr1-dev 2016-08-16 01:21:57 +00:00
Adrian Roos
a98b32cea2 NavBar: Use rotation watcher
Replaces the display changed listener with a
rotation watcher. The display listener fired
too late and did not produce a rotated frame
in time. Also cleans up logging tags.

Change-Id: I3336275ae123f868ed9ee8cc28a6285a06f2e1a6
Fixes: 30312602
2016-08-15 17:46:16 -07:00
Adrian Roos
160410a016 Fix bug where RemoteInputView didn't reopen the IME am: 0356865dad
am: 2bf73bbb43

Change-Id: I5e5561ee9831946325df02f806d9c32cbb30555b
2016-08-15 23:57:45 +00:00
Adrian Roos
2bf73bbb43 Fix bug where RemoteInputView didn't reopen the IME
am: 0356865dad

Change-Id: I983cd6d0abc35af375d95722606969f13aebb9f5
2016-08-15 23:48:58 +00:00
TreeHugger Robot
094b8b3321 Merge "Fix bug where RemoteInputView didn't reopen the IME" into nyc-mr1-dev 2016-08-15 23:45:05 +00:00
Selim Cinek
d59911c6a2 Fixed an issue where the background could show in a wrong way am: d381bc3133
am: 3ff0c5b3ce

Change-Id: I1f02f607593fbf9adcaae6cf92bb5ec559bcaa21
2016-08-15 22:10:54 +00:00
Adrian Roos
0356865dad Fix bug where RemoteInputView didn't reopen the IME
Editable TextViews are implicitly selectable. Setting the selectable
property to true however causes a bug where the onTouch logic thinks
the view is not editable and thus doesn't show the IME when clicking
that view.

Change-Id: I9dd6139195bd98b26293e330290650d4e5549a6d
Fixes: 30595718
2016-08-15 15:02:57 -07:00
Selim Cinek
3ff0c5b3ce Fixed an issue where the background could show in a wrong way
am: d381bc3133

Change-Id: I219e4809a6a9f839353e049d4d563ece37866ca2
2016-08-15 22:02:18 +00:00
Selim Cinek
d381bc3133 Fixed an issue where the background could show in a wrong way
Change-Id: Icefeb2275d6cbabc576c35990ce4441b3a41ebd9
Fixes: 30855224
2016-08-15 21:42:09 +00:00
Jason Monk
d1e62a4f86 QS Footer: Don't update icon from wrong thread. am: f9c6026a7d
am: b10b51277f

Change-Id: If585197223ec5767c2f63dce8717eda82d482a30
2016-08-15 19:47:30 +00:00
Jason Monk
b10b51277f QS Footer: Don't update icon from wrong thread.
am: f9c6026a7d

Change-Id: Ie473b181aaf6fc4ea91d8e986188cdc6f06d87ef
2016-08-15 19:34:58 +00:00
TreeHugger Robot
aedfa81517 Merge "QS Footer: Don't update icon from wrong thread." into nyc-mr1-dev 2016-08-15 19:25:46 +00:00
Robert Carr
57d9fbd17f Introduce new constant for double tap gesture rotation hint.
As discussed in ag/1192965/ we have a special case for rotation
animation selection in launch from double tap. This was set to
ROTATION_ANIMATION_CROSSFADE as the goal was just to avoid
ROTATION_ANIMATION_ROTATE on the viewfinder surface and
seamless rotation in launch scenarios was initially descoped. Now we
are aiming at fixing this though, and ROTATION_ANIMATION_CROSSFADE
does not quality for seamless rotation. ROTATION_ANIMATION_JUMPCUT
also would not be a good choice because in the situation that the
rotation occurs before the app starting window appears, then we would
jump cut from unrotated wallpaper to rotated app, I think we want
a crossfade in this scenario. To this end introduce and use a new @hide constant
ROTATION_ANIMATION_SEAMLESS which qualifies for seamless but falls back
to CROSSFADE if seamless can't occur.

Bug: 30171992
Change-Id: If1945b17b5159be4cd5ba0b139d6bea9f7fcca33
2016-08-15 12:25:37 -07:00
Selim Cinek
7148c72747 Fixed that HUNs wouldn't show when the keyguard is occluded am: 2dabc8286b
am: 2a5ad74860

Change-Id: Id573dfb2c7db51e6a62aae7153c86545eae9b9f7
2016-08-15 19:05:04 +00:00
Selim Cinek
2a5ad74860 Fixed that HUNs wouldn't show when the keyguard is occluded
am: 2dabc8286b

Change-Id: If70dd09b854dfdd5964733d802d95185ee04b841
2016-08-15 18:46:04 +00:00
Selim Cinek
45d2ff9b6a Merge "Fixed that HUNs wouldn't show when the keyguard is occluded" into nyc-mr1-dev 2016-08-15 18:35:59 +00:00
Jason Monk
f9c6026a7d QS Footer: Don't update icon from wrong thread.
Change-Id: I25191818579fac57236b67d7291b6ee00dd838b5
Fixes: 30748384
2016-08-15 13:57:43 -04:00
Adrian Roos
de3e10b81c Fix LockscreenWallpaper jank am: d866b02d54
am: bce85f3986

Change-Id: Ia8138f5db517412c9fc8491cca69caf82a881530
2016-08-13 00:28:03 +00:00
Adrian Roos
bce85f3986 Fix LockscreenWallpaper jank
am: d866b02d54

Change-Id: Iad0c7104d644ebe5fa86a12cc765fc0916103c19
2016-08-13 00:20:08 +00:00
TreeHugger Robot
6912cf9b30 Merge "Fix LockscreenWallpaper jank" into nyc-mr1-dev 2016-08-13 00:13:00 +00:00
Adrian Roos
d866b02d54 Fix LockscreenWallpaper jank
Change-Id: I3f11d26eaa51eb509284fb1bb25eab03a4f243a0
Fixes: 30493315
2016-08-12 15:31:24 -07:00
Sriram Viswanathan
e45311adc9 Replace android auto assets with the latest
The latest assets which matches up with that in the App.
Also the matches up with sizes with icons the nexus launcher.

BUG:30388078

Change-Id: Iffac75b86c3d736392fa7a1809ffdf921d610b3d
2016-08-12 13:51:31 -07:00
Jason Monk
dcd90a1cba Start listening on notifications/QS panels on expansion started am: b5ece9a9d6
am: 81d51c5da9

Change-Id: Ib62be93bca8981d839458f490a5331b461cd0429
2016-08-12 17:19:32 +00:00
Jason Monk
81d51c5da9 Start listening on notifications/QS panels on expansion started
am: b5ece9a9d6

Change-Id: I948930f17c1d0e08ba3d33ea5db48e3071b2fe03
2016-08-12 17:12:35 +00:00
Jason Monk
de214f40cf Merge "Start listening on notifications/QS panels on expansion started" into nyc-mr1-dev 2016-08-12 17:04:47 +00:00
Bill Yi
7e33c8c4d2 Import translations. DO NOT MERGE
Change-Id: Ib152ecb48817f123084dd0c776f3aa6393fc3f83
Auto-generated-cl: translation import
2016-08-12 00:26:31 -07:00