package com.bytedance.sdk.component.adexpress.dynamic.dynamicview;

import android.content.Context;
import android.view.View;
import android.widget.FrameLayout;
import android.widget.LinearLayout;
import android.widget.TextView;

/* JADX INFO: loaded from: classes.dex */
public class qhl extends ajl {
    private TextView fm;
    private LinearLayout lse;
    private TextView maa;
    private TextView ro;
    private TextView sds;
    private TextView wey;

    public qhl(Context context, DynamicRootView dynamicRootView, com.bytedance.sdk.component.adexpress.dynamic.yz.wu wuVar) {
        super(context, dynamicRootView, wuVar);
        this.fm = new TextView(this.ku);
        this.ro = new TextView(this.ku);
        this.wey = new TextView(this.ku);
        this.lse = new LinearLayout(this.ku);
        this.sds = new TextView(this.ku);
        this.maa = new TextView(this.ku);
        this.fm.setTag(9);
        this.ro.setTag(10);
        this.wey.setTag(12);
        this.lse.addView(this.wey);
        this.lse.addView(this.maa);
        this.lse.addView(this.ro);
        this.lse.addView(this.sds);
        this.lse.addView(this.fm);
        addView(this.lse, getWidgetLayoutParams());
    }

    @Override // com.bytedance.sdk.component.adexpress.dynamic.dynamicview.ajl, com.bytedance.sdk.component.adexpress.dynamic.dynamicview.pkk
    public boolean ef() {
        this.wey.setText("Function");
        this.ro.setText("Permission list");
        this.sds.setText(" | ");
        this.maa.setText(" | ");
        this.fm.setText("Privacy policy");
        com.bytedance.sdk.component.adexpress.dynamic.yz.wsy wsyVar = this.duv;
        if (wsyVar != null) {
            this.wey.setTextColor(wsyVar.wsy());
            this.wey.setTextSize(this.duv.jnr());
            this.ro.setTextColor(this.duv.wsy());
            this.ro.setTextSize(this.duv.jnr());
            this.sds.setTextColor(this.duv.wsy());
            this.maa.setTextColor(this.duv.wsy());
            this.fm.setTextColor(this.duv.wsy());
            this.fm.setTextSize(this.duv.jnr());
            return false;
        }
        this.wey.setTextColor(-1);
        this.wey.setTextSize(12.0f);
        this.ro.setTextColor(-1);
        this.ro.setTextSize(12.0f);
        this.sds.setTextColor(-1);
        this.maa.setTextColor(-1);
        this.fm.setTextColor(-1);
        this.fm.setTextSize(12.0f);
        return false;
    }

    @Override // com.bytedance.sdk.component.adexpress.dynamic.dynamicview.ajl
    public FrameLayout.LayoutParams getWidgetLayoutParams() {
        return new FrameLayout.LayoutParams(this.wsy, this.wu);
    }

    @Override // com.bytedance.sdk.component.adexpress.dynamic.dynamicview.jnr
    public boolean yz() {
        this.fm.setOnTouchListener((View.OnTouchListener) getDynamicClickListener());
        this.fm.setOnClickListener((View.OnClickListener) getDynamicClickListener());
        this.ro.setOnTouchListener((View.OnTouchListener) getDynamicClickListener());
        this.ro.setOnClickListener((View.OnClickListener) getDynamicClickListener());
        this.wey.setOnTouchListener((View.OnTouchListener) getDynamicClickListener());
        this.wey.setOnClickListener((View.OnClickListener) getDynamicClickListener());
        return true;
    }
}
