package com.tencent.mm.plugin.sns.storage.AdLandingPagesStorage.AdLandingPageComponent.component;

import com.tencent.matrix.trace.core.AppMethodBeat;

class b$a {
    int count;
    boolean isVisible;
    long qYO;
    final /* synthetic */ b qYP;
    long time;

    private b$a(b bVar) {
        this.qYP = bVar;
    }

    /* synthetic */ b$a(b bVar, byte b) {
        this(bVar);
    }

    /* Access modifiers changed, original: final */
    public final void cpm() {
        AppMethodBeat.i(37013);
        if (this.isVisible) {
            AppMethodBeat.o(37013);
            return;
        }
        this.isVisible = true;
        this.qYO = System.currentTimeMillis();
        this.count++;
        AppMethodBeat.o(37013);
    }

    /* Access modifiers changed, original: final */
    public final void cpn() {
        AppMethodBeat.i(37014);
        if (this.isVisible) {
            this.isVisible = false;
            if (this.qYO > 0) {
                this.time += System.currentTimeMillis() - this.qYO;
                this.qYO = 0;
            }
        }
        AppMethodBeat.o(37014);
    }
}
