237479 Commits

Author SHA1 Message Date
Pavel Zhamaitsiak
ce13079ab3 resolve merge conflicts of 20ebbb3 to nyc-dev
Change-Id: I31d76a02456b3f09a6bdac11c6dbc5e913f5f7df
2016-04-04 17:42:05 -07:00
Tomasz Mikolajewski
31da1779e7 Merge "Fix perf tests for cold startup." into nyc-dev 2016-04-05 00:33:03 +00:00
Paul Jensen
10d70bff61 Merge "Fix potential ApfFilter bugs by careful ByteBuffer use" into nyc-dev 2016-04-05 00:23:37 +00:00
Paul Jensen
10594942c6 Merge "Plumb WiFi multicast filter through to ApfFilter" into nyc-dev 2016-04-05 00:22:22 +00:00
Aga Wronska
ac4c87f580 Merge "Make Metrics.logKeyboardAction() method take @KeyboardAction type instead of KeyEvent" into nyc-dev 2016-04-05 00:20:53 +00:00
Pavel Zhamaitsiak
20ebbb3349 Merge "ConnectivityMetricsLogger: Switch to "pull" model" into mm-wireless-dev 2016-04-05 00:13:18 +00:00
Makoto Onuki
eae454b4fd Merge "Do not enable binder exception logging." into nyc-dev 2016-04-05 00:09:47 +00:00
Yohei Yukawa
807c3a828b Merge "Unhide View#dispatch{Start,Finish}TemporaryDetach()" into nyc-dev 2016-04-05 00:05:09 +00:00
Rob Carr
df9b907814 Merge "Correct screenshot bounds calculation." into nyc-dev 2016-04-05 00:01:00 +00:00
Adrian Roos
cd2273c1d9 Merge "Get rid of negative margins" into nyc-dev 2016-04-04 23:55:54 +00:00
Mady Mellor
5ba429c40a Merge "Fix slow dismiss animation" into nyc-dev 2016-04-04 23:29:07 +00:00
Muyuan Li
18d2b32423 SettingsLib: refactor for extensibility.
Add short version of charging / discharging labels. Extended getBatteryInfo method to take in additional flag for short version labels.

Change-Id: I499ce59493f1345c3084d48829ded5117d470e44
(cherry picked from commit e686bf4514d9c1116a4eaa8af285f44613e23b36)
2016-04-04 23:19:29 +00:00
Mady Mellor
e9301ed60d Merge "Fix showing gear behind notification when RTL language selected" into nyc-dev 2016-04-04 23:14:07 +00:00
Adam Powell
13af9845d4 Merge "Tweaks for ScaleGestureDetector" into nyc-dev 2016-04-04 23:06:00 +00:00
Jorim Jaggi
fe3442d366 Merge "Fix minimized dock" into nyc-dev 2016-04-04 23:05:38 +00:00
Makoto Onuki
e23283a6fa Do not enable binder exception logging.
Bug 28005618

Change-Id: Ie13fd5b6d1fcbf27ad480501e30b5cb1774e8b48
2016-04-04 15:58:39 -07:00
Winson Chung
7c8bf0f51e Merge "Adding content description for app-info button when talkback is enabled." into nyc-dev 2016-04-04 22:50:42 +00:00
Rob Carr
e15fb0172c Merge "Do not constrain width/height of child windows at layout." into nyc-dev 2016-04-04 22:33:45 +00:00
Robert Carr
bd9993662d Correct screenshot bounds calculation.
If we intersect each window in the application with
our screenshot bounds we will end up reduced to the bounds
of the smallest window. Modify logic to just check for
intersection without modifying the bounds.

