Removing the section break UI support
This was an exploration for an alternative UI in all apps, where we show section headers before every section. This was never released. Change-Id: I2d36f1d078cc9a6f3ba6f0ec9655412182c9b016
This commit is contained in:
@@ -29,7 +29,6 @@ public class AllAppsFastScrollHelper implements AllAppsGridAdapter.BindViewCallb
|
||||
|
||||
private static final int INITIAL_TOUCH_SETTLING_DURATION = 100;
|
||||
private static final int REPEAT_TOUCH_SETTLING_DURATION = 200;
|
||||
private static final float FAST_SCROLL_TOUCH_VELOCITY_BARRIER = 1900f;
|
||||
|
||||
private AllAppsRecyclerView mRv;
|
||||
private AlphabeticalAppsList mApps;
|
||||
@@ -187,9 +186,9 @@ public class AllAppsFastScrollHelper implements AllAppsGridAdapter.BindViewCallb
|
||||
public void onBindView(AllAppsGridAdapter.ViewHolder holder) {
|
||||
// Update newly bound views to the current fast scroll state if we are fast scrolling
|
||||
if (mCurrentFastScrollSection != null || mTargetFastScrollSection != null) {
|
||||
if (holder.mContent instanceof BaseRecyclerViewFastScrollBar.FastScrollFocusableView) {
|
||||
if (holder.itemView instanceof BaseRecyclerViewFastScrollBar.FastScrollFocusableView) {
|
||||
BaseRecyclerViewFastScrollBar.FastScrollFocusableView v =
|
||||
(BaseRecyclerViewFastScrollBar.FastScrollFocusableView) holder.mContent;
|
||||
(BaseRecyclerViewFastScrollBar.FastScrollFocusableView) holder.itemView;
|
||||
updateViewFastScrollFocusState(v, holder.getPosition(), false /* animated */);
|
||||
mTrackedFastScrollViews.add(v);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user