22429 Commits

Author SHA1 Message Date
Yorke Lee
810252ad47 Merge "Add setAlwaysOpaque and setTint to BarTransitions" into nyc-dev 2016-03-01 17:50:33 +00:00
Julia Reynolds
2319dd3a66 Merge "Api review: AutomaticZenRule" into nyc-dev 2016-03-01 15:05:36 +00:00
Jason Monk
1aec93f181 Fix QS icon animations once and for all
Bug: 27250295
Change-Id: I6449b9cea19acf120dfc02d146fe608da46fe790
2016-03-01 09:42:34 -05:00
Tomasz Mikolajewski
1f67c8740c Merge "Fix crash in isChildDocument when parent is in zip, and child not." into nyc-dev 2016-03-01 10:25:30 +00:00
Tomasz Mikolajewski
e192cb71d6 Fix crash in isChildDocument when parent is in zip, and child not.
There is no regular file representation for archive documents, so
the call to getFileForDocId(archivedDocId) was throwing an exception.

Bug: 27383423
Change-Id: Icbc1e8ecdddc7698cfdb79b41da6e1d3cecf11ae
2016-03-01 10:23:59 +00:00
Daichi Hirono
e5b499bcc5 Merge "Fix RootScanner to execute scan at least once before cancelling it." into nyc-dev 2016-03-01 07:50:18 +00:00
Daichi Hirono
2e9a57b0d4 Fix RootScanner to execute scan at least once before cancelling it.
Previously RootScanner is implemented by FutureTask, and if it is
cancelled before it starts running in background thread, the scan will
be never executed.

The CL stops using FutureTask and introduces CountDownLatch to control
UpdateRootsRunnable.

BUG=27369585

Change-Id: Ica8799faba0a8e5ca91a6b8be36dc4f5118d6333
2016-03-01 13:51:06 +09:00
Yorke Lee
1b268cbca6 Add setAlwaysOpaque and setTint to BarTransitions
Allow the opacity and color of the NavigationBarView
to be controlled.

Bug: 26425669

Change-Id: I364f183bf0ef90c446ae68987ccc3b6bbf09aa67
2016-02-29 19:14:04 -08:00
Mady Mellor
6e64423c19 Merge "Fix settings icon row consuming the click when tapping the notification" into nyc-dev 2016-03-01 02:18:34 +00:00
Tomasz Mikolajewski
88d5592ff2 Merge "Remove revealLauncher and revealApp from tests." into nyc-dev 2016-03-01 01:38:52 +00:00
Felipe Leme
2bb39839fd Merge "Make bugreport details dialog confirm to Material Guidelines for Dialogs." into nyc-dev 2016-03-01 00:56:36 +00:00
Felipe Leme
bbd91e5844 Make bugreport details dialog confirm to Material Guidelines for Dialogs.
Changes:
- Removed hints.
- Added TextViews for field labels.
- Added padding for inner dialog
- Adedd autoCorrect and capSentences to title and summary
- Changed strings.
- Set name to be selectAllOnFocus initially.

Also improved some logging statements.

BUG: 26324085
Change-Id: I32597a7c2839ca706dbbcf13660e976469ab8dd0
2016-02-29 16:46:54 -08:00
Selim Cinek
2c58461daf Fixed a bug where group expansion size calculation was wrong
On the lockscreen, the minheight was always based on the intrinsic
height and not actually the minHeight of the children. Because
children were userlocked, they were now reporting their small size
instead of the single line size.
This meant that the expand motion on the lockscreen wasn't following
the finger at all.

Bug: 27418617
Change-Id: I81daaf87887de1adc014cb4c6d46f4ef118061e5
2016-03-01 00:30:40 +00:00
Selim Cinek
a52f6a17ef Fixed a bug where group children where not expandable
Bug: 27417777
Change-Id: I57368f18b810bc9f6fc7c08c0f7fb038743b528d
2016-02-29 23:44:28 +00:00
Steve McKay
9e9bce724e Merge "Update preconditions to be asserts..." into nyc-dev 2016-02-29 22:55:50 +00:00
Mady Mellor
f153f5fcb6 Fix settings icon row consuming the click when tapping the notification
This CL makes the settings icon row invisible when it's not displaying,
this way it won't get the click event on the notification row before
the parent.

