package com.bytedance.sdk.openadsdk.core.vt.fm;

import android.view.View;
import com.bytedance.sdk.openadsdk.core.gof;
import com.bytedance.sdk.openadsdk.utils.zan;

/* JADX INFO: loaded from: classes2.dex */
public class lb implements com.bytedance.sdk.openadsdk.dsz.fm {
    private final View fm;

    public lb(View view) {
        this.fm = view;
    }

    @Override // com.bytedance.sdk.openadsdk.dsz.fm
    public int fm() {
        View view = this.fm;
        int measuredHeight = view != null ? view.getMeasuredHeight() : -1;
        return measuredHeight <= 0 ? zan.jnr(gof.fm()) : measuredHeight;
    }

    @Override // com.bytedance.sdk.openadsdk.dsz.fm
    public int ro() {
        View view = this.fm;
        int measuredWidth = view != null ? view.getMeasuredWidth() : -1;
        return measuredWidth <= 0 ? zan.lb(gof.fm()) : measuredWidth;
    }
}