Bug: 27996291
Change-Id: Ib0ebb6bd02a313f67f1562dabcfb394efa8f16cf
2016-04-04 15:30:31 -07:00
Adam Lesinski
b12c2601f4 Merge "AAPT2: Add option to add JavaDoc annotations to Java classes" into nyc-dev 2016-04-04 22:25:56 +00:00
Roshan Pius
bf8ea13069 Merge "power_profile: Move all wifi power values" into nyc-dev 2016-04-04 22:21:25 +00:00
Gustav Sennton
3d48074ed9 Merge "Provide command to change WebView implementation." into nyc-dev 2016-04-04 22:09:36 +00:00
Winson
b92dd63581 Adding content description for app-info button when talkback is enabled.
Bug: 27699389
Change-Id: Ia4a0e5f197fa5c51585c3cfb9c71aee858836047
2016-04-04 22:08:50 +00:00
Chris Craik
a7f775db93 Merge "Fix how outlines are sent to rendernode" into nyc-dev 2016-04-04 22:08:32 +00:00
Jorim Jaggi
ef92d6fd24 Fix minimized dock
- When SysUI crashed, make sure state is up-to-date
- When divider gets invisible, update state because animations
won't finish
- Make sure to keep mMinimizedDock up-to-date in all cases, even
if docked stack is already gone.
- If docked stack is going away, reset minimized state
- Disallow undocking when minimized.

Bug: 27588187
Bug: 27486464
Change-Id: I6ea48562fae3a8df038a690a488580d758681370
2016-04-04 15:00:29 -07:00
Jorim Jaggi
26952d748e Do not call forceLayout if not needed
If the relevant frames for the app don't actually change, there is
no reason to call forceLayout and force a layout pass.

Bug: 27864358
Change-Id: I2add8cc5791023937afc154e6e50bbf7efb35adb
2016-04-04 21:56:48 +00:00
Doris Liu
d9289085be Merge "Make AVD thread safe" into nyc-dev 2016-04-04 21:53:45 +00:00
Adam Powell
c6df18f5fa Tweaks for ScaleGestureDetector
Remove obsolete history and size tracking from ScaleGestureDetector.

Change-Id: I20c323a8a92e467b62eb412b718c2e9e906e7800
2016-04-04 14:42:24 -07:00
Doris Liu
1d8e194661 Make AVD thread safe
This CL introduces staging properties to VectorDrawable, which holds
properties coming from UI thread. When staging properties are changed,
they are marked dirty, and the staging properties then get pushed to
RenderThread at sync point. In cases where no staging property has
been changed, at sync point we sync the render thread properties back
to staging properties to reflect the latest render thread animation
value change.

Also, update Vector Drawable bitmap only when it's dirty

Bug: 27343970
Bug: 27385912
Bug: 27263667
Bug: 27927674
Bug: 27774383

Change-Id: Ia864f5400a53a08dbfb284fae581fb1aac4fff87
2016-04-04 14:40:17 -07:00
Eric Laurent
2523d8f1e3 Merge "MediaActionSound: fix SoundPool load race condition" into nyc-dev 2016-04-04 21:39:02 +00:00
Andrii Kulian
1e9c685d45 Merge "Set correct bounds when docked stack is removed" into nyc-dev 2016-04-04 21:13:49 +00:00
Aga Wronska
d42a9bed93 Make Metrics.logKeyboardAction() method take @KeyboardAction type
instead of KeyEvent

Change-Id: Ib9a19532612b679141b6d611e448247d3b0bab23

Fixing: b/27942360
2016-04-04 14:07:27 -07:00
Gustav Sennton
ab3b6b1258 Provide command to change WebView implementation.
Add a shell command for switching webview implementation so that this
can be done automatically - without interacting with a Dev Setting.

Bug: 27540566
Change-Id: I3c4acaa1b8f4ba24c637ef8a1d48cc7b2616bd91
2016-04-04 20:46:50 +00:00
Ruchi Kandoi
a68fe1e4d3 Merge "PowerManager: Adds isSustainedPerformanceModeSupported()" into nyc-dev 2016-04-04 20:42:12 +00:00
Chris Craik
136d1af1cc Fix how outlines are sent to rendernode
bug:27918183

Fixes an issue where all convex outlines were pushed as empty rects to
RenderNode.

Also adds outline/reveal clip property logging, so such issues are
easier to debug in the future.

