mirror of
https://github.com/LawnchairLauncher/lawnchair.git
synced 2026-03-04 09:56: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:
@@ -104,8 +104,8 @@ public class PagedViewCellLayout extends ViewGroup implements Page {
|
||||
|
||||
@Override
|
||||
public void setAlpha(float alpha) {
|
||||
mChildren.setAlpha(alpha);
|
||||
mHolographicChildren.setAlpha(1.0f - alpha);
|
||||
mChildren.setAlpha(HolographicOutlineHelper.viewAlphaInterpolator(alpha));
|
||||
mHolographicChildren.setAlpha(HolographicOutlineHelper.highlightAlphaInterpolator(alpha));
|
||||
}
|
||||
|
||||
void destroyHardwareLayers() {
|
||||
@@ -138,15 +138,6 @@ public class PagedViewCellLayout extends ViewGroup implements Page {
|
||||
}
|
||||
}
|
||||
|
||||
/** Syncs the holographic icon views to the child icon views */
|
||||
public void reloadHolographicIcons(boolean createHolographicOutlines) {
|
||||
if (createHolographicOutlines) {
|
||||
mChildren.loadHolographicOutlines();
|
||||
} else {
|
||||
mChildren.clearHolographicOutlines();
|
||||
}
|
||||
}
|
||||
|
||||
public boolean addViewToCellLayout(View child, int index, int childId,
|
||||
PagedViewCellLayout.LayoutParams params) {
|
||||
final PagedViewCellLayout.LayoutParams lp = params;
|
||||
|
||||
Reference in New Issue
Block a user