OSDN Git Service

android-x86/frameworks-base.git
8 years agoMerge "Document API-level-specific delegate behavior"
Alan Viverette [Thu, 1 Oct 2015 01:08:53 +0000 (01:08 +0000)]
Merge "Document API-level-specific delegate behavior"

8 years agoam 454835c6: am 05420e77: am 134c504a: Merge "[RenderScript] pass correct length...
Miao Wang [Thu, 1 Oct 2015 00:10:40 +0000 (00:10 +0000)]
am 454835c6: am 05420e77: am 134c504a: Merge "[RenderScript] pass correct length of ains to BLAS functions"

* commit '454835c6084c44e31edf17695174c4281aef090c':
  [RenderScript] pass correct length of ains to BLAS functions

8 years agoam 05420e77: am 134c504a: Merge "[RenderScript] pass correct length of ains to BLAS...
Miao Wang [Thu, 1 Oct 2015 00:00:04 +0000 (00:00 +0000)]
am 05420e77: am 134c504a: Merge "[RenderScript] pass correct length of ains to BLAS functions"

* commit '05420e77f5358fc7a8996b39daf3aa976b826b53':
  [RenderScript] pass correct length of ains to BLAS functions

8 years agoam 134c504a: Merge "[RenderScript] pass correct length of ains to BLAS functions"
Miao Wang [Wed, 30 Sep 2015 23:44:22 +0000 (23:44 +0000)]
am 134c504a: Merge "[RenderScript] pass correct length of ains to BLAS functions"

* commit '134c504a3ea687a0ea875057792e66705ddbfce7':
  [RenderScript] pass correct length of ains to BLAS functions

8 years agoMerge "[RenderScript] pass correct length of ains to BLAS functions"
Miao Wang [Wed, 30 Sep 2015 22:53:18 +0000 (22:53 +0000)]
Merge "[RenderScript] pass correct length of ains to BLAS functions"

8 years ago[RenderScript] pass correct length of ains to BLAS functions
Miao Wang [Wed, 30 Sep 2015 22:38:07 +0000 (15:38 -0700)]
[RenderScript] pass correct length of ains to BLAS functions

bug: 24540091
Change-Id: Ia541bcbee07125c4caf3e0f4863702a3c0b929d5

8 years agoam 21af84d3: am 7a9f771f: Merge "Don\'t break error string (easier grepping)" into...
Deepanshu Gupta [Wed, 30 Sep 2015 22:27:31 +0000 (22:27 +0000)]
am 21af84d3: am 7a9f771f: Merge "Don\'t break error string (easier grepping)" into mnc-ub-dev

* commit '21af84d3e4bf82e9dd8b5087b60630f29668bda3':
  Don't break error string (easier grepping)

8 years agoam 7a9f771f: Merge "Don\'t break error string (easier grepping)" into mnc-ub-dev
Deepanshu Gupta [Wed, 30 Sep 2015 22:22:09 +0000 (22:22 +0000)]
am 7a9f771f: Merge "Don\'t break error string (easier grepping)" into mnc-ub-dev

* commit '7a9f771fe010c697c6a9fb143f0a26778d440c8c':
  Don't break error string (easier grepping)

8 years agoMerge "Consolidate unit tests."
Ben Kwa [Wed, 30 Sep 2015 22:19:56 +0000 (22:19 +0000)]
Merge "Consolidate unit tests."

8 years agoMerge "Don't break error string (easier grepping)" into mnc-ub-dev
Deepanshu Gupta [Wed, 30 Sep 2015 22:16:22 +0000 (22:16 +0000)]
Merge "Don't break error string (easier grepping)" into mnc-ub-dev

8 years agoConsolidate unit tests.
Ben Kwa [Wed, 30 Sep 2015 21:14:16 +0000 (14:14 -0700)]
Consolidate unit tests.

- Move all unit tests to be run under the android framework.
- Add a unit test for ag/776629
- Make DirectoryFragment.Model tests properly simulate finalization conditions.

Change-Id: Ie33d097154d464149fd8c0c24bf66ada677db4ad

8 years agoMerge "Revert "Refactoring: two more calls for WindowState.setDisplayLayoutNeeded.""
Filip Gruszczynski [Wed, 30 Sep 2015 22:03:12 +0000 (22:03 +0000)]
Merge "Revert "Refactoring: two more calls for WindowState.setDisplayLayoutNeeded.""

8 years agoRevert "Refactoring: two more calls for WindowState.setDisplayLayoutNeeded."
Filip Gruszczynski [Wed, 30 Sep 2015 22:02:57 +0000 (22:02 +0000)]
Revert "Refactoring: two more calls for WindowState.setDisplayLayoutNeeded."

