// Path: liquid/src/main/java/io/lqd/sdk/visual/AnimatorProxy.java
// public static final boolean NEEDS_PROXY = Build.VERSION.SDK_INT < Build.VERSION_CODES.HONEYCOMB;
// 
// Path: liquid/src/main/java/io/lqd/sdk/visual/AnimatorProxy.java
// public static AnimatorProxy wrap(View view) {
//     AnimatorProxy proxy = PROXIES.get(view);
//     // This checks if the proxy already exists and whether it still is the animation of the given view
//     if (proxy == null || proxy != view.getAnimation()) {
//         proxy = new AnimatorProxy(view);
//         PROXIES.put(view, proxy);
//     }
//     return proxy;
// }


import android.view.View;
import static io.lqd.sdk.visual.AnimatorProxy.NEEDS_PROXY;
import static io.lqd.sdk.visual.AnimatorProxy.wrap;
package io.lqd.sdk.visual;



public final class ViewHelper {
    private ViewHelper() {}

    public static float getAlpha(View view) {
        return NEEDS_PROXY ? wrap(view).getAlpha() : Honeycomb.getAlpha(view);
    }

    public static void setAlpha(View view, float alpha) {
        if (NEEDS_PROXY) {
            wrap(view).setAlpha(alpha);
        } else {
// Path: liquid/src/main/java/io/lqd/sdk/visual/AnimatorProxy.java
// public static final boolean NEEDS_PROXY = Build.VERSION.SDK_INT < Build.VERSION_CODES.HONEYCOMB;
// 
// Path: liquid/src/main/java/io/lqd/sdk/visual/AnimatorProxy.java
// public static AnimatorProxy wrap(View view) {
//     AnimatorProxy proxy = PROXIES.get(view);
//     // This checks if the proxy already exists and whether it still is the animation of the given view
//     if (proxy == null || proxy != view.getAnimation()) {
//         proxy = new AnimatorProxy(view);
//         PROXIES.put(view, proxy);
//     }
//     return proxy;
// }


// Path: liquid/src/main/java/io/lqd/sdk/visual/ViewHelper.java
import android.view.View;
import static io.lqd.sdk.visual.AnimatorProxy.NEEDS_PROXY;
import static io.lqd.sdk.visual.AnimatorProxy.wrap;

package io.lqd.sdk.visual;



public final class ViewHelper {
    private ViewHelper() {}

    public static float getAlpha(View view) {
        return NEEDS_PROXY ? wrap(view).getAlpha() : Honeycomb.getAlpha(view);
    }

    public static void setAlpha(View view, float alpha) {
        if (NEEDS_PROXY) {
            wrap(view).setAlpha(alpha);
        } else {
            Honeycomb.setAlpha(view, alpha);