230488 Commits

Author SHA1 Message Date
Winson Chung
1fedd8c8c9 Merge "Fixing crash with retrieving the first stack task." 2016-01-22 17:58:58 +00:00
Xiaohui Chen
8c24cc13b8 Merge "sysui: refactor PhoneStatusBar" 2016-01-22 17:47:19 +00:00
Winson
35a8b04140 Fixing crash with retrieving the first stack task.
- We should be retrieving the first stack task for calculating the 
  thumbnail transition, regardless of whether it is freeform or not.

Bug: 26739531
Change-Id: I27037a480201396011d7f9b8d094b4d9afe66f0e
2016-01-22 09:41:09 -08:00
John Reck
bd41ded590 Fix accidental activateTexture(0)
Bug: 26584230

activateTexture(0) was accidentally refactored into
Texture::upload. Only OffscreenBuffer intended for the
texture unit to change

Change-Id: I5dbfc3eab8843733084ce1ce38a0a946abf0e05b
2016-01-22 09:31:28 -08:00
John Reck
1f42e989c9 Merge "ALOGE is not ALOGV" 2016-01-22 17:22:28 +00:00
John Reck
1a2d84acbd ALOGE is not ALOGV
Change-Id: I973cd7ce28bed38934aab0818e581a948a12cb42
2016-01-22 09:17:41 -08:00
David Gross
ce9c9b7bce Merge "Add general reduction plumbing starting with Java Script::reduce()."
am: fca558c549

* commit 'fca558c5490e319448ce69d1f526f5a446bb3045':
  Add general reduction plumbing starting with Java Script::reduce().
2016-01-22 17:07:59 +00:00
David Gross
fca558c549 Merge "Add general reduction plumbing starting with Java Script::reduce()." 2016-01-22 17:00:43 +00:00
Jason Monk
bba17c720d Merge "Fix home button" 2016-01-22 15:24:41 +00:00
Jason Monk
188908fc21 Fix home button
Change-Id: Ieafff8758340c1a434eed595ecb56415ed9ae62d
2016-01-22 10:24:04 -05:00
Alan Viverette
09a02f1c34 Merge "Ensure all showContextMenu() overrides have matching x,y overrides" 2016-01-22 15:20:43 +00:00
Alan Viverette
a7b85e6855 Verify results of methods called during child ordering
Also updates nullability annotations for methods called during touch
dispatch. Verifies that TouchTarget and HoverTarget are not recycled
multiple times.

Bug: 26611563
Change-Id: Ica5ff18e18b325b12fe72b8ca145443b25625fe4
2016-01-22 10:14:02 -05:00
Jason Monk
35635150b4 Merge "Make nav bar customizable through Tunable" 2016-01-22 14:58:40 +00:00
Jason Monk
a20818257e Make nav bar customizable through Tunable
Change-Id: I18c6bc3db1555ca8ec94f1ce594eb01158f32736
2016-01-22 09:47:08 -05:00
Derek Sollenberger
a83c1e545e Merge "Add support for bitmaps with Grey_8 color type." 2016-01-22 14:07:37 +00:00
Sergey Poromov
fb71d2d0de Merge "Update bmgr cmd line tool to use requestBackup() API in BackupManager" 2016-01-22 13:59:52 +00:00
Benjamin Franz
947f3557a5 Merge "Add profile policy to set work challenge background color" 2016-01-22 12:59:24 +00:00
Benjamin Franz
59720bb2a6 Add profile policy to set work challenge background color
Adding a policy for profile owners to set the background color of the
confirm credential screen for the managed profile.

Bug: 26638631

Change-Id: Iea36b94c5a42b6ae12cc36921ec5f840306e81a1
2016-01-22 12:32:10 +00:00
Przemyslaw Szczepaniak
eb6c023710 Merge "Fix incorrect @hide usage in libcore" 2016-01-22 12:22:39 +00:00
Sergey Poromov
b998532be8 Update bmgr cmd line tool to use requestBackup() API in BackupManager
The new command works as "bmgr backupnow [list of packages]"
This change should be submitted after ag/834173

