package com.tencent.mm.plugin.location.ui;

import com.tencent.matrix.trace.core.AppMethodBeat;
import com.tencent.mm.modelgeo.b.a;
import com.tencent.mm.sdk.platformtools.ab;

class e$1 implements a {
    final /* synthetic */ e nLV;

    e$1(e eVar) {
        this.nLV = eVar;
    }

    public final boolean a(boolean z, float f, float f2, int i, double d, double d2, double d3) {
        AppMethodBeat.i(113456);
        if (!z) {
            AppMethodBeat.o(113456);
            return false;
        } else if (e.a(this.nLV)) {
            AppMethodBeat.o(113456);
            return false;
        } else {
            ab.d("MicroMsg.MyPoiPoint", "new location comes! slat : %f, slng: %f", new Object[]{Float.valueOf(f2), Float.valueOf(f)});
            e.b(this.nLV);
            e.a(this.nLV, d2);
            e.b(this.nLV, (double) f2);
            e.c(this.nLV, (double) f);
            if (e.c(this.nLV) != null) {
                if (e.d(this.nLV)) {
                    e.c(this.nLV).updateLocaitonPinLayout(this.nLV, e.f(this.nLV), e.g(this.nLV));
                } else {
                    e.e(this.nLV);
                    e.c(this.nLV).addPinView(this.nLV, e.f(this.nLV), e.g(this.nLV));
                }
            }
            if (e.h(this.nLV) != null) {
                e.h(this.nLV).a(z, f, f2, i, d, d2, d3);
            }
            this.nLV.invalidate();
            this.nLV.postInvalidate();
            this.nLV.requestLayout();
            e.i(this.nLV);
            AppMethodBeat.o(113456);
            return true;
        }
    }
}
