diff options
author | Seigo Nonaka <nona@google.com> | 2018-03-23 15:41:52 -0700 |
---|---|---|
committer | Seigo Nonaka <nona@google.com> | 2018-03-26 14:01:04 -0700 |
commit | 0c5daa19e374c628027e1dafd5f94e7dccc1c3b8 (patch) | |
tree | 036ff5783c94bfec9b3bbf05c1e09abc13932621 /tools/aapt2/java/JavaClassGenerator_test.cpp | |
parent | 5558126b11bdef5fe7c525e7336ddcb6be10107c (diff) |
Stop using DynamicLayout in case of non selectable PrecomputedText
DynamicLayout is required when
- The text is Editable.
- The selection is enabled on TextView.
This CL stops using DynamicLayout when the TextView is not selectable
TextView and the input text is PrecomputedText.
Bug: 72998298
Test: atest CtsWidgetTestCases:EditTextTest
CtsWidgetTestCases:TextViewFadingEdgeTest
FrameworksCoreTests:TextViewFallbackLineSpacingTest
FrameworksCoreTests:TextViewTest FrameworksCoreTests:TypefaceTest
CtsGraphicsTestCases:TypefaceTest CtsWidgetTestCases:TextViewTest
CtsTextTestCases FrameworksCoreTests:android.text
CtsWidgetTestCases:TextViewPrecomputedTextTest
Change-Id: Ic4a66ad3ed8868570735e3199879b74132a8c4aa
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions