WXEmbed$1.smali

.class Lcom/taobao/weex/ui/component/WXEmbed$1;
.super Ljava/lang/Object;
.source "WXEmbed.java"

# interfaces
.implements Ljava/util/Comparator;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/taobao/weex/ui/component/WXEmbed;->doAutoEmbedMemoryStrategy()V
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Ljava/util/Comparator<",
        "Lcom/taobao/weex/ui/component/WXEmbed;",
        ">;"
    }
.end annotation


# instance fields
.field final synthetic this$0:Lcom/taobao/weex/ui/component/WXEmbed;


# direct methods
.method constructor <init>(Lcom/taobao/weex/ui/component/WXEmbed;)V
    .registers 2
    .annotation system Ldalvik/annotation/MethodParameters;
        accessFlags = {
            0x8010
        }
        names = {
            "this$0"
        }
    .end annotation

    .line 425
    iput-object p1, p0, Lcom/taobao/weex/ui/component/WXEmbed$1;->this$0:Lcom/taobao/weex/ui/component/WXEmbed;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public compare(Lcom/taobao/weex/ui/component/WXEmbed;Lcom/taobao/weex/ui/component/WXEmbed;)I
    .registers 5
    .annotation system Ldalvik/annotation/MethodParameters;
        accessFlags = {
            0x0,
            0x0
        }
        names = {
            "o1",
            "o2"
        }
    .end annotation

    .line 428
    # invokes: Lcom/taobao/weex/ui/component/WXEmbed;->getLevel(Lcom/taobao/weex/ui/component/WXEmbed;)I
    invoke-static {p1}, Lcom/taobao/weex/ui/component/WXEmbed;->access$300(Lcom/taobao/weex/ui/component/WXEmbed;)I

    move-result v0

    # invokes: Lcom/taobao/weex/ui/component/WXEmbed;->getLevel(Lcom/taobao/weex/ui/component/WXEmbed;)I
    invoke-static {p2}, Lcom/taobao/weex/ui/component/WXEmbed;->access$300(Lcom/taobao/weex/ui/component/WXEmbed;)I

    move-result v1

    sub-int/2addr v0, v1

    if-eqz v0, :cond_c

    return v0

    .line 432
    :cond_c
    # getter for: Lcom/taobao/weex/ui/component/WXEmbed;->hiddenTime:J
    invoke-static {p1}, Lcom/taobao/weex/ui/component/WXEmbed;->access$400(Lcom/taobao/weex/ui/component/WXEmbed;)J

    move-result-wide v0

    # getter for: Lcom/taobao/weex/ui/component/WXEmbed;->hiddenTime:J
    invoke-static {p2}, Lcom/taobao/weex/ui/component/WXEmbed;->access$400(Lcom/taobao/weex/ui/component/WXEmbed;)J

    move-result-wide p1

    sub-long/2addr v0, p1

    long-to-int p1, v0

    return p1
.end method

.method public bridge synthetic compare(Ljava/lang/Object;Ljava/lang/Object;)I
    .registers 3
    .annotation system Ldalvik/annotation/MethodParameters;
        accessFlags = {
            0x1000,
            0x1000
        }
        names = {
            "o1",
            "o2"
        }
    .end annotation

    .line 425
    check-cast p1, Lcom/taobao/weex/ui/component/WXEmbed;

    check-cast p2, Lcom/taobao/weex/ui/component/WXEmbed;

    invoke-virtual {p0, p1, p2}, Lcom/taobao/weex/ui/component/WXEmbed$1;->compare(Lcom/taobao/weex/ui/component/WXEmbed;Lcom/taobao/weex/ui/component/WXEmbed;)I

    move-result p1

    return p1
.end method