218863 Commits

Author SHA1 Message Date
Steve McKay
9994a2b1af Merge "Normalize and improve menu fiddling." 2015-10-02 16:51:39 +00:00
Steve McKay
5bbae10c4c Normalize and improve menu fiddling.
Also, don't show copy/paste menu items (though they can still be invoked via keyboard).
Show copy to /move to instead.

Change-Id: I6e7bdf35bf370ea30d4f12a5a200ad38ff0221f4
2015-10-02 09:48:27 -07:00
John Reck
dbffd25000 Fix Paint's JNI
Bug: 22409077
Change-Id: I99e1a11bf14f5b62c41107528f573eaf9f2d4b2f
2015-10-02 09:27:10 -07:00
Stefan Kuhne
150c5ae28d Merge "Rendering the window frame with a second thread" 2015-10-02 14:12:42 +00:00
Skuhne
b816087962 Rendering the window frame with a second thread
Using a multi threaded render node to render the window frame
asynchronously from the application relayout.

Bug: 22527834
Bug: 24400680
Bug: 24459827
Bug: 24409773
Bug: 24537510
Change-Id: I1010fc6a8b6e38424178140afa3ca124433ab7e4
2015-10-02 07:11:45 -07:00
Jean-Michel Trivi
58e47ca39a am 182e6287: am 11568be8: am 5f48baef: am 24806db8: AudioService: alternative way of handling device rotation
* commit '182e628711a5859765479fd75066bbeac886c3f6':
  AudioService: alternative way of handling device rotation
2015-10-02 09:06:12 +00:00
Jianing Wei
e185b87487 am 5a15b952: am 98e0cec2: am 3c708be3: am 6ffe9f05: am 2813b0fa: Camera2: Update video stabilization API doc.
* commit '5a15b9529197d1e9a787814aceed0b815a144357':
  Camera2: Update video stabilization API doc.
2015-10-02 09:06:04 +00:00
Jean-Michel Trivi
182e628711 am 11568be8: am 5f48baef: am 24806db8: AudioService: alternative way of handling device rotation
* commit '11568be85e943063c43a9528da0a6b5fb2a92b3b':
  AudioService: alternative way of handling device rotation
2015-10-02 08:27:01 +00:00
Jianing Wei
5a15b95291 am 98e0cec2: am 3c708be3: am 6ffe9f05: am 2813b0fa: Camera2: Update video stabilization API doc.
* commit '98e0cec203cd5463c9dd314455ef02781e241b44':
  Camera2: Update video stabilization API doc.
2015-10-02 08:26:54 +00:00
Jean-Michel Trivi
11568be85e am 5f48baef: am 24806db8: AudioService: alternative way of handling device rotation
* commit '5f48baef5f42dd39fff9bc03b3ac8ba222955b86':
  AudioService: alternative way of handling device rotation
2015-10-02 02:56:39 +00:00
Jean-Michel Trivi
5f48baef5f am 24806db8: AudioService: alternative way of handling device rotation
* commit '24806db8f6f523542510097ce0af4a32beeda83b':
  AudioService: alternative way of handling device rotation
2015-10-02 02:52:40 +00:00
Jianing Wei
98e0cec203 am 3c708be3: am 6ffe9f05: am 2813b0fa: Camera2: Update video stabilization API doc.
* commit '3c708be364d4c2a45aacc66ca027cdcb19d7dda5':
  Camera2: Update video stabilization API doc.
2015-10-02 02:23:10 +00:00
Jianing Wei
3c708be364 am 6ffe9f05: am 2813b0fa: Camera2: Update video stabilization API doc.
* commit '6ffe9f05de81fab8e3cb4031a784e26c2c0acce1':
  Camera2: Update video stabilization API doc.
2015-10-02 02:11:55 +00:00
Doris Liu
f57bfe2fef Fix behavior change for animators without a start delay
This CL maintains the behavior that animators without any
start delay will get started right away, instead of being delayed
to the first frame as it was in the previous refactor.

Bug: 23825781
Change-Id: I7873bc6c7a761c1b4d48ee5e17af631b359fd676
2015-10-01 18:48:15 -07:00
Jean-Michel Trivi
24806db8f6 AudioService: alternative way of handling device rotation
For devices that monitor orientation (primarily for channel assignment
 to stereo speakers):
