diff options
author | Yohei Yukawa <yukawa@google.com> | 2014-08-29 20:21:10 -0700 |
---|---|---|
committer | Yohei Yukawa <yukawa@google.com> | 2014-09-02 14:08:39 -0700 |
commit | cc24e2b6a2a429d70b75c6810a5cfd8816ce03ad (patch) | |
tree | 19454aa0f828327c6fb4f65f5d186dcb843202d6 /rs/java/android/renderscript/ProgramFragmentFixedFunction.java | |
parent | e93e6c81f2ec2588ca3a2878ac2b53776aa4845f (diff) |
API Review: CursorAnchorInfo
This CL introduces following combinable flags as a replacement
of CHARACTER_RECT_TYPE_* constants.
- CursorAnchorInfo.FLAG_HAS_VISIBLE_REGION
- CursorAnchorInfo.FLAG_HAS_INVISIBLE_REGION
This CL also replaces #isInsertionMarkerClipped() with
flags.
Rationale:
getCharacterRectFlags() should return a set of flags, rather
than enum-like types.
getInsertionMarkerFlags() is more consistent with
getCharacterRectFlags() than isInsertionMarkerClipped().
It is also open for future extension.
BUG: 17200900
Change-Id: Ia8cbb9f6b41cd9509fc0147fd68763dfde593ffc
Diffstat (limited to 'rs/java/android/renderscript/ProgramFragmentFixedFunction.java')
0 files changed, 0 insertions, 0 deletions