This reverts commit b3acc92bff3594b73eb80fad2a5fe79541e4a095.

Change-Id: Ief0f3ca1d45be5838a826494f64c65776868d188

8 years agoMerge "Check multi-user support in isUserSwitcherEnabled"
Fyodor Kupolov [Wed, 30 Sep 2015 21:58:19 +0000 (21:58 +0000)]
Merge "Check multi-user support in isUserSwitcherEnabled"

8 years agoam f0e87446: am d3e3d889: am c3f37589: Merge "Update instructions in IPowerManager...
Daniel Erat [Wed, 30 Sep 2015 21:54:54 +0000 (21:54 +0000)]
am f0e87446: am d3e3d889: am c3f37589: Merge "Update instructions in IPowerManager.aidl."

* commit 'f0e8744620cc95464dcb7622f3582d70cb7bc364':
  Update instructions in IPowerManager.aidl.

8 years agoMerge "Switch DocumentsUI over from Toasts to Snackbars."
Ben Kwa [Wed, 30 Sep 2015 21:50:34 +0000 (21:50 +0000)]
Merge "Switch DocumentsUI over from Toasts to Snackbars."

8 years agoSwitch DocumentsUI over from Toasts to Snackbars.
Ben Kwa [Wed, 30 Sep 2015 17:00:10 +0000 (10:00 -0700)]
Switch DocumentsUI over from Toasts to Snackbars.

Add a new top-level CoordinatorLayout to ensure proper operation of the
snackbar.
Switch all Toast code over to use Snackbar.

BUG=24474629

Change-Id: Iafffb35be6115cbac9304fd44e77e73b6be40c17

8 years agoMerge "Refactoring: two more calls for WindowState.setDisplayLayoutNeeded."
Filip Gruszczynski [Wed, 30 Sep 2015 21:44:56 +0000 (21:44 +0000)]
Merge "Refactoring: two more calls for WindowState.setDisplayLayoutNeeded."

8 years agoMerge "Improve visibility and layering of dock divider."
Filip Gruszczynski [Wed, 30 Sep 2015 21:44:37 +0000 (21:44 +0000)]
Merge "Improve visibility and layering of dock divider."

8 years agoImprove visibility and layering of dock divider.
Filip Gruszczynski [Wed, 30 Sep 2015 17:55:33 +0000 (10:55 -0700)]
Improve visibility and layering of dock divider.

We adjust the visiblity of the divider now after every layout.

The divider was far too high in the priority list, based on the wrong
assumption that as a part of the system UI it needs to be constantly
visible. It should stay at the same level as applications, because it's
almost as a part of application.

Layering gets improved by having the relaunch animation receive zorder
top, just as if it was entering. The window that is being replaced fakes
this too, since it's not being animated, but should share the behavior.

Bug: 24500829

Change-Id: Iad3369a5ab6721b1bf7a94e8979dcf33e0805c7f

8 years agoam d3e3d889: am c3f37589: Merge "Update instructions in IPowerManager.aidl."
Daniel Erat [Wed, 30 Sep 2015 21:39:01 +0000 (21:39 +0000)]
am d3e3d889: am c3f37589: Merge "Update instructions in IPowerManager.aidl."

* commit 'd3e3d8896ea0f2eba1424b57ac8a5b5d9287000c':
  Update instructions in IPowerManager.aidl.

8 years agoRefactoring: two more calls for WindowState.setDisplayLayoutNeeded.
Filip Gruszczynski [Wed, 30 Sep 2015 21:38:55 +0000 (14:38 -0700)]
Refactoring: two more calls for WindowState.setDisplayLayoutNeeded.

Change-Id: I2037bda03644f16ab03145eea257714b974a3059

8 years agoam c3f37589: Merge "Update instructions in IPowerManager.aidl."
Daniel Erat [Wed, 30 Sep 2015 21:30:31 +0000 (21:30 +0000)]
am c3f37589: Merge "Update instructions in IPowerManager.aidl."

* commit 'c3f37589e04a52c109c63f6411db444500d4f92c':
  Update instructions in IPowerManager.aidl.

8 years agoMerge "Update instructions in IPowerManager.aidl."
Daniel Erat [Wed, 30 Sep 2015 21:21:33 +0000 (21:21 +0000)]
Merge "Update instructions in IPowerManager.aidl."

8 years agoMerge "Only send touch event in NonClientDecorView to caption bar"
Chong Zhang [Wed, 30 Sep 2015 21:18:17 +0000 (21:18 +0000)]
Merge "Only send touch event in NonClientDecorView to caption bar"

