media/library/ui
tonihei 579d57b445 Less memory allocations for repeated calls to SubtitleView.draw()
The draw method checks if all inputs are the same as in the previous call.
The options to strip the subtitle of its styles were applied each time,
in order to check if the final CharSequence is still the same.

This additional computation (and memory allocations) can be prevented by
checking if the original CharSequence (including all styles) and the
flags to remove those styles are the same. The actual style removal is now
part of setupTextlayout().

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=153061064
2017-04-18 19:36:08 +01:00
..
src/main Less memory allocations for repeated calls to SubtitleView.draw() 2017-04-18 19:36:08 +01:00
build.gradle Enable gradle test code coverage for the library modules that aren't affected by 'stuck in endless loop' issue 2017-03-31 19:06:58 +01:00