Overview - update UI to use solid color scrim.

Also required updates to colors and status bar icons to match with new
color.

Bug: 179922117
Test: local build and flash on two devices

Change-Id: Ibec54107f52c01f125e6d100abe32434f2067b71
This commit is contained in:
Zak Cohen committed 2021-03-31 11:25:41 -07:00
1 parent efeb27ce9c
commit a547b781ee
11 files changed
+55 -43

No files matched your search

@@ -25,6 +25,10 @@ import android.view.ViewGroup;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import com.android.launcher3.R;
import com.android.launcher3.uioverrides.WallpaperColorInfo;
import com.android.launcher3.util.Themes;
/**
* View scrim which draws behind overview (recent apps).
*/
@@ -52,7 +56,7 @@ public class OverviewScrim extends Scrim {
public OverviewScrim(View view) {
super(view);
onExtractedColorsChanged(mWallpaperColorInfo);
mScrimColor = Themes.getAttrColor(view.getContext(), R.attr.allAppsScrimColor);
}
/**
@@ -74,6 +78,11 @@ public class OverviewScrim extends Scrim {
}
}
@Override
public void onExtractedColorsChanged(WallpaperColorInfo wallpaperColorInfo) {
// No super, don't respond to wallpaper colors, follow device ones instead
}
/**
* @return The view to draw the scrim behind, or null if all visible views should be scrimmed.
*/