Commit Graph

6796 Commits

Author SHA1 Message Date
Keyvan Amiri
00a981e522 Merge "Added min support to ProgressBar and SeekBar" 2016-10-11 21:53:41 +00:00
Alan Viverette
39a561f5bb Scale bitmap shaders for target density am: 0d2a46b733 am: 444f2043d1
am: 36d83ffc5b

Change-Id: I97a23b431247f4541f5517787a486aca7d95a618
2016-10-10 14:30:50 +00:00
Alan Viverette
36d83ffc5b Scale bitmap shaders for target density am: 0d2a46b733
am: 444f2043d1

Change-Id: Ia0f4da2963e3a4a775cd2bb1324bd69ff86244b6
2016-10-07 20:46:37 +00:00
Alan Viverette
444f2043d1 Scale bitmap shaders for target density
am: 0d2a46b733

Change-Id: I8e3274a9c6047d943336827e7e0c8563e40c2ca5
2016-10-07 20:39:48 +00:00
Alan Viverette
0d2a46b733 Scale bitmap shaders for target density
Also fixes progress bar sample tile to reflect density and ensures
that ProgressBar.tileify() clones inner drawables into the correct
density.

Bug: 31841123
Test: BitmapDrawableTest#testPreloadDensity()
Test: ThemeHostTest
Test: Visual inspection of ApiDemos
Change-Id: I9dcb9817d8d91d61ff0215987247e9e7fb089c46
2016-10-07 16:23:32 -04:00
Erik Wolsheimer
12e319b735 Do not listen for clock ticks, time changes, timezone changes, or time format changes when TextClock is not visible am: e12cd3bb3b
am: 4d855f15ab

Change-Id: I9bebe0ea19701dcdb924c20534a418f7ad19440a
2016-10-05 23:09:29 +00:00
Erik Wolsheimer
4d855f15ab Do not listen for clock ticks, time changes, timezone changes, or time format changes when TextClock is not visible
am: e12cd3bb3b

Change-Id: I4ce1dcc5184f8cf03904a19631b9efe4be1b47fa
2016-10-05 22:46:12 +00:00
Erik Wolsheimer
e12cd3bb3b Do not listen for clock ticks, time changes, timezone changes, or time format changes when TextClock is not visible
BUG: 31840153
Change-Id: I11adf1036fb25b28aee5caba6daa1ab0d9d1f23a
2016-10-05 12:45:37 -07:00
Keyvan Amiri
86fb2a2b67 Added min support to ProgressBar and SeekBar
ProgressBar, AbsSeekBar, and SeekBar now support min attributes for the
lower range of the progress bar. It used to be 0 by default.

Change-Id: I3308eff80f4c7f58a940dec9cc517dcdff4a1d83
2016-10-04 12:56:47 -07:00
Kevin Hufnagle
00fb451646 docs: Added min/max values and descriptions for alpha getter/setter in ImageView am: bdb308a059 am: 3b0cfd76c2
am: 6d53bf091c

Change-Id: I69480c136cbece005a3789ed27487d6ca6ad81ed
2016-09-27 06:54:27 +00:00
Kevin Hufnagle
52da8b3341 docs: Added min/max values and descriptions for alpha getter/setter in ImageView am: bdb308a059 am: c012a7ed7a
am: 971696f632

Change-Id: Ie85b198034089302bd5fee74c0c01dccfe460cc3
2016-09-27 00:25:13 +00:00
Kevin Hufnagle
971696f632 docs: Added min/max values and descriptions for alpha getter/setter in ImageView am: bdb308a059
am: c012a7ed7a

Change-Id: Ib2c868e86e516ae2a2f92e4e26a8c0113237557a
2016-09-27 00:08:50 +00:00
Kevin Hufnagle
6d53bf091c docs: Added min/max values and descriptions for alpha getter/setter in ImageView am: bdb308a059
am: 3b0cfd76c2

Change-Id: I55d9df11389e0299812019fa4a7c4ed5b1f06a92
2016-09-27 00:05:40 +00:00
Kevin Hufnagle
c012a7ed7a docs: Added min/max values and descriptions for alpha getter/setter in ImageView
am: bdb308a059

Change-Id: Ida297f581f7177cd92ec4157a1b735c91d2e26a4
2016-09-26 23:37:36 +00:00
Kevin Hufnagle
3b0cfd76c2 docs: Added min/max values and descriptions for alpha getter/setter in ImageView
am: bdb308a059

