this
package com.an.wallblur;
import android.app.WallpaperManager;
import android.content.Context;
import android.graphics.RenderEffect;
import android.graphics.Shader;
import android.util.AttributeSet;
import android.widget.ImageView;
public class com.an.wallblur extends ImageView {
Context contextM;
public com.an.wallblur(Context context, AttributeSet attrs, int defStyleAttr) {
super(context, attrs, defStyleAttr);
contextM = context;
setRenderEffect(RenderEffect.createBlurEffect(30, 30, Shader.TileMode.CLAMP));
}
public com.an.wallblur(Context context, AttributeSet attrs) {
super(context, attrs);
contextM = context;
setRenderEffect(RenderEffect.createBlurEffect(30, 30, Shader.TileMode.CLAMP));
}
public com.an.wallblur(Context context) {
super(context);
contextM = context;
setRenderEffect(RenderEffect.createBlurEffect(30, 30, Shader.TileMode.CLAMP));
}
@Override
protected void onSizeChanged(int w, int h, int oldw, int oldh) {
super.onSizeChanged(w, h, oldw, oldh);
WallpaperManager wallpaperManager = WallpaperManager.getInstance(contextM);
setImageDrawable(wallpaperManager.getDrawable());
}
}
can u help me compile it to smali?