.class public Lcom/moji/preferences/LiveViewPrefer; .super Lcom/moji/tool/preferences/core/BasePreferences; .source "LiveViewPrefer.java" # annotations .annotation system Ldalvik/annotation/MemberClasses; value = { Lcom/moji/preferences/LiveViewPrefer$KeyConstant; } .end annotation # static fields .field private static a:Landroid/content/Context; .field private static b:Lcom/moji/preferences/LiveViewPrefer; # direct methods .method static constructor ()V .locals 1 .line 21 invoke-static {}, Lcom/moji/tool/AppDelegate;->a()Landroid/content/Context; move-result-object v0 sput-object v0, Lcom/moji/preferences/LiveViewPrefer;->a:Landroid/content/Context; return-void .end method .method protected constructor ()V .locals 1 .line 25 sget-object v0, Lcom/moji/preferences/LiveViewPrefer;->a:Landroid/content/Context; invoke-direct {p0, v0}, Lcom/moji/tool/preferences/core/BasePreferences;->(Landroid/content/Context;)V return-void .end method .method public static declared-synchronized c()Lcom/moji/preferences/LiveViewPrefer; .locals 2 const-class v0, Lcom/moji/preferences/LiveViewPrefer; monitor-enter v0 .line 29 :try_start_0 sget-object v1, Lcom/moji/preferences/LiveViewPrefer;->b:Lcom/moji/preferences/LiveViewPrefer; if-nez v1, :cond_0 .line 30 new-instance v1, Lcom/moji/preferences/LiveViewPrefer; invoke-direct {v1}, Lcom/moji/preferences/LiveViewPrefer;->()V sput-object v1, Lcom/moji/preferences/LiveViewPrefer;->b:Lcom/moji/preferences/LiveViewPrefer; .line 32 :cond_0 sget-object v1, Lcom/moji/preferences/LiveViewPrefer;->b:Lcom/moji/preferences/LiveViewPrefer; :try_end_0 .catchall {:try_start_0 .. :try_end_0} :catchall_0 monitor-exit v0 return-object v1 :catchall_0 move-exception v1 .line 28 monitor-exit v0 throw v1 .end method # virtual methods .method public a(Lcom/moji/preferences/LiveViewPrefer$KeyConstant;)J .locals 2 const-wide/16 v0, 0x0 .line 89 invoke-virtual {p0, p1, v0, v1}, Lcom/moji/preferences/LiveViewPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;J)J move-result-wide v0 return-wide v0 .end method .method public a()Ljava/lang/String; .locals 1 .line 37 sget-object v0, Lcom/moji/preferences/PreferenceNameEnum;->LIVEVIEW_PREFERENCE:Lcom/moji/preferences/PreferenceNameEnum; invoke-virtual {v0}, Lcom/moji/preferences/PreferenceNameEnum;->name()Ljava/lang/String; move-result-object v0 return-object v0 .end method .method public a(I)V .locals 1 .line 55 sget-object v0, Lcom/moji/preferences/LiveViewPrefer$KeyConstant;->SEND_PHOTO_LIMIT_NUM:Lcom/moji/preferences/LiveViewPrefer$KeyConstant; invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/LiveViewPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;I)V return-void .end method .method public a(J)V .locals 1 .line 76 sget-object v0, Lcom/moji/preferences/LiveViewPrefer$KeyConstant;->HOME_RESPONSE_TIME:Lcom/moji/preferences/LiveViewPrefer$KeyConstant; invoke-static {p1, p2}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; move-result-object p1 invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/LiveViewPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/Long;)V return-void .end method .method public a(Lcom/moji/preferences/LiveViewPrefer$KeyConstant;J)V .locals 0 .line 85 invoke-static {p2, p3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; move-result-object p2 invoke-virtual {p0, p1, p2}, Lcom/moji/preferences/LiveViewPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/Long;)V return-void .end method .method public a(Ljava/lang/String;)V .locals 1 .line 94 sget-object v0, Lcom/moji/preferences/LiveViewPrefer$KeyConstant;->HOME_RESPONSE_DATA:Lcom/moji/preferences/LiveViewPrefer$KeyConstant; invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/LiveViewPrefer;->b(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)V return-void .end method .method public a(Ljava/util/List;)V .locals 1 .annotation system Ldalvik/annotation/Signature; value = { "(", "Ljava/util/List<", "Ljava/lang/Long;", ">;)V" } .end annotation .line 63 sget-object v0, Lcom/moji/preferences/LiveViewPrefer$KeyConstant;->DYNAMIC_UPDATE_DATA:Lcom/moji/preferences/LiveViewPrefer$KeyConstant; invoke-virtual {p0, v0, p1}, Lcom/moji/preferences/LiveViewPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/util/List;)V return-void .end method .method public b()I .locals 1 const/4 v0, 0x0 return v0 .end method .method public d()I .locals 2 .line 59 sget-object v0, Lcom/moji/preferences/LiveViewPrefer$KeyConstant;->SEND_PHOTO_LIMIT_NUM:Lcom/moji/preferences/LiveViewPrefer$KeyConstant; const/4 v1, 0x0 invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/LiveViewPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;I)I move-result v0 return v0 .end method .method public e()Ljava/util/List; .locals 4 .annotation system Ldalvik/annotation/Signature; value = { "()", "Ljava/util/List<", "Ljava/lang/Long;", ">;" } .end annotation .line 67 new-instance v0, Ljava/util/ArrayList; invoke-direct {v0}, Ljava/util/ArrayList;->()V .line 68 sget-object v1, Lcom/moji/preferences/LiveViewPrefer$KeyConstant;->DYNAMIC_UPDATE_DATA:Lcom/moji/preferences/LiveViewPrefer$KeyConstant; const-string v2, "" invoke-virtual {p0, v1, v2}, Lcom/moji/preferences/LiveViewPrefer;->c(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/util/List; move-result-object v1 .line 69 invoke-interface {v1}, Ljava/util/List;->iterator()Ljava/util/Iterator; move-result-object v1 :goto_0 invoke-interface {v1}, Ljava/util/Iterator;->hasNext()Z move-result v2 if-eqz v2, :cond_0 invoke-interface {v1}, Ljava/util/Iterator;->next()Ljava/lang/Object; move-result-object v2 check-cast v2, Ljava/lang/Number; .line 70 invoke-virtual {v2}, Ljava/lang/Number;->longValue()J move-result-wide v2 invoke-static {v2, v3}, Ljava/lang/Long;->valueOf(J)Ljava/lang/Long; move-result-object v2 invoke-interface {v0, v2}, Ljava/util/List;->add(Ljava/lang/Object;)Z goto :goto_0 :cond_0 return-object v0 .end method .method public f()J .locals 3 .line 80 sget-object v0, Lcom/moji/preferences/LiveViewPrefer$KeyConstant;->HOME_RESPONSE_TIME:Lcom/moji/preferences/LiveViewPrefer$KeyConstant; const-wide/16 v1, 0x0 invoke-virtual {p0, v0, v1, v2}, Lcom/moji/preferences/LiveViewPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;J)J move-result-wide v0 return-wide v0 .end method .method public g()Ljava/lang/String; .locals 2 .line 98 sget-object v0, Lcom/moji/preferences/LiveViewPrefer$KeyConstant;->HOME_RESPONSE_DATA:Lcom/moji/preferences/LiveViewPrefer$KeyConstant; const-string v1, "" invoke-virtual {p0, v0, v1}, Lcom/moji/preferences/LiveViewPrefer;->a(Lcom/moji/tool/preferences/core/IPreferKey;Ljava/lang/String;)Ljava/lang/String; move-result-object v0 return-object v0 .end method