diff options
author | xdai <xdai@chromium.org> | 2015-03-24 10:05:16 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2015-03-24 17:05:55 +0000 |
commit | bb033ee318fc12de0b9e136c99acd25950b08e8f (patch) | |
tree | 774c320ee3fb60234c17bd1216999e84a0ff2f02 /tools/json_schema_compiler/model.py | |
parent | 271aab95144f3cb8dbf41e7a3bba829018a6dafc (diff) | |
download | chromium_src-bb033ee318fc12de0b9e136c99acd25950b08e8f.zip chromium_src-bb033ee318fc12de0b9e136c99acd25950b08e8f.tar.gz chromium_src-bb033ee318fc12de0b9e136c99acd25950b08e8f.tar.bz2 |
Decrease the lag when switching between different categories in the Cros wallpaper selector.
In the CL, we maintain a thumbnail list so that we don't need to fetch the thumbnail images from file system
each time we switch between different categories. It might take some time at the first time, but will be
instantly ready after that.
And we also just preload grid items' thumbnail images in the current viewport, so that we don't experience noticeable
lag when switching to a category at the first time.
BUG=454932
TEST=tested on devices (pixel & peppy)
Review URL: https://codereview.chromium.org/1028513003
Cr-Commit-Position: refs/heads/master@{#322015}
Diffstat (limited to 'tools/json_schema_compiler/model.py')
0 files changed, 0 insertions, 0 deletions