summaryrefslogtreecommitdiff
path: root/libs/androidfw/StringPool.cpp
diff options
context:
space:
mode:
author Tiger <tigerhuang@google.com> 2022-11-24 22:03:18 +0800
committer Tiger <tigerhuang@google.com> 2022-11-25 17:15:46 +0800
commitadfbe26af2d63684b73af8973de78a00d663dcb2 (patch)
treed86cd7bd029039d0b9bab4240292292ac2925c74 /libs/androidfw/StringPool.cpp
parent541595b9363b2a473fc2843cd3dfc9a814480c3d (diff)
Reduce unnecessary measure
If a window size can be known by the LayoutParams, we can use the size to relayout window, and we don't have to measure the view hierarchy before laying out the views. The CL applies the optimization on notification shade since it takes much time on performing measure. We plan to apply this on all the windows later. Fix: 259095271 Fix: 259673244 Bug: 260382739 Test: Change display density via adb command and see if notification shade gets multiple measure in one traversal. Change-Id: Ib85ceeda8a821703a32e88de7c67999f63276b6b
Diffstat (limited to 'libs/androidfw/StringPool.cpp')
0 files changed, 0 insertions, 0 deletions