diff options
| author | Siyamed Sinir <siyamed@google.com> | 2017-07-24 12:18:27 -0700 |
|---|---|---|
| committer | Siyamed Sinir <siyamed@google.com> | 2017-07-26 15:32:04 -0700 |
| commit | 442c151b8d0800a3f30cdfc0bbfd40af524dcf7a (patch) | |
| tree | e7ff81a0d51b21895a6d91fb66158fd3bee52425 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
| parent | 737553c9424b93550bed543547d7cc7c5185e377 (diff) | |
Fix EditText line spacing
DynamicLayout did not include the line spacing for the newly added
lines. This CL updates StaticLayout with a parameter to force addition
of line spacing to the last line, and updates DynamicLayout to use this
parameter. With this change the last line will have the line spacing
applied, and it will provide a consistent UX.
Test: Manual/Visual test
Test: bit -t FrameworksCoreTests:android.text.StaticLayoutTest
Test: bit -t FrameworksCoreTests:android.text.StaticLayoutTextMeasuringTest
Test: bit -t FrameworksCoreTests:android.text.StaticLayoutLineBreakingTest
Test: bit -t FrameworksCoreTests:android.text.DynamicLayoutTest
Test: bit -t FrameworksCoreTests:android.text.DynamicLayoutBlocksTest
Test: bit -t CtsTextTestCases:android.text.cts.StaticLayoutTest
Test: bit -t CtsTextTestCases:android.text.cts.DynamicLayoutTest
Bug: 25194907
Change-Id: I52497fbd108538729758e842072f3ce87c6bbfdd
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions
