package o; import android.content.Context; import android.view.View; import com.github.barteksc.pdfviewer.PDFView; import io.flutter.plugin.common.BinaryMessenger; import io.flutter.plugin.common.MethodCall; import io.flutter.plugin.common.MethodChannel; import io.flutter.plugin.platform.PlatformView; import java.io.File; import java.util.Map; /* loaded from: classes.dex */ public final class mel implements PlatformView, MethodChannel.MethodCallHandler { private String c; private PDFView e; @Override // io.flutter.plugin.platform.PlatformView public final void dispose() { } /* JADX INFO: Access modifiers changed from: package-private */ public mel(Context context, BinaryMessenger binaryMessenger, int i, Map map) { new MethodChannel(binaryMessenger, "pdf_viewer_plugin_".concat(String.valueOf(i))).setMethodCallHandler(this); this.e = new PDFView(context, null); if (map.containsKey("filePath")) { this.c = (String) map.get("filePath"); this.e.setBackgroundColor(-3355444); PDFView.HBt hBt = new PDFView.HBt(this.e, new Izu(new File(this.c)), (byte) 0); hBt.c = true; hBt.h = false; hBt.a = true; hBt.d = 0; hBt.e = 8; hBt.g = 8; hBt.f = 8; hBt.b = 8; hBt.c(); } } @Override // io.flutter.plugin.common.MethodChannel.MethodCallHandler public final void onMethodCall(MethodCall methodCall, MethodChannel.Result result) { if (methodCall.method.equals("getPdfViewer")) { result.success(null); } else { result.notImplemented(); } } @Override // io.flutter.plugin.platform.PlatformView public final View getView() { return this.e; } }