summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator.cpp
diff options
context:
space:
mode:
authorChet Haase <chet@google.com>2016-03-23 08:23:14 -0700
committerChet Haase <chet@google.com>2016-03-29 11:01:27 -0700
commit15b6ba585955f6d468b4acc1b72e58099fcfe485 (patch)
tree56cfe576ecc687dca90a7b05140f86d172725131 /tools/aapt2/java/JavaClassGenerator.cpp
parentf54aede6db8d49e82d64f75cb4bccd92b25d148a (diff)
Add setHasOverlappingRendering() method
View.hasOverlappingRendering() is an important performance tweak that subclasses can override to do the right thing return false when appropriate to avoid expensive operations when view is translucent). But this requires subclassing View to get this behavior. This new API allows the property to be set from outside, enabling standard views to have this behavior set. When the new method is called, the behavior will derive from whatever it was set to. Otherwise, it will default to the old/overriden behavior. Issue #16561361 Make hasOverlappingRendering settable from outside/XML Change-Id: If0fbc8667cdb82b1d85e795e782716a07196f3c0
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator.cpp')
0 files changed, 0 insertions, 0 deletions