235 lines
6.6 KiB
Smali
235 lines
6.6 KiB
Smali
.class public final enum Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
.super Ljava/lang/Enum;
|
|
.source "WeatherWind.java"
|
|
|
|
|
|
# annotations
|
|
.annotation system Ldalvik/annotation/EnclosingClass;
|
|
value = Lcom/moji/base/WeatherWind;
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/InnerClass;
|
|
accessFlags = 0x4019
|
|
name = "WIND_UNIT"
|
|
.end annotation
|
|
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"Ljava/lang/Enum<",
|
|
"Lcom/moji/base/WeatherWind$WIND_UNIT;",
|
|
">;"
|
|
}
|
|
.end annotation
|
|
|
|
|
|
# static fields
|
|
.field private static final synthetic $VALUES:[Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
.field public static final enum BEAUFORT_SCALE:Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
.field public static final enum HK:Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
.field public static final enum KILOMETERS_PER_HOUR:Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
.field public static final enum KNOT:Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
.field public static final enum METERS_PER_SECOND:Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
.field public static final enum MILES_PER_HOUR:Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
|
|
# instance fields
|
|
.field private mHttpTag:Ljava/lang/String;
|
|
|
|
.field private mUnitSymbolId:I
|
|
|
|
|
|
# direct methods
|
|
.method static constructor <clinit>()V
|
|
.locals 10
|
|
|
|
.line 124
|
|
new-instance v0, Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
const-string v1, "BEAUFORT_SCALE"
|
|
|
|
sget v2, Lcom/moji/base/R$string;->units_speed_beau_symbol:I
|
|
|
|
const-string v3, "beau"
|
|
|
|
const/4 v4, 0x0
|
|
|
|
invoke-direct {v0, v1, v4, v2, v3}, Lcom/moji/base/WeatherWind$WIND_UNIT;-><init>(Ljava/lang/String;IILjava/lang/String;)V
|
|
|
|
sput-object v0, Lcom/moji/base/WeatherWind$WIND_UNIT;->BEAUFORT_SCALE:Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
.line 125
|
|
new-instance v0, Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
const-string v1, "KILOMETERS_PER_HOUR"
|
|
|
|
sget v2, Lcom/moji/base/R$string;->units_speed_km_symbol:I
|
|
|
|
const-string v3, "kmh"
|
|
|
|
const/4 v5, 0x1
|
|
|
|
invoke-direct {v0, v1, v5, v2, v3}, Lcom/moji/base/WeatherWind$WIND_UNIT;-><init>(Ljava/lang/String;IILjava/lang/String;)V
|
|
|
|
sput-object v0, Lcom/moji/base/WeatherWind$WIND_UNIT;->KILOMETERS_PER_HOUR:Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
.line 126
|
|
new-instance v0, Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
const-string v1, "MILES_PER_HOUR"
|
|
|
|
sget v2, Lcom/moji/base/R$string;->units_speed_mile_symbol:I
|
|
|
|
const-string v3, "mph"
|
|
|
|
const/4 v6, 0x2
|
|
|
|
invoke-direct {v0, v1, v6, v2, v3}, Lcom/moji/base/WeatherWind$WIND_UNIT;-><init>(Ljava/lang/String;IILjava/lang/String;)V
|
|
|
|
sput-object v0, Lcom/moji/base/WeatherWind$WIND_UNIT;->MILES_PER_HOUR:Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
.line 127
|
|
new-instance v0, Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
const-string v1, "METERS_PER_SECOND"
|
|
|
|
sget v2, Lcom/moji/base/R$string;->units_speed_meter_symbol:I
|
|
|
|
const-string v3, "ms"
|
|
|
|
const/4 v7, 0x3
|
|
|
|
invoke-direct {v0, v1, v7, v2, v3}, Lcom/moji/base/WeatherWind$WIND_UNIT;-><init>(Ljava/lang/String;IILjava/lang/String;)V
|
|
|
|
sput-object v0, Lcom/moji/base/WeatherWind$WIND_UNIT;->METERS_PER_SECOND:Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
.line 128
|
|
new-instance v0, Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
const-string v1, "KNOT"
|
|
|
|
sget v2, Lcom/moji/base/R$string;->units_speed_kt_symbol:I
|
|
|
|
const-string v3, "knot"
|
|
|
|
const/4 v8, 0x4
|
|
|
|
invoke-direct {v0, v1, v8, v2, v3}, Lcom/moji/base/WeatherWind$WIND_UNIT;-><init>(Ljava/lang/String;IILjava/lang/String;)V
|
|
|
|
sput-object v0, Lcom/moji/base/WeatherWind$WIND_UNIT;->KNOT:Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
.line 129
|
|
new-instance v0, Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
const-string v1, "HK"
|
|
|
|
sget v2, Lcom/moji/base/R$string;->units_speed_hk_symbol:I
|
|
|
|
const-string v3, "hk"
|
|
|
|
const/4 v9, 0x5
|
|
|
|
invoke-direct {v0, v1, v9, v2, v3}, Lcom/moji/base/WeatherWind$WIND_UNIT;-><init>(Ljava/lang/String;IILjava/lang/String;)V
|
|
|
|
sput-object v0, Lcom/moji/base/WeatherWind$WIND_UNIT;->HK:Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
const/4 v0, 0x6
|
|
|
|
.line 123
|
|
new-array v0, v0, [Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
sget-object v1, Lcom/moji/base/WeatherWind$WIND_UNIT;->BEAUFORT_SCALE:Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
aput-object v1, v0, v4
|
|
|
|
sget-object v1, Lcom/moji/base/WeatherWind$WIND_UNIT;->KILOMETERS_PER_HOUR:Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
aput-object v1, v0, v5
|
|
|
|
sget-object v1, Lcom/moji/base/WeatherWind$WIND_UNIT;->MILES_PER_HOUR:Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
aput-object v1, v0, v6
|
|
|
|
sget-object v1, Lcom/moji/base/WeatherWind$WIND_UNIT;->METERS_PER_SECOND:Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
aput-object v1, v0, v7
|
|
|
|
sget-object v1, Lcom/moji/base/WeatherWind$WIND_UNIT;->KNOT:Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
aput-object v1, v0, v8
|
|
|
|
sget-object v1, Lcom/moji/base/WeatherWind$WIND_UNIT;->HK:Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
aput-object v1, v0, v9
|
|
|
|
sput-object v0, Lcom/moji/base/WeatherWind$WIND_UNIT;->$VALUES:[Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method private constructor <init>(Ljava/lang/String;IILjava/lang/String;)V
|
|
.locals 0
|
|
.annotation system Ldalvik/annotation/Signature;
|
|
value = {
|
|
"(I",
|
|
"Ljava/lang/String;",
|
|
")V"
|
|
}
|
|
.end annotation
|
|
|
|
.line 134
|
|
invoke-direct {p0, p1, p2}, Ljava/lang/Enum;-><init>(Ljava/lang/String;I)V
|
|
|
|
.line 135
|
|
iput p3, p0, Lcom/moji/base/WeatherWind$WIND_UNIT;->mUnitSymbolId:I
|
|
|
|
.line 136
|
|
iput-object p4, p0, Lcom/moji/base/WeatherWind$WIND_UNIT;->mHttpTag:Ljava/lang/String;
|
|
|
|
return-void
|
|
.end method
|
|
|
|
.method static synthetic access$000(Lcom/moji/base/WeatherWind$WIND_UNIT;)I
|
|
.locals 0
|
|
|
|
.line 123
|
|
iget p0, p0, Lcom/moji/base/WeatherWind$WIND_UNIT;->mUnitSymbolId:I
|
|
|
|
return p0
|
|
.end method
|
|
|
|
.method public static valueOf(Ljava/lang/String;)Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
.locals 1
|
|
|
|
.line 123
|
|
const-class v0, Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
invoke-static {v0, p0}, Ljava/lang/Enum;->valueOf(Ljava/lang/Class;Ljava/lang/String;)Ljava/lang/Enum;
|
|
|
|
move-result-object p0
|
|
|
|
check-cast p0, Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
return-object p0
|
|
.end method
|
|
|
|
.method public static values()[Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
.locals 1
|
|
|
|
.line 123
|
|
sget-object v0, Lcom/moji/base/WeatherWind$WIND_UNIT;->$VALUES:[Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
invoke-virtual {v0}, [Lcom/moji/base/WeatherWind$WIND_UNIT;->clone()Ljava/lang/Object;
|
|
|
|
move-result-object v0
|
|
|
|
check-cast v0, [Lcom/moji/base/WeatherWind$WIND_UNIT;
|
|
|
|
return-object v0
|
|
.end method
|