Commit Graph

6404 Commits

Author SHA1 Message Date
Selim Cinek
b0f63057fc Merge "Fixed a bug where notification header could become empty" into nyc-dev am: 57e4a67be1 am: 0aef73a252
am: c93f4b6707

* commit 'c93f4b67076b683c463ab949d6087b41303bc06c':
  Fixed a bug where notification header could become empty

Change-Id: Ifb5e38f663973c62211249edcccdd0d72c754f1c
2016-04-22 05:46:40 +00:00
Selim Cinek
57e4a67be1 Merge "Fixed a bug where notification header could become empty" into nyc-dev 2016-04-22 05:33:33 +00:00
Selim Cinek
65080a64df Merge "Changed the name of chronometer countdown" into nyc-dev am: 8f32cd4306 am: ba26bf8a47
am: 5e2a3e5872

* commit '5e2a3e5872e8439ad836b5b281e6393ecefb50f4':
  Changed the name of chronometer countdown

Change-Id: Ibce68e45c56e90ee66b7a7d2fbfc0350178885fa
2016-04-22 03:47:25 +00:00
Selim Cinek
8f32cd4306 Merge "Changed the name of chronometer countdown" into nyc-dev 2016-04-22 03:21:52 +00:00
Selim Cinek
2490b38795 Merge "Switched the notification time to relative time" into nyc-dev am: 037235d83e am: 832775b7f3
am: 22ac656218

* commit '22ac65621885412c1e90594644b98281f36b64e7':
  Switched the notification time to relative time

Change-Id: Ib4a88c9e7b47bc5f9c586cc49a6eb97ad98fe642
2016-04-22 00:23:54 +00:00
TreeHugger Robot
037235d83e Merge "Switched the notification time to relative time" into nyc-dev 2016-04-21 23:47:23 +00:00
Selim Cinek
b85f36fd48 Fixed a bug where notification header could become empty
Also fixed a few more issues with the header util that could
lead to wrong states.

Change-Id: I95c3479f5d9e5221ee9e91120271e7957b887607
Fixes: 28295743
2016-04-21 15:07:10 -07:00
Selim Cinek
c3b752e712 Changed the name of chronometer countdown
Change-Id: Ie0339205b26f2dff40e0c19760750a0ce6aaf7da
Fixes: 28295825
2016-04-21 15:07:08 -07:00
Selim Cinek
36d570863a Switched the notification time to relative time
The time is now displayed in a relative manner instead
of absolute.

Change-Id: Idcc4411ed07991b6e176c4890a0d804394d8598a
Fixes: 27435284
2016-04-21 15:07:06 -07:00
Vladislav Kaznacheev
4465add3e1 Merge "Rename DropPermissions to DragAndDropPermissions" into nyc-dev am: 729c640cc8 am: 45b1e14468
am: 0ee7fecd43

* commit '0ee7fecd437b4ba4676985e072c940a819d46114':
  Rename DropPermissions to DragAndDropPermissions

Change-Id: Id978e6f65b915955d1caff4825d89373f248d168
2016-04-21 21:48:10 +00:00
Hyunyoung Song
18956a3d6f Merge "Fix broken build due to @RemotableViewMethod" into nyc-dev am: 44157a4abf am: 84e85f2e56
am: 035b1d1c27

* commit '035b1d1c27a85ccb83c425e0e76458ee5c9db42c':
  Fix broken build due to @RemotableViewMethod

Change-Id: If70a4a63991756b7d8bec8236be09caa7705882e
2016-04-21 21:48:07 +00:00
Vladislav Kaznacheev
729c640cc8 Merge "Rename DropPermissions to DragAndDropPermissions" into nyc-dev 2016-04-21 21:34:26 +00:00
Hyunyoung Song
44157a4abf Merge "Fix broken build due to @RemotableViewMethod" into nyc-dev 2016-04-21 21:32:38 +00:00
Alan Viverette
ed276c145c Merge "API review feedback for ProgressBar" into nyc-dev am: 5500bb1d6d am: c1a3af4546
am: 06f931e8ea

