Andrei Stingaceanu
564328b21e
AutoSize TextView (part 6) - introduce autoSizeMaxTextSize
...
Using textSize as maxTextSize for autosizing is buggy and
unclean. Introduce and use new autoSizeMaxTextSize attribute for
TextView.
Also while doing this optimized the auto-size process by removing
unnecessary computations:
1. If auto-size is enabled than setTextSize(...) is no-op.
2. After setting the text size internally and from the auto-size
context onMeasure() will stop doing another round of redundant
measurements..
Bug: 33449596
Bug: 32221168
Test: atttached in the same topic
Change-Id: Ieecaea6df0aebb4c182bdd1114e3c6fc5066bed1
2017-01-13 11:52:00 +00:00
..
2016-11-30 18:05:26 +00:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-09-29 16:59:02 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-08-19 10:15:52 -07:00
2016-10-11 17:00:17 -07:00
2016-09-23 10:16:16 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-12-19 16:03:30 -08:00
2017-01-10 12:50:47 -08:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2017-01-13 06:39:22 +00:00
2017-01-10 12:50:47 -08:00
2016-10-11 17:00:17 -07:00
2016-08-22 10:16:21 +00:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-27 17:14:47 +00:00
2016-08-29 20:09:23 -04:00
2016-09-23 10:16:16 -07:00
2016-08-25 12:38:46 -07:00
2016-10-27 17:14:47 +00:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-27 17:14:47 +00:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-09-07 08:40:54 -07:00
2016-10-11 17:00:17 -07:00
2016-12-20 15:38:27 +00:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2017-01-10 12:50:47 -08:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-11-16 08:29:57 -08:00
2016-10-27 17:14:47 +00:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-09-09 15:32:55 -07:00
2016-10-04 12:56:47 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-12-19 11:31:07 -08:00
2016-10-11 17:00:17 -07:00
2016-11-07 18:27:41 +00:00
2016-10-11 17:00:17 -07:00
2017-01-10 12:50:47 -08:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2017-01-13 11:52:00 +00:00
2016-11-17 10:51:26 +00:00
2016-10-11 17:00:17 -07:00
2016-08-10 22:22:43 +00:00
2016-10-11 17:00:17 -07:00
2016-10-19 14:56:47 -07:00
2017-01-11 17:19:39 -08:00
2016-10-11 17:00:17 -07:00
2016-08-04 09:54:14 -04:00
2016-10-11 17:00:17 -07:00
2016-10-11 17:00:17 -07:00
2016-08-25 12:38:46 -07:00
2016-10-11 17:00:17 -07:00