mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-02 00:36:49 +00:00
Loading previews and holographic icons in background thread using AsyncTasks.
- Adding back animation between tabs Change-Id: I1a49bfca4f85f579e232861aa02d08fb25d0aafc
This commit is contained in:
@@ -168,26 +168,4 @@ public class PagedViewCellLayoutChildren extends ViewGroup {
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void loadHolographicOutlines() {
|
||||
int count = getChildCount();
|
||||
for (int i = 0; i < count; i++) {
|
||||
View view = getChildAt(i);
|
||||
if (view instanceof PagedViewIcon) {
|
||||
PagedViewIcon icon = (PagedViewIcon) view;
|
||||
icon.loadHolographicIcon();
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public void clearHolographicOutlines() {
|
||||
int count = getChildCount();
|
||||
for (int i = 0; i < count; i++) {
|
||||
View view = getChildAt(i);
|
||||
if (view instanceof PagedViewIcon) {
|
||||
PagedViewIcon icon = (PagedViewIcon) view;
|
||||
icon.clearHolographicIcon();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user