OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Separate inflate from render step" into nyc-dev
Diego Perez [Tue, 5 Apr 2016 08:17:45 +0000 (08:17 +0000)]
Merge "Separate inflate from render step" into nyc-dev

8 years agoMerge "Stop automatically creating action mode in FS extracted mode." into nyc-dev
Keisuke Kuroyanagi [Tue, 5 Apr 2016 07:50:45 +0000 (07:50 +0000)]
Merge "Stop automatically creating action mode in FS extracted mode." into nyc-dev

8 years agoMerge "Hide 'select all' menu option when ALLOW_MULTIPLE intent is not passed in...
Aga Wronska [Tue, 5 Apr 2016 04:34:08 +0000 (04:34 +0000)]
Merge "Hide 'select all' menu option when ALLOW_MULTIPLE intent is not passed in DocumentsActivity. Make 'select all' select only enabled files." into nyc-dev

8 years agoMerge "resolve merge conflicts of 20ebbb3 to nyc-dev" into nyc-dev
Pavel Zhamaitsiak [Tue, 5 Apr 2016 04:29:11 +0000 (04:29 +0000)]
Merge "resolve merge conflicts of 20ebbb3 to nyc-dev" into nyc-dev

8 years agoMerge "Delete unused default DNS setting code" into nyc-dev
Erik Kline [Tue, 5 Apr 2016 04:00:27 +0000 (04:00 +0000)]
Merge "Delete unused default DNS setting code" into nyc-dev

8 years agoMerge "Move from on464XlatChange() to setNeighborDiscoveryOffload()" into nyc-dev
Erik Kline [Tue, 5 Apr 2016 03:55:40 +0000 (03:55 +0000)]
Merge "Move from on464XlatChange() to setNeighborDiscoveryOffload()" into nyc-dev

8 years agoMerge "Import translations. DO NOT MERGE" into nyc-dev
Bill Yi [Tue, 5 Apr 2016 03:22:26 +0000 (03:22 +0000)]
Merge "Import translations. DO NOT MERGE" into nyc-dev

8 years agoDelete unused default DNS setting code
Erik Kline [Tue, 5 Apr 2016 02:48:01 +0000 (11:48 +0900)]
Delete unused default DNS setting code

Change-Id: I601a647714171f205d179d6fef6c112949fc5a94

8 years agoMerge "Add APF code to drop ARP IPv4 requests not for us" into nyc-dev
Lorenzo Colitti [Tue, 5 Apr 2016 02:46:38 +0000 (02:46 +0000)]
Merge "Add APF code to drop ARP IPv4 requests not for us" into nyc-dev

8 years agoMove from on464XlatChange() to setNeighborDiscoveryOffload()
Erik Kline [Mon, 4 Apr 2016 03:46:51 +0000 (12:46 +0900)]
Move from on464XlatChange() to setNeighborDiscoveryOffload()

Bug: 26238390
Change-Id: I0f971fbf04e44cb61017653f944d71e1f6d128b4

8 years agoMerge "Fix issue with overridden configuration in onConfigurationChanged" into nyc-dev
Adam Lesinski [Tue, 5 Apr 2016 02:22:50 +0000 (02:22 +0000)]
Merge "Fix issue with overridden configuration in onConfigurationChanged" into nyc-dev

8 years agoMerge "Fix opacity setup in FrameBuilder" into nyc-dev
Sergei Vasilinetc [Tue, 5 Apr 2016 01:54:46 +0000 (01:54 +0000)]
Merge "Fix opacity setup in FrameBuilder" into nyc-dev

8 years agoAdd APF code to drop ARP IPv4 requests not for us
Paul Jensen [Fri, 25 Mar 2016 15:25:57 +0000 (11:25 -0400)]
Add APF code to drop ARP IPv4 requests not for us

The WiFi chipset's ARP offload may handle this when the
AP is asleep, but when the AP is awake and the chipset is in
wake-on-wifi mode use APF to filter these packets.

Bug: 27477163
Change-Id: I180c08bd7301a1af9c3f728ff3cba06ca4e1022d