8 years agoMerge "Add LocaleList support to content.res.Resources."
Roozbeh Pournader [Wed, 30 Sep 2015 21:13:57 +0000 (21:13 +0000)]
Merge "Add LocaleList support to content.res.Resources."

8 years agoOnly send touch event in NonClientDecorView to caption bar
Chong Zhang [Wed, 30 Sep 2015 21:09:52 +0000 (14:09 -0700)]
Only send touch event in NonClientDecorView to caption bar

bug: 24537314
Change-Id: I3735398b2c9425b11c44f37669ba7267f9cc32bf

8 years agoCheck multi-user support in isUserSwitcherEnabled
Fyodor Kupolov [Wed, 30 Sep 2015 00:06:50 +0000 (17:06 -0700)]
Check multi-user support in isUserSwitcherEnabled

isUserSwitcherEnabled now returns false if multi-user is disabled(
supportsMultipleUsers() returns false).

Removed GUEST_USER_ENABLED setting and replaced with DPM.getGuestUserDisabled
check. It currently always returns false, but will be replaced with an actual
policy check.

Bug: 17571233
Change-Id: I41853e8b321b2537952cac5d92e88bfdb8cbd9a8

8 years agoUpdate instructions in IPowerManager.aidl.
Daniel Erat [Wed, 30 Sep 2015 20:55:35 +0000 (14:55 -0600)]
Update instructions in IPowerManager.aidl.

Clarify IPowerManager.aidl's instructions for keeping the
C++ implementation in sync.

Change-Id: Ic51a3844483031e71fe2cfa1d3e8a065df86d119

8 years agoam 5dfd06f7: am c2fa99ed: am 792a9cc3: am 30fd0628: Merge "Relax auto-launch checks...
Jeff Sharkey [Wed, 30 Sep 2015 20:36:50 +0000 (20:36 +0000)]
am 5dfd06f7: am c2fa99ed: am 792a9cc3: am 30fd0628: Merge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-dev

* commit '5dfd06f7d00476dcffb933584ef7e083469215e3':
  Relax auto-launch checks for GET_CONTENT.

8 years agoam 4296209d: am 3d65dcbc: am 58843059: am e69ff2a8: Merge "Clean stale entries when...
Jeff Sharkey [Wed, 30 Sep 2015 20:36:43 +0000 (20:36 +0000)]
am 4296209d: am 3d65dcbc: am 58843059: am e69ff2a8: Merge "Clean stale entries when deleting files." into mnc-dr-dev

* commit '4296209de579b97accfce90b3972c8df7a93a911':
  Clean stale entries when deleting files.

8 years agoam bac11fdb: (-s ours) am e69c0e42: (-s ours) am a4a75803: (-s ours) am a6bf0ebd...
Geoff Mendal [Wed, 30 Sep 2015 20:36:31 +0000 (20:36 +0000)]
am bac11fdb: (-s ours) am e69c0e42: (-s ours) am a4a75803: (-s ours) am a6bf0ebd: (-s ours) Import translations. DO NOT MERGE

* commit 'bac11fdbfc57ef09dafb80710b8db1542eb4d88e':
  Import translations. DO NOT MERGE

8 years agoam c2fa99ed: am 792a9cc3: am 30fd0628: Merge "Relax auto-launch checks for GET_CONTEN...
Jeff Sharkey [Wed, 30 Sep 2015 20:27:36 +0000 (20:27 +0000)]
am c2fa99ed: am 792a9cc3: am 30fd0628: Merge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-dev

* commit 'c2fa99edf1591eca47ad678889cfd4924f2470a8':
  Relax auto-launch checks for GET_CONTENT.

8 years agoam 3d65dcbc: am 58843059: am e69ff2a8: Merge "Clean stale entries when deleting files...
Jeff Sharkey [Wed, 30 Sep 2015 20:27:30 +0000 (20:27 +0000)]
am 3d65dcbc: am 58843059: am e69ff2a8: Merge "Clean stale entries when deleting files." into mnc-dr-dev

* commit '3d65dcbcec75bd53bb9da6ecebcb9dccc8eb42c7':
  Clean stale entries when deleting files.

8 years agoam e69c0e42: (-s ours) am a4a75803: (-s ours) am a6bf0ebd: (-s ours) Import translati...
Geoff Mendal [Wed, 30 Sep 2015 20:27:24 +0000 (20:27 +0000)]
am e69c0e42: (-s ours) am a4a75803: (-s ours) am a6bf0ebd: (-s ours) Import translations. DO NOT MERGE

* commit 'e69c0e4236557a1a2f6af2afcf0884878cfc390a':
  Import translations. DO NOT MERGE

