导航菜单

页面标题

页面副标题

Kaspi.kz v5.85.1 - setHeight.java 源代码

正在查看: Kaspi.kz v5.85.1 应用的 setHeight.java JAVA 源代码文件

本页面展示 JAVA 反编译生成的源代码文件,支持语法高亮显示。 仅供安全研究与技术分析使用,严禁用于任何非法用途。请遵守相关法律法规。


package o;

import android.animation.Animator;
import android.animation.ValueAnimator;
import android.content.Context;
import android.graphics.Bitmap;
import android.graphics.Canvas;
import android.graphics.ColorFilter;
import android.graphics.Matrix;
import android.graphics.Paint;
import android.graphics.Rect;
import android.graphics.RectF;
import android.graphics.Typeface;
import android.graphics.drawable.Animatable;
import android.graphics.drawable.Drawable;
import android.os.Build;
import android.os.Handler;
import android.os.Looper;
import android.view.View;
import android.view.ViewGroup;
import android.widget.ImageView;
import androidx.annotation.NonNull;
import androidx.annotation.Nullable;
import java.util.ArrayList;
import java.util.Collections;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.util.concurrent.Executor;
import java.util.concurrent.LinkedBlockingQueue;
import java.util.concurrent.Semaphore;
import java.util.concurrent.ThreadPoolExecutor;
import java.util.concurrent.TimeUnit;

public class setHeight extends Drawable implements Drawable.Callback, Animatable {
    private static final float IconCompatParcelizer = 50.0f;
    private static final boolean read = false;
    public static final int setBackground = 2;
    private static final Executor setElement = new ThreadPoolExecutor(0, 2, 35, TimeUnit.MILLISECONDS, new LinkedBlockingQueue(), new Quadrangle_GetMutablePoint());
    public static final int setError = 1;
    public static final int setLabel = -1;
    private Matrix ActivityResultRegistry1;
    private Rect AudioAttributesCompatParcelizer;
    private RectF AudioAttributesImplApi21Parcelizer;
    private final ProjectiveTransform_TransformQuad AudioAttributesImplApi26Parcelizer;
    private boolean AudioAttributesImplBaseParcelizer;
    private Runnable ComponentActivity2;
    private boolean ComponentActivity3;
    private setBackground ComponentActivity4;
    private Handler ComponentActivity6;
    private Rect ImmLeaksCleaner;
    private OcrString MediaBrowserCompatCustomActionResultReceiver;
    private Image_Crop__SWIG_0 MediaBrowserCompatItemReceiver;
    private RepackChars MediaBrowserCompatMediaItem;
    private boolean MediaBrowserCompatSearchResultReceiver;
    private AppendChar MediaControllerCompatMediaControllerImplApi21ExtraBinderRequestResultReceiver;
    private boolean MediaDescriptionCompat;
    private Image_SetLayer MediaMetadataCompat;
    private String MediaSessionCompatQueueItem;
    private boolean MediaSessionCompatResultReceiverWrapper;
    private Map<String, Typeface> MediaSessionCompatToken;
    private boolean Nullable;
    private Paint OnBackPressedDispatcherLifecycleOnBackPressedCancellable;
    private boolean ParcelableVolumeInfo;
    private float PlaybackStateCompat;
    private boolean PlaybackStateCompatCustomAction;
    private Image_EstimateFocusScore__SWIG_1 RatingCompat;
    private int RemoteActionCompatParcelizer;
    private final Matrix addContentView;
    private getY_plane_pixel_stride getLifecycle;
    private boolean getLifecycleRegistry;
    private final ValueAnimator.AnimatorUpdateListener getOnBackPressedDispatcher;
    private boolean getOnBackPressedDispatcherannotations;
    private Canvas getSavedStateRegistry;
    private Bitmap initializeViewTreeOwners;
    private Matrix onBackPressed;
    private final Semaphore onBackPressedDispatcherlambda1;
    private RectF onCreate;
    private Rect onSaveInstanceState;
    private boolean onStart;
    private RectF onStop;
    private boolean r8lambdaqrzmfDOyDuplJFtpJLozn3P9EZI;
    private final ArrayList<setOptions> setContentView;
    GetChar setFieldValue;
    String setOptions;
    private final Runnable values;
    getU_plane_row_stride write;

    enum setBackground {
        NONE,
        PLAY,
        RESUME
    }

    interface setOptions {
        void setFieldValue(RepackChars repackChars);
    }

    @Override
    public int getOpacity() {
        return -3;
    }

    @Deprecated
    public void setError() {
    }

    public void setError(ValueAnimator valueAnimator) {
        if (read()) {
            invalidateSelf();
            return;
        }
        Image_SetLayer image_SetLayer = this.MediaMetadataCompat;
        if (image_SetLayer != null) {
            image_SetLayer.setLabel(this.AudioAttributesImplApi26Parcelizer.write());
        }
    }

    public void ActivityResultRegistry1() {
        Image_SetLayer image_SetLayer = this.MediaMetadataCompat;
        if (image_SetLayer == null) {
            return;
        }
        try {
            this.onBackPressedDispatcherlambda1.acquire();
            image_SetLayer.setLabel(this.AudioAttributesImplApi26Parcelizer.write());
            if (read && this.PlaybackStateCompatCustomAction) {
                if (this.ComponentActivity6 == null) {
                    this.ComponentActivity6 = new Handler(Looper.getMainLooper());
                    this.ComponentActivity2 = new Runnable() {
                        @Override
                        public final void run() {
                            setHeight.this.getSavedStateRegistry();
                        }
                    };
                }
                this.ComponentActivity6.post(this.ComponentActivity2);
            }
        } catch (InterruptedException unused) {
        } catch (Throwable th) {
            this.onBackPressedDispatcherlambda1.release();
            throw th;
        }
        this.onBackPressedDispatcherlambda1.release();
    }

    public void getSavedStateRegistry() {
        Drawable.Callback callback = getCallback();
        if (callback != null) {
            callback.invalidateDrawable(this);
        }
    }

    public setHeight() {
        ProjectiveTransform_TransformQuad projectiveTransform_TransformQuad = new ProjectiveTransform_TransformQuad();
        this.AudioAttributesImplApi26Parcelizer = projectiveTransform_TransformQuad;
        this.onStart = true;
        this.MediaSessionCompatResultReceiverWrapper = false;
        this.getOnBackPressedDispatcherannotations = false;
        this.ComponentActivity4 = setBackground.NONE;
        this.setContentView = new ArrayList<>();
        this.getLifecycleRegistry = false;
        this.MediaBrowserCompatSearchResultReceiver = true;
        this.RemoteActionCompatParcelizer = mergeGetter.read;
        this.AudioAttributesImplBaseParcelizer = false;
        this.getLifecycle = getY_plane_pixel_stride.AUTOMATIC;
        this.Nullable = false;
        this.addContentView = new Matrix();
        this.PlaybackStateCompatCustomAction = false;
        ValueAnimator.AnimatorUpdateListener animatorUpdateListener = new ValueAnimator.AnimatorUpdateListener() {
            @Override
            public final void onAnimationUpdate(ValueAnimator valueAnimator) {
                setHeight.this.setError(valueAnimator);
            }
        };
        this.getOnBackPressedDispatcher = animatorUpdateListener;
        this.onBackPressedDispatcherlambda1 = new Semaphore(1);
        this.values = new Runnable() {
            @Override
            public final void run() {
                setHeight.this.ActivityResultRegistry1();
            }
        };
        this.PlaybackStateCompat = -3.4028235E38f;
        projectiveTransform_TransformQuad.addUpdateListener(animatorUpdateListener);
    }

    public boolean MediaSessionCompatToken() {
        Image_SetLayer image_SetLayer = this.MediaMetadataCompat;
        return image_SetLayer != null && image_SetLayer.write();
    }

    public boolean MediaSessionCompatQueueItem() {
        Image_SetLayer image_SetLayer = this.MediaMetadataCompat;
        return image_SetLayer != null && image_SetLayer.AudioAttributesImplApi26Parcelizer();
    }

    public boolean setBackground() {
        return this.MediaDescriptionCompat;
    }

    public void setBackground(boolean z) {
        if (this.MediaDescriptionCompat == z) {
            return;
        }
        this.MediaDescriptionCompat = z;
        if (this.MediaBrowserCompatMediaItem != null) {
            getOnBackPressedDispatcherannotations();
        }
    }

    public boolean ComponentActivity2() {
        return this.MediaDescriptionCompat;
    }

    public void setFieldValue(boolean z) {
        if (z != this.MediaBrowserCompatSearchResultReceiver) {
            this.MediaBrowserCompatSearchResultReceiver = z;
            Image_SetLayer image_SetLayer = this.MediaMetadataCompat;
            if (image_SetLayer != null) {
                image_SetLayer.setOptions(z);
            }
            invalidateSelf();
        }
    }

    public boolean setElement() {
        return this.MediaBrowserCompatSearchResultReceiver;
    }

    public void setBackground(@Nullable String str) {
        this.MediaSessionCompatQueueItem = str;
    }

    public String AudioAttributesCompatParcelizer() {
        return this.MediaSessionCompatQueueItem;
    }

    public void RemoteActionCompatParcelizer(boolean z) {
        this.getLifecycleRegistry = z;
    }

    public boolean AudioAttributesImplBaseParcelizer() {
        return this.getLifecycleRegistry;
    }

    public boolean setLabel(RepackChars repackChars) {
        if (this.MediaBrowserCompatMediaItem == repackChars) {
            return false;
        }
        this.PlaybackStateCompatCustomAction = true;
        setFieldValue();
        this.MediaBrowserCompatMediaItem = repackChars;
        getOnBackPressedDispatcherannotations();
        this.AudioAttributesImplApi26Parcelizer.setOptions(repackChars);
        setError(this.AudioAttributesImplApi26Parcelizer.getAnimatedFraction());
        Iterator it = new ArrayList(this.setContentView).iterator();
        while (it.hasNext()) {
            setOptions setoptions = (setOptions) it.next();
            if (setoptions != null) {
                setoptions.setFieldValue(repackChars);
            }
            it.remove();
        }
        this.setContentView.clear();
        repackChars.setLabel(this.r8lambdaqrzmfDOyDuplJFtpJLozn3P9EZI);
        onBackPressedDispatcherlambda1();
        Drawable.Callback callback = getCallback();
        if (callback instanceof ImageView) {
            ImageView imageView = (ImageView) callback;
            imageView.setImageDrawable(null);
            imageView.setImageDrawable(this);
        }
        return true;
    }

    public void setFieldValue(getY_plane_pixel_stride gety_plane_pixel_stride) {
        this.getLifecycle = gety_plane_pixel_stride;
        onBackPressedDispatcherlambda1();
    }

    public OcrString IconCompatParcelizer() {
        OcrString ocrString = this.MediaBrowserCompatCustomActionResultReceiver;
        return ocrString != null ? ocrString : AppendString.setOptions();
    }

    public boolean read() {
        return IconCompatParcelizer() == OcrString.ENABLED;
    }

    public void setBackground(@Nullable OcrString ocrString) {
        this.MediaBrowserCompatCustomActionResultReceiver = ocrString;
    }

    public getY_plane_pixel_stride MediaBrowserCompatItemReceiver() {
        return this.Nullable ? getY_plane_pixel_stride.SOFTWARE : getY_plane_pixel_stride.HARDWARE;
    }

    private void onBackPressedDispatcherlambda1() {
        RepackChars repackChars = this.MediaBrowserCompatMediaItem;
        if (repackChars == null) {
            return;
        }
        this.Nullable = this.getLifecycle.setFieldValue(Build.VERSION.SDK_INT, repackChars.AudioAttributesImplApi26Parcelizer(), repackChars.AudioAttributesImplBaseParcelizer());
    }

    public void setElement(boolean z) {
        this.r8lambdaqrzmfDOyDuplJFtpJLozn3P9EZI = z;
        RepackChars repackChars = this.MediaBrowserCompatMediaItem;
        if (repackChars != null) {
            repackChars.setLabel(z);
        }
    }

    public void IconCompatParcelizer(boolean z) {
        if (this.ComponentActivity3 == z) {
            return;
        }
        this.ComponentActivity3 = z;
        Image_SetLayer image_SetLayer = this.MediaMetadataCompat;
        if (image_SetLayer != null) {
            image_SetLayer.setBackground(z);
        }
    }

    public getV_plane_pixel_stride MediaDescriptionCompat() {
        RepackChars repackChars = this.MediaBrowserCompatMediaItem;
        if (repackChars != null) {
            return repackChars.MediaBrowserCompatCustomActionResultReceiver();
        }
        return null;
    }

    public void setLabel(boolean z) {
        this.ParcelableVolumeInfo = z;
    }

    public boolean ParcelableVolumeInfo() {
        return this.ParcelableVolumeInfo;
    }

