package com.kofax.mobile.sdk._internal.capture; import android.graphics.Bitmap; import android.graphics.Typeface; import android.graphics.drawable.Drawable; /* loaded from: classes3.dex */ public class CaptureMessage { private Typeface tB; private String tC; private Drawable tx; private int tv = -1; private int tw = 0; private int ty = -1; private int tz = -1; private int _width = -1; private int _height = -1; private int tA = -1; private boolean tD = true; private KUIMessageOrientation tE = KUIMessageOrientation.UNKNOWN; private Bitmap[] tF = new Bitmap[0]; private int position = 1; /* loaded from: classes3.dex */ public enum KUIMessageOrientation { PORTRAIT, LANDSCAPE, REVERSEPORTRAIT, REVERSELANDSCAPE, UNKNOWN } public CaptureMessage copy() { CaptureMessage captureMessage = new CaptureMessage(); captureMessage.tv = this.tv; captureMessage.tw = this.tw; captureMessage.tx = this.tx; captureMessage.ty = this.ty; captureMessage.tz = this.tz; captureMessage._width = this._width; captureMessage._height = this._height; captureMessage.tA = this.tA; captureMessage.tB = this.tB; captureMessage.tC = this.tC; captureMessage.tD = this.tD; captureMessage.tE = this.tE; captureMessage.tF = this.tF; captureMessage.position = this.position; return captureMessage; } public boolean equals(Object obj) { if (this == obj) { return true; } if (!(obj instanceof CaptureMessage)) { return false; } CaptureMessage captureMessage = (CaptureMessage) obj; if (this.tw != captureMessage.tw || this.tv != captureMessage.tv || this.ty != captureMessage.ty || this.tz != captureMessage.tz || this.tA != captureMessage.tA) { return false; } Drawable drawable = this.tx; if (drawable == null ? captureMessage.tx != null : !drawable.equals(captureMessage.tx)) { return false; } String str = this.tC; if (str == null ? captureMessage.tC != null : !str.equals(captureMessage.tC)) { return false; } if (this.tE != captureMessage.tE) { return false; } Typeface typeface = this.tB; Typeface typeface2 = captureMessage.tB; return typeface == null ? typeface2 == null : typeface.equals(typeface2); } public int hashCode() { int i = this.tv; int i2 = this.tw; Drawable drawable = this.tx; int hashCode = drawable != null ? drawable.hashCode() : 0; int i3 = this.ty; int i4 = this.tz; int i5 = this.tA; Typeface typeface = this.tB; int hashCode2 = typeface != null ? typeface.hashCode() : 0; String str = this.tC; int hashCode3 = str != null ? str.hashCode() : 0; KUIMessageOrientation kUIMessageOrientation = this.tE; return (((((((((((((((i * 31) + i2) * 31) + hashCode) * 31) + i3) * 31) + i4) * 31) + i5) * 31) + hashCode2) * 31) + hashCode3) * 31) + (kUIMessageOrientation != null ? kUIMessageOrientation.hashCode() : 0); } public void setWidth(int i) { this._width = i; } public void setVisibility(boolean z) { this.tD = z; } public void setTypeface(Typeface typeface) { this.tB = typeface; } public void setTextSize(int i) { this.tA = i; } public void setTextColor(int i) { this.tv = i; } public void setPosition(int i) { this.position = i; } public void setPosY(int i) { this.tz = i; } public void setPosX(int i) { this.ty = i; } public void setOrientation(KUIMessageOrientation kUIMessageOrientation) { this.tE = kUIMessageOrientation; } public void setMessageIcons(Bitmap[] bitmapArr) { this.tF = bitmapArr; } public void setMessage(String str) { this.tC = str; } public void setHeight(int i) { this._height = i; } public void setBackgroundColor(int i) { this.tw = i; } public void setBackground(Drawable drawable) { this.tx = drawable; } public int getWidth() { return this._width; } public boolean getVisibility() { return this.tD; } public Typeface getTypeface() { return this.tB; } public int getTextSize() { return this.tA; } public int getTextColor() { return this.tv; } public int getPosition() { return this.position; } public int getPosY() { return this.tz; } public int getPosX() { return this.ty; } public KUIMessageOrientation getOrientation() { return this.tE; } public Bitmap[] getMessageIcons() { return this.tF; } public String getMessage() { return this.tC; } public int getHeight() { return this._height; } public int getBackgroundColor() { return this.tw; } public Drawable getBackground() { return this.tx; } }