The com.android.server.policy.WindowOrientationListener API is more
 power efficient than simply monitoring the device's orientation. When
 supported, use it instead of android.view.OrientationEventListener.
When WindowOrientationListener reports an orientation change, start
 a thread to poll the UI orientation, as its change may lag behind
 the observed rotation. Gradually increasing delays between polls
 are stored in a table.

Bug 24415763

Change-Id: I69bf68da6107af24cd02a48961dd17ceab557816
2015-10-01 18:40:26 -07:00
Tim Murray
1f407647d1 Send POWER_HINT_INTERACTION on rotate.
Send a POWER_HINT_INTERACTION to improve redraw performance when the
phone is rotated.

bug 24583227

Change-Id: I1978f0dfb9a25c00ad4da5b44d10410ad7412001
2015-10-01 17:07:12 -07:00
Winson Chung
e81b323af1 Merge "Using EventBus for AppWidgetProviderChanges." 2015-10-01 23:34:25 +00:00
Chris Craik
0e26fc471d Merge "Simplify DeferredDisplayList construction" 2015-10-01 23:20:30 +00:00
Winson
2536c7ed44 Refactoring several TaskView callbacks.
- Moving header bar event handling to TaskViewHeader
- Removing several proxy callbacks from RecentsView

Change-Id: I7dc99a7b580c1beaa93216d2b29c94246b35ec5d
2015-10-01 15:49:31 -07:00
Chris Craik
bf6f0f2608 Move more utils into paintutils
Change-Id: I1eb3fd52386bc61a592da235533e40b509eeec24
2015-10-01 15:26:06 -07:00
Nick Kralevich
e090a1e0df Merge "Fix security issues when using Parcel.setDataPosition() with untrusted input" 2015-10-01 21:56:47 +00:00
Yohei Yukawa
833dc5f9a2 Merge "Unbind IME client when unsetting the current IME." 2015-10-01 21:46:48 +00:00
Winson
b78bb4fbb3 Using EventBus for AppWidgetProviderChanges.
Change-Id: Ifa3bf1527eb733d614374f27fd8afbf5b49faaa6
2015-10-01 14:29:01 -07:00
Jorim Jaggi
d3f84d4a9a Add minimum time for double tap gesture
Bug: 24304031
Change-Id: I15629d6b05175aea9b0d02571f6245966094f162
2015-10-01 14:13:04 -07:00
Winson Chung
9cdf4565dd Merge "Incorporating event bus to proxy recents events." 2015-10-01 21:00:26 +00:00
Adam Lesinski
1619ed4706 Fix security issues when using Parcel.setDataPosition() with untrusted input
When seeking forward in the Parcel, adding the extracted size to the Parcel.dataPosition()
can result in an overflow. Guard against this.

Bug:23909429
Change-Id: If37cdebbf05a92810300363d1a6ecd8b42b6da26
2015-10-01 20:48:23 +00:00
Winson
e6c9073d81 Incorporating event bus to proxy recents events.
- Initial change to use the event bus by dispatching
  package events directly to the TaskStackViews instead
  of passing them down the view hierarchy manually.

Change-Id: Ic68df9eeefb79eab8ded84b74264a93719b40643
2015-10-01 13:33:59 -07:00
Keisuke Kuroyanagi
3089211ce6 Merge "Add tests: Paint#measureText for bidirectional text." 2015-10-01 20:11:49 +00:00
Makoto Onuki
674be55852 Merge "Refactor DPMS tests to be able to test more different cases." 2015-10-01 19:50:12 +00:00
Makoto Onuki
d932f7689d Refactor DPMS tests to be able to test more different cases.
- DpmMockContext.addUser() allows to create more users.  This will set up
UserManager properly and create a data directory.

- Updated DevicePolicyManagerTest so it can now easily emulate calls from
different secondary users.

Change-Id: Ic9d3e8d0d1e7f41e184c82e6dc323c244535b8d8
2015-10-01 12:47:45 -07:00
Wale Ogunwale
0b8d54462f Merge "Create non-docked stack with right bounds if docked stack exist" 2015-10-01 19:31:46 +00:00
Toni Barzic
f3d78a2fa8 [a11y] Add default autoclick delay value to AccessibilityManager
The goal is to make this value shareable with Settings code (without
adding dependency on com.android.server)

