Adding signposting to Phone UI in Workspace/AppsCustomize.
Change-Id: Id63f247745a5ec1a63bbaff84602e4c91354f789
This commit is contained in:
@@ -84,7 +84,6 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
|
||||
private IconCache mIconCache;
|
||||
|
||||
// Dimens
|
||||
private Runnable mOnSizeChangedCallback;
|
||||
private int mContentWidth;
|
||||
private int mMaxWidgetSpan, mMinWidgetSpan;
|
||||
private int mWidgetWidthGap, mWidgetHeightGap;
|
||||
@@ -190,11 +189,6 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
|
||||
mWidgetCountY = Math.max(1, (int) Math.round(mCellCountY / 3f));
|
||||
mContentWidth = mWidgetSpacingLayout.getContentWidth();
|
||||
|
||||
// Notify our parent so that we can synchronize the tab bar width to this page width
|
||||
if (mOnSizeChangedCallback != null) {
|
||||
mOnSizeChangedCallback.run();
|
||||
}
|
||||
|
||||
invalidatePageData();
|
||||
}
|
||||
|
||||
@@ -213,10 +207,6 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
|
||||
super.onMeasure(widthMeasureSpec, heightMeasureSpec);
|
||||
}
|
||||
|
||||
public void setOnSizeChangedCallback(Runnable r) {
|
||||
mOnSizeChangedCallback = r;
|
||||
}
|
||||
|
||||
/** Removes and returns the ResolveInfo with the specified ComponentName */
|
||||
private ResolveInfo removeResolveInfoWithComponentName(List<ResolveInfo> list,
|
||||
ComponentName cn) {
|
||||
@@ -886,4 +876,9 @@ public class AppsCustomizePagedView extends PagedViewWithDraggableItems implemen
|
||||
// TODO: If we are in the middle of any process (ie. for holographic outlines, etc) we
|
||||
// should stop this now.
|
||||
}
|
||||
|
||||
@Override
|
||||
protected int getPageWidthForScrollingIndicator() {
|
||||
return getPageContentWidth();
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user