Yohei Yukawa
5f183f0671
L API proposal: Introduce IS_RTL flag
...
This CL introduces CursorAnchorInfo.FLAG_IS_RTL for better
RTL support. This CL also renames *CharacterRect() with
*CharacterBounds() so that they can look more consistent
with other existing APIs.
Rationale:
CursorAnchorInfo.FLAG_IS_RTL addresses following issues.
1. There is no way to associate the RTL information with
the insertion marker.
2. Returning mirrored (right < left) RectF for RTL in
CursorAnchorInfo#getCharacterRect() is turned out
to be bug-prone. Such usage of RectF is not fully
supported. For example, RectF#isEmpty() always returns
false when right < left.
3. There is no reliable to provide the RTL information
when CursorAnchorInfo#getCharacterRect() returns an
empty (right == left) RectF. Perhaps we could use +0.0
and -0.0, but I'm afraid that it is also bug-prone.
BUG: 17365414
BUG: 17335734
Change-Id: Ic8c6fab58c01206872a34e7ee604cdda1581364d
2014-09-08 02:17:54 +00:00
..
2014-09-02 22:39:08 -07:00
2013-09-10 17:03:02 -07:00
2014-08-06 15:42:10 -07:00
2013-09-09 18:09:13 -07:00
2014-08-28 13:55:18 -07:00
2014-09-04 19:16:39 -07:00
2014-07-09 19:30:49 +00:00
2013-11-20 11:31:47 -05:00
2014-09-02 16:35:45 -07:00
2013-09-09 18:09:13 -07:00
2014-08-07 05:14:36 +00:00
2014-08-05 20:57:20 +00:00
2014-02-03 18:42:24 -08:00
2014-08-28 15:27:04 -07:00
2013-11-01 02:38:01 +00:00
2013-09-09 18:09:13 -07:00
2014-03-05 18:42:56 +00:00
2013-09-09 18:09:13 -07:00
2014-08-14 13:11:12 -07:00
2013-11-20 11:31:47 -05:00
2014-08-06 15:42:10 -07:00
2013-09-26 14:38:14 -07:00
2013-11-11 15:58:13 +09:00
2014-09-07 23:13:46 +00:00
2014-09-07 23:13:46 +00:00
2014-09-03 20:48:02 -07:00
2014-09-04 18:24:31 +01:00
2014-08-25 17:27:02 -07:00
2013-11-20 11:31:47 -05:00
2014-09-04 17:03:43 -07:00
2014-09-08 02:17:54 +00:00
2014-02-20 20:05:34 -08:00
2013-09-09 18:09:13 -07:00
2014-08-15 19:58:04 -07:00
2014-08-06 15:42:10 -07:00
2014-03-26 14:40:42 -07:00
2014-05-24 21:02:45 -07:00
2014-08-07 23:10:06 +00:00
2013-06-12 21:11:12 -07:00
2014-05-11 15:27:57 -07:00
2013-11-20 11:31:47 -05:00
2014-08-06 15:42:10 -07:00
2014-07-29 07:25:49 -07:00
2014-08-28 13:55:18 -07:00
2014-08-15 18:02:23 -07:00
2014-08-07 15:48:46 -07:00
2013-09-09 18:09:13 -07:00
2014-09-04 03:28:50 +00:00
2014-07-15 20:26:21 +00:00
2013-09-04 16:37:57 -07:00
2013-09-26 15:49:27 -07:00
2014-07-14 23:13:28 +00:00
2014-08-06 15:42:10 -07:00
2014-06-18 18:05:15 -07:00
2014-09-03 20:14:21 -07:00
2013-11-20 11:31:47 -05:00
2014-07-25 00:47:55 +00:00
2014-08-19 15:41:51 -07:00
2014-09-04 20:18:35 +01:00
2014-08-28 17:41:49 -07:00
2014-05-15 15:11:40 -07:00
2014-06-30 14:15:03 -07:00
2014-08-06 19:34:56 +00:00
2014-08-07 10:24:04 -07:00
2014-09-03 19:35:37 -07:00
2013-08-15 18:16:06 -07:00
2013-09-09 18:09:13 -07:00
2014-07-20 15:58:11 -07:00
2014-07-25 22:36:22 +00:00
2014-08-19 18:11:54 -07:00
2013-09-09 18:09:13 -07:00
2013-11-20 11:31:47 -05:00
2014-06-30 09:42:18 +09:00
2014-08-28 15:27:04 -07:00
2013-09-09 18:09:13 -07:00
2014-07-02 15:59:30 -07:00
2014-08-12 15:13:19 -07:00
2013-09-09 18:09:13 -07:00
2014-02-03 18:42:24 -08:00
2014-09-04 18:24:31 +01:00
2014-09-04 18:24:31 +01:00
2014-07-29 12:49:50 -07:00
2014-08-15 14:20:35 -07:00
2014-08-25 17:27:02 -07:00
2014-09-03 20:14:21 -07:00
2013-11-20 11:31:47 -05:00
2013-09-09 18:09:13 -07:00
2014-09-04 19:16:39 -07:00
2013-09-09 18:09:13 -07:00
2014-08-25 15:08:34 -07:00
2014-08-05 20:57:20 +00:00
2014-08-25 17:27:02 -07:00
2013-09-09 18:09:13 -07:00
2013-11-20 11:31:47 -05:00