    public boolean RemoteActionCompatParcelizer() {
        return this.AudioAttributesImplBaseParcelizer;
    }

    public void setOptions(boolean z) {
        if (z != this.AudioAttributesImplBaseParcelizer) {
            this.AudioAttributesImplBaseParcelizer = z;
            invalidateSelf();
        }
    }

    private void getOnBackPressedDispatcherannotations() {
        RepackChars repackChars = this.MediaBrowserCompatMediaItem;
        if (repackChars == null) {
            return;
        }
        Image_SetLayer image_SetLayer = new Image_SetLayer(this, OcrString_Resize.setError(repackChars), repackChars.read(), repackChars);
        this.MediaMetadataCompat = image_SetLayer;
        if (this.ComponentActivity3) {
            image_SetLayer.setBackground(true);
        }
        this.MediaMetadataCompat.setOptions(this.MediaBrowserCompatSearchResultReceiver);
    }

    public void setFieldValue() {
        if (this.AudioAttributesImplApi26Parcelizer.isRunning()) {
            this.AudioAttributesImplApi26Parcelizer.cancel();
            if (!isVisible()) {
                this.ComponentActivity4 = setBackground.NONE;
            }
        }
        this.MediaBrowserCompatMediaItem = null;
        this.MediaMetadataCompat = null;
        this.RatingCompat = null;
        this.PlaybackStateCompat = -3.4028235E38f;
        this.AudioAttributesImplApi26Parcelizer.RemoteActionCompatParcelizer();
        invalidateSelf();
    }

    public void write(boolean z) {
        this.getOnBackPressedDispatcherannotations = z;
    }

    @Override
    public void invalidateSelf() {
        Drawable.Callback callback;
        if (this.PlaybackStateCompatCustomAction) {
            return;
        }
        this.PlaybackStateCompatCustomAction = true;
        if ((!read || Looper.getMainLooper() == Looper.myLooper()) && (callback = getCallback()) != null) {
            callback.invalidateDrawable(this);
        }
    }

    @Override
    public void setAlpha(@setTextAppearance(setBackground = 255, setFieldValue = 0) int i) {
        this.RemoteActionCompatParcelizer = i;
        invalidateSelf();
    }

    @Override
    public int getAlpha() {
        return this.RemoteActionCompatParcelizer;
    }

    @Override
    public void setColorFilter(@Nullable ColorFilter colorFilter) {
        ProjectiveTransform_TransformPolygon.setFieldValue("Use addColorFilter instead.");
    }

    private boolean onStart() {
        RepackChars repackChars = this.MediaBrowserCompatMediaItem;
        if (repackChars == null) {
            return false;
        }
        float f = this.PlaybackStateCompat;
        float write = this.AudioAttributesImplApi26Parcelizer.write();
        this.PlaybackStateCompat = write;
        return Math.abs(write - f) * repackChars.setLabel() >= IconCompatParcelizer;
    }

    @Override
    public void draw(@NonNull Canvas canvas) {
        Image_SetLayer image_SetLayer = this.MediaMetadataCompat;
        if (image_SetLayer == null) {
            return;
        }
        boolean read2 = read();
        if (read2) {
            try {
                this.onBackPressedDispatcherlambda1.acquire();
            } catch (InterruptedException unused) {
                AppendString.setError("Drawable#draw");
                if (!read2) {
                    return;
                }
                this.onBackPressedDispatcherlambda1.release();
                if (image_SetLayer.IconCompatParcelizer() == this.AudioAttributesImplApi26Parcelizer.write()) {
                    return;
                }
            } catch (Throwable th) {
                AppendString.setError("Drawable#draw");
                if (read2) {
                    this.onBackPressedDispatcherlambda1.release();
                    if (image_SetLayer.IconCompatParcelizer() != this.AudioAttributesImplApi26Parcelizer.write()) {
                        setElement.execute(this.values);
                    }
                }
                throw th;
            }
        }
        AppendString.setOptions("Drawable#draw");
        if (read2 && onStart()) {
            setError(this.AudioAttributesImplApi26Parcelizer.write());
        }
        if (this.getOnBackPressedDispatcherannotations) {
            try {
                if (this.Nullable) {
                    setLabel(canvas, image_SetLayer);
                } else {
                    setBackground(canvas);
                }
            } catch (Throwable th2) {
                ProjectiveTransform_TransformPolygon.setFieldValue("Lottie crashed in draw!", th2);
            }
        } else if (this.Nullable) {
            setLabel(canvas, image_SetLayer);
        } else {
            setBackground(canvas);
        }
        this.PlaybackStateCompatCustomAction = false;
        AppendString.setError("Drawable#draw");
        if (read2) {
            this.onBackPressedDispatcherlambda1.release();
            if (image_SetLayer.IconCompatParcelizer() == this.AudioAttributesImplApi26Parcelizer.write()) {
                return;
            }
            setElement.execute(this.values);
        }
    }

    public void setError(Canvas canvas, Matrix matrix) {
        Image_SetLayer image_SetLayer = this.MediaMetadataCompat;
        RepackChars repackChars = this.MediaBrowserCompatMediaItem;
        if (image_SetLayer == null || repackChars == null) {
            return;
        }
        boolean read2 = read();
        if (read2) {
            try {
                this.onBackPressedDispatcherlambda1.acquire();
                if (onStart()) {
                    setError(this.AudioAttributesImplApi26Parcelizer.write());
                }
            } catch (InterruptedException unused) {
                if (!read2) {
                    return;
                }
                this.onBackPressedDispatcherlambda1.release();
                if (image_SetLayer.IconCompatParcelizer() == this.AudioAttributesImplApi26Parcelizer.write()) {
                    return;
                }
            } catch (Throwable th) {
                if (read2) {
                    this.onBackPressedDispatcherlambda1.release();
                    if (image_SetLayer.IconCompatParcelizer() != this.AudioAttributesImplApi26Parcelizer.write()) {
                        setElement.execute(this.values);
                    }
                }
                throw th;
            }
        }
        if (this.Nullable) {
            canvas.save();
            canvas.concat(matrix);
            setLabel(canvas, image_SetLayer);
            canvas.restore();
        } else {
            image_SetLayer.setLabel(canvas, matrix, this.RemoteActionCompatParcelizer);
        }
        this.PlaybackStateCompatCustomAction = false;
        if (read2) {
            this.onBackPressedDispatcherlambda1.release();
            if (image_SetLayer.IconCompatParcelizer() == this.AudioAttributesImplApi26Parcelizer.write()) {
                return;
            }
            setElement.execute(this.values);
        }
    }