* commit '06f931e8eae92cbfb24983502d9cdf41f1284dad':
  API review feedback for ProgressBar

Change-Id: I8a38db908a3b01b33787d4f9e2c6483b3c325ef6
2016-04-21 21:31:35 +00:00
Hyunyoung Song
3a93f0ff37 Fix broken build due to @RemotableViewMethod
Change-Id: I63c6cb4fa68df114220efb2f263115e773e25f5d
2016-04-21 14:26:54 -07:00
Alan Viverette
5500bb1d6d Merge "API review feedback for ProgressBar" into nyc-dev 2016-04-21 21:21:56 +00:00
Hyunyoung Song
e4aabe62ff Merge "add @RemotableViewMethod to TextView#setEnabled b/28304068" into nyc-dev am: 22d91b0eb4 am: b99a507ec0
am: 6d9221ed9b

* commit '6d9221ed9bd4413d9c6bf43ac56c2849e34676bd':
  add @RemotableViewMethod to TextView#setEnabled b/28304068

Change-Id: I6c2721de82645f49b4fec6f99902b98a81d4ebe6
2016-04-21 21:11:15 +00:00
Hyunyoung Song
22d91b0eb4 Merge "add @RemotableViewMethod to TextView#setEnabled b/28304068" into nyc-dev 2016-04-21 21:04:25 +00:00
Hyunyoung Song
7b77e0c765 add @RemotableViewMethod to TextView#setEnabled
b/28304068

Change-Id: Ia5464030a65c87dacdd75e5be331da017d7ef593
2016-04-21 13:41:56 -07:00
Kirill Grouchnikov
c17c387603 Merge "@TestApi method to get display value for current selection" 2016-04-21 19:25:10 +00:00
Robert Carr
2bce1a2585 Merge "Respect WRAP_CONTENT when resolving drop down position." into nyc-dev am: 5a2554a am: bf2a2fa
am: ae3539f

* commit 'ae3539f055b01cda145ed0f8f826c60865964648':
  Respect WRAP_CONTENT when resolving drop down position.

Change-Id: I5c4752f51747d08bfdfb4530e6ed3e32b99dd90c
2016-04-20 21:32:13 +00:00
Vladislav Kaznacheev
377c32845b Rename DropPermissions to DragAndDropPermissions
Bug: 28296057
Change-Id: Ic95cb4ae9c351d903df78628e983dec2bacd0ad5
2016-04-20 14:22:23 -07:00
Alan Viverette
a1863cf033 API review feedback for ProgressBar
Bug: 28296059
Change-Id: Icb9cfdc799391735a497b16290fa780dddd76e36
2016-04-20 16:41:17 -04:00
Rob Carr
5a2554a854 Merge "Respect WRAP_CONTENT when resolving drop down position." into nyc-dev 2016-04-20 18:30:16 +00:00
Robert Carr
2665604edd Respect WRAP_CONTENT when resolving drop down position.
We recently added the width/height <0 check to prevent
passing unresolved widths in to tryFitVertical or
tryFitHorizontal and produce strange behaviors. This made
more sense than the code before it but still not that much
sense. We need to treat MATCH_PARENT and WRAP_CONTENT differently
as the documentation suggests.

Bug: 28267951
Change-Id: I6f2f248c8d1f63d31bdd75c24f7250c28381c712
2016-04-19 19:10:44 -07:00
Siyamed Sinir
d200f61031 Merge "Request re-layout after setText if layout width is 0" into nyc-dev am: d01e6f9 am: 5ce80a0
am: a4c7dcd

* commit 'a4c7dcdde918ed6b30d93296578f3284c88a2957':
  Request re-layout after setText if layout width is 0

Change-Id: I0542adea173c486e4644f1e47e4a6fa33e66c796
2016-04-19 17:19:36 +00:00
Siyamed Sinir
d01e6f9083 Merge "Request re-layout after setText if layout width is 0" into nyc-dev 2016-04-19 17:00:15 +00:00
Alan Viverette
c5b76587c8 Merge "Use adjusted popup window position when calculating best-fit" into nyc-dev am: 0529197 am: e30e53b
am: 1676842

