9723 Commits

Author SHA1 Message Date
Alan Viverette
a83a6d9d12 Merge "Don't clip preference row icons to padding" into lmp-dev 2014-09-03 00:30:14 +00:00
Adam Powell
d400ca2f8d Merge "Automatically supply a content description for ToolbarActionBar nav" into lmp-dev 2014-09-03 00:11:00 +00:00
Adam Powell
12b0321c0b Automatically supply a content description for ToolbarActionBar nav
If the developer hasn't set a navigation content description on the
Toolbar assigned to be an action bar or a home-action content
description via the ActionBar interface, use the framework default
"navigate up" string.

Also make sure that the default Up description is supplied in the
screen_toolbar window decor layout and that it is parsed properly in
all toolbars, even if we don't have an icon set during construction.

Bug 17298370

Change-Id: Ie2f9e34f92046d4d4ffb9a07e38fa89581891f7b
2014-09-02 16:20:08 -07:00
Alan Viverette
416387763c Don't clip preference row icons to padding
Need negative margins to align the 48dp icons correctly with Material
layout guidelines and still respect listPreferredItemPaddingStart.

BUG: 17316340
Change-Id: I2d3baa4cd2857fb73a65eba3447de33d7319b6df
2014-09-02 15:46:18 -07:00
Alan Viverette
d379361ecb Merge "Update pointer hotspots to scale for DPI" into lmp-dev 2014-09-02 22:20:12 +00:00
Tsuwei Chen
1611c21dfd Merge "Reload GPS configuration after carrier info is available. Bug: 17110478 Change-Id: I1ecb71c4ca661df3dfeaea1622d73caeacb1350e" into lmp-dev 2014-09-02 18:36:37 +00:00
Alan Viverette
376d10e99e Update pointer hotspots to scale for DPI
Also updates the bitmap resources, which weren't scaled correctly
for their respective DPI buckets.

BUG: 16459309
Change-Id: Iedc781e2ee47a8b960390fea718cb08bcfb84ae3
2014-09-02 10:45:30 -07:00
Baligh Uddin
8e3cd7c4db Import translations. DO NOT MERGE
Change-Id: I7fab5997699dba037e40150ea6484993efe6577f
Auto-generated-cl: translation import
2014-09-01 17:29:48 -07:00
Baligh Uddin
bfb3009f84 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-09-01 21:25:58 +00:00
Jorim Jaggi
17ee3ec0b8 Media notification updates
- Make text white.
- Adjust padding & metrics to redlines.
- Use different narrow layout when 3 or less notifications with big
  picture.
- Update action ripples.
- Fix progress bar size & fix color for indeterminate progress bar.
- Apply default background in SystemUI when no color is set, so we
  don't end up with white text on white background.

Bug: 15437369
Bug: 16625746
Bug: 15147533
Change-Id: Ie8bd5ad0bbca972685adb50034fff88ea97456bd
2014-09-01 17:26:51 +02:00
Baligh Uddin
de4e396b4b Import translations. DO NOT MERGE
Change-Id: I2e8d61b219485d45e8446750dc0b416a6e58a453
Auto-generated-cl: translation import
2014-08-31 13:39:48 -07:00
Tsuwei Chen
52617bbff8 Reload GPS configuration after carrier info is available.
Bug: 17110478
Change-Id: I1ecb71c4ca661df3dfeaea1622d73caeacb1350e
2014-08-30 00:17:39 +00:00
Alan Viverette
cf2a75a66e Merge "Variety of small UI tweaks" into lmp-dev 2014-08-29 23:08:01 +00:00
Alan Viverette
7ff48839b0 Variety of small UI tweaks
Updates dialog padding, text opacities on dark theme, progress bar
opacity, ripple background exit speed, remove unnecessary text color
attribute from action menu item layout, fix secondary and tertiary
disabled state text colors.

BUG: 17321765
BUG: 17333263
BUG: 17322159
BUG: 17330086
Change-Id: I14473a985b2c6b853afe7db535a2443e934238e9
2014-08-29 15:20:13 -07:00
George Mount
d2334e669c Merge "Add IDs for status and nav-bar backgrounds." into lmp-dev 2014-08-29 19:59:59 +00:00
George Mount
0fb81090c0 Add IDs for status and nav-bar backgrounds.
Bug 17299689