    @Override
    public void start() {
        Drawable.Callback callback = getCallback();
        if ((callback instanceof View) && ((View) callback).isInEditMode()) {
            return;
        }
        ComponentActivity3();
    }

    @Override
    public void stop() {
        setLabel();
    }

    @Override
    public boolean isRunning() {
        return MediaControllerCompatMediaControllerImplApi21ExtraBinderRequestResultReceiver();
    }

    public void ComponentActivity3() {
        if (this.MediaMetadataCompat == null) {
            this.setContentView.add(new setOptions() {
                @Override
                public final void setFieldValue(RepackChars repackChars) {
                    setHeight.this.setOptions(repackChars);
                }
            });
            return;
        }
        onBackPressedDispatcherlambda1();
        if (getOnBackPressedDispatcher() || MediaBrowserCompatMediaItem() == 0) {
            if (isVisible()) {
                this.AudioAttributesImplApi26Parcelizer.MediaBrowserCompatCustomActionResultReceiver();
                this.ComponentActivity4 = setBackground.NONE;
            } else {
                this.ComponentActivity4 = setBackground.PLAY;
            }
        }
        if (getOnBackPressedDispatcher()) {
            return;
        }
        setLabel((int) (RatingCompat() < IdResult_RemoveCheckField.setBackground ? MediaBrowserCompatCustomActionResultReceiver() : AudioAttributesImplApi26Parcelizer()));
        this.AudioAttributesImplApi26Parcelizer.setElement();
        if (isVisible()) {
            return;
        }
        this.ComponentActivity4 = setBackground.NONE;
    }

    public void setOptions(RepackChars repackChars) {
        ComponentActivity3();
    }

    public void setLabel() {
        this.setContentView.clear();
        this.AudioAttributesImplApi26Parcelizer.setElement();
        if (isVisible()) {
            return;
        }
        this.ComponentActivity4 = setBackground.NONE;
    }

    public void getLifecycleRegistry() {
        if (this.MediaMetadataCompat == null) {
            this.setContentView.add(new setOptions() {
                @Override
                public final void setFieldValue(RepackChars repackChars) {
                    setHeight.this.setError(repackChars);
                }
            });
            return;
        }
        onBackPressedDispatcherlambda1();
        if (getOnBackPressedDispatcher() || MediaBrowserCompatMediaItem() == 0) {
            if (isVisible()) {
                this.AudioAttributesImplApi26Parcelizer.MediaMetadataCompat();
                this.ComponentActivity4 = setBackground.NONE;
            } else {
                this.ComponentActivity4 = setBackground.RESUME;
            }
        }
        if (getOnBackPressedDispatcher()) {
            return;
        }
        setLabel((int) (RatingCompat() < IdResult_RemoveCheckField.setBackground ? MediaBrowserCompatCustomActionResultReceiver() : AudioAttributesImplApi26Parcelizer()));
        this.AudioAttributesImplApi26Parcelizer.setElement();
        if (isVisible()) {
            return;
        }
        this.ComponentActivity4 = setBackground.NONE;
    }

    public void setError(RepackChars repackChars) {
        getLifecycleRegistry();
    }

    public void setFieldValue(int i) {
        if (this.MediaBrowserCompatMediaItem == null) {
            this.setContentView.add(new SerializationParameters(this, i));
        } else {
            this.AudioAttributesImplApi26Parcelizer.setLabel(i);
        }
    }

    public void setError(int i, RepackChars repackChars) {
        setFieldValue(i);
    }

    public float MediaBrowserCompatCustomActionResultReceiver() {
        return this.AudioAttributesImplApi26Parcelizer.AudioAttributesCompatParcelizer();
    }

    public void setFieldValue(float f) {
        RepackChars repackChars = this.MediaBrowserCompatMediaItem;
        if (repackChars == null) {
            this.setContentView.add(new Serializer(this, f));
        } else {
            setFieldValue((int) Quadrangle_SetPoint.setFieldValue(repackChars.AudioAttributesImplApi21Parcelizer(), this.MediaBrowserCompatMediaItem.setFieldValue(), f));
        }
    }

    public void setFieldValue(float f, RepackChars repackChars) {
        setFieldValue(f);
    }

    public void setError(int i) {
        if (this.MediaBrowserCompatMediaItem == null) {
            this.setContentView.add(new AddIgnoredObjectType(this, i));
        } else {
            this.AudioAttributesImplApi26Parcelizer.setFieldValue(i + 0.99f);
        }
    }

    public void setLabel(int i, RepackChars repackChars) {
        setError(i);
    }

    public float AudioAttributesImplApi26Parcelizer() {
        return this.AudioAttributesImplApi26Parcelizer.read();
    }

    public void setOptions(@setCustomSelectionActionModeCallback(setBackground = 0.0d, setFieldValue = 1.0d) float f) {
        RepackChars repackChars = this.MediaBrowserCompatMediaItem;
        if (repackChars == null) {
            this.setContentView.add(new IgnoredObjectTypesEnd(this, f));
        } else {
            this.AudioAttributesImplApi26Parcelizer.setFieldValue(Quadrangle_SetPoint.setFieldValue(repackChars.AudioAttributesImplApi21Parcelizer(), this.MediaBrowserCompatMediaItem.setFieldValue(), f));
        }
    }

    public void setOptions(float f, RepackChars repackChars) {
        setOptions(f);
    }

    public void IconCompatParcelizer(String str) {
        RepackChars repackChars = this.MediaBrowserCompatMediaItem;
        if (repackChars == null) {
            this.setContentView.add(new HasIgnoredObjectType(this, str));
            return;
        }
        Image_FromBase64Buffer__SWIG_2 background = repackChars.setBackground(str);
        if (background == null) {
            throw new IllegalArgumentException("Cannot find marker with name " + str + ".");
        }
        setFieldValue((int) background.setOptions);
    }

    public void setFieldValue(String str, RepackChars repackChars) {
        IconCompatParcelizer(str);
    }

    public void write(String str) {
        RepackChars repackChars = this.MediaBrowserCompatMediaItem;
        if (repackChars == null) {
            this.setContentView.add(new IgnoredObjectTypesBegin(this, str));
            return;
        }
        Image_FromBase64Buffer__SWIG_2 background = repackChars.setBackground(str);
        if (background == null) {
            throw new IllegalArgumentException("Cannot find marker with name " + str + ".");
        }
        setError((int) (background.setOptions + background.setFieldValue));
    }