Bug: 27389571
2016-02-29 14:54:53 -08:00
Steve McKay
a1f7680f53 Update preconditions to be asserts...
Which are now supported by Jack.
Retain a few preconditions checks that enforce contract.
Disable the one assert we had...because it failed in tests.

Change-Id: I2f6cb01e1af1534be4428ce4a3ee625a163dd163
2016-02-29 14:47:40 -08:00
Mady Mellor
a5d6c37338 Merge "Update the animation when showing / closing inline controls" into nyc-dev 2016-02-29 21:43:41 +00:00
Jason Monk
f8d700ab83 Merge "Fix flashlight availability." into nyc-dev 2016-02-29 20:41:03 +00:00
Jason Monk
8e4341d980 Merge "Fixes in QS customization" into nyc-dev 2016-02-29 20:29:14 +00:00
Jason Monk
04fd24966a Fixes in QS customization
- Revert to long-press to drag
 - X -> <-
 - Always save

Bug: 27397111
Bug: 27364013
Bug: 27396440
Change-Id: Ib19096b0ed65fb1112386735dffe9308e57c3d5a
2016-02-29 15:01:21 -05:00
Jason Monk
72d7bc4a09 Fix flashlight availability.
Bug: 26981482
Change-Id: I62059b3b7f18520ae8735f3f3557411991bee909
2016-02-29 14:09:30 -05:00
Dongwon Kang
f61dd544b2 Merge "PIP: Implement play/pause button in menu" into nyc-dev 2016-02-29 19:00:02 +00:00
Jaewan Kim
623381921c PIP: Implement play/pause button in menu
Bug: 26685243
Change-Id: Id3138cc35dbef90d91767797e7f26f3c60191b1a
2016-02-29 10:53:10 -08:00
Jason Monk
c519288b8d Merge changes I70299512,I42df29b4 into nyc-dev
* changes:
  Add tests for TouchAnimator
  Fix TouchAnimator callbacks
2016-02-29 18:16:39 +00:00
Mady Mellor
b53bc276d6 Update the animation when showing / closing inline controls
This CL updates the circular reveal animation to originate
from the gear and and done button in the inline controls.

Bug: 22451710
Change-Id: I050413c980a8c9e73fe2e9a789567051d3119373
2016-02-29 10:16:06 -08:00
Jason Monk
f6a3cf9291 Add tests for TouchAnimator
Also fix existing tests

Bug: 27392084
Change-Id: I70299512e8fa3e0cb86c868b47df7703e04d6084
2016-02-29 13:01:08 -05:00
Jason Monk
df5459daaa Fix TouchAnimator callbacks
Bug: 27392084
Change-Id: I42df29b4c7df4f709dd2fafa90037d485e93f3bd
2016-02-29 12:59:38 -05:00
Geoff Mendal
342006e919 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-29 15:34:26 +00:00
Geoff Mendal
1211d70d0b Import translations. DO NOT MERGE
Change-Id: I1ce2ed342ab6e3155ff634c5e713fc3d6bfef540
Auto-generated-cl: translation import
2016-02-29 07:32:23 -08:00
Ben Kwa
bfbf22b029 Merge "Clean up drag-n-drop." into nyc-dev 2016-02-29 15:27:29 +00:00
Geoff Mendal
0cf7ca8edc Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-29 15:26:48 +00:00
Geoff Mendal
4cea6997ba Import translations. DO NOT MERGE
Change-Id: I8097eb86b2a7a2f60f182fdafbc4d942b9ed17f6
Auto-generated-cl: translation import
2016-02-29 07:25:23 -08:00
Geoff Mendal
8874c1dcc9 Merge "Import translations. DO NOT MERGE" into nyc-dev 2016-02-29 15:17:12 +00:00
Geoff Mendal
c78750a61b Import translations. DO NOT MERGE
Change-Id: Ibf90518a4ea01d2cfc6bb3d43867ae2b499dfea8
Auto-generated-cl: translation import
2016-02-29 07:16:29 -08:00
Jorim Jaggi
035a82d264 Force carrier network change anim onto UI thread
Fixes a bug where RenderThread was constantly scheduling frames,
but didn't actually start the animation. Also fixes some jank
while the animation is playing.

