Eric Fischer
a9f1dd021f
Make <font size> and <font height> in string resources respect density.
...
This unfortunately requires API changes because the existing text markup
classes had no access to the screen density.
TextPaint gains a "density" field so that TextView can pass the density
along. AbsoluteSizeSpan gains a new flag to indicate that its argument
is in dip instead of in physical pixels. LineHeightSpan gains an inner
interface whose chooseHeight() method includes a TextPaint argument so
it can get at the density. And when StringBlock creates the markup
objects, it now uses the density-aware versions.
Bug 1976971, Bug 2031746
2009-08-12 16:04:10 -07:00
..
2009-07-28 15:23:21 -07:00
2009-08-12 16:04:10 -07:00
2009-05-13 12:49:04 -07:00
2009-07-10 11:40:27 -07:00
2009-07-20 21:30:46 -07:00
2009-06-16 15:25:24 -07:00
2009-05-05 15:40:53 -07:00
2009-05-06 00:28:37 -07:00
2009-03-03 19:31:44 -08:00
2009-08-12 12:48:12 -07:00
2009-04-02 23:15:58 -07:00
2009-03-03 19:31:44 -08:00
2009-03-03 19:31:44 -08:00
2009-05-12 23:40:45 -04:00
2009-03-03 19:31:44 -08:00
2009-07-09 12:15:46 -07:00
2009-06-01 16:17:03 -07:00
2009-06-01 16:17:03 -07:00
2009-08-10 20:59:20 -07:00
2009-06-01 16:17:03 -07:00
2009-03-03 19:31:44 -08:00
2009-06-23 15:53:16 -07:00
2009-06-23 15:53:16 -07:00
2009-03-03 19:31:44 -08:00
2009-03-03 19:31:44 -08:00
2009-08-08 22:13:46 -07:00
2009-07-28 00:13:47 -07:00
2009-03-03 19:31:44 -08:00
2009-07-14 14:50:31 -07:00
2009-05-13 12:49:04 -07:00
2009-06-01 16:17:03 -07:00
2009-06-01 16:17:03 -07:00
2009-06-01 16:17:03 -07:00
2009-06-23 15:53:16 -07:00
2009-06-01 16:17:03 -07:00
2009-06-17 11:31:26 -07:00
2009-06-17 11:31:26 -07:00
2009-03-03 19:31:44 -08:00
2009-07-30 10:16:28 -07:00
2009-03-03 19:31:44 -08:00
2009-06-11 18:50:40 -07:00
2009-06-17 11:31:26 -07:00
2009-07-28 00:13:47 -07:00
2009-06-16 15:25:24 -07:00
2009-03-03 19:31:44 -08:00
2009-05-05 15:40:53 -07:00
2009-03-03 19:31:44 -08:00
2009-05-15 13:55:32 -07:00
2009-03-03 19:31:44 -08:00
2009-03-03 19:31:44 -08:00
2009-03-03 19:31:44 -08:00
2009-03-03 19:31:44 -08:00
2009-03-03 19:31:44 -08:00
2009-04-30 17:28:09 -07:00
2009-06-16 15:25:24 -07:00
2009-06-15 15:57:30 -07:00
2009-06-23 15:53:16 -07:00
2009-06-23 15:53:16 -07:00
2009-03-03 19:31:44 -08:00
2009-07-15 18:03:28 -07:00
2009-03-03 19:31:44 -08:00
2009-03-03 19:31:44 -08:00
2009-04-23 15:37:45 -07:00
2009-03-03 19:31:44 -08:00
2009-03-03 19:31:44 -08:00
2009-05-05 15:40:53 -07:00
2009-05-05 15:40:53 -07:00
2009-06-23 15:53:16 -07:00
2009-07-15 18:03:28 -07:00
2009-03-03 19:31:44 -08:00
2009-06-23 15:53:16 -07:00
2009-03-03 19:31:44 -08:00
2009-04-02 09:16:44 -07:00