Change-Id: I320c5aa446eed60083c648f596a84a165596cd60
2016-09-26 23:36:36 +00:00
TreeHugger Robot
82fac583a6 Merge "Custom pointer icon for DatePicker and TimePicker" 2016-09-26 17:05:45 +00:00
Mark Lu
d9576c7945 docs: Add param info to TextView.setTextColor am: 193879a8b6 am: 5080a2c5e1
am: 7bfb1e7f46

Change-Id: I434c524c07559b848f2ffe1e9d56237a5e5a686b
2016-09-26 08:57:40 +00:00
Mark Lu
73a174fc2d docs: Mention SwitchCompat in Switch and toggle documentation am: 3404032dfc am: cc9f8e2418
am: 15d0605087

Change-Id: I6035ee9f1c532e4298374f1f180e27e374fb146f
2016-09-26 08:44:30 +00:00
Andreas Gampe
50309b4644 resolve merge conflicts of 6e37f8a to master
Change-Id: I4fdcce7554977a56fd0f7e4ad4804929112d5599
2016-09-25 15:13:06 -07:00
Kevin Hufnagle
bdb308a059 docs: Added min/max values and descriptions for alpha getter/setter
in ImageView

Bug: 12644483
Change-Id: I269d63b50412ecea5269acb99fc09c8110e404b4
2016-09-23 15:54:42 -07:00
Mark Lu
100c1ffe2a docs: Add param info to TextView.setTextColor am: 193879a8b6 am: 544e899559
am: d1bb5fad4e

Change-Id: Ib01e3a74299eb61fe8e0e85d08a0b9963eeacad1
2016-09-23 22:34:56 +00:00
Mark Lu
d1bb5fad4e docs: Add param info to TextView.setTextColor am: 193879a8b6
am: 544e899559

Change-Id: Ic4506ceaf5c34c93b3d937137f9a4756508ff189
2016-09-23 22:25:17 +00:00
Mark Lu
7bfb1e7f46 docs: Add param info to TextView.setTextColor am: 193879a8b6
am: 5080a2c5e1

Change-Id: Ifd7511c801047b96edb389ac4455ddb877236aef
2016-09-23 22:23:27 +00:00
Mark Lu
544e899559 docs: Add param info to TextView.setTextColor
am: 193879a8b6

Change-Id: I5b157858dd056b2510486ad7546ab74e1287005c
2016-09-23 22:16:37 +00:00
Mark Lu
5080a2c5e1 docs: Add param info to TextView.setTextColor
am: 193879a8b6

Change-Id: I8c903627670c946bd421b3e77bbd2a372f21adf0
2016-09-23 22:15:10 +00:00
Mark Lu
ed68ee67c2 docs: Mention SwitchCompat in Switch and toggle documentation am: 3404032dfc am: 902fb28784
am: a744c8c25a

Change-Id: I401a87f3d1a013e61e0d5a65797ce7dc1b58162d
2016-09-23 22:09:35 +00:00
Mark Lu
7df8927691 Merge "docs: Add param info to TextView.setTextColor" into nyc-dev 2016-09-23 22:09:34 +00:00
Mark Lu
a744c8c25a docs: Mention SwitchCompat in Switch and toggle documentation am: 3404032dfc
am: 902fb28784

Change-Id: I67ad867bdad8634437fe6779e027001355bbc6ae
2016-09-23 21:58:21 +00:00
Mark Lu
15d0605087 docs: Mention SwitchCompat in Switch and toggle documentation am: 3404032dfc
am: cc9f8e2418

Change-Id: Iaaeff0fc362a78078595bce52b0aea7fed95b986
2016-09-23 21:57:57 +00:00
Mark Lu
902fb28784 docs: Mention SwitchCompat in Switch and toggle documentation
am: 3404032dfc

Change-Id: I1df8dd7f48f095a93aaff120b0f86e2ccc6467fd
2016-09-23 21:52:30 +00:00
Mark Lu
cc9f8e2418 docs: Mention SwitchCompat in Switch and toggle documentation
am: 3404032dfc

Change-Id: Ia8aaadb4656a0fcb631ef9608f01afde4a00c4aa
2016-09-23 21:52:30 +00:00
Alan Viverette
6e37f8a077 Allow developer to override Material-style modes in picker dialogs am: 8817aa9339
am: 010ab618af

Change-Id: I0d68842adb7097f4d32977f31d80a10bc166c045
2016-09-23 19:43:39 +00:00
Alan Viverette
010ab618af Allow developer to override Material-style modes in picker dialogs
am: 8817aa9339