8 years agoMerge "App upload to Context hub." into nyc-dev
Ashutosh Joshi [Tue, 5 Apr 2016 01:32:57 +0000 (01:32 +0000)]
Merge "App upload to Context hub." into nyc-dev

8 years agoImport translations. DO NOT MERGE
Bill Yi [Tue, 5 Apr 2016 01:01:54 +0000 (18:01 -0700)]
Import translations. DO NOT MERGE

Change-Id: I1dc28e766598553596a3abdf05a7781b7b67f4c8
Auto-generated-cl: translation import

8 years agoMerge "Avoid destroying Device separately" into nyc-dev
Yang Ni [Tue, 5 Apr 2016 00:50:40 +0000 (00:50 +0000)]
Merge "Avoid destroying Device separately" into nyc-dev

8 years agoresolve merge conflicts of 20ebbb3 to nyc-dev
Pavel Zhamaitsiak [Tue, 5 Apr 2016 00:42:05 +0000 (17:42 -0700)]
resolve merge conflicts of 20ebbb3 to nyc-dev

Change-Id: I31d76a02456b3f09a6bdac11c6dbc5e913f5f7df

8 years agoMerge "Fix perf tests for cold startup." into nyc-dev
Tomasz Mikolajewski [Tue, 5 Apr 2016 00:33:01 +0000 (00:33 +0000)]
Merge "Fix perf tests for cold startup." into nyc-dev

8 years agoFix opacity setup in FrameBuilder
sergeyv [Tue, 5 Apr 2016 00:12:04 +0000 (17:12 -0700)]
Fix opacity setup in FrameBuilder

bug:27941278
Change-Id: Ib0599f669406d2fb477d51d5ba701a89f83f9bd9

8 years agoMerge "Fix potential ApfFilter bugs by careful ByteBuffer use" into nyc-dev
Paul Jensen [Tue, 5 Apr 2016 00:23:36 +0000 (00:23 +0000)]
Merge "Fix potential ApfFilter bugs by careful ByteBuffer use" into nyc-dev

8 years agoMerge "Plumb WiFi multicast filter through to ApfFilter" into nyc-dev
Paul Jensen [Tue, 5 Apr 2016 00:22:20 +0000 (00:22 +0000)]
Merge "Plumb WiFi multicast filter through to ApfFilter" into nyc-dev

8 years agoMerge "Make Metrics.logKeyboardAction() method take @KeyboardAction type instead...
Aga Wronska [Tue, 5 Apr 2016 00:20:52 +0000 (00:20 +0000)]
Merge "Make Metrics.logKeyboardAction() method take @KeyboardAction type instead of KeyEvent" into nyc-dev

8 years agoMerge "ConnectivityMetricsLogger: Switch to "pull" model" into mm-wireless-dev
Pavel Zhamaitsiak [Tue, 5 Apr 2016 00:13:18 +0000 (00:13 +0000)]
Merge "ConnectivityMetricsLogger: Switch to "pull" model" into mm-wireless-dev

8 years agoHide 'select all' menu option when ALLOW_MULTIPLE intent is not passed
Aga Wronska [Fri, 1 Apr 2016 20:16:11 +0000 (13:16 -0700)]
Hide 'select all' menu option when ALLOW_MULTIPLE intent is not passed
in DocumentsActivity.
Make 'select all' select only enabled files.

Change-Id: I03326974be46f610622fff14002671e50487e357
Fixing: b/27952285

8 years agoMerge "Do not enable binder exception logging." into nyc-dev
Makoto Onuki [Tue, 5 Apr 2016 00:09:46 +0000 (00:09 +0000)]
Merge "Do not enable binder exception logging." into nyc-dev

8 years agoMerge "Unhide View#dispatch{Start,Finish}TemporaryDetach()" into nyc-dev
Yohei Yukawa [Tue, 5 Apr 2016 00:05:07 +0000 (00:05 +0000)]
Merge "Unhide View#dispatch{Start,Finish}TemporaryDetach()" into nyc-dev

