Commit Graph

17943 Commits

Author SHA1 Message Date
Bill Yi
91dc8265ec Import translations. DO NOT MERGE
Change-Id: Ia6a652112c03ebb0661f0d757555eb69d15b6ed7
Auto-generated-cl: translation import
2016-08-22 20:21:24 -07:00
Adrian Roos
a44d769cac HIC: Improve AccelerationClassifier am: 6b312a09fc am: 127dcbcf07
am: 026a6122d6

Change-Id: I74a7bc4647f50afd1749ae837e63d4f678558d2e
2016-08-19 23:09:56 +00:00
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
6fb0e52b85 Fix a flicker when returning to the lockscreen am: d11d1a9486 am: afaf4ac7a9
am: 9322632f6a

Change-Id: I9cd7ead4caa2843e3063d55ea357e9e989c72f0e
2016-08-18 00:17:02 +00:00
Selim Cinek
2f9b367f3d Fixed the animation of the no notifications view am: a9d3efd194 am: 5e5a78fc56
am: 00768a7fdc

Change-Id: I486d98f1eb1333579487206422f95c85f867e58b
2016-08-18 00:01:41 +00: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
Selim Cinek
80a5685ebf Fixed a bug where the summary could become visible even if it was suppressed am: 80c44dd800 am: b665b73437
am: 4a7e6cfe3f

Change-Id: Ic67679ee2070bc8ecce8f74f661d8806b5df9585
2016-08-17 18:40:59 +00:00
Adrian Roos
cd31cde3c2 NavBar: Use rotation watcher am: a98b32cea2 am: c5d9eb8ebd
am: d966384d80

Change-Id: I103e06685d0f0504db7553c94b07f85fe4909df4
2016-08-17 18:40:33 +00:00
Sriram Viswanathan
dd17ac2faa Replace android auto assets with the latest am: e45311adc9 am: a7ad4e2e45
am: f90598df12

Change-Id: Ib2a2910f059cb8568fcb97349c102a3e4aaba33c
2016-08-17 18:29:59 +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
58a00115d9 Merge "Import translations. DO NOT MERGE" 2016-08-16 15:32:31 +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
e277747876 Import translations. DO NOT MERGE
Change-Id: I73e8ffc9d00429aeb7458250b41ddd331632e056
Auto-generated-cl: translation import
2016-08-16 00:00:48 -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
9d9ee4e5a3 Introduce new constant for double tap gesture rotation hint. am: 57d9fbd17f am: 5f684d92b6
am: bdbc23bebe

Change-Id: I6a9b2a55148a1c2428e871337bb300a84887adc7
2016-08-16 01:54:11 +00: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
99d5a54dba Fix bug where RemoteInputView didn't reopen the IME am: 0356865dad am: 2bf73bbb43
am: 160410a016

Change-Id: Id438e2fb6a6ce42f4264f4ca4edbbb59fa715039
2016-08-16 00:07:51 +00: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
bc2fe94fe5 Fixed an issue where the background could show in a wrong way am: d381bc3133 am: 3ff0c5b3ce
am: d59911c6a2

Change-Id: I0652e069ccd63a1ba47152a09ba7fec990b788aa
2016-08-15 22:37:37 +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
5e888e93ca QS Footer: Don't update icon from wrong thread. am: f9c6026a7d am: b10b51277f
am: d1e62a4f86

Change-Id: I5a3bd0c58ecd2e3d39de882c692ab9eb0da5f2b3
2016-08-15 19:56:23 +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