Change-Id: I9b2168c547fe2670900614805031c3bb5fa63802
2014-08-29 08:40:10 -07:00
Jorim Jaggi
d05aa3ee47 Fix various problems with notification layouts
- Fix end padding for inbox notification.
- Fix that actions in BigText were clipped off.
- Fix that second line was never shown.
- Fix top padding in combination with badges.
- Fix that actions in InboxStyle were clipped off.
- Make badge style consistent with small icon.
- Fix that third line on Inbox/BigText is always 12sp (before it was
  sometimes 14sp)

Bug: 17315502
Bug: 17285898
Bug: 17311783
Bug: 17200814
Change-Id: Ic7e5e4fa07b6302a76631d0238b88239871acf49
2014-08-29 15:26:50 +02:00
Adam Powell
f825e0c561 Merge "Doc improvements for new Toolbar changes, now with attributes." into lmp-dev 2014-08-29 02:49:47 +00:00
Adam Powell
d760249623 Doc improvements for new Toolbar changes, now with attributes.
Change-Id: I3f67899b4f9ab9ae4ab4f5dcbc853c08d7867947
2014-08-28 19:35:36 -07:00
Adam Powell
0c1dc53e74 Merge "Add xml attributes to Toolbar for navigation icon" into lmp-dev 2014-08-29 02:25:49 +00:00
Adam Powell
7c13bc2a70 Add xml attributes to Toolbar for navigation icon
...to match the existing setters/getters.

Change-Id: I9814c5d7f2aa0559c93fbb74881e29064473f186
2014-08-28 18:19:59 -07:00
Alan Viverette
40ce070714 Fix docs build
Change-Id: Id7b961ebcfffe536992208a157f625b5a1b1e1b6
2014-08-28 15:27:04 -07:00
PauloftheWest
2f2ea058db Merge "Updated SMS emphasis strings for Quantum/Material theme." into lmp-dev 2014-08-28 21:37:20 +00:00
Alan Viverette
b1b267114c Merge "Update action bar item widths, overflow menu, button, and spinner styles" into lmp-dev 2014-08-28 21:05:04 +00:00
Alan Viverette
f023c2530a Update action bar item widths, overflow menu, button, and spinner styles
Manually modifies the overflow button hotspot bounds so that the ripple
appears to be centered on the overflow icon. Adds styleable and parsing
for list popup window offsets. Updates spinner text appearance to be
consistent with drop down item text appearance. Also updates horizontal
inner padding in buttons.

BUG: 17305079
BUG: 17304391
BUG: 17302567
Change-Id: Iafddfef290078de968894a3b443ba9f60f84c6d4
2014-08-28 13:55:18 -07:00
PauloftheWest
768330d6d7 Updated SMS emphasis strings for Quantum/Material theme.
Bug: 17148201
Change-Id: I888f366368c47bf42ef2aef55662c0a2b1bd382e
2014-08-28 13:42:21 -07:00
Alan Viverette
b712458362 Merge "Rename StatusBar.Material styles to Material.Notification" into lmp-dev 2014-08-28 18:13:21 +00:00
Jae Seo
a899be4ebd API Review: TV
This change addresses the following feedback:

- "ageHint" attribute should be renamed to "contentAgeHint"
- "country" attribute should be doc'd to specify valid formats (two
character country codes or whatever)

Bug: 17293643
Change-Id: Ia5e58e191c3678bb2d6b1be36c4275d323675ad9
2014-08-28 05:48:36 +00:00
Alan Viverette
41ad39421d Rename StatusBar.Material styles to Material.Notification
Replaces a removed style with __removed to avoid breaking
existing apps. This will be (wait for it...) removed prior
to release.

BUG: 17288986
Change-Id: I7e934fcebe39baed39fd8b01bf12bf3bb41305ad
2014-08-28 05:14:03 +00:00
Jae Seo
9c165d6e9a TIF: Enable applications to register custom content rating systems
A recent change that moved the string resource for the system supported
content ratings from the framework to the TV app led to a need for
allowing the TV app to publish its own content rating systems. This
change added an intent action and a metadata key to be used by the TV
input manager service for querying available content rating systems,
similarly to the way InputManager defined ACTION_QUERY_KEYBOARD_LAYOUTS
and META_DATA_KEYBOARD_LAYOUTS for custom keyboard layouts. Applications
now can register their own rating systems simply by declaring a
broadcast receiver in their manifests.