* commit '167684261147b8184e0e9c55343b1d2bf43827a6':
  Use adjusted popup window position when calculating best-fit

Change-Id: I227e2d127724f44f791af14e0bc3e2fce31af556
2016-04-19 16:53:52 +00:00
Alan Viverette
ac406894da Merge "Call OnTimeChangedListener on AM/PM change in clock-style TimePicker" into nyc-dev am: a98cc8b am: 644c400
am: da9eaa1

* commit 'da9eaa1f3a57cff58644824e5bf4af10752a671c':
  Call OnTimeChangedListener on AM/PM change in clock-style TimePicker

Change-Id: I89dc8476714260d0166c85e8a8010b13b90e2fd6
2016-04-19 16:53:47 +00:00
Alan Viverette
0529197e9d Merge "Use adjusted popup window position when calculating best-fit" into nyc-dev 2016-04-19 16:39:15 +00:00
Alan Viverette
a98cc8beb9 Merge "Call OnTimeChangedListener on AM/PM change in clock-style TimePicker" into nyc-dev 2016-04-19 16:39:09 +00:00
Alan Viverette
55f0a99076 Use adjusted popup window position when calculating best-fit
Bug: 28194522
Bug: 28175404
Change-Id: I5685b397908f64559d0ec5fea5820bdea69f422c
2016-04-19 10:17:00 -04:00
Alan Viverette
49bafd00bb Merge "Revert FrameLayout.LayoutParams default gravity to -1" into nyc-dev am: 8940a5b am: e24672a
am: 6df10a7

* commit '6df10a7bd8edca050b14348c2d77e18bed87d0fa':
  Revert FrameLayout.LayoutParams default gravity to -1

Change-Id: Iabe7058e53c1086807afb6350956bd3a9b3a6a52
2016-04-19 13:48:08 +00:00
Alan Viverette
8940a5b286 Merge "Revert FrameLayout.LayoutParams default gravity to -1" into nyc-dev 2016-04-19 13:36:26 +00:00
Alan Viverette
30b57b6bd2 Call OnTimeChangedListener on AM/PM change in clock-style TimePicker
Bug: 28257554
Change-Id: I25aabac783ea2b6e68be4b6c60f0d55a4c37af26
2016-04-19 09:29:20 -04:00
Siyamed Sinir
375366cb2d Request re-layout after setText if layout width is 0
When TextView is in a layout with weight params (i.e. LinearLayout) and
the width is set to 0, do not try to prevent requestLayout.

Bug: 27995311
Change-Id: Idfe9d8d0b595a6db95beb1afd83ca96a2bd46546
2016-04-18 15:17:02 -07:00
Kirill Grouchnikov
1d1e7db69f @TestApi method to get display value for current selection
Bug: 28189574
Change-Id: Ic6b7554a95004c68a097f2d78cfe7d33c29afb46
2016-04-18 15:22:19 -04:00
Aurimas Liutikas
e38f2e2cfd Merge "Increase SearchView touch targets to meet GAR3." into nyc-dev am: d0612e7
am: fd72016

* commit 'fd72016a1c8e05fbd7b1e8b8130daefb5db43cb1':
  Increase SearchView touch targets to meet GAR3.

Change-Id: Ife4789e2da784d60fb81fcbfc963573b79922da4
2016-04-15 23:20:28 +00:00
Aurimas Liutikas
c8fd00a046 Increase SearchView touch targets to meet GAR3.
- Allow SearchView to expand to 48dp height if possible.
- Make the search clear button have 48dp height if possible.
- Expand the search TextView touch target height to 48dp is possible.

Framework version of patch ag/912646

Bug: 19479861
Change-Id: Ibaaef2afa20b8c05eaac8f028df4f616f2f96eb1
2016-04-15 13:59:39 -07:00
Alan Viverette
2b4b335dfb Revert FrameLayout.LayoutParams default gravity to -1
Documents the default value and how this is interpreted by FrameLayout.

