mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 00:36:49 +00:00
4a92267d1dd073b246d9f2bf201dd0040166b00a
Using the stack was more efficient because it prevented the creation of new rectangles but it makes the code harder to read and prone to bugs if the global state of the stack of rectangles gets corrupted in any way. When this optimization was written in 2008 it was necessary but now I don't think it would have a big impact. The stack size is on average of 30 and the rectangles are only created when doing the reorder which runs about once per second if the user moves the finger too quickly. Bug: 188081026 Test: atest ReorderWidgets Change-Id: I35d8ee8d92f01035e72fe5763a7de47f4b6a73de
Merge "Use global color extraction in widgets for wallpaper preview" into sc-v2-dev am:
9b3ef3e638 am: df311603e9
Languages
Java
73.1%
Kotlin
26.5%
AIDL
0.3%
Python
0.1%