8 years agoMerge "Correct screenshot bounds calculation." into nyc-dev
Rob Carr [Tue, 5 Apr 2016 00:00:59 +0000 (00:00 +0000)]
Merge "Correct screenshot bounds calculation." into nyc-dev

8 years agoMerge "Get rid of negative margins" into nyc-dev
Adrian Roos [Mon, 4 Apr 2016 23:55:53 +0000 (23:55 +0000)]
Merge "Get rid of negative margins" into nyc-dev

8 years agoApp upload to Context hub.
Ashutosh Joshi [Mon, 4 Apr 2016 23:19:29 +0000 (16:19 -0700)]
App upload to Context hub.

Fix constants
Use helper functions to address OS

Change-Id: I61bd1f3eff2716ead2771eda335998f2e9b73afc

8 years agoMerge "Fix slow dismiss animation" into nyc-dev
Mady Mellor [Mon, 4 Apr 2016 23:29:05 +0000 (23:29 +0000)]
Merge "Fix slow dismiss animation" into nyc-dev

8 years agoSettingsLib: refactor for extensibility.
Muyuan Li [Thu, 31 Mar 2016 20:53:56 +0000 (13:53 -0700)]
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)

8 years agoMerge "Fix showing gear behind notification when RTL language selected" into nyc-dev
Mady Mellor [Mon, 4 Apr 2016 23:14:05 +0000 (23:14 +0000)]
Merge "Fix showing gear behind notification when RTL language selected" into nyc-dev

8 years agoMerge "Tweaks for ScaleGestureDetector" into nyc-dev
Adam Powell [Mon, 4 Apr 2016 23:05:58 +0000 (23:05 +0000)]
Merge "Tweaks for ScaleGestureDetector" into nyc-dev

8 years agoMerge "Fix minimized dock" into nyc-dev
Jorim Jaggi [Mon, 4 Apr 2016 23:05:37 +0000 (23:05 +0000)]
Merge "Fix minimized dock" into nyc-dev

8 years agoDo not enable binder exception logging.
Makoto Onuki [Mon, 4 Apr 2016 22:58:35 +0000 (15:58 -0700)]
Do not enable binder exception logging.

Bug 28005618

Change-Id: Ie13fd5b6d1fcbf27ad480501e30b5cb1774e8b48

8 years agoMerge "Adding content description for app-info button when talkback is enabled."...
Winson Chung [Mon, 4 Apr 2016 22:50:40 +0000 (22:50 +0000)]
Merge "Adding content description for app-info button when talkback is enabled." into nyc-dev

8 years agoMerge "Do not constrain width/height of child windows at layout." into nyc-dev
Rob Carr [Mon, 4 Apr 2016 22:33:43 +0000 (22:33 +0000)]
Merge "Do not constrain width/height of child windows at layout." into nyc-dev

8 years agoCorrect screenshot bounds calculation.
Robert Carr [Mon, 4 Apr 2016 22:28:23 +0000 (15:28 -0700)]
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

8 years agoMerge "AAPT2: Add option to add JavaDoc annotations to Java classes" into nyc-dev
Adam Lesinski [Mon, 4 Apr 2016 22:25:55 +0000 (22:25 +0000)]
Merge "AAPT2: Add option to add JavaDoc annotations to Java classes" into nyc-dev

8 years agoFix issue with overridden configuration in onConfigurationChanged
Adam Lesinski [Fri, 1 Apr 2016 23:41:41 +0000 (16:41 -0700)]
Fix issue with overridden configuration in onConfigurationChanged

When using applyOverrideConfiguration, subsequent callbacks to
onConfigurationChanged didn't take into account the locally overridden
configuration. This patches the incoming configuration to match
what is expected by the application.

Bug:27644297
Change-Id: I3a090e9862a56470d999aa0aa4d5bae29f533a11

8 years agoMerge "power_profile: Move all wifi power values" into nyc-dev
Roshan Pius [Mon, 4 Apr 2016 22:21:23 +0000 (22:21 +0000)]
Merge "power_profile: Move all wifi power values" into nyc-dev

