package com.tencent.mm.plugin.music.ui;

import android.graphics.LinearGradient;
import android.graphics.Shader;
import android.graphics.Shader.TileMode;
import android.graphics.drawable.ShapeDrawable.ShaderFactory;
import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.plugin.music.ui.b.a;

class b$a$1 extends ShaderFactory {
    final /* synthetic */ int oOJ;
    final /* synthetic */ a oOK;

    b$a$1(a aVar, int i) {
        this.oOK = aVar;
        this.oOJ = i;
    }

    public final Shader resize(int i, int i2) {
        AppMethodBeat.i(105073);
        float f = 0.0f;
        float f2 = 0.0f;
        LinearGradient linearGradient = new LinearGradient(0.0f, f, f2, (float) i2, new int[]{0, this.oOJ}, new float[]{0.0f, 1.0f}, TileMode.REPEAT);
        AppMethodBeat.o(105073);
        return linearGradient;
    }
}