8 years agoam 792a9cc3: am 30fd0628: Merge "Relax auto-launch checks for GET_CONTENT." into...
Jeff Sharkey [Wed, 30 Sep 2015 20:21:17 +0000 (20:21 +0000)]
am 792a9cc3: am 30fd0628: Merge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-dev

* commit '792a9cc3a5a8aee7ccf79ba5fb2570263505b23f':
  Relax auto-launch checks for GET_CONTENT.

8 years agoam 58843059: am e69ff2a8: Merge "Clean stale entries when deleting files." into mnc...
Jeff Sharkey [Wed, 30 Sep 2015 20:21:11 +0000 (20:21 +0000)]
am 58843059: am e69ff2a8: Merge "Clean stale entries when deleting files." into mnc-dr-dev

* commit '588430591b7bb5340ff02f05f1c02eaf924326ad':
  Clean stale entries when deleting files.

8 years agoam a4a75803: (-s ours) am a6bf0ebd: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Wed, 30 Sep 2015 20:21:04 +0000 (20:21 +0000)]
am a4a75803: (-s ours) am a6bf0ebd: (-s ours) Import translations. DO NOT MERGE

* commit 'a4a758032537cceb47a0924b5082cb2197c5e446':
  Import translations. DO NOT MERGE

8 years agoam 30fd0628: Merge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-dev
Jeff Sharkey [Wed, 30 Sep 2015 20:11:22 +0000 (20:11 +0000)]
am 30fd0628: Merge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-dev

* commit '30fd0628970b418dea382b388120f52504ff2243':
  Relax auto-launch checks for GET_CONTENT.

8 years agoam e69ff2a8: Merge "Clean stale entries when deleting files." into mnc-dr-dev
Jeff Sharkey [Wed, 30 Sep 2015 20:11:17 +0000 (20:11 +0000)]
am e69ff2a8: Merge "Clean stale entries when deleting files." into mnc-dr-dev

* commit 'e69ff2a878ee7635a467259995e2924fb96a3a72':
  Clean stale entries when deleting files.

8 years agoam a6bf0ebd: (-s ours) Import translations. DO NOT MERGE
Geoff Mendal [Wed, 30 Sep 2015 20:11:13 +0000 (20:11 +0000)]
am a6bf0ebd: (-s ours) Import translations. DO NOT MERGE

* commit 'a6bf0ebd6e7decda9ee02811cc5b73b96b9b9de5':
  Import translations. DO NOT MERGE

8 years agoam 29a631e1: am 08aa3309: am ead371de: Merge "Remove use of \'_\' variable name"
Neil Fuller [Wed, 30 Sep 2015 20:05:38 +0000 (20:05 +0000)]
am 29a631e1: am 08aa3309: am ead371de: Merge "Remove use of \'_\' variable name"

* commit '29a631e14703d1705609da27650ecbcf766035a1':
  Remove use of '_' variable name

8 years agoMerge "Call into PackageManager as mContext, not myUserId"
Robin Lee [Wed, 30 Sep 2015 19:57:28 +0000 (19:57 +0000)]
Merge "Call into PackageManager as mContext, not myUserId"

8 years agoDon't break error string (easier grepping)
Deepanshu Gupta [Wed, 30 Sep 2015 19:49:42 +0000 (12:49 -0700)]
Don't break error string (easier grepping)

Change-Id: If52097ba90481644707dd0323ec63ca3ddf0986b

8 years agoMerge "Forward SeekBarPreference key events to seekBar view"
Toni Barzic [Wed, 30 Sep 2015 19:13:42 +0000 (19:13 +0000)]
Merge "Forward SeekBarPreference key events to seekBar view"

8 years agoMerge "Third party DND provider APIs."
Julia Reynolds [Wed, 30 Sep 2015 18:01:05 +0000 (18:01 +0000)]
Merge "Third party DND provider APIs."

8 years agoMerge "Initialize DisplayContent base info when object is constructed"
Wale Ogunwale [Wed, 30 Sep 2015 18:00:21 +0000 (18:00 +0000)]
Merge "Initialize DisplayContent base info when object is constructed"

8 years agoMerge "Don't make surface opaque when resizing window"
Wale Ogunwale [Wed, 30 Sep 2015 17:58:39 +0000 (17:58 +0000)]
Merge "Don't make surface opaque when resizing window"

8 years agoMerge "Color button text should be primary for better contrast"
Alan Viverette [Wed, 30 Sep 2015 17:44:34 +0000 (17:44 +0000)]
Merge "Color button text should be primary for better contrast"

