Adding hardware layers to All Apps
- splitting up the "holo" outlines and the icons into separate views - enabling hardware layers on each of the views
This commit is contained in:
1 parent
98ed6bbec7
commit
8245a8685f
8 files changed
+343
-101
No files matched your search
@@ -930,7 +930,7 @@ public class CustomizePagedView extends PagedViewWithDraggableItems
|
||||
final int endIndex = Math.min(startIndex + numCells, list.size());
|
||||
final PagedViewCellLayout layout = (PagedViewCellLayout) getChildAt(page);
|
||||
// TODO: we can optimize by just re-applying to existing views
|
||||
layout.removeAllViews();
|
||||
layout.removeAllViewsOnPage();
|
||||
for (int i = startIndex; i < endIndex; ++i) {
|
||||
ResolveInfo info = list.get(i);
|
||||
PendingAddItemInfo createItemInfo = new PendingAddItemInfo();
|
||||
@@ -990,7 +990,7 @@ public class CustomizePagedView extends PagedViewWithDraggableItems
|
||||
final int endIndex = Math.min(startIndex + numCells, mApps.size());
|
||||
final PagedViewCellLayout layout = (PagedViewCellLayout) getChildAt(page);
|
||||
// TODO: we can optimize by just re-applying to existing views
|
||||
layout.removeAllViews();
|
||||
layout.removeAllViewsOnPage();
|
||||
for (int i = startIndex; i < endIndex; ++i) {
|
||||
final ApplicationInfo info = mApps.get(i);
|
||||
PagedViewIcon icon = (PagedViewIcon) mInflater.inflate(
|
||||
|
||||
Reference in new issue
Block a user