Loading src/com/android/launcher3/allapps/FloatingHeaderView.java +1 −0 Original line number Diff line number Diff line Loading @@ -176,6 +176,7 @@ public class FloatingHeaderView extends RelativeLayout implements mAnimator.start(); mHeaderCollapsed = false; mSnappedScrolledY = -mMaxTranslation; mCurrentRV.scrollToTop(); } public boolean isExpanded() { Loading src/com/android/launcher3/allapps/PredictionRowView.java +8 −0 Original line number Diff line number Diff line Loading @@ -134,6 +134,7 @@ public class PredictionRowView extends LinearLayout { } private void onAppsUpdated() { int childCountBefore = getChildCount(); if (getChildCount() != mNumPredictedAppsPerRow) { while (getChildCount() > mNumPredictedAppsPerRow) { removeViewAt(0); Loading @@ -160,6 +161,13 @@ public class PredictionRowView extends LinearLayout { icon.setVisibility(View.INVISIBLE); } } if (getChildCount() > 0 && childCountBefore == 0 || getChildCount() == 0 && childCountBefore > 0) { // setting up header to adjust the height // only necessary if childcount switches from/to 0 Launcher.getLauncher(getContext()).getAppsView().setupHeader(); } } private List<AppInfo> processPredictedAppComponents( Loading Loading
src/com/android/launcher3/allapps/FloatingHeaderView.java +1 −0 Original line number Diff line number Diff line Loading @@ -176,6 +176,7 @@ public class FloatingHeaderView extends RelativeLayout implements mAnimator.start(); mHeaderCollapsed = false; mSnappedScrolledY = -mMaxTranslation; mCurrentRV.scrollToTop(); } public boolean isExpanded() { Loading
src/com/android/launcher3/allapps/PredictionRowView.java +8 −0 Original line number Diff line number Diff line Loading @@ -134,6 +134,7 @@ public class PredictionRowView extends LinearLayout { } private void onAppsUpdated() { int childCountBefore = getChildCount(); if (getChildCount() != mNumPredictedAppsPerRow) { while (getChildCount() > mNumPredictedAppsPerRow) { removeViewAt(0); Loading @@ -160,6 +161,13 @@ public class PredictionRowView extends LinearLayout { icon.setVisibility(View.INVISIBLE); } } if (getChildCount() > 0 && childCountBefore == 0 || getChildCount() == 0 && childCountBefore > 0) { // setting up header to adjust the height // only necessary if childcount switches from/to 0 Launcher.getLauncher(getContext()).getAppsView().setupHeader(); } } private List<AppInfo> processPredictedAppComponents( Loading