More spacing changes for AllApps.
- Also testing a simple scale of existing icons in lieu of high res icons. Change-Id: Ib9758064536cd1b1704344ea885bccdc93dd3466
This commit is contained in:
1 parent
bae3d061cc
commit
df4b83dd9d
14 files changed
+68
-27
No files matched your search
@@ -358,6 +358,7 @@ public class AllAppsPagedView extends PagedView
|
||||
layout.setCellCount(mCellCountX, mCellCountY);
|
||||
layout.setPadding(mPageLayoutPaddingLeft, mPageLayoutPaddingTop,
|
||||
mPageLayoutPaddingRight, mPageLayoutPaddingBottom);
|
||||
layout.setGap(mPageLayoutWidthGap, mPageLayoutHeightGap);
|
||||
addView(layout);
|
||||
}
|
||||
|
||||
@@ -414,7 +415,7 @@ public class AllAppsPagedView extends PagedView
|
||||
final int index = i - startIndex;
|
||||
final ApplicationInfo info = mFilteredApps.get(i);
|
||||
PagedViewIcon icon = (PagedViewIcon) layout.getChildAt(index);
|
||||
icon.applyFromApplicationInfo(info, mPageViewIconCache);
|
||||
icon.applyFromApplicationInfo(info, mPageViewIconCache, true);
|
||||
|
||||
PagedViewCellLayout.LayoutParams params =
|
||||
(PagedViewCellLayout.LayoutParams) icon.getLayoutParams();
|
||||
|
||||
Reference in new issue
Block a user