summaryrefslogtreecommitdiff
path: root/native/android/input.cpp
diff options
context:
space:
mode:
author czq <czq@google.com> 2022-11-08 12:20:24 +0800
committer czq <czq@google.com> 2022-11-10 09:48:19 +0800
commit1456f29ace6987f84462bf1acbb80a7c29106900 (patch)
tree7726f42447929b4015f873f9140099e7af1a4c69 /native/android/input.cpp
parent2111954aaa87a976295b89db72e83d47bf48987a (diff)
Fix TextAppearanceInfo related APIs
1. Add a builder for TextAppearanceInfo, remove the constructor using TextView. 2. Remove maxLength attribute, add shadowColor. 3. Replace -1 with FontStyle.FONT_WEIGHT_UNSPECIFIED for textFontWeight. Bug: 256995042 Test: atest android.view.inputmethod.cts.CursorAnchorInfoTest#testBuilder atest android.view.inputmethod.cts.CursorAnchorInfoTest#testEquality atest android.view.inputmethod.cts.CursorAnchorInfoTest#testTextAppearanceInfoWithEmptyEditText atest android.view.inputmethod.cts.InputMethodServiceTest#testOnUpdateCursorAnchorInfo Change-Id: I80faea43e6a96110171f61e18a6d744e719bdf58
Diffstat (limited to 'native/android/input.cpp')
0 files changed, 0 insertions, 0 deletions