8 years agoColor button text should be primary for better contrast
Alan Viverette [Wed, 30 Sep 2015 17:43:35 +0000 (13:43 -0400)]
Color button text should be primary for better contrast

Change-Id: I94fe4059b7ada79ecd35fce9ba40467d850d0287

8 years agoThird party DND provider APIs.
Julia Reynolds [Mon, 24 Aug 2015 12:31:47 +0000 (08:31 -0400)]
Third party DND provider APIs.

Bug: 22977552
Change-Id: I8c1bac317e9aa5d9565afe3f0c4e2be8fc34e6a9

8 years agoDon't make surface opaque when resizing window
Wale Ogunwale [Wed, 30 Sep 2015 16:19:28 +0000 (09:19 -0700)]
Don't make surface opaque when resizing window

This helps reduce some of the artifacts shown in areas the app isn't
drawing content when resizing using the docked divider.

Bug: 24507122
Change-Id: I08a2c3ccd5cb5366c8278f62a5808b12ca09154d

8 years agoForward SeekBarPreference key events to seekBar view
Toni Barzic [Tue, 29 Sep 2015 21:50:33 +0000 (14:50 -0700)]
Forward SeekBarPreference key events to seekBar view

This is to ensure that seek bar progress gets properly updated,
and that progress changes reported by the seek bar are marked as
coming from user.

BUG=24416333
BUG=20049245

Change-Id: I0a48c8eae1528937024ca54720cac91c7d21b0b9

8 years agoInitialize DisplayContent base info when object is constructed
Wale Ogunwale [Wed, 30 Sep 2015 17:09:39 +0000 (10:09 -0700)]
Initialize DisplayContent base info when object is constructed

It is possible for an external process (e.g. sys-ui) to call into
WM to get the bounds of a stack in between the construction of the
DisplayContent object and SystemServer telling WM that the display
is ready. Incorrect bounds would be returned to the caller in this
case since the baseDisplayWidth/Height is only set when the displayReady
call is made.
We now initialize the base display information when the DisplayContent
object is created so any call to get the logical display rect of the
display will always return the right bounds. This should be okay as the
display manager is initialized way before window manager.

Bug: 24505761
Change-Id: Iebd688ad8f4c08556846fcebb543e58bd2c01414

8 years agoMerge "Mark progress updates from AbsSeekBar.trackTouchEvent as from user"
Toni Barzic [Wed, 30 Sep 2015 17:08:01 +0000 (17:08 +0000)]
Merge "Mark progress updates from AbsSeekBar.trackTouchEvent as from user"

8 years agoMerge "Disable productivity mode by default."
Ben Kwa [Wed, 30 Sep 2015 17:03:30 +0000 (17:03 +0000)]
Merge "Disable productivity mode by default."

8 years agoMerge "fix crash when restoring freeformed task to recents"
Chong Zhang [Wed, 30 Sep 2015 16:54:00 +0000 (16:54 +0000)]
Merge "fix crash when restoring freeformed task to recents"

8 years agoMerge "Import translations. DO NOT MERGE"
Geoff Mendal [Wed, 30 Sep 2015 16:49:37 +0000 (16:49 +0000)]
Merge "Import translations. DO NOT MERGE"

8 years agoMerge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-dev
Jeff Sharkey [Wed, 30 Sep 2015 16:22:17 +0000 (16:22 +0000)]
Merge "Relax auto-launch checks for GET_CONTENT." into mnc-dr-dev

8 years agoMerge "Clean stale entries when deleting files." into mnc-dr-dev
Jeff Sharkey [Wed, 30 Sep 2015 16:20:40 +0000 (16:20 +0000)]
Merge "Clean stale entries when deleting files." into mnc-dr-dev

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 30 Sep 2015 16:09:41 +0000 (11:09 -0500)]
Import translations. DO NOT MERGE

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

8 years agoMerge "Report re-sized stacks/task as fullscreen when docked stack isn't visible"
Wale Ogunwale [Wed, 30 Sep 2015 15:28:07 +0000 (15:28 +0000)]
Merge "Report re-sized stacks/task as fullscreen when docked stack isn't visible"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 30 Sep 2015 14:01:01 +0000 (07:01 -0700)]
Import translations. DO NOT MERGE

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

8 years agoam 08aa3309: am ead371de: Merge "Remove use of \'_\' variable name"
Neil Fuller [Wed, 30 Sep 2015 14:00:17 +0000 (14:00 +0000)]
am 08aa3309: am ead371de: Merge "Remove use of \'_\' variable name"

* commit '08aa3309790672ccc4c9b899fdf4e6162cfbc37a':
  Remove use of '_' variable name

8 years agoMerge "Add more QS tiles"
Jason Monk [Wed, 30 Sep 2015 13:57:00 +0000 (13:57 +0000)]
Merge "Add more QS tiles"

8 years agoam ead371de: Merge "Remove use of \'_\' variable name"
Neil Fuller [Wed, 30 Sep 2015 13:54:53 +0000 (13:54 +0000)]
am ead371de: Merge "Remove use of \'_\' variable name"

* commit 'ead371ded06fcf14b7af86a92100b0c3c92fd320':
  Remove use of '_' variable name

8 years agoMerge "Remove use of '_' variable name"
Neil Fuller [Wed, 30 Sep 2015 13:48:16 +0000 (13:48 +0000)]
Merge "Remove use of '_' variable name"

8 years agoImport translations. DO NOT MERGE
Geoff Mendal [Wed, 30 Sep 2015 12:55:25 +0000 (05:55 -0700)]
Import translations. DO NOT MERGE

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

8 years agoam 6aeedbc7: am b9c4cccf: Merge "Reduce the amount of allocations on Paint_Delegate...
Diego Perez [Wed, 30 Sep 2015 09:41:38 +0000 (09:41 +0000)]
am 6aeedbc7: am b9c4cccf: Merge "Reduce the amount of allocations on Paint_Delegate" into mnc-ub-dev

* commit '6aeedbc7613d3be4a785ed43e2fb35c62fb0a006':
  Reduce the amount of allocations on Paint_Delegate

8 years agoam b9c4cccf: Merge "Reduce the amount of allocations on Paint_Delegate" into mnc...
Diego Perez [Wed, 30 Sep 2015 09:34:45 +0000 (09:34 +0000)]
am b9c4cccf: Merge "Reduce the amount of allocations on Paint_Delegate" into mnc-ub-dev

* commit 'b9c4cccf672d725e75d393c492c917ba726c365c':
  Reduce the amount of allocations on Paint_Delegate

8 years agoMerge "Reduce the amount of allocations on Paint_Delegate" into mnc-ub-dev
Diego Perez [Wed, 30 Sep 2015 09:29:40 +0000 (09:29 +0000)]
Merge "Reduce the amount of allocations on Paint_Delegate" into mnc-ub-dev

8 years agoReduce the amount of allocations on Paint_Delegate
Diego Perez [Thu, 24 Sep 2015 13:52:59 +0000 (14:52 +0100)]
Reduce the amount of allocations on Paint_Delegate

When the text properties of the Paint object are updated, or when .set()
is called, updateFontObject will be called. This method is currently at the
top of the methods for number of allocations.
This CL reduces the number of calls to updateFontObject by a 90%,
reducing the number of Font allocations.

Change-Id: I3e232f9e6e230da8ecdd19921faadf2d3f4ff763

8 years agoMerge "Reduce the number of TextAppearanceSpan objects for highlighting."
Seigo Nonaka [Wed, 30 Sep 2015 04:39:26 +0000 (04:39 +0000)]
Merge "Reduce the number of TextAppearanceSpan objects for highlighting."

8 years agofix crash when restoring freeformed task to recents
Chong Zhang [Wed, 30 Sep 2015 02:53:10 +0000 (19:53 -0700)]
fix crash when restoring freeformed task to recents

bug: 23798697

Change-Id: I2f6c6cc9d5db5114de6a0cd662a36d8031863f1d

8 years agoam 3dde4493: am 4e27221d: Merge "Support databinding in listitem layouts." into mnc...
Deepanshu Gupta [Wed, 30 Sep 2015 00:56:57 +0000 (00:56 +0000)]
am 3dde4493: am 4e27221d: Merge "Support databinding in listitem layouts." into mnc-ub-dev

* commit '3dde44935df567f840de2600a3e408f9ba7c7b1f':
  Support databinding in listitem layouts.

8 years agoam 4e27221d: Merge "Support databinding in listitem layouts." into mnc-ub-dev
Deepanshu Gupta [Wed, 30 Sep 2015 00:51:02 +0000 (00:51 +0000)]
am 4e27221d: Merge "Support databinding in listitem layouts." into mnc-ub-dev

* commit '4e27221d49151ba91af59029659e666fa756b645':
  Support databinding in listitem layouts.

8 years agoMerge "Support databinding in listitem layouts." into mnc-ub-dev
Deepanshu Gupta [Wed, 30 Sep 2015 00:45:52 +0000 (00:45 +0000)]
Merge "Support databinding in listitem layouts." into mnc-ub-dev

