48 lines
1.4 KiB
Java
48 lines
1.4 KiB
Java
|
package com.pdfview;
|
||
|
|
||
|
import android.content.Context;
|
||
|
import android.util.AttributeSet;
|
||
|
import com.pdfview.subsamplincscaleimageview.SubsamplingScaleImageView;
|
||
|
import java.io.File;
|
||
|
import o.C14957gcv;
|
||
|
import o.InterfaceC14459ftc;
|
||
|
import o.PNi;
|
||
|
|
||
|
/* loaded from: classes3.dex */
|
||
|
public final class PDFView extends SubsamplingScaleImageView {
|
||
|
private float b;
|
||
|
public File d;
|
||
|
|
||
|
private /* synthetic */ PDFView(Context context, byte b) {
|
||
|
this(context, (AttributeSet) null);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'super' call moved to the top of the method (can break code semantics) */
|
||
|
public PDFView(Context context, AttributeSet attributeSet) {
|
||
|
super(context, attributeSet);
|
||
|
C14957gcv.e(context, "");
|
||
|
this.b = 8.0f;
|
||
|
setMinimumTileDpi(120);
|
||
|
setMinimumScaleType(4);
|
||
|
}
|
||
|
|
||
|
@Override // android.view.View
|
||
|
protected final void onDetachedFromWindow() {
|
||
|
super.onDetachedFromWindow();
|
||
|
g();
|
||
|
}
|
||
|
|
||
|
public static /* synthetic */ InterfaceC14459ftc a(PDFView pDFView) {
|
||
|
C14957gcv.e(pDFView, "");
|
||
|
File file = pDFView.d;
|
||
|
C14957gcv.e(file);
|
||
|
return new PNi(pDFView, file, pDFView.b);
|
||
|
}
|
||
|
|
||
|
/* JADX WARN: 'this' call moved to the top of the method (can break code semantics) */
|
||
|
public PDFView(Context context) {
|
||
|
this(context, (byte) 0);
|
||
|
C14957gcv.e(context, "");
|
||
|
}
|
||
|
}
|