Bug: 17167287, Bug: 17114406
Change-Id: I1808c624014b603ea709714737c2a880714bdc0a
2014-08-27 21:52:07 -07:00
Alan Viverette
327710e36f Merge "Preserve inner drawable bounds and level on mutate" into lmp-dev 2014-08-27 22:29:19 +00:00
Tim Kilbourn
fe69d6e28c Update leanback shadow parameters.
Bug: 15859361
Change-Id: I54d184cdf72de98aa0d258774f772f874c6d0490
2014-08-27 13:54:00 -07:00
Alan Viverette
12c75ab730 Merge "Rename Spinner.Form to Spinner.Underlined, make Alert theme public" into lmp-dev 2014-08-27 19:44:37 +00:00
Alan Viverette
d890c13981 Rename Spinner.Form to Spinner.Underlined, make Alert theme public
BUG: 17286794
BUG: 17295515
Change-Id: I010bb1591f7690dbc40020d3fdd413f8e1bd8547
2014-08-27 12:28:18 -07:00
Alan Viverette
d7853e5763 Preserve inner drawable bounds and level on mutate
Also includes a tiny change to progress bar background alpha, which was
too dark to see.

BUG: 17285057
Change-Id: I8b0cc1c2c9405558b8163d8db9374d7c748317a2
2014-08-27 17:45:28 +00:00
John Spurlock
98f8a04620 Merge "StatusBar: Add new icon slot for cast status." into lmp-dev 2014-08-27 13:58:14 +00:00
John Spurlock
96fe98d0c0 StatusBar: Add new icon slot for cast status.
Bug:17275998
Change-Id: I7e80b3d76480fc2fdcb3aa5d445d895829d341d0
2014-08-27 09:36:02 -04:00
Alan Viverette
ec7725c875 Merge "Update list preference layout to more closely match Material spec" into lmp-dev 2014-08-27 01:16:25 +00:00
Christofer Åkersten
1e1b820539 Merge "Ensure system apps can be granted MODIFY_PARENTAL_CONTROLS" into lmp-dev 2014-08-27 00:37:11 +00:00
Alan Viverette
000b1abca8 Update list preference layout to more closely match Material spec
Expects icons to have 4dp of padding baked in, which is consistent with
existing icons.

BUG: 17235037
Change-Id: Ic855664e85454be5e0de030070eb6ab1594e2448
2014-08-26 17:34:34 -07:00
Alan Viverette
f3542fd63f Merge "Make shadow alpha properties public, add lighting values for TV" into lmp-dev 2014-08-26 22:52:32 +00:00
Alan Viverette
03740d74ca Merge "Update date and time picker styling" into lmp-dev 2014-08-26 22:51:50 +00:00
Alan Viverette
ed6f14a20c Make shadow alpha properties public, add lighting values for TV
BUG: 17189722
BUG: 17221975
Change-Id: I4ed477b658fec96ce69fa278f67345dab6bacaa3
2014-08-26 14:53:28 -07:00
Christoph Studer
6b6e9e05d3 Merge "Notification: Optimize L icon processing" into lmp-dev 2014-08-26 21:15:27 +00:00
Baligh Uddin
25f6868665 Merge "Import translations. DO NOT MERGE" into lmp-dev 2014-08-26 21:03:36 +00:00
Sungsoo Lim
9dd43afbb9 Ensure system apps can be granted MODIFY_PARENTAL_CONTROLS
Bug: 16948874
Change-Id: If44aaa7085705e8a2f55c71dae61bf6ac0cdfc09
2014-08-26 13:56:42 -07:00
Michael Wright
15741d0e0b Merge "Add missing attr for KEYCODE_VOICE_ASSIST" into lmp-dev 2014-08-26 19:42:40 +00:00
Baligh Uddin
2d1d387d3f Import translations. DO NOT MERGE
Change-Id: Iac6630d0b618bc97f0bb62047cee97a797c52df7
Auto-generated-cl: translation import
2014-08-26 11:57:30 -07:00
Winson Chung
5c1b42e4f5 Merge "Multiple performance changes to speed recents invocation/app launching time. (Bug 16987565)" into lmp-dev 2014-08-26 18:23:10 +00:00
Christoph Studer
239f835f54 Notification: Optimize L icon processing
Bug: 16862480
Change-Id: I6c71eba232184ce948aafe81fec3a313fecbbaf1
2014-08-26 17:04:13 +02:00