summaryrefslogtreecommitdiff
path: root/tools/aapt2/java/JavaClassGenerator_test.cpp
diff options
context:
space:
mode:
authorAlan Viverette <alanv@google.com>2015-11-19 09:47:09 -0500
committerAlan Viverette <alanv@google.com>2015-11-19 09:47:09 -0500
commitd633ca417d3925521ab15fba1c0cdac172efb184 (patch)
treecdde0ff394eaeac13dc3240c625fca0f2a0885f1 /tools/aapt2/java/JavaClassGenerator_test.cpp
parent40af4f3ed33dde5e24679c7da1b54fa88813ade3 (diff)
Apply VectorDrawable density scaling before applying theme
Refactors density handling to look more similar to GradientDrawable's implementation, which should make things easier to maintain. We no longer update density directly in updateStateFromTypedArray, instead handling it in applyTheme() and inflate(). Lazily calculates local density-dependent dimensions and invalidates when the constant state density changes, which should ensure a random call to applyTheme() will still result in the correct intrinsic dimensions. Change-Id: I726878a6cd75d38a550637e3e7a7b6bc68bcaf6d
Diffstat (limited to 'tools/aapt2/java/JavaClassGenerator_test.cpp')
0 files changed, 0 insertions, 0 deletions