Change-Id: Ie1cdd18a38653dd71a1d499620dd2afec3cbbb24
2016-01-22 13:15:06 +01:00
Sergey Poromov
507e2c94a3 Merge "Add BackupManager#isAppEligibleForBackup() method to Backup API." 2016-01-22 12:01:16 +00:00
Gustav Sennton
b1e45cd0b5 Fetch WebView package even if it is uninstalled for the current user.
Since the WebView loading mechanism is global - it doesn't differ
between different users, a user for which the current WebView provider
is uninstalled won't be able to fetch any information about the current
provider without passing a certain flag (MATCH_UNINSTALLED_PACKAGES) to
the package manager.

Bug: 26677081
Change-Id: Id1b86164bb22fc7285d292da1b1115fb25e4d226
2016-01-22 11:59:40 +00:00
Przemyslaw Szczepaniak
a0dda9ca9d Fix incorrect @hide usage in libcore
@hide annotation is only effective in Javadoc.

Bug: 26689841
Change-Id: Ifc0a1358b64518a40b4334061ef8ca0dd23ea28e
2016-01-22 11:40:06 +00:00
Ryan Lothian
e15b4f6db8 Merge "Improve documentation for IntentService" 2016-01-22 10:32:57 +00:00
Yohei Yukawa
094e64b7cf Merge "Clarify the purpose of EditorInfo#hintLocales." 2016-01-22 09:54:19 +00:00
Yohei Yukawa
a823912f84 Merge "Initialize InputMethodSubtype with "languageTag"." 2016-01-22 07:35:17 +00:00
Selim Cinek
e797745d75 Fix build by adding missing method
Change-Id: I4309225f9c799237857ce4c8f7ae2f8667d0b8be
2016-01-22 07:17:39 +00:00
Yohei Yukawa
b8456a6a48 Initialize InputMethodSubtype with "languageTag".
My previous commit [1] introduced a new XML attribute "languageTag" for
subtypes but forgot to initialize InputMethodSubtype object with that
attribute.  As a result, InputMethodSubtype#getLanguageTag() has always
returned null even if "languageTag" attribute is specified.

  [1]: I77db5b99a7cf745d800db75baf135bb60ad04820
       8d6eeb01df72891acd3aa75e64aa1595a41cc96e

With this CL, InputMethodSubtype#getLanguageTag() starts returning the
value specified in the XML resource.

Bug: 22859862
Change-Id: I251d3d999afd13c0d618f2cb59e8ed3d47f21c98
2016-01-21 22:24:44 -08:00
Keisuke Kuroyanagi
e27e0850fe Add TextView cursor positioning tests for grapheme clusters.
Bug: 25375561
Bug: 25730231
Change-Id: I7e77e6de027a81ec0f203a1ff9c24a768ffedae3
2016-01-22 06:02:42 +00:00
Keisuke Kuroyanagi
a420880ca5 Merge "Use light weight method for text measurement." 2016-01-22 05:09:16 +00:00
Tomasz Mikolajewski
702d4d972d Merge "Do not allow to move virtual files using conversion." 2016-01-22 04:58:21 +00:00
Tomasz Mikolajewski
87156dc8ae Do not allow to move virtual files using conversion.
Change-Id: Ia792bc766272645f7bf8a2683c22895b03df3a1f
2016-01-22 13:50:13 +09:00
Youngsang Cho
60965d2271 Merge "Use ActivityOptions.setLaunchBounds to resize PIP" 2016-01-22 03:46:58 +00:00
Youngsang Cho
efbbd496f9 Use ActivityOptions.setLaunchBounds to resize PIP
Bug: 26574470
Change-Id: I5444ae40a51cf2746d78b4c006e5936c91d01ae4
2016-01-22 03:45:54 +00:00
Selim Cinek
5fbc632fef Fixed a bug where the wrong number of notifications were visible
Since the calculation of the number of notifications is dynamic now
it strongly depends on the notification min heights which are only
calculated once it is laid out.
This is now properly done.

Bug: 26480961
Change-Id: Ic7b270af826c28b4a9d2c08021605a5c9ae78860
2016-01-21 19:42:49 -08:00
Selim Cinek
7210947e0d Handling content intent of groups correctly
Content intent of children in groups can now
only be launched if the group is expanded.

