Seigo Nonaka
ba3028c1fc
Introduce set/getFontVariationSettings.
...
This CL enables developers to specify axis values to the underlying
font collection. The specification of the font variation settings is
the same as the CSS font-variation-settings attribute in CSS working
draft as of 2016-11-30.
Code example: Here is an example to set width 100 and weight 1.5.
TextView tv = (TextView) findViewById(R.id.textView);
tv.setFontVariationSettings("'wdth' 100, 'wght' 1.5");
Bug: 33062398
Test: Manually done. Ran FrameworksGraphicsTests, CtsGraphicsTestCases
and CtsWidgetTestCases
Change-Id: I249d464f8cdaa56017a987588b94ed685aadeb58
2017-01-12 18:11:03 +09:00
..
2016-11-30 18:05:26 +00:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-09-29 16:59:02 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-08-19 10:15:52 -07:00
2016-10-11 17:00:17 -07:00
2016-09-23 10:16:16 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-12-19 16:03:30 -08:00
2017-01-10 12:50:47 -08:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-11-22 14:41:16 +00:00
2017-01-10 12:50:47 -08:00
2016-10-11 17:00:17 -07:00
2016-08-22 10:16:21 +00:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-27 17:14:47 +00:00
2016-08-29 20:09:23 -04:00
2016-09-23 10:16:16 -07:00
2016-08-25 12:38:46 -07:00
2016-10-27 17:14:47 +00:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-27 17:14:47 +00:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-09-07 08:40:54 -07:00
2016-10-11 17:00:17 -07:00
2016-12-20 15:38:27 +00:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2017-01-10 12:50:47 -08:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-11-16 08:29:57 -08:00
2016-10-27 17:14:47 +00:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-09-09 15:32:55 -07:00
2016-10-04 12:56:47 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-12-19 11:31:07 -08:00
2016-10-11 17:00:17 -07:00
2016-11-07 18:27:41 +00:00
2016-10-11 17:00:17 -07:00
2017-01-10 12:50:47 -08:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2017-01-12 18:11:03 +09:00
2016-11-17 10:51:26 +00:00
2016-10-11 17:00:17 -07:00
2016-08-10 22:22:43 +00:00
2016-10-11 17:00:17 -07:00
2016-10-19 14:56:47 -07:00
2017-01-11 17:19:39 -08:00
2016-10-11 17:00:17 -07:00
2016-08-04 09:54:14 -04:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-08-25 12:38:46 -07:00
2016-10-11 17:00:17 -07:00