use of com.android.launcher3.util.OverlayEdgeEffect in project android_packages_apps_Launcher3 by crdroidandroid.
the class Workspace method setLauncherOverlay.
public void setLauncherOverlay(LauncherOverlay overlay) {
mOverlayEdgeEffect = overlay == null ? null : new OverlayEdgeEffect(getContext(), overlay);
EdgeEffectCompat newEffect = overlay == null ? new EdgeEffectCompat(getContext()) : mOverlayEdgeEffect;
if (mIsRtl) {
mEdgeGlowRight = newEffect;
} else {
mEdgeGlowLeft = newEffect;
}
onOverlayScrollChanged(0);
}
Aggregations