Files
frameworks_base/core/java/android/content
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-05-06 00:28:37 -07:00
2009-07-28 00:13:47 -07:00
2009-05-13 12:49:04 -07:00
2009-07-28 00:13:47 -07:00
2009-06-16 15:25:24 -07:00
2009-06-16 15:25:24 -07:00