Change-Id: Ic4a996ecd09a8ef84cdf8b963bdb4853c7f6d180
2016-04-04 13:40:39 -07:00
Jorim Jaggi
bcff1431dd Move docked stack to the side in landscape instead of clip
Bug: 27154882
Bug: 27972642
Change-Id: Ie170571e356199bfbde014c80d670fd238825828
2016-04-04 20:31:04 +00:00
Jorim Jaggi
e1d4361497 Fix screen rotation animation
Bug: 25019187
Change-Id: I65b5a76147b93e081466035bfc3cce0c9473610e
2016-04-04 20:30:26 +00:00
Derek Sollenberger
c6418c04ab Merge "Cleanup addtional files that were missed in the first purge of AvoidXfermode" into nyc-dev 2016-04-04 20:26:28 +00:00
Rob Carr
817ef323c7 Merge "Ensure we leave space between layers in docked stack." into nyc-dev 2016-04-04 20:24:29 +00:00
Bo Liu
2f1eb93354 Merge "Expose setDrawGLFunctionDetachedCallback to webview" into nyc-dev 2016-04-04 20:20:10 +00:00
Gustav Sennton
7182d98777 Merge "Move more code from WebViewUpdateService to separate overridable class" into nyc-dev 2016-04-04 20:19:56 +00:00
Makoto Onuki
24b74150fb Merge "ShortcutManager: More command for CTS, more tests.." into nyc-dev 2016-04-04 20:03:22 +00:00
Mady Mellor
dc6c97df48 Fix slow dismiss animation
An accelerated interpolator is used for dismissing when the
the velocity = 0 which can occur with dismiss all or if the
noti is swiped far enough but not fast enough.

There is no duration specified when the noti is swiped far
enough, and the velocity passed in is 0 so the default
duration is used without taking into account the velocity.

This CL alters the code to pass in the velocity so that a
duration is calculated.

Bug: 27864379
Change-Id: Ifac04bb8d1b714c040102fef035d55737c844157
2016-04-04 12:53:49 -07:00
Eric Laurent
d7a267de78 MediaActionSound: fix SoundPool load race condition
If play() was called shortly after load() and before the load
completion callback, the sample was considered
loaded although the SoundPool was not ready to play it.

Fixed by implementing a more robust state machine for sound
load and play control.

Bug: 22499793
Change-Id: I727e07f842a0adc5225dc248f16bc4a7225a1c8e
2016-04-04 12:53:01 -07:00
Adam Lesinski
3524a23edb AAPT2: Add option to add JavaDoc annotations to Java classes
Change-Id: I7ee8c20cdd91380927a65c41097ffd3a6ffa2df5
2016-04-04 12:42:05 -07:00
Eino-Ville Talvala
68a5811711 Merge "Camera: Allow preview operation of SCENE_MODE_HDR" into nyc-dev 2016-04-04 19:38:53 +00:00
Eino-Ville Talvala
ecfbb0a1bb Merge "Camera: Add proper buffer drop errors to LEGACY mode" into nyc-dev 2016-04-04 19:38:10 +00:00
Jason Monk
23c60f6736 Merge "Add app attribution to QS editing" into nyc-dev 2016-04-04 19:28:51 +00:00
Ruchi Kandoi
b4aa2e9c37 PowerManager: Adds isSustainedPerformanceModeSupported()
isSustainedPerformanceModeSupported() returns true if the device
supports the mode. It checks for the boolean config
"config_sustainedPerformanceModeSupported" to be set.

Bug: 22864186
Change-Id: I0f9f0bcbb8c02b19f37e9c87570d88e8f78f7992
Signed-off-by: Ruchi Kandoi <kandoiruchi@google.com>
2016-04-04 19:25:23 +00:00
Anna Galusza
cd1e9ad83c Merge "Fix bug where service disabled with disableSelf() would not reset soft keyboard behavior. Bug: 27947344" into nyc-dev 2016-04-04 19:19:32 +00:00