diff options
| author | 2014-07-08 19:46:11 +0900 | |
|---|---|---|
| committer | 2014-07-10 03:06:04 +0000 | |
| commit | eea0b8b051e916051d0d09da3f41f9ec4d508bff (patch) | |
| tree | e5842693a9c38eb22d09243ca925a6c926e1b032 /libs/hwui/Program.cpp | |
| parent | 6b1e88e5d09a88dd77e631918aa7122a95a7ff4b (diff) | |
Fix inconsistencies in CursorAnchorInfo#equals
This CL addresses some inconsistencies found in
CursorAnchorInfo#equals.
- #mComposingText is now taken into consideration when
compared with other instances.
- NaN is now treated as if it was just a number in
CursorAnchorInfo#equals if and only if NaN is used in
-- #mInsertionMarkerHorizontal
-- #mInsertionMarkerTop
-- #mInsertionMarkerBaseline
-- #mInsertionMarkerBottom.
This is useful if we want to use NaN as a marker to
indicate that no value is specified.
Change-Id: Ibff31bc34b9d488731b294ad38240c567a06b627
Diffstat (limited to 'libs/hwui/Program.cpp')
0 files changed, 0 insertions, 0 deletions