commit | bb6840347bc14dc0288eb674445828891db11201 | [log] [tgz] |
---|---|---|
author | Seigo Nonaka <nona@google.com> | Tue Nov 03 21:47:25 2020 -0800 |
committer | Seigo Nonaka <nona@google.com> | Tue Nov 03 23:32:03 2020 -0800 |
tree | 95edd3829630e695a9754bd25844c48e06f5ce44 | |
parent | ffe5f0eb410d4cb077519733f6be752efdbda6cb [diff] |
Introduce getSourceIdentifier instead of isSameSource. After some experiment, equality function is not enough for high performance animation. To use native glyph cache efficiently, need to cache the Font object during font variation animations. This identifier will be used for the key of the cache. Bug: 171911683 Test: atest FontTest Change-Id: Idbaa1bc83aea2c6af82641bd7d3a553f2cfe4793