summaryrefslogtreecommitdiffstats
path: root/core/java/android/text/DynamicLayout.java
Commit message (Collapse)AuthorAgeFilesLines
* Pixel were missing on the last line of text when using MaxLines.Gilles Debunne2011-01-301-14/+8
| | | | | | | | | | | | | | Bug 3295544 Only the last line of text includes the bottomPadding (extra line spacing below the characters' descent. When The text is clipped using maxLines, the desired height correctly added this value, but getLineTop and getLineDescent are also used when the layout is drawn. The fix is to make the layout aware of its clipping so that these values are correctly updated. Change-Id: I703656cf45022d34a90f55f0ed8fc5e4b30f80b1
* Removed warnings in DynamicLayoutGilles Debunne2011-01-251-23/+14
| | | | Change-Id: Ied1c330795412d0bdcac1236b466951112fabc7d
* Enable nested bidi levels in a paragraph.Doug Felt2010-03-311-1/+0
| | | | | | | | | | | | Changes the internal representation of direction information in the Directions object to be a visually-ordered list of start/length+direction pairs instead of a list of directionality inversion offsets. Rewrite Layout.getOffsetToLeft/RightOf to use run information instead of width metrics. Remove java Bidi, use native. Switch bidi tests to test native, expect levels instead of dirs. Add test of directionality. Leave in switch to turn new code off and restore previous behavior for now. Change-Id: Iea8bb46c678a18820e237c90f76007a084c83051
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-0/+503
|
* auto import from //depot/cupcake/@135843The Android Open Source Project2009-03-031-503/+0
|
* Initial ContributionThe Android Open Source Project2008-10-211-0/+503