8 years agoSupport databinding in listitem layouts.
Deepanshu Gupta [Tue, 29 Sep 2015 01:03:18 +0000 (18:03 -0700)]
Support databinding in listitem layouts.

Add a wrapper around the PullParser to support stripping out databinding
parts.

Bug: http://b.android.com/187428
Change-Id: I88080d8f4108cb5ae27a137ad20c5dd7d516f3ea

8 years agoam 67ee88e8: am 8b7beaec: am 8197e2de: am ffc6ce00: Merge "Fix asymmetry in parceling...
Adam Lesinski [Tue, 29 Sep 2015 23:51:23 +0000 (23:51 +0000)]
am 67ee88e8: am 8b7beaec: am 8197e2de: am ffc6ce00: Merge "Fix asymmetry in parceling/unparceling code for BatteryStats summary" into mnc-dr-dev

* commit '67ee88e8ad19f0dc67add174903f24a7c479e74f':
  Fix asymmetry in parceling/unparceling code for BatteryStats summary

8 years agoam 8b7beaec: am 8197e2de: am ffc6ce00: Merge "Fix asymmetry in parceling/unparceling...
Adam Lesinski [Tue, 29 Sep 2015 23:45:28 +0000 (23:45 +0000)]
am 8b7beaec: am 8197e2de: am ffc6ce00: Merge "Fix asymmetry in parceling/unparceling code for BatteryStats summary" into mnc-dr-dev

* commit '8b7beaecffde9a98b50cd33be893b7944f2ab271':
  Fix asymmetry in parceling/unparceling code for BatteryStats summary

8 years agoam 8197e2de: am ffc6ce00: Merge "Fix asymmetry in parceling/unparceling code for...
Adam Lesinski [Tue, 29 Sep 2015 23:39:08 +0000 (23:39 +0000)]
am 8197e2de: am ffc6ce00: Merge "Fix asymmetry in parceling/unparceling code for BatteryStats summary" into mnc-dr-dev

* commit '8197e2de06bb96b0076469528a44b36a080ec9e1':
  Fix asymmetry in parceling/unparceling code for BatteryStats summary

8 years agoFix leaking the first activity while preserving windows.
Filip Gruszczynski [Tue, 29 Sep 2015 15:39:07 +0000 (08:39 -0700)]
Fix leaking the first activity while preserving windows.

This is achieved by not having the decor view hold onto the activity
context. Instead, we are wrapping application context, so that we can
have theme support and also have a special instance of window manager
that is aware of the phone window (the same way as activity do).

This reverts commit a5ffea3b7d323cb57c0f9872468dd5c2e2ec66bb.

Change-Id: I924f4c7ef8f0d20e9174bd7b3e00ec00b44443b9

8 years agoam ffc6ce00: Merge "Fix asymmetry in parceling/unparceling code for BatteryStats...
Adam Lesinski [Tue, 29 Sep 2015 23:30:27 +0000 (23:30 +0000)]
am ffc6ce00: Merge "Fix asymmetry in parceling/unparceling code for BatteryStats summary" into mnc-dr-dev

* commit 'ffc6ce000568c08a50f7b538bd4cd7729e64c229':
  Fix asymmetry in parceling/unparceling code for BatteryStats summary

8 years agoMerge "Fix asymmetry in parceling/unparceling code for BatteryStats summary" into...
Adam Lesinski [Tue, 29 Sep 2015 23:22:59 +0000 (23:22 +0000)]
Merge "Fix asymmetry in parceling/unparceling code for BatteryStats summary" into mnc-dr-dev

8 years agoMerge "Update task bounds for recents enter animation."
Winson Chung [Tue, 29 Sep 2015 22:58:01 +0000 (22:58 +0000)]
Merge "Update task bounds for recents enter animation."

8 years agoMark progress updates from AbsSeekBar.trackTouchEvent as from user
Toni Barzic [Tue, 29 Sep 2015 22:17:19 +0000 (15:17 -0700)]
Mark progress updates from AbsSeekBar.trackTouchEvent as from user

Looks like this one was missed in Iafa32538b4f92705c4c1ca2a02145c078add2532
when setProgress(int, boolean) went from setProgress(progress, fromUser) to
setProgress(progress, animate)

BUG=24416333

Change-Id: Id22f4d67986a24c907f61e22866ae43ffdfe79b8

8 years agoMerge "Consolidate native methods for text measurement."
Keisuke Kuroyanagi [Tue, 29 Sep 2015 21:31:56 +0000 (21:31 +0000)]
Merge "Consolidate native methods for text measurement."

8 years agoMerge "Carry over app token when preserving window"
Chong Zhang [Tue, 29 Sep 2015 21:11:36 +0000 (21:11 +0000)]
Merge "Carry over app token when preserving window"