8 years agoMerge "Provide command to change WebView implementation." into nyc-dev
Gustav Sennton [Mon, 4 Apr 2016 22:09:35 +0000 (22:09 +0000)]
Merge "Provide command to change WebView implementation." into nyc-dev

8 years agoAdding content description for app-info button when talkback is enabled.
Winson [Mon, 4 Apr 2016 18:02:11 +0000 (11:02 -0700)]
Adding content description for app-info button when talkback is enabled.

Bug: 27699389
Change-Id: Ia4a0e5f197fa5c51585c3cfb9c71aee858836047

8 years agoMerge "Fix how outlines are sent to rendernode" into nyc-dev
Chris Craik [Mon, 4 Apr 2016 22:08:30 +0000 (22:08 +0000)]
Merge "Fix how outlines are sent to rendernode" into nyc-dev

8 years agoFix minimized dock
Jorim Jaggi [Sat, 26 Mar 2016 05:07:16 +0000 (22:07 -0700)]
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

8 years agoDo not call forceLayout if not needed
Jorim Jaggi [Sat, 2 Apr 2016 00:43:14 +0000 (17:43 -0700)]
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

8 years agoMerge "Make AVD thread safe" into nyc-dev
Doris Liu [Mon, 4 Apr 2016 21:53:43 +0000 (21:53 +0000)]
Merge "Make AVD thread safe" into nyc-dev

8 years agoTweaks for ScaleGestureDetector
Adam Powell [Mon, 4 Apr 2016 21:42:24 +0000 (14:42 -0700)]
Tweaks for ScaleGestureDetector

Remove obsolete history and size tracking from ScaleGestureDetector.

Change-Id: I20c323a8a92e467b62eb412b718c2e9e906e7800

8 years agoMake AVD thread safe
Doris Liu [Wed, 2 Mar 2016 23:16:28 +0000 (15:16 -0800)]
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

8 years agoMerge "MediaActionSound: fix SoundPool load race condition" into nyc-dev
Eric Laurent [Mon, 4 Apr 2016 21:39:01 +0000 (21:39 +0000)]
Merge "MediaActionSound: fix SoundPool load race condition" into nyc-dev

8 years agoMerge "Set correct bounds when docked stack is removed" into nyc-dev
Andrii Kulian [Mon, 4 Apr 2016 21:13:48 +0000 (21:13 +0000)]
Merge "Set correct bounds when docked stack is removed" into nyc-dev

8 years agoMake Metrics.logKeyboardAction() method take @KeyboardAction type
Aga Wronska [Mon, 4 Apr 2016 21:02:02 +0000 (14:02 -0700)]
Make Metrics.logKeyboardAction() method take @KeyboardAction type
instead of KeyEvent

Change-Id: Ib9a19532612b679141b6d611e448247d3b0bab23

Fixing: b/27942360

8 years agoProvide command to change WebView implementation.
Gustav Sennton [Wed, 16 Mar 2016 17:38:42 +0000 (17:38 +0000)]
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

8 years agoMerge "PowerManager: Adds isSustainedPerformanceModeSupported()" into nyc-dev
Ruchi Kandoi [Mon, 4 Apr 2016 20:42:10 +0000 (20:42 +0000)]
Merge "PowerManager: Adds isSustainedPerformanceModeSupported()" into nyc-dev

8 years agoFix how outlines are sent to rendernode
Chris Craik [Mon, 4 Apr 2016 20:40:39 +0000 (13:40 -0700)]
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

8 years agoMove docked stack to the side in landscape instead of clip
Jorim Jaggi [Fri, 1 Apr 2016 22:49:45 +0000 (15:49 -0700)]
Move docked stack to the side in landscape instead of clip

Bug: 27154882
Bug: 27972642
Change-Id: Ie170571e356199bfbde014c80d670fd238825828

8 years agoFix screen rotation animation
Jorim Jaggi [Sat, 2 Apr 2016 01:20:33 +0000 (18:20 -0700)]
Fix screen rotation animation

Bug: 25019187
Change-Id: I65b5a76147b93e081466035bfc3cce0c9473610e

