summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Massimo Carli <mcarli@google.com> 2024-05-08 17:43:53 +0000
committer Massimo Carli <mcarli@google.com> 2024-05-10 09:49:42 +0000
commitb90bcd2bd03883095823ec9f36316ecfde7f895a (patch)
tree89eb8d9ff0eb16b0109e679feea2473bbdf0a1b4 /libs/androidfw/StringPool.cpp
parentb3b7b19703177255e3b6580b6e92f2c9ca6d7cb8 (diff)
[2/n] Add cache to width/height thin definition
Convertion between dp and pixel just need to be done when density changes. We implemented an IntSupplier which returns a cached value updating only when density changes. Bug: 334077350 Bug: 339738650 Test: atest WmTests:LetterboxConfigurationTest Change-Id: I7adb6cd94d9f1908ea15561a1654914cb3665e19
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions