Revert^2 "Merging from ub-launcher3-master @ build 6294827"

70a76a61bf
Bug: 151611270
Change-Id: I16e0afcda998d2b1293ff47a66d5562fa4da77dc
This commit is contained in:
Winson Chung committed 2020-03-17 20:51:09 +00:00
1 parent 70a76a61bf
commit c18b7a4b04
224 files changed
+2712 -5777

No files matched your search

@@ -15,10 +15,11 @@
*/
package com.android.launcher3.allapps;
import static android.view.View.ALPHA;
import static android.view.View.INVISIBLE;
import static android.view.View.VISIBLE;
import static com.android.launcher3.LauncherAnimUtils.VIEW_ALPHA;
import android.graphics.Rect;
import android.view.View;
import android.view.animation.Interpolator;
@@ -67,7 +68,7 @@ public class PluginHeaderRow implements FloatingHeaderRow {
public void setContentVisibility(boolean hasHeaderExtra, boolean hasAllAppsContent,
PropertySetter setter, Interpolator headerFade, Interpolator allAppsFade) {
// Don't use setViewAlpha as we want to control the visibility ourselves.
setter.setFloat(mView, ALPHA, hasAllAppsContent ? 1 : 0, headerFade);
setter.setFloat(mView, VIEW_ALPHA, hasAllAppsContent ? 1 : 0, headerFade);
}
@Override