8 years agoMerge "Cleanup addtional files that were missed in the first purge of AvoidXfermode...
Derek Sollenberger [Mon, 4 Apr 2016 20:26:26 +0000 (20:26 +0000)]
Merge "Cleanup addtional files that were missed in the first purge of AvoidXfermode" into nyc-dev

8 years agoMerge "Ensure we leave space between layers in docked stack." into nyc-dev
Rob Carr [Mon, 4 Apr 2016 20:24:28 +0000 (20:24 +0000)]
Merge "Ensure we leave space between layers in docked stack." into nyc-dev

8 years agoMerge "Expose setDrawGLFunctionDetachedCallback to webview" into nyc-dev
Bo Liu [Mon, 4 Apr 2016 20:20:08 +0000 (20:20 +0000)]
Merge "Expose setDrawGLFunctionDetachedCallback to webview" into nyc-dev

8 years agoMerge "Move more code from WebViewUpdateService to separate overridable class" into...
Gustav Sennton [Mon, 4 Apr 2016 20:19:55 +0000 (20:19 +0000)]
Merge "Move more code from WebViewUpdateService to separate overridable class" into nyc-dev

8 years agoMerge "ShortcutManager: More command for CTS, more tests.." into nyc-dev
Makoto Onuki [Mon, 4 Apr 2016 20:03:21 +0000 (20:03 +0000)]
Merge "ShortcutManager: More command for CTS, more tests.." into nyc-dev

8 years agoFix slow dismiss animation
Mady Mellor [Thu, 31 Mar 2016 21:18:35 +0000 (14:18 -0700)]
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

8 years agoMediaActionSound: fix SoundPool load race condition
Eric Laurent [Sat, 2 Apr 2016 01:14:28 +0000 (18:14 -0700)]
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

8 years agoAAPT2: Add option to add JavaDoc annotations to Java classes
Adam Lesinski [Sat, 2 Apr 2016 02:19:24 +0000 (19:19 -0700)]
AAPT2: Add option to add JavaDoc annotations to Java classes

Change-Id: I7ee8c20cdd91380927a65c41097ffd3a6ffa2df5

8 years agoMerge "Camera: Allow preview operation of SCENE_MODE_HDR" into nyc-dev
Eino-Ville Talvala [Mon, 4 Apr 2016 19:38:51 +0000 (19:38 +0000)]
Merge "Camera: Allow preview operation of SCENE_MODE_HDR" into nyc-dev

8 years agoMerge "Camera: Add proper buffer drop errors to LEGACY mode" into nyc-dev
Eino-Ville Talvala [Mon, 4 Apr 2016 19:38:09 +0000 (19:38 +0000)]
Merge "Camera: Add proper buffer drop errors to LEGACY mode" into nyc-dev

8 years agoMerge "Add app attribution to QS editing" into nyc-dev
Jason Monk [Mon, 4 Apr 2016 19:28:50 +0000 (19:28 +0000)]
Merge "Add app attribution to QS editing" into nyc-dev

8 years agoPowerManager: Adds isSustainedPerformanceModeSupported()
Ruchi Kandoi [Wed, 30 Mar 2016 19:07:31 +0000 (12:07 -0700)]
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>
8 years agoMerge "Fix bug where service disabled with disableSelf() would not reset soft keyboar...
Anna Galusza [Mon, 4 Apr 2016 19:19:30 +0000 (19:19 +0000)]
Merge "Fix bug where service disabled with disableSelf() would not reset soft keyboard behavior. Bug: 27947344" into nyc-dev

8 years agoFix showing gear behind notification when RTL language selected
Mady Mellor [Mon, 4 Apr 2016 18:56:38 +0000 (11:56 -0700)]
Fix showing gear behind notification when RTL language selected

Need to alter the translation to place the view when in RTL.

Bug: 27596418

8 years agoCleanup addtional files that were missed in the first purge of AvoidXfermode
Derek Sollenberger [Mon, 4 Apr 2016 18:49:51 +0000 (14:49 -0400)]
Cleanup addtional files that were missed in the first purge of AvoidXfermode

