summaryrefslogtreecommitdiff
path: root/libs/androidfw/AttributeResolution.cpp
diff options
context:
space:
mode:
author George Mount <mount@google.com> 2024-03-22 15:10:12 -0700
committer George Mount <mount@google.com> 2024-03-27 15:00:00 +0000
commit84ddbe542bed39183d84de57bca93d99d7330bc5 (patch)
treec1e11b9affc4ad7ad90499e4e07ac26b51232ad5 /libs/androidfw/AttributeResolution.cpp
parent8bf4990b7107ad0df085ab0678d0dddd786a1822 (diff)
Improve performance of VRR
Bug: 330765659 Trace.isTagEnabled() is expensive and has been removed in favor of the less expensive condition it was protecting. Size checks are done only when the size of a View changes. The small size requirement is calculated once rather than in every View. For Views that don't draw, only vote when motion is involved. Test: ran performance check. Improvement of around 30% Change-Id: I73658e94d41799a7d88fcc568061f8d46c90c757
Diffstat (limited to 'libs/androidfw/AttributeResolution.cpp')
0 files changed, 0 insertions, 0 deletions