Raph Levien 80b485daa6 Don't use context in measureText(char[])
The measureText(CharSequence) method calls into measureText(char[]),
using a temporary buffer, which may be longer than the CharSequence,
and may have additional characters. The existing implementation was
treating the entire char[] as potential context, but this is
incorrect.

This patch does the measurement on just the substring; measureText
doesn't process context. There are other methods for that, such as
getTextRunAdvances.

Bug: 19962931
Change-Id: Ia00cc004f9fa9d45aaf028683e78404d66c1388f
2015-04-03 10:41:52 -07:00
2015-03-30 22:50:41 +00:00
2015-03-26 11:05:08 -07:00
2014-11-10 17:23:02 -08:00
2015-03-30 19:39:27 +00:00
2015-03-05 13:56:16 -08:00
2015-03-30 15:31:26 -07:00
2015-03-24 15:49:13 -07:00
2015-03-30 19:39:27 +00:00
Description
No description provided
5.1 GiB
Languages
Java 77.3%
Kotlin 9.2%
PowerBuilder 6.6%
C++ 5.5%
AIDL 1%