bug: 14650725
Change-Id: Ib7fb6a31705fb60535ecf2017db321c15e3d06cc

8 years agoSeparate inflate from render step
Diego Perez [Mon, 4 Apr 2016 13:28:50 +0000 (14:28 +0100)]
Separate inflate from render step

Up until now, createSession will always do a first render. With the new
embedded layoutlib we might want to actually call objects from the
inflated view before doing a render or even do it between renders.
This allows to avoid the first initial render unless needed.

This CL also fixes a bug that would only happen when multiple render
calls are issued. When scrolling, use scrollTo since we likely want
absolute positions, not relative.

Change-Id: I4b1d8388d7218a8de33e25cd546fd965fcb07dc7

8 years agoProperly handle DimLayers which become fullscreen.
Robert Carr [Fri, 1 Apr 2016 01:39:40 +0000 (18:39 -0700)]
Properly handle DimLayers which become fullscreen.

If a DimLayer becomes fullscreen while it is animating out,
then it will not be the shared fullscreen dim layer. However,
state.continueDimming will be false (as we are ending the Dim),
so around DimLayerController.cpp L191 we will identify it as
fullscreen, skip animating it for now, and not set fullScreenAndDimming
to the index (because continueDimming is false). fullScreenAndDimming
will be -1 so we will now animate the dimmer at index "fullscreen"
this will simply be the last fullscreen state we found, which would be
fine if the state we had skipped was the shared fullscreen dim layer,
but it wasn't. Ensure that we identify the layer as fullscreen and the
shared fullscreen dim layer.

Bug: 27775427
Change-Id: I49d4f59bb09af6a7e5bd666e499be1c7e11ee766

8 years agoMerge changes I7d406cc8,Id6cf70ea into nyc-dev
Rob Carr [Mon, 4 Apr 2016 18:34:37 +0000 (18:34 +0000)]
Merge changes I7d406cc8,Id6cf70ea into nyc-dev

* changes:
  Do not set docked divider as IME target.
  Fix IME adjustment for docked.

8 years agoEnsure we leave space between layers in docked stack.
Robert Carr [Fri, 1 Apr 2016 00:23:35 +0000 (17:23 -0700)]
Ensure we leave space between layers in docked stack.

We need to leave space WINDOW_LAYER_MULTIPLIER between Z-order
adjacent normal windows, for things such as Dim Layers, etc. The
existing logic was breaking DIM_UNDER DimLayers in DockedStack. Consider
two normal windows, the second on top and with a DIM_UNDER. If we are
docked we will have restacked all the docked windows at HighestLayer+1
HighestLayer+2, etc...and so our second normal window is only one higher
than our first one. So when we put a dim under the second window
we end up with the same layer and the output is undefined.

Bug: 27721903
Change-Id: Ic27e0a10da2d1ab4a6058e0755ad4409b29527eb

8 years agoShortcutManager: More command for CTS, more tests..
Makoto Onuki [Mon, 4 Apr 2016 17:19:45 +0000 (10:19 -0700)]
ShortcutManager: More command for CTS, more tests..

and fix flakey tests.

Bug 27548047

Change-Id: Ia5f189278f6111850277ca16aa747469f48c5f14

8 years agoMerge "Show toast when subtype is rotated by Meta-Space." into nyc-dev
Yohei Yukawa [Mon, 4 Apr 2016 17:56:35 +0000 (17:56 +0000)]
Merge "Show toast when subtype is rotated by Meta-Space." into nyc-dev

8 years agoCamera: Allow preview operation of SCENE_MODE_HDR
Eino-Ville Talvala [Mon, 4 Apr 2016 17:48:38 +0000 (10:48 -0700)]
Camera: Allow preview operation of SCENE_MODE_HDR

Some devices support HDR output for preview in addition to still
capture, so explicitly allow for that in the documentation of
SCENE_MODE_HDR.

Bug: 27313038
Change-Id: I894d7449dc0cfb7353f535db23acd12143590208