    public void setBackground(String str, RepackChars repackChars) {
        write(str);
    }

    public void read(String str) {
        RepackChars repackChars = this.MediaBrowserCompatMediaItem;
        if (repackChars == null) {
            this.setContentView.add(new QuadranglesMapIterator(this, str));
            return;
        }
        Image_FromBase64Buffer__SWIG_2 background = repackChars.setBackground(str);
        if (background == null) {
            throw new IllegalArgumentException("Cannot find marker with name " + str + ".");
        }
        int i = (int) background.setOptions;
        setLabel(i, ((int) background.setFieldValue) + i);
    }

    public void setError(String str, RepackChars repackChars) {
        read(str);
    }

    public void setOptions(String str, String str2, boolean z) {
        RepackChars repackChars = this.MediaBrowserCompatMediaItem;
        if (repackChars == null) {
            this.setContentView.add(new IgnoredKeysBegin(this, str, str2, z));
            return;
        }
        Image_FromBase64Buffer__SWIG_2 background = repackChars.setBackground(str);
        if (background == null) {
            throw new IllegalArgumentException("Cannot find marker with name " + str + ".");
        }
        int i = (int) background.setOptions;
        Image_FromBase64Buffer__SWIG_2 background2 = this.MediaBrowserCompatMediaItem.setBackground(str2);
        if (background2 == null) {
            throw new IllegalArgumentException("Cannot find marker with name " + str2 + ".");
        }
        setLabel(i, (int) (background2.setOptions + (z ? 1.0f : IdResult_RemoveCheckField.setBackground)));
    }

    public void setError(String str, String str2, boolean z, RepackChars repackChars) {
        setOptions(str, str2, z);
    }

    public void setLabel(int i, int i2) {
        if (this.MediaBrowserCompatMediaItem == null) {
            this.setContentView.add(new setWidth(this, i, i2));
        } else {
            this.AudioAttributesImplApi26Parcelizer.setOptions(i, i2 + 0.99f);
        }
    }

    public void setLabel(int i, int i2, RepackChars repackChars) {
        setLabel(i, i2);
    }

    public void setFieldValue(@setCustomSelectionActionModeCallback(setBackground = 0.0d, setFieldValue = 1.0d) float f, @setCustomSelectionActionModeCallback(setBackground = 0.0d, setFieldValue = 1.0d) float f2) {
        RepackChars repackChars = this.MediaBrowserCompatMediaItem;
        if (repackChars == null) {
            this.setContentView.add(new AddIgnoredKey(this, f, f2));
        } else {
            setLabel((int) Quadrangle_SetPoint.setFieldValue(repackChars.AudioAttributesImplApi21Parcelizer(), this.MediaBrowserCompatMediaItem.setFieldValue(), f), (int) Quadrangle_SetPoint.setFieldValue(this.MediaBrowserCompatMediaItem.AudioAttributesImplApi21Parcelizer(), this.MediaBrowserCompatMediaItem.setFieldValue(), f2));
        }
    }

    public void setError(float f, float f2, RepackChars repackChars) {
        setFieldValue(f, f2);
    }

    public void ComponentActivity4() {
        this.AudioAttributesImplApi26Parcelizer.MediaBrowserCompatItemReceiver();
    }

    public void setBackground(float f) {
        this.AudioAttributesImplApi26Parcelizer.setBackground(f);
    }

    public float RatingCompat() {
        return this.AudioAttributesImplApi26Parcelizer.AudioAttributesImplBaseParcelizer();
    }

    public void setBackground(ValueAnimator.AnimatorUpdateListener animatorUpdateListener) {
        this.AudioAttributesImplApi26Parcelizer.addUpdateListener(animatorUpdateListener);
    }

    public void setLabel(ValueAnimator.AnimatorUpdateListener animatorUpdateListener) {
        this.AudioAttributesImplApi26Parcelizer.removeUpdateListener(animatorUpdateListener);
    }

    public void ComponentActivity6() {
        this.AudioAttributesImplApi26Parcelizer.removeAllUpdateListeners();
        this.AudioAttributesImplApi26Parcelizer.addUpdateListener(this.getOnBackPressedDispatcher);
    }

    public void setOptions(Animator.AnimatorListener animatorListener) {
        this.AudioAttributesImplApi26Parcelizer.addListener(animatorListener);
    }

    public void setError(Animator.AnimatorListener animatorListener) {
        this.AudioAttributesImplApi26Parcelizer.removeListener(animatorListener);
    }

    public void r8lambdaqrzmfDOyDuplJFtpJLozn3P9EZI() {
        this.AudioAttributesImplApi26Parcelizer.removeAllListeners();
    }

    public void setLabel(Animator.AnimatorPauseListener animatorPauseListener) {
        this.AudioAttributesImplApi26Parcelizer.addPauseListener(animatorPauseListener);
    }

    public void setError(Animator.AnimatorPauseListener animatorPauseListener) {
        this.AudioAttributesImplApi26Parcelizer.removePauseListener(animatorPauseListener);
    }

    public void setLabel(final int i) {
        if (this.MediaBrowserCompatMediaItem == null) {
            this.setContentView.add(new setOptions() {
                @Override
                public final void setFieldValue(RepackChars repackChars) {
                    setHeight.this.setOptions(i, repackChars);
                }
            });
        } else {
            this.AudioAttributesImplApi26Parcelizer.setError(i);
        }
    }

    public void setOptions(int i, RepackChars repackChars) {
        setLabel(i);
    }

    public int AudioAttributesImplApi21Parcelizer() {
        return (int) this.AudioAttributesImplApi26Parcelizer.IconCompatParcelizer();
    }

    public void setError(@setCustomSelectionActionModeCallback(setBackground = 0.0d, setFieldValue = 1.0d) final float f) {
        if (this.MediaBrowserCompatMediaItem == null) {
            this.setContentView.add(new setOptions() {
                @Override
                public final void setFieldValue(RepackChars repackChars) {
                    setHeight.this.setBackground(f, repackChars);
                }
            });
            return;
        }
        AppendString.setOptions("Drawable#setProgress");
        this.AudioAttributesImplApi26Parcelizer.setError(this.MediaBrowserCompatMediaItem.setFieldValue(f));
        AppendString.setError("Drawable#setProgress");
    }

    public void setBackground(float f, RepackChars repackChars) {
        setError(f);
    }

