Loading src/com/android/launcher3/allapps/AllAppsFastScrollHelper.java +3 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,8 @@ */ package com.android.launcher3.allapps; import static android.view.HapticFeedbackConstants.CLOCK_TICK; import androidx.recyclerview.widget.LinearSmoothScroller; import androidx.recyclerview.widget.RecyclerView.ViewHolder; Loading Loading @@ -71,6 +73,7 @@ public class AllAppsFastScrollHelper { @Override protected int getVerticalSnapPreference() { mRv.performHapticFeedback(CLOCK_TICK); return SNAP_TO_ANY; } Loading src/com/android/launcher3/views/RecyclerViewFastScroller.java +4 −1 Original line number Diff line number Diff line Loading @@ -355,8 +355,11 @@ public class RecyclerViewFastScroller extends View { if (!sectionName.equals(mPopupSectionName)) { mPopupSectionName = sectionName; mPopupView.setText(sectionName); // AllApps haptics are taken care of by AllAppsFastScrollHelper. if (mFastScrollerLocation != ALL_APPS_SCROLLER) { performHapticFeedback(CLOCK_TICK); } } animatePopupVisibility(!TextUtils.isEmpty(sectionName)); mLastTouchY = boundedY; setThumbOffsetY((int) mLastTouchY); Loading Loading
src/com/android/launcher3/allapps/AllAppsFastScrollHelper.java +3 −0 Original line number Diff line number Diff line Loading @@ -15,6 +15,8 @@ */ package com.android.launcher3.allapps; import static android.view.HapticFeedbackConstants.CLOCK_TICK; import androidx.recyclerview.widget.LinearSmoothScroller; import androidx.recyclerview.widget.RecyclerView.ViewHolder; Loading Loading @@ -71,6 +73,7 @@ public class AllAppsFastScrollHelper { @Override protected int getVerticalSnapPreference() { mRv.performHapticFeedback(CLOCK_TICK); return SNAP_TO_ANY; } Loading
src/com/android/launcher3/views/RecyclerViewFastScroller.java +4 −1 Original line number Diff line number Diff line Loading @@ -355,8 +355,11 @@ public class RecyclerViewFastScroller extends View { if (!sectionName.equals(mPopupSectionName)) { mPopupSectionName = sectionName; mPopupView.setText(sectionName); // AllApps haptics are taken care of by AllAppsFastScrollHelper. if (mFastScrollerLocation != ALL_APPS_SCROLLER) { performHapticFeedback(CLOCK_TICK); } } animatePopupVisibility(!TextUtils.isEmpty(sectionName)); mLastTouchY = boundedY; setThumbOffsetY((int) mLastTouchY); Loading