8 years agoMerge "Never "save" if the surface control is null." into nyc-dev
Chong Zhang [Mon, 4 Apr 2016 17:31:05 +0000 (17:31 +0000)]
Merge "Never "save" if the surface control is null." into nyc-dev

8 years agoMerge "Fix missing exit animation when app is closed during starting window" into...
Chong Zhang [Mon, 4 Apr 2016 17:30:51 +0000 (17:30 +0000)]
Merge "Fix missing exit animation when app is closed during starting window" into nyc-dev

8 years agoShow toast when subtype is rotated by Meta-Space.
Yohei Yukawa [Sun, 3 Apr 2016 00:39:23 +0000 (17:39 -0700)]
Show toast when subtype is rotated by Meta-Space.

This follows up to my previous CL [1], with which we changed global
hardware key combinations regarding how multilingual user can manage
multiple keyboard layouts / input methods.  Now we offer Meta-Space to
rotate input method (subtype), while we offered Shift-Space to rotate
hardware keyboard layouts previously.

One thing that is lost during above transition is an indication when the
such a key combination takes effect.  Actually there was a toast that
shows new keyboard layout name, which is now lost.

With this CL, we bring back a toast so that we can show the new input
method (subtype) name. Note that the toast will be shown if all of the
following conditions are met.
 - The input method (subtype) is rotated by a hardware key combination.
 - IME window does not have IME_VISIBLE bit.  Otherwise, showing a toast
   is likely to cause UI overlap with the current IME's window.

  [1]: I4005692215edfcf8bed3e86b1e07000148f986f5
       ae61f7118a92e097e854c840d5726c0920f5db0e

Bug: 27547054
Change-Id: If3fe17adbffe4c1125783fc77fed3cfe78fc7933

8 years agoMerge "Fix a bug that IMS#mShowInputFlags is never updated." into nyc-dev
Yohei Yukawa [Mon, 4 Apr 2016 17:29:02 +0000 (17:29 +0000)]
Merge "Fix a bug that IMS#mShowInputFlags is never updated." into nyc-dev

8 years agoCamera: Add proper buffer drop errors to LEGACY mode
Eino-Ville Talvala [Thu, 31 Mar 2016 23:47:14 +0000 (16:47 -0700)]
Camera: Add proper buffer drop errors to LEGACY mode

The correct stream ID is required to be sent along with buffer drop
errors, and LEGACY mode was putting in a placeholder.  This would
cause an error in the client-side implementation, triggered by
abortBuffers (Which is the only source of buffer drops from LEGACY).

Bug: 27828602
Change-Id: If3fba7a76f7aa0ff305efa4cce6c225eb720b30e

8 years agoAvoid destroying Device separately
Yang Ni [Mon, 4 Apr 2016 17:23:57 +0000 (10:23 -0700)]
Avoid destroying Device separately

Bug: 27983025

Device should be destroyed inside the destructor of the associated
Context.

Change-Id: I921a89974e1174f837349a89aef9b03efa4882f5

8 years agoMerge "Fix MediaExtractor.getDrmInitData implementation for webm" into nyc-dev
Robert Shih [Mon, 4 Apr 2016 17:09:43 +0000 (17:09 +0000)]
Merge "Fix MediaExtractor.getDrmInitData implementation for webm" into nyc-dev

8 years agoFix bug where service disabled with disableSelf() would not reset soft keyboard
Anna Galusza [Fri, 1 Apr 2016 20:34:27 +0000 (13:34 -0700)]
Fix bug where service disabled with disableSelf() would not reset soft keyboard
behavior.
Bug: 27947344

Change-Id: I19583cad14616416be3582c30653d244a27aa366

8 years agoMerge "Make a11y text navigation by page symmetric." into nyc-dev
Phil Weaver [Mon, 4 Apr 2016 16:37:04 +0000 (16:37 +0000)]
Merge "Make a11y text navigation by page symmetric." into nyc-dev

8 years agoMerge "Support SET_TEXT for editable text views." into nyc-dev
Phil Weaver [Mon, 4 Apr 2016 16:36:34 +0000 (16:36 +0000)]
Merge "Support SET_TEXT for editable text views." into nyc-dev