    @Deprecated
    public void setError(boolean z) {
        this.AudioAttributesImplApi26Parcelizer.setRepeatCount(z ? -1 : 0);
    }

    public void setOptions(int i) {
        this.AudioAttributesImplApi26Parcelizer.setRepeatMode(i);
    }

    public int MediaMetadataCompat() {
        return this.AudioAttributesImplApi26Parcelizer.getRepeatMode();
    }

    public void setBackground(int i) {
        this.AudioAttributesImplApi26Parcelizer.setRepeatCount(i);
    }

    public int MediaBrowserCompatMediaItem() {
        return this.AudioAttributesImplApi26Parcelizer.getRepeatCount();
    }

    public boolean PlaybackStateCompat() {
        return this.AudioAttributesImplApi26Parcelizer.getRepeatCount() == -1;
    }

    public boolean MediaControllerCompatMediaControllerImplApi21ExtraBinderRequestResultReceiver() {
        ProjectiveTransform_TransformQuad projectiveTransform_TransformQuad = this.AudioAttributesImplApi26Parcelizer;
        if (projectiveTransform_TransformQuad == null) {
            return false;
        }
        return projectiveTransform_TransformQuad.isRunning();
    }

    boolean setContentView() {
        if (isVisible()) {
            return this.AudioAttributesImplApi26Parcelizer.isRunning();
        }
        setBackground setbackground = this.ComponentActivity4;
        return setbackground == setBackground.PLAY || setbackground == setBackground.RESUME;
    }

    private boolean getOnBackPressedDispatcher() {
        return this.onStart || this.MediaSessionCompatResultReceiverWrapper;
    }

    public void setOptions(Boolean bool) {
        this.onStart = bool.booleanValue();
    }

    public void read(boolean z) {
        this.MediaSessionCompatResultReceiverWrapper = z;
    }

    public void AudioAttributesCompatParcelizer(boolean z) {
        this.AudioAttributesImplApi26Parcelizer.setFieldValue(z);
    }

    public void setFieldValue(AppendChar appendChar) {
        this.MediaControllerCompatMediaControllerImplApi21ExtraBinderRequestResultReceiver = appendChar;
        Image_EstimateFocusScore__SWIG_1 image_EstimateFocusScore__SWIG_1 = this.RatingCompat;
        if (image_EstimateFocusScore__SWIG_1 != null) {
            image_EstimateFocusScore__SWIG_1.setOptions(appendChar);
        }
    }

    public void setError(GetChar getChar) {
        this.setFieldValue = getChar;
        Image_Crop__SWIG_0 image_Crop__SWIG_0 = this.MediaBrowserCompatItemReceiver;
        if (image_Crop__SWIG_0 != null) {
            image_Crop__SWIG_0.setError(getChar);
        }
    }

    public void setLabel(@Nullable Map<String, Typeface> map) {
        if (map == this.MediaSessionCompatToken) {
            return;
        }
        this.MediaSessionCompatToken = map;
        invalidateSelf();
    }

    public void setError(getU_plane_row_stride getu_plane_row_stride) {
        this.write = getu_plane_row_stride;
    }

    public getU_plane_row_stride MediaSessionCompatResultReceiverWrapper() {
        return this.write;
    }

    public boolean addContentView() {
        return this.MediaSessionCompatToken == null && this.write == null && this.MediaBrowserCompatMediaItem.setOptions().setFieldValue() > 0;
    }

    public RepackChars write() {
        return this.MediaBrowserCompatMediaItem;
    }

    public void setOptions() {
        this.setContentView.clear();
        this.AudioAttributesImplApi26Parcelizer.cancel();
        if (isVisible()) {
            return;
        }
        this.ComponentActivity4 = setBackground.NONE;
    }

    public void PlaybackStateCompatCustomAction() {
        this.setContentView.clear();
        this.AudioAttributesImplApi26Parcelizer.AudioAttributesImplApi26Parcelizer();
        if (isVisible()) {
            return;
        }
        this.ComponentActivity4 = setBackground.NONE;
    }

    public float MediaBrowserCompatSearchResultReceiver() {
        return this.AudioAttributesImplApi26Parcelizer.write();
    }

    @Override
    public int getIntrinsicWidth() {
        RepackChars repackChars = this.MediaBrowserCompatMediaItem;
        if (repackChars == null) {
            return -1;
        }
        return repackChars.setError().width();
    }

    @Override
    public int getIntrinsicHeight() {
        RepackChars repackChars = this.MediaBrowserCompatMediaItem;
        if (repackChars == null) {
            return -1;
        }
        return repackChars.setError().height();
    }

    public List<Image_FromFileBuffer__SWIG_0> setBackground(Image_FromFileBuffer__SWIG_0 image_FromFileBuffer__SWIG_0) {
        if (this.MediaMetadataCompat == null) {
            ProjectiveTransform_TransformPolygon.setFieldValue("Cannot resolve KeyPath. Composition is not set yet.");
            return Collections.emptyList();
        }
        ArrayList arrayList = new ArrayList();
        this.MediaMetadataCompat.setLabel(image_FromFileBuffer__SWIG_0, 0, arrayList, new Image_FromFileBuffer__SWIG_0(new String[0]));
        return arrayList;
    }

    public <T> void setOptions(final Image_FromFileBuffer__SWIG_0 image_FromFileBuffer__SWIG_0, final T t, @Nullable final Rectangle_width_set<T> rectangle_width_set) {
        Image_SetLayer image_SetLayer = this.MediaMetadataCompat;
        if (image_SetLayer == null) {
            this.setContentView.add(new setOptions() {
                @Override
                public final void setFieldValue(RepackChars repackChars) {
                    setHeight.this.setLabel(image_FromFileBuffer__SWIG_0, t, rectangle_width_set, repackChars);
                }
            });
            return;
        }
        if (image_FromFileBuffer__SWIG_0 == Image_FromFileBuffer__SWIG_0.setBackground) {
            image_SetLayer.setError(t, rectangle_width_set);
        } else if (image_FromFileBuffer__SWIG_0.setError() != null) {
            image_FromFileBuffer__SWIG_0.setError().setError(t, rectangle_width_set);
        } else {
            List<Image_FromFileBuffer__SWIG_0> background = setBackground(image_FromFileBuffer__SWIG_0);
            for (int i = 0; i < background.size(); i++) {
                background.get(i).setError().setError(t, rectangle_width_set);
            }
            if (!(!background.isEmpty())) {
                return;
            }
        }
        invalidateSelf();
        if (t == StringsMapIterator.PlaybackStateCompatCustomAction) {
            setError(MediaBrowserCompatSearchResultReceiver());
        }
    }