Change-Id: Ic41af575dcf8081de69bdcdb20fba430bcf3257e
2015-10-01 12:26:24 -07:00
Wale Ogunwale
e45899ae4a Create non-docked stack with right bounds if docked stack exist
We previously created a new stack with a bounds of half the screen
instead of using whatever space is left by the docked stack.

Change also takes care of issue where the adjustment bounds was
slightly off for non-docked stack.

Bug: 24460346
Bug: 24501077
Change-Id: Ib7f6c62bdf9309ca8916527dbb206e3719a36d9e
2015-10-01 12:21:35 -07:00
Chong Zhang
f98feb05f0 Merge "Do not change task's stack in resizeTaskLocked" 2015-10-01 19:19:36 +00:00
Chong Zhang
6de2ae81ce Do not change task's stack in resizeTaskLocked
Move the task to the right stack before calling resizeTaskLocked
and let resizeTaskLocked only handle the resize.

Bug: 24462900
Change-Id: I3401c92f1893eaefde2909a9b20b00b5ea6cdf01
2015-10-01 12:14:34 -07:00
Doris Liu
83fac6b062 Merge "Update doc to reflect requirement of a Looper for changing animation's frame delay" 2015-10-01 18:19:17 +00:00
Doris Liu
2b2e2c8d25 Update doc to reflect requirement of a Looper for changing animation's frame delay
Bug: 24569533
Change-Id: Ie886394a5e3cd7ceebbedbf09e2d9645b464a9c6
2015-10-01 11:11:04 -07:00
Steve McKay
8359eaafa2 Merge "Provide previous stack when opening new window." 2015-10-01 17:48:41 +00:00
Amith Yamasani
11f15a3727 Merge "Delay cleaning user tasks until user is removed" 2015-10-01 17:32:42 +00:00
Jianing Wei
6ffe9f05de am 2813b0fa: Camera2: Update video stabilization API doc.
* commit '2813b0fae99fed1096dc23c3899e223459a54cec':
  Camera2: Update video stabilization API doc.
2015-10-01 16:40:21 +00:00
Todd Kennedy
3da3ca609e Merge "Update PackageInstaller install handing" 2015-10-01 14:15:41 +00:00
Erik Kline
4fc7440865 Merge "Only log exceptions if the IpReachabilityMonitor is still running." 2015-10-01 13:06:44 +00:00
Erik Kline
1c01e61c90 Only log exceptions if the IpReachabilityMonitor is still running.
It's not terribly interesting to see logged exceptions about reads
on sockets that were deliberately closed due to normal tear down.

Change-Id: Ib6834a98b6f086fc40ce19db60c161414459d758
2015-10-01 20:38:03 +09:00
Sergio Giro
f236d7ffad resolved conflicts for 31e5ded6 to master
Change-Id: Iae4e1abe697f1c00a82b54c17afa7d4edddc006b
2015-10-01 11:19:34 +00:00
Sergio Giro
31e5ded687 am 6706b71d: am 86e67d70: Merge "frameworks/base: delete TinyHashMap"
* commit '6706b71d7cfb9a916fd482189c04a0d59c19c103':
  frameworks/base: delete TinyHashMap
2015-10-01 10:22:39 +00:00
Sergio Giro
6706b71d7c am 86e67d70: Merge "frameworks/base: delete TinyHashMap"
* commit '86e67d708d738807c843850a3b6c9170e514ff8f':
  frameworks/base: delete TinyHashMap
2015-10-01 10:16:44 +00:00
Sergio Giro
86e67d708d Merge "frameworks/base: delete TinyHashMap" 2015-10-01 10:10:10 +00:00
Raph Levien
f8f9c10247 Merge "Load binary hyphen data files" 2015-10-01 04:53:44 +00:00
Zach Kuznia
ae25fa31ac Merge "Remove change to event time when sending delayed events in ScreenMagnifier." 2015-10-01 04:09:19 +00:00
Toni Barzic
f5c87d810f Merge "Always reload AccessibiiltyInputFilter on user switch" 2015-10-01 02:39:58 +00:00