8 years agoCarry over app token when preserving window
Chong Zhang [Tue, 29 Sep 2015 20:54:44 +0000 (13:54 -0700)]
Carry over app token when preserving window

Otherwise the token in the window's attr will be null after relaunch.
When this attr is updated with WindowManagerGlobal, setStoppedState()
will no longer find the view from the token.

bug: 24404382
Change-Id: Ib6935b03346a84dd023e224f72896041fda9dcd5

8 years agoConsolidate native methods for text measurement.
Keisuke Kuroyanagi [Tue, 29 Sep 2015 20:52:45 +0000 (13:52 -0700)]
Consolidate native methods for text measurement.

Bug: 24505153

Change-Id: I6a00b0516442f7d6108ed0598516365310bd85e8

8 years agoAdd more QS tiles
Jason Monk [Tue, 29 Sep 2015 13:47:06 +0000 (09:47 -0400)]
Add more QS tiles

(only for paging prototype)

Change-Id: Ifb09e3262540a486c9ee7e83a904f96cc4e33fec

8 years agoUpdate task bounds for recents enter animation.
Winson [Tue, 29 Sep 2015 19:42:29 +0000 (12:42 -0700)]
Update task bounds for recents enter animation.

- Follow up to ag/778718, with the resources split up, we can now update
  the task bounds before starting recents.
- Also removing the multi-window check for transitions in/out of recents

Change-Id: Id4a6d4cfa9d98ca3ecf5f237573bf240f232de54

8 years agoMerge "Add tests for Paint#getTextRunAdvances"
Keisuke Kuroyanagi [Tue, 29 Sep 2015 20:07:25 +0000 (20:07 +0000)]
Merge "Add tests for Paint#getTextRunAdvances"

8 years agoRelax auto-launch checks for GET_CONTENT.
Jeff Sharkey [Tue, 29 Sep 2015 20:04:46 +0000 (13:04 -0700)]
Relax auto-launch checks for GET_CONTENT.

When a developer wraps an intent with Intent.createChooser(), they're
indicating that the user should always be prompted, instead of using
any "always use" defaults.  A recent CL changed the chooser behavior
to ensure that UI is always shown in the case where there is only one
match.

However, this caused us to start prompting for the GET_CONTENT intent,
for which there is only ever one DocumentsUI system app.  Since that
app delivers on the createChooser() contract described above, we're
okay automatically launching it.

Bug: 24464358
Change-Id: I0279d3343479c134a35f41ddf3cb4204d0ae6a90

8 years agoAdd tests for Paint#getTextRunAdvances
Keisuke Kuroyanagi [Tue, 29 Sep 2015 19:37:26 +0000 (12:37 -0700)]
Add tests for Paint#getTextRunAdvances

Bug: 24308179
Change-Id: Ic979e67c10fb18c1333963d8b27352968977f28f

8 years agoMerge "FloatingToolbarEspressoUtils + more TextView selection by touch tests"
Abodunrinwa Toki [Tue, 29 Sep 2015 18:44:41 +0000 (18:44 +0000)]
Merge "FloatingToolbarEspressoUtils + more TextView selection by touch tests"

8 years agoMerge "Inform activity manager of stack/task rotation bounds changes in WM"
Wale Ogunwale [Tue, 29 Sep 2015 18:14:08 +0000 (18:14 +0000)]
Merge "Inform activity manager of stack/task rotation bounds changes in WM"

8 years agoReport re-sized stacks/task as fullscreen when docked stack isn't visible
Wale Ogunwale [Tue, 29 Sep 2015 18:07:06 +0000 (11:07 -0700)]
Report re-sized stacks/task as fullscreen when docked stack isn't visible

When a docked stack exist we resize all other stacks and crop their
window content to the stack size. This was also been done when the
docked stack exist, but not visible. E.g the primary user has a docked
stack, but the secondary user doesn't, so the windows of the secondary
user get cropped.
We now report stacks/task sizes as fullscreen whenever the docked stack
isn't visible.

Bug: 24366804
Change-Id: Ia3f24e6f7d33fc175348e27db24a15ce3027e6f7

8 years agoMerge "Moving resources out of ResourceConfiguration."
Winson Chung [Tue, 29 Sep 2015 17:06:54 +0000 (17:06 +0000)]
Merge "Moving resources out of ResourceConfiguration."

8 years agoMerge "Refactoring: create method for marking display as needing layout."
Filip Gruszczynski [Tue, 29 Sep 2015 16:50:30 +0000 (16:50 +0000)]
Merge "Refactoring: create method for marking display as needing layout."