    public void setLabel(Image_FromFileBuffer__SWIG_0 image_FromFileBuffer__SWIG_0, Object obj, Rectangle_width_set rectangle_width_set, RepackChars repackChars) {
        setOptions(image_FromFileBuffer__SWIG_0, (Image_FromFileBuffer__SWIG_0) obj, (Rectangle_width_set<Image_FromFileBuffer__SWIG_0>) rectangle_width_set);
    }

    public <T> void setFieldValue(Image_FromFileBuffer__SWIG_0 image_FromFileBuffer__SWIG_0, T t, final Rectangle_x_get<T> rectangle_x_get) {
        setOptions(image_FromFileBuffer__SWIG_0, (Image_FromFileBuffer__SWIG_0) t, (Rectangle_width_set<Image_FromFileBuffer__SWIG_0>) new Rectangle_width_set<T>() {
            @Override
            public T setError(QuadranglesMapIterator_Equals<T> quadranglesMapIterator_Equals) {
                return (T) rectangle_x_get.setFieldValue(quadranglesMapIterator_Equals);
            }
        });
    }

    public Bitmap setBackground(String str, @Nullable Bitmap bitmap) {
        Image_EstimateFocusScore__SWIG_1 onSaveInstanceState = onSaveInstanceState();
        if (onSaveInstanceState == null) {
            ProjectiveTransform_TransformPolygon.setFieldValue("Cannot update bitmap. Most likely the drawable is not added to a View which prevents Lottie from getting a Context.");
            return null;
        }
        Bitmap error = onSaveInstanceState.setError(str, bitmap);
        invalidateSelf();
        return error;
    }

    @Deprecated
    public Bitmap setOptions(String str) {
        Image_EstimateFocusScore__SWIG_1 onSaveInstanceState = onSaveInstanceState();
        if (onSaveInstanceState != null) {
            return onSaveInstanceState.setLabel(str);
        }
        RepackChars repackChars = this.MediaBrowserCompatMediaItem;
        HasString hasString = repackChars == null ? null : repackChars.IconCompatParcelizer().get(str);
        if (hasString != null) {
            return hasString.setLabel();
        }
        return null;
    }

    public Bitmap setFieldValue(String str) {
        Image_EstimateFocusScore__SWIG_1 onSaveInstanceState = onSaveInstanceState();
        if (onSaveInstanceState != null) {
            return onSaveInstanceState.setLabel(str);
        }
        return null;
    }

    public HasString setError(String str) {
        RepackChars repackChars = this.MediaBrowserCompatMediaItem;
        if (repackChars == null) {
            return null;
        }
        return repackChars.IconCompatParcelizer().get(str);
    }

    private Image_EstimateFocusScore__SWIG_1 onSaveInstanceState() {
        Image_EstimateFocusScore__SWIG_1 image_EstimateFocusScore__SWIG_1 = this.RatingCompat;
        if (image_EstimateFocusScore__SWIG_1 != null && !image_EstimateFocusScore__SWIG_1.setError(onCreate())) {
            this.RatingCompat = null;
        }
        if (this.RatingCompat == null) {
            this.RatingCompat = new Image_EstimateFocusScore__SWIG_1(getCallback(), this.MediaSessionCompatQueueItem, this.MediaControllerCompatMediaControllerImplApi21ExtraBinderRequestResultReceiver, this.MediaBrowserCompatMediaItem.IconCompatParcelizer());
        }
        return this.RatingCompat;
    }

    public Typeface setFieldValue(Image_FromBase64Buffer__SWIG_0 image_FromBase64Buffer__SWIG_0) {
        Map<String, Typeface> map = this.MediaSessionCompatToken;
        if (map != null) {
            String options = image_FromBase64Buffer__SWIG_0.setOptions();
            if (map.containsKey(options)) {
                return map.get(options);
            }
            String label = image_FromBase64Buffer__SWIG_0.setLabel();
            if (map.containsKey(label)) {
                return map.get(label);
            }
            String str = image_FromBase64Buffer__SWIG_0.setOptions() + "-" + image_FromBase64Buffer__SWIG_0.setBackground();
            if (map.containsKey(str)) {
                return map.get(str);
            }
        }
        Image_Crop__SWIG_0 initializeViewTreeOwners = initializeViewTreeOwners();
        if (initializeViewTreeOwners != null) {
            return initializeViewTreeOwners.setOptions(image_FromBase64Buffer__SWIG_0);
        }
        return null;
    }

    private Image_Crop__SWIG_0 initializeViewTreeOwners() {
        if (getCallback() == null) {
            return null;
        }
        if (this.MediaBrowserCompatItemReceiver == null) {
            Image_Crop__SWIG_0 image_Crop__SWIG_0 = new Image_Crop__SWIG_0(getCallback(), this.setFieldValue);
            this.MediaBrowserCompatItemReceiver = image_Crop__SWIG_0;
            String str = this.setOptions;
            if (str != null) {
                image_Crop__SWIG_0.setBackground(str);
            }
        }
        return this.MediaBrowserCompatItemReceiver;
    }

    public void setLabel(String str) {
        this.setOptions = str;
        Image_Crop__SWIG_0 initializeViewTreeOwners = initializeViewTreeOwners();
        if (initializeViewTreeOwners != null) {
            initializeViewTreeOwners.setBackground(str);
        }
    }

    private Context onCreate() {
        Drawable.Callback callback = getCallback();
        if (callback != null && (callback instanceof View)) {
            return ((View) callback).getContext();
        }
        return null;
    }

    @Override
    public boolean setVisible(boolean z, boolean z2) {
        boolean isVisible = isVisible();
        boolean visible = super.setVisible(z, z2);
        if (z) {
            setBackground setbackground = this.ComponentActivity4;
            if (setbackground == setBackground.PLAY) {
                ComponentActivity3();
            } else if (setbackground == setBackground.RESUME) {
                getLifecycleRegistry();
            }
        } else if (this.AudioAttributesImplApi26Parcelizer.isRunning()) {
            PlaybackStateCompatCustomAction();
            this.ComponentActivity4 = setBackground.RESUME;
        } else if (isVisible) {
            this.ComponentActivity4 = setBackground.NONE;
        }
        return visible;
    }

    @Override
    public void invalidateDrawable(@NonNull Drawable drawable) {
        Drawable.Callback callback = getCallback();
        if (callback == null) {
            return;
        }
        callback.invalidateDrawable(this);
    }