Bug: 27576632
Change-Id: Icb76c5382462184ae02e86ce1b0101c12473aee2
2016-04-15 11:10:28 -04:00
Rob Carr
6ffadfdadc Merge "PopupWindow. Don\'t use -1 width/height for calculations." into nyc-dev am: 446b4e7
am: fc20f94

* commit 'fc20f94702d434f893dc09b92f8453adff27c1f0':
  PopupWindow. Don't use -1 width/height for calculations.

Change-Id: Id7c1a014a9a13969a358c02b70e6047f1ce78ab5
2016-04-14 20:12:11 +00:00
Alan Viverette
0d877b81d2 Merge "Update day of week labels when setting month params in SimpleMonthView" into nyc-dev am: d51afa4
am: d2bead3

* commit 'd2bead39e43eafff9b067640416d916c2672b174':
  Update day of week labels when setting month params in SimpleMonthView

Change-Id: Ie167fc1b59aa2cf7726bf1541b3d003318dd3ba6
2016-04-14 19:34:37 +00:00
Rob Carr
d4561e3974 Merge "Add WindowManager side timeout for toasts." into nyc-dev am: b33daec
am: 6d94ed1

* commit '6d94ed11db50c7988d63badb0451753a32512a77':
  Add WindowManager side timeout for toasts.

Change-Id: I37d0958941c768c088d21170449c2e218c6c2b0e
2016-04-14 19:34:10 +00:00
Rob Carr
446b4e727d Merge "PopupWindow. Don't use -1 width/height for calculations." into nyc-dev 2016-04-14 19:28:42 +00:00
Alan Viverette
d51afa4525 Merge "Update day of week labels when setting month params in SimpleMonthView" into nyc-dev 2016-04-14 16:27:34 +00:00
Alan Viverette
08dbbcdc9b Update day of week labels when setting month params in SimpleMonthView
Bug: 27310206
Change-Id: I40c09fb5dddb202a17ac9c6ecee1d6f40644d9e6
2016-04-14 10:15:04 -04:00
Kirill Grouchnikov
698b751dc7 Add @TestApi-guarded way to get bounds of specific day in CalendarView
Two separate implementation paths, one for Material look / layout, and
one for legacy / pre-Material one.

Bug: 28037149
Change-Id: Id1946802c0a93218d9eb0b73c81ad76dc027763c
2016-04-14 08:47:05 -04:00
Robert Carr
70f0d229c0 Add WindowManager side timeout for toasts.
If the thread a toast is shown on is shut down,
the attempt to post the hide message to it's handler
will fail and it will never request removal. If this was
only some application background thread we will also not
receive a death notification. It seems best to use a timeout
to ensure we don't need the clients cooperation, espescially
as toasts can keep the screen on.

Bug: 21693547
Change-Id: I1d6e54ded5b9e2050daedc4d263e2e21fbe69862
2016-04-13 13:32:58 -07:00
Rob Carr
d7435cb7f2 Merge "Correct PopupWindow spaceAbove calculation." into nyc-dev am: caa747b
am: 482fb88

* commit '482fb889fa7a24afc0ed288538f85b339607f79b':
  Correct PopupWindow spaceAbove calculation.

Change-Id: I7235e726c8b73c7f6437dd98d58e45f6dbbff3dc
2016-04-13 19:04:12 +00:00
Robert Carr
f6e801da1a PopupWindow. Don't use -1 width/height for calculations.
In findDropDownPosition it's entirely possible for width/height
to be -1. If this is so, and the popup is anchored to the right,
we could fail to see that it is offscreen (since we think the width
is -1), and so fail to do our position adjustment to move it to the
left. I think this was previously covered up by window manager bugs
with child windows that requested coordinates outside of their
parent frame. To fix this, we ontinue to pass the same value to
the window manager, but use the width/height we expect to receive
for local layout calculations.

Bug: 28085451
Change-Id: Ia04ca3fcd17ad8819615b5ff42f7923462ce4b42
2016-04-13 11:55:45 -07:00