Bug: 27396097
Change-Id: I353d60633eeef1a4f3bbfbeddb58f9703debe293
2016-02-29 15:16:21 +00:00
Daichi Hirono
1e41dcd1d2 Merge "Set document flag by referring MTP supported operations." into nyc-dev 2016-02-29 04:03:03 +00:00
Steve McKay
a35eb70b0a Merge "Fix broken ModelBackedDocumentsAdapterTest." into nyc-dev 2016-02-27 01:25:13 +00:00
Steve McKay
58fe5374fd Fix broken ModelBackedDocumentsAdapterTest.
Bug: 27386958
Change-Id: I35b6eff03869f865e0899803c6035c320c437cb6
2016-02-26 17:24:10 -08:00
Steve McKay
550784f8ce Merge "Mark Recents as supporting CREATE." into nyc-dev 2016-02-27 01:11:19 +00:00
Aga Wronska
868c846b91 Merge "Fix SearchView background too high" into nyc-dev 2016-02-26 23:47:16 +00:00
Julia Reynolds
361e82d399 Api review: AutomaticZenRule
Bug: 27364144
Change-Id: I17fec34d7a277173820bed7829baf5bf905f327a
2016-02-26 18:44:32 -05:00
Steve McKay
327c31383f Mark Recents as supporting CREATE.
Allows Recents as copy/move destination.
Allows Recents (create fragment) for CREATE actions.

Change-Id: I46c4792470d2361c62b26e4a66521d56ce3da474
2016-02-26 15:31:15 -08:00
Muyuan Li
94ce94e960 Allows components to register shortcut key.
The registered shortcut will be called from PhoneWindowManager,
before dispatching

Change-Id: If26128939b45a639c8895719a7a23ca433f39fd9
(cherry picked from commit 4da863c5a8872dcabb179a978a2b2157d9081679)
2016-02-26 22:30:34 +00:00
Selim Cinek
df5bf6147c Decorated media notifications now also animate their actions
Bug: 24866646
Change-Id: I271be0d55270043dfc41c621911d802b37d4690f
2016-02-26 21:58:08 +00:00
Selim Cinek
b88b98477a Fixed a bug where notifications could stay dark
The check whether dark changed was always done
on the notification itself, ignoring that the
contentviews actually also have a check whether it
changed, leading to potential problems that this state
became out of date. In addition did we assume that whenever
an update comes in the text becomes normal, which is
not true for an inline update. This hopefully fixes things once
and for all! I said once and for all!

Bug: 27147160
Change-Id: Idd68be8da0f648cf79102544b038065618c1d0ff
2016-02-26 21:57:40 +00:00
Aga Wronska
95f44e8f8e Merge "Clear selection mode when changing root" into nyc-dev 2016-02-26 21:32:27 +00:00
Aga Wronska
d559743a0d Clear selection mode when changing root
Bug: 27364691, 27142316
Change-Id: I961f3eef67b51a2de999d34edbacd21e4b51c2a4
2016-02-26 13:26:35 -08:00
Julia Reynolds
3b84812271 Api review: Notification.Builder
Bug: 27364889
Change-Id: I95cee3336f1adb64e37e71a9ab40e68feb1d9c5b
2016-02-26 15:44:02 -05:00
Aga Wronska
f6fde7e044 Merge "Don't translate our trusted quick view package val." into nyc-dev 2016-02-26 19:30:00 +00:00