    @Override
    public void scheduleDrawable(@NonNull Drawable drawable, @NonNull Runnable runnable, long j) {
        Drawable.Callback callback = getCallback();
        if (callback == null) {
            return;
        }
        callback.scheduleDrawable(this, runnable, j);
    }

    @Override
    public void unscheduleDrawable(@NonNull Drawable drawable, @NonNull Runnable runnable) {
        Drawable.Callback callback = getCallback();
        if (callback == null) {
            return;
        }
        callback.unscheduleDrawable(this, runnable);
    }

    private void setBackground(Canvas canvas) {
        Image_SetLayer image_SetLayer = this.MediaMetadataCompat;
        RepackChars repackChars = this.MediaBrowserCompatMediaItem;
        if (image_SetLayer == null || repackChars == null) {
            return;
        }
        this.addContentView.reset();
        if (!getBounds().isEmpty()) {
            this.addContentView.preScale(r2.width() / repackChars.setError().width(), r2.height() / repackChars.setError().height());
            this.addContentView.preTranslate(r2.left, r2.top);
        }
        image_SetLayer.setLabel(canvas, this.addContentView, this.RemoteActionCompatParcelizer);
    }

    private void setLabel(Canvas canvas, Image_SetLayer image_SetLayer) {
        if (this.MediaBrowserCompatMediaItem == null || image_SetLayer == null) {
            return;
        }
        getLifecycle();
        canvas.getMatrix(this.onBackPressed);
        canvas.getClipBounds(this.AudioAttributesCompatParcelizer);
        setBackground(this.AudioAttributesCompatParcelizer, this.AudioAttributesImplApi21Parcelizer);
        this.onBackPressed.mapRect(this.AudioAttributesImplApi21Parcelizer);
        setFieldValue(this.AudioAttributesImplApi21Parcelizer, this.AudioAttributesCompatParcelizer);
        if (this.MediaBrowserCompatSearchResultReceiver) {
            this.onStop.set(IdResult_RemoveCheckField.setBackground, IdResult_RemoveCheckField.setBackground, getIntrinsicWidth(), getIntrinsicHeight());
        } else {
            image_SetLayer.setFieldValue(this.onStop, (Matrix) null, false);
        }
        this.onBackPressed.mapRect(this.onStop);
        Rect bounds = getBounds();
        float width = bounds.width() / getIntrinsicWidth();
        float height = bounds.height() / getIntrinsicHeight();
        setBackground(this.onStop, width, height);
        if (!onBackPressed()) {
            RectF rectF = this.onStop;
            Rect rect = this.AudioAttributesCompatParcelizer;
            rectF.intersect(rect.left, rect.top, rect.right, rect.bottom);
        }
        int ceil = (int) Math.ceil(this.onStop.width());
        int ceil2 = (int) Math.ceil(this.onStop.height());
        if (ceil <= 0 || ceil2 <= 0) {
            return;
        }
        setOptions(ceil, ceil2);
        if (this.PlaybackStateCompatCustomAction) {
            this.addContentView.set(this.onBackPressed);
            this.addContentView.preScale(width, height);
            Matrix matrix = this.addContentView;
            RectF rectF2 = this.onStop;
            matrix.postTranslate(-rectF2.left, -rectF2.top);
            this.initializeViewTreeOwners.eraseColor(0);
            image_SetLayer.setLabel(this.getSavedStateRegistry, this.addContentView, this.RemoteActionCompatParcelizer);
            this.onBackPressed.invert(this.ActivityResultRegistry1);
            this.ActivityResultRegistry1.mapRect(this.onCreate, this.onStop);
            setFieldValue(this.onCreate, this.onSaveInstanceState);
        }
        this.ImmLeaksCleaner.set(0, 0, ceil, ceil2);
        canvas.drawBitmap(this.initializeViewTreeOwners, this.ImmLeaksCleaner, this.onSaveInstanceState, this.OnBackPressedDispatcherLifecycleOnBackPressedCancellable);
    }

    private void getLifecycle() {
        if (this.getSavedStateRegistry != null) {
            return;
        }
        this.getSavedStateRegistry = new Canvas();
        this.onStop = new RectF();
        this.onBackPressed = new Matrix();
        this.ActivityResultRegistry1 = new Matrix();
        this.AudioAttributesCompatParcelizer = new Rect();
        this.AudioAttributesImplApi21Parcelizer = new RectF();
        this.OnBackPressedDispatcherLifecycleOnBackPressedCancellable = new setU_plane_row_stride();
        this.ImmLeaksCleaner = new Rect();
        this.onSaveInstanceState = new Rect();
        this.onCreate = new RectF();
    }

    private void setOptions(int i, int i2) {
        Bitmap bitmap = this.initializeViewTreeOwners;
        if (bitmap == null || bitmap.getWidth() < i || this.initializeViewTreeOwners.getHeight() < i2) {
            Bitmap createBitmap = Bitmap.createBitmap(i, i2, Bitmap.Config.ARGB_8888);
            this.initializeViewTreeOwners = createBitmap;
            this.getSavedStateRegistry.setBitmap(createBitmap);
            this.PlaybackStateCompatCustomAction = true;
            return;
        }
        if (this.initializeViewTreeOwners.getWidth() > i || this.initializeViewTreeOwners.getHeight() > i2) {
            Bitmap createBitmap2 = Bitmap.createBitmap(this.initializeViewTreeOwners, 0, 0, i, i2);
            this.initializeViewTreeOwners = createBitmap2;
            this.getSavedStateRegistry.setBitmap(createBitmap2);
            this.PlaybackStateCompatCustomAction = true;
        }
    }

    private void setFieldValue(RectF rectF, Rect rect) {
        rect.set((int) Math.floor(rectF.left), (int) Math.floor(rectF.top), (int) Math.ceil(rectF.right), (int) Math.ceil(rectF.bottom));
    }

    private void setBackground(Rect rect, RectF rectF) {
        rectF.set(rect.left, rect.top, rect.right, rect.bottom);
    }

    private void setBackground(RectF rectF, float f, float f2) {
        rectF.set(rectF.left * f, rectF.top * f2, rectF.right * f, rectF.bottom * f2);
    }

    private boolean onBackPressed() {
        Drawable.Callback callback = getCallback();
        if (!(callback instanceof View)) {
            return false;
        }
        if (((View) callback).getParent() instanceof ViewGroup) {
            return !((ViewGroup) r0).getClipChildren();
        }
        return false;
    }
}