.class Lcom/moji/appwidget/skin/Resolution$WidthHeight;
.super Ljava/lang/Object;
.source "Resolution.java"

# interfaces
.implements Ljava/io/Serializable;
.implements Ljava/lang/Comparable;


# annotations
.annotation system Ldalvik/annotation/EnclosingClass;
    value = Lcom/moji/appwidget/skin/Resolution;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0xa
    name = "WidthHeight"
.end annotation

.annotation system Ldalvik/annotation/Signature;
    value = {
        "Ljava/lang/Object;",
        "Ljava/io/Serializable;",
        "Ljava/lang/Comparable<",
        "Lcom/moji/appwidget/skin/Resolution$WidthHeight;",
        ">;"
    }
.end annotation


# instance fields
.field product:I

.field resolution:Ljava/lang/String;


# direct methods
.method constructor <init>(II)V
    .locals 1

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

    mul-int v0, p1, p2

    .line 62
    iput v0, p0, Lcom/moji/appwidget/skin/Resolution$WidthHeight;->product:I

    .line 63
    new-instance v0, Ljava/lang/StringBuilder;

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

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    const-string p1, "*"

    invoke-virtual {v0, p1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;

    invoke-virtual {v0, p2}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;

    invoke-virtual {v0}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;

    move-result-object p1

    iput-object p1, p0, Lcom/moji/appwidget/skin/Resolution$WidthHeight;->resolution:Ljava/lang/String;

    return-void
.end method


# virtual methods
.method public compareTo(Lcom/moji/appwidget/skin/Resolution$WidthHeight;)I
    .locals 1

    .line 68
    iget v0, p0, Lcom/moji/appwidget/skin/Resolution$WidthHeight;->product:I

    iget p1, p1, Lcom/moji/appwidget/skin/Resolution$WidthHeight;->product:I

    sub-int/2addr v0, p1

    return v0
.end method

.method public bridge synthetic compareTo(Ljava/lang/Object;)I
    .locals 0

    .line 57
    check-cast p1, Lcom/moji/appwidget/skin/Resolution$WidthHeight;

    invoke-virtual {p0, p1}, Lcom/moji/appwidget/skin/Resolution$WidthHeight;->compareTo(Lcom/moji/appwidget/skin/Resolution$WidthHeight;)I

    move-result p1

    return p1
.end method

.method public hashCode()I
    .locals 2

    .line 74
    iget-object v0, p0, Lcom/moji/appwidget/skin/Resolution$WidthHeight;->resolution:Ljava/lang/String;

    invoke-virtual {v0}, Ljava/lang/String;->hashCode()I

    move-result v0

    const/16 v1, 0x275

    add-int/2addr v1, v0

    mul-int/lit8 v1, v1, 0x25

    .line 75
    iget v0, p0, Lcom/moji/appwidget/skin/Resolution$WidthHeight;->product:I

    add-int/2addr v1, v0

    return v1
.end method
