use of com.android.launcher3.util.EdgeEffectCompat 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);
}
use of com.android.launcher3.util.EdgeEffectCompat in project android_packages_apps_Launcher3 by crdroidandroid.
the class PagedView method initEdgeEffect.
protected void initEdgeEffect() {
mEdgeGlowLeft = new EdgeEffectCompat(getContext());
mEdgeGlowRight = new EdgeEffectCompat(getContext());
}
Aggregations