diff options
author | Yohei Yukawa <yukawa@google.com> | 2014-05-13 22:20:35 +0900 |
---|---|---|
committer | Yohei Yukawa <yukawa@google.com> | 2014-05-14 19:28:59 +0900 |
commit | 81f4cb3f858f46a4d9b793c4d326b9bf6aca868d (patch) | |
tree | a84d04379d44b5b360b9a4a23ce02007f4b945cc /api | |
parent | d6f4e37554398b46e84485707d114b5b1a408a8a (diff) | |
download | frameworks_base-81f4cb3f858f46a4d9b793c4d326b9bf6aca868d.zip frameworks_base-81f4cb3f858f46a4d9b793c4d326b9bf6aca868d.tar.gz frameworks_base-81f4cb3f858f46a4d9b793c4d326b9bf6aca868d.tar.bz2 |
Enable CursorAnchorInfo to contain composing string
This CL adds one more functionality to CursorAnchorInfo
that enables applications to associate the composition
string with its positional information. This is useful
for an IME to handle CursorAnchorInfo asynchronously.
This is also useful for the framework to detect if
the application is unnecessarily calling
IMM#updateCursorAnchroInfo with duplicate event.
BUG: 14579622
Change-Id: Ie75c17b523dad33e97b08c15f5f5267573ce2063
Diffstat (limited to 'api')
-rw-r--r-- | api/current.txt | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/api/current.txt b/api/current.txt index eb1f46b..c5d9708 100644 --- a/api/current.txt +++ b/api/current.txt @@ -33307,9 +33307,9 @@ package android.view.inputmethod { public final class CursorAnchorInfo implements android.os.Parcelable { ctor public CursorAnchorInfo(android.os.Parcel); method public int describeContents(); - method public int getCandidatesEnd(); - method public int getCandidatesStart(); method public android.graphics.RectF getCharacterRect(int); + method public java.lang.String getComposingText(); + method public int getComposingTextStart(); method public float getInsertionMarkerBaseline(); method public float getInsertionMarkerBottom(); method public float getInsertionMarkerHorizontal(); @@ -33326,7 +33326,7 @@ package android.view.inputmethod { method public android.view.inputmethod.CursorAnchorInfo.CursorAnchorInfoBuilder addCharacterRect(int, float, float, float, float); method public android.view.inputmethod.CursorAnchorInfo build(); method public void reset(); - method public android.view.inputmethod.CursorAnchorInfo.CursorAnchorInfoBuilder setCandidateRange(int, int); + method public android.view.inputmethod.CursorAnchorInfo.CursorAnchorInfoBuilder setComposingText(int, java.lang.CharSequence); method public android.view.inputmethod.CursorAnchorInfo.CursorAnchorInfoBuilder setInsertionMarkerLocation(float, float, float, float); method public android.view.inputmethod.CursorAnchorInfo.CursorAnchorInfoBuilder setMatrix(android.graphics.Matrix); method public android.view.inputmethod.CursorAnchorInfo.CursorAnchorInfoBuilder setSelectionRange(int, int); |