Bug: 26582343
Change-Id: I5bf2c853d7659b4c764892409c6c7cc3fc647cc8
2016-01-21 19:42:49 -08:00
Selim Cinek
e6ff946cd4 Switched the work profile badge used in the notifications
Change-Id: I62616f1ae8fcda9953853b9859c69a9f1e6f44ca
2016-01-21 19:42:49 -08:00
Selim Cinek
6183d12926 Fixed that music notifications were not clickable on lockscreen
On the lockscreen we were unintentionally disabling single clicks
on the media buttons while we only wanted to disallow it for the
notification header. This is now fixed by explicitly checking if
we are clicking on the notification header.

Bug: 26325096
Change-Id: I044f25ac3216b98c7769c31d09d19f801a437194
2016-01-21 19:42:49 -08:00
Selim Cinek
3bdbf28b49 Fixed the animation on the music template by introducing scale
The notification images can now animate in scale.

Change-Id: I7cc90e13f31208c76a490dd94a1ccbc05a4f8bd3
2016-01-21 19:42:49 -08:00
Selim Cinek
fa0a2d3d90 The notification content now switches earlier
The notification content visible is now based on the intrinsic
height of the view and not just the actual height anymore.
This allows notifications to switch earlier when clicking on
the collapse button.

Change-Id: Icdf4ea50a7b1bbb78bd57a9f1c3eea25cf9c8d7c
2016-01-21 19:42:49 -08:00
Selim Cinek
c848c3a1b4 Changed the work profile appearance
Change-Id: I0545ee9b18572b93f73b4cf54126cf03085b61b5
2016-01-21 19:42:49 -08:00
Selim Cinek
da6f1d605b Updated notification colors
Change-Id: I23ffc7325ec4947bb0e2d767d1e2ddbaa9b3f369
2016-01-21 19:42:49 -08:00
Selim Cinek
7b73a4c1d3 Fading out the divider now when removing children
Change-Id: I4466da4f82ae4868c6d0bd023a399c6067a9c3fb
2016-01-21 19:42:49 -08:00
Selim Cinek
9969559da0 Removed staggering animation with notification groups
It was more distracting than helping

Change-Id: I5a1110268d23d9f964ad515b6fff16cf9d9a4992
2016-01-21 19:42:49 -08:00
Selim Cinek
1b5f07d403 Fixed a bug where Sysui could crash
If no title was provided, SysUI could crash in a
group.

Change-Id: I9c40175b3e40410ce5b1e8fe1ef7e6c7124b0460
2016-01-21 19:42:49 -08:00
Selim Cinek
fd3e2624b5 Added the possibility to do custom animations for certain fields
The text of the single line version now doesn't animate over anymore.

Change-Id: Id41c1145cbb07254bff599b10d4d6df84689f797
2016-01-21 19:42:49 -08:00
Selim Cinek
30e387ddce Fixed a bug where the dozemode wasn't working correctly
There where 2 different issues which could lead to the dozemode
not working correctly:
1. The new workarabout where we show the expanded notification
if it has the same size as the collapsed, requires that dozemode
is also called on the right notification
2. When the children were not layed out yet, this calculation could be
wrong and the wrong child was selected, leading to the same issue.

Bug: 26459664
Change-Id: Ib67dcaf2ba9b8b9a1bfa5ece5b7d6c4dff677939
2016-01-21 19:42:49 -08:00
Selim Cinek
4159873887 Fixed an inconsistency in the notification templates
The text was never set to GONE when it was invisible,
leading to weird cases when fading between notification contents.

Change-Id: I92825b6d5a417c968c734061e55553be314af2b8
2016-01-21 19:42:49 -08:00
Selim Cinek
646d2054dd Improved notification transformations
All views are now faded, even if they are not handled specially

Change-Id: I2970548667e0388984098293ac0dfcbdbed12df1
2016-01-21 19:42:49 -08:00
Selim Cinek
0ffbda62e5 Continued the template switch implementation
Change-Id: I86fa52f2e13d319127dcd44b98304aa3cc3c7e9e
2016-01-21 19:42:49 -08:00