Change-Id: I4733798d4785459ea36a75cddfeb7358912fe9d6
2016-09-23 19:36:42 +00:00
TreeHugger Robot
abe2195b8b Merge "Custom pointer icon for standard widgets" 2016-09-23 19:11:14 +00:00
Vladislav Kaznacheev
47f333afa8 Custom pointer icon for DatePicker and TimePicker
Bug: 31652821
Change-Id: I512693a48c8c2f8ca96983efaaae3af138827ee7
2016-09-23 10:32:53 -07:00
Vladislav Kaznacheev
2a848ff655 Custom pointer icon for standard widgets
Implemented custom pointer icon for Button, ImageButton,
Spinner and TabWidget.

PointerIcon.TYPE_HAND will be shown if the widget is enabled,
clickable and has not defined its own pointer icon through
setPointerIcon or pointerIcon resource attribute.

Bug: 31652293
Change-Id: I2a79786b12d15ea8223726d0949658801b046604
2016-09-23 10:16:16 -07:00
Alan Viverette
8817aa9339 Allow developer to override Material-style modes in picker dialogs
A recent fix prevented developers from specifying Holo-style mode when
displaying a date or time picker dialog. This CL also cleans up unused
code in TimePickerDialog and documents how themeResId will be used.

Adds hidden @TestApi methods for use in CTS tests. These may be made
public later, but it's too late in MR1 for API changes.

Bug: 31586821
Test: Ice2e203983769f1ea1cfa93105eb97b6fa5176b9
Change-Id: I1b7512b7647ddd7ab987beac2c0aef4fe7cc16bc
2016-09-22 11:16:22 -04:00
Alan Viverette
f612a576ca Cancel pending selection before filtering input am: 57fe701ddf am: 1fd7fadfe4
am: 24e9362289

Change-Id: I4836b0ac8b4b2addee6d757f45d2774508869cca
2016-09-14 06:16:57 +00:00
Robert Carr
1838dcb6ef PopupWindow: Don't ignore top decorations in getMaxAvailableHeight. am: 701d73084d am: 5712f5474a
am: 5f09d331f3

Change-Id: I24e2d71371de96fd95b6905258f950ea2fb06145
2016-09-14 05:43:48 +00:00
Aurimas Liutikas
c68bf72f47 Fix SearchView measure for UNSPECIFIED height. am: f6a50be25c am: edaac91993
am: 6386de2524

Change-Id: Iffb9953d25665f8260bcff43040e91cf074ba71c
2016-09-14 04:26:41 +00:00
Kirill Grouchnikov
2c52d1b5e4 Merge "Tweak the logic of AbsListView smoothScrollToPositionFromTop" 2016-09-13 23:05:55 +00:00
Alan Viverette
24e9362289 Cancel pending selection before filtering input am: 57fe701ddf
am: 1fd7fadfe4

Change-Id: I66956f1c2b2c7ebb10e8d893e09cee6112c33c4a
2016-09-12 22:14:54 +00:00
Alan Viverette
1fd7fadfe4 Cancel pending selection before filtering input
am: 57fe701ddf

Change-Id: I54c33948716e7b37976c65b0f822d626a518b03a
2016-09-12 22:08:43 +00:00
TreeHugger Robot
a4e2b2a1c1 Merge "Cancel pending selection before filtering input" into nyc-mr1-dev 2016-09-12 21:57:15 +00:00
Robert Carr
5f09d331f3 PopupWindow: Don't ignore top decorations in getMaxAvailableHeight. am: 701d73084d
am: 5712f5474a

Change-Id: Ief4d42a0b35774dcc93b4493a743d89d71cd3cb4
2016-09-12 21:32:11 +00:00
Robert Carr
5712f5474a PopupWindow: Don't ignore top decorations in getMaxAvailableHeight.
am: 701d73084d

Change-Id: Ie8fba517534ca2bd2324b3d88e05b8854700bcc4
2016-09-12 21:26:11 +00:00
Rob Carr
33c879fe14 Merge "PopupWindow: Don't ignore top decorations in getMaxAvailableHeight." into nyc-mr1-dev 2016-09-12 18:43:42 +00:00
Kirill Grouchnikov
29840f30b1 Merge "Javadocs fixes for deprecated methods on OverScroller" 2016-09-12 17:13:15 +00:00
Aurimas Liutikas
6386de2524 Fix SearchView measure for UNSPECIFIED height. am: f6a50be25c
am: edaac91993

Change-Id: I57f3e96c94803d4dbc7b57fd0feb5a80a8253906
2016-09-10 00:55:19 +00:00
Aurimas Liutikas
edaac91993 Fix SearchView measure for UNSPECIFIED height.
am: f6a50be25c

Change-Id: If436923fe690252efb224a072ac0c79ddb9d58d9
2016-09-10 00:29:07 +00:00