8 years agoMerge "Add accessibility window title and anchor." into nyc-dev
Phil Weaver [Mon, 4 Apr 2016 16:36:00 +0000 (16:36 +0000)]
Merge "Add accessibility window title and anchor." into nyc-dev

8 years agoMerge "Remove docs for removed a11y gesture methods." into nyc-dev
Phil Weaver [Mon, 4 Apr 2016 16:34:26 +0000 (16:34 +0000)]
Merge "Remove docs for removed a11y gesture methods." into nyc-dev

8 years agoAdd app attribution to QS editing
Jason Monk [Mon, 4 Apr 2016 15:18:03 +0000 (11:18 -0400)]
Add app attribution to QS editing

Add a divider between where system tiles and custom tiles are and
add their app label to them as well.

Change-Id: I8890a7fee54e4c5340bbe95c6e100c58f81ee5c3
Fixes: 27874624

8 years agoMerge "Don't try to compress .mkv resources" into nyc-dev
Wonsik Kim [Mon, 4 Apr 2016 14:46:09 +0000 (14:46 +0000)]
Merge "Don't try to compress .mkv resources" into nyc-dev

8 years agoMerge "Fix intent filter priorities" into nyc-dev
Todd Kennedy [Mon, 4 Apr 2016 14:20:15 +0000 (14:20 +0000)]
Merge "Fix intent filter priorities" into nyc-dev

8 years agoMove more code from WebViewUpdateService to separate overridable class
Gustav Sennton [Fri, 1 Apr 2016 14:11:43 +0000 (15:11 +0100)]
Move more code from WebViewUpdateService to separate overridable class

Move more code from WebViewUpdateService to utility classes (methods
handling settings and uninstalling/enabling/disabling packages) to be
overridden during tests.

Also rename system utility class.

Bug: 27635535

Change-Id: If49999fba4fd0962f103f389898fa5ddf19365bd

8 years agoMerge "Update Path and RenderNode delegates to new API" into nyc-dev
Diego Perez [Mon, 4 Apr 2016 12:22:20 +0000 (12:22 +0000)]
Merge "Update Path and RenderNode delegates to new API" into nyc-dev

8 years agoMerge "Track libcore commit cf86f3319e738c76c5e97ad95bb8a4e30654a787 (part 2)" into...
Yi Kong [Mon, 4 Apr 2016 11:57:31 +0000 (11:57 +0000)]
Merge "Track libcore commit cf86f3319e738c76c5e97ad95bb8a4e30654a787 (part 2)" into nyc-dev

8 years agoTrack libcore commit cf86f3319e738c76c5e97ad95bb8a4e30654a787 (part 2)
Yi Kong [Mon, 4 Apr 2016 10:26:00 +0000 (11:26 +0100)]
Track libcore commit cf86f3319e738c76c5e97ad95bb8a4e30654a787 (part 2)

Bug: 27960078
Change-Id: I74709bc8a2543ceb54ad3cf2c3018f175ff20e24
(cherry picked from commit c2a708596ff37cb01499a8a5a82af038baa85463)

8 years agoTrack libcore commit cf86f3319e738c76c5e97ad95bb8a4e30654a787
Yi Kong [Fri, 1 Apr 2016 19:53:10 +0000 (20:53 +0100)]
Track libcore commit cf86f3319e738c76c5e97ad95bb8a4e30654a787

Bug: 27960078
Change-Id: If89390ad1ddc3088a8552107bf27a51b1d3c6d02
(cherry picked from commit 2513fc3b7eb3a8b668fcf280cc8ed45bd20e1893)

8 years agoUpdate Path and RenderNode delegates to new API
Diego Perez [Mon, 4 Apr 2016 09:18:55 +0000 (10:18 +0100)]
Update Path and RenderNode delegates to new API

RenderNode_Delegate nCreate now takes a reference to this. In the
Path_Delegate, the native_offset call with a destination path has been
removed.

Change-Id: I6332bb4733974b817e8a29eab82e2218fcf942c4