.class public Lcom/skymobi/lockframe/iphone/IphoneUnlock;
.super Landroid/widget/LinearLayout;
# interfaces
.implements Landroid/view/animation/Animation$AnimationListener;
.implements Lcom/android/internal/policy/impl/KeyguardScreen;
.implements Lcom/android/internal/policy/impl/KeyguardUpdateMonitor$InfoCallback;
.implements Lcom/skymobi/lockframe/iphone/d;
.implements Ljava/lang/Thread$UncaughtExceptionHandler;
# static fields
.field private static S:I
.field private static T:Z
.field private static Y:Landroid/graphics/Typeface;
# instance fields
.field private A:Lcom/skymobi/lockframe/iphone/IphoneUnlock;
.field private B:Landroid/widget/Scroller;
.field private C:Z
.field private D:Z
.field private E:Z
.field private F:Z
.field private G:Z
.field private H:Z
.field private I:Z
.field private J:Z
.field private K:I
.field private L:Landroid/view/GestureDetector;
.field private M:Lcom/skymobi/lockframe/iphone/a;
.field private N:Landroid/view/VelocityTracker;
.field private final O:I
.field private P:I
.field private Q:Landroid/graphics/Bitmap;
.field private R:Ljava/lang/Boolean;
.field private U:Z
.field private V:Z
.field private W:Landroid/os/Handler;
.field private X:Ljava/lang/Runnable;
.field private Z:Landroid/graphics/Bitmap;
.field final a:I
.field b:Landroid/view/animation/Animation;
.field c:Landroid/view/animation/Animation;
.field d:Landroid/view/animation/Animation;
.field e:Landroid/view/animation/Animation;
.field private f:Lcom/skymobi/lockframe/iphone/Screen;
.field private g:Landroid/widget/TextView;
.field private h:Landroid/widget/TextView;
.field private i:Landroid/widget/RelativeLayout;
.field private j:Lcom/skymobi/lockframe/iphone/BatteryView;
.field private k:Lcom/skymobi/lockframe/iphone/Switcher;
.field private l:Landroid/widget/ImageView;
.field private m:Ljava/lang/String;
.field private n:Lcom/android/internal/widget/LockPatternUtils;
.field private o:Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;
.field private p:Lcom/android/internal/policy/impl/KeyguardScreenCallback;
.field private q:Landroid/content/Context;
.field private r:Landroid/content/Context;
.field private s:I
.field private t:I
.field private u:I
.field private v:Landroid/graphics/Bitmap;
.field private w:Landroid/graphics/Bitmap;
.field private x:I
.field private y:I
.field private z:I
# direct methods
.method static constructor <clinit>()V
.locals 1
const/16 v0, 0xc8
sput v0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->S:I
const/4 v0, 0x0
sput-boolean v0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->T:Z
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/content/Context;Landroid/content/res/Configuration;Lcom/android/internal/widget/LockPatternUtils;Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;Lcom/android/internal/policy/impl/KeyguardScreenCallback;)V
.locals 8
const/high16 v7, 0x7f03
const/4 v6, 0x0
const/4 v5, 0x1
const/4 v4, 0x0
invoke-direct {p0, p1}, Landroid/widget/LinearLayout;-><init>(Landroid/content/Context;)V
const/16 v0, 0x12c
iput v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->a:I
const-string v0, "kk:mm"
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->m:Ljava/lang/String;
const/16 v0, 0x3e8
iput v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->x:I
iput v4, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->y:I
iput v4, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->z:I
iput-boolean v4, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->C:Z
iput-boolean v4, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->D:Z
iput-boolean v4, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->E:Z
iput-boolean v4, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->F:Z
iput-boolean v4, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->G:Z
iput-boolean v4, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->H:Z
iput-boolean v4, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->I:Z
iput-boolean v5, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->J:Z
iput-object v6, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->N:Landroid/view/VelocityTracker;
invoke-static {}, Landroid/view/ViewConfiguration;->getMaximumFlingVelocity()I
move-result v0
iput v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->O:I
const/4 v0, -0x1
iput v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->P:I
invoke-static {v5}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->R:Ljava/lang/Boolean;
iput-boolean v4, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->U:Z
iput-boolean v4, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->V:Z
new-instance v0, Landroid/os/Handler;
invoke-direct {v0}, Landroid/os/Handler;-><init>()V
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->W:Landroid/os/Handler;
new-instance v0, Lcom/skymobi/lockframe/iphone/b;
invoke-direct {v0, p0}, Lcom/skymobi/lockframe/iphone/b;-><init>(Lcom/skymobi/lockframe/iphone/IphoneUnlock;)V
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->X:Ljava/lang/Runnable;
iput-object v6, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->Z:Landroid/graphics/Bitmap;
invoke-static {p0}, Ljava/lang/Thread;->setDefaultUncaughtExceptionHandler(Ljava/lang/Thread$UncaughtExceptionHandler;)V
iput-object p0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->A:Lcom/skymobi/lockframe/iphone/IphoneUnlock;
iput-object p1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->q:Landroid/content/Context;
iput-object p2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->r:Landroid/content/Context;
iput-object p4, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->n:Lcom/android/internal/widget/LockPatternUtils;
iput-object p5, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->o:Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;
iput-object p6, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->p:Lcom/android/internal/policy/impl/KeyguardScreenCallback;
iget v0, p3, Landroid/content/res/Configuration;->orientation:I
iput v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->t:I
iget v0, p3, Landroid/content/res/Configuration;->hardKeyboardHidden:I
iput v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->s:I
invoke-static {p1}, Landroid/view/LayoutInflater;->from(Landroid/content/Context;)Landroid/view/LayoutInflater;
move-result-object v0
const-string v1, "IphoneUnlock"
new-instance v2, Ljava/lang/StringBuilder;
const-string v3, "Creation orientation = "
invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget v3, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->t:I
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
invoke-static {v1, v2}, Landroid/util/Log;->v(Ljava/lang/String;Ljava/lang/String;)I
iget v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->t:I
const/4 v2, 0x2
if-eq v1, v2, :cond_2
invoke-virtual {v0, v7, p0, v5}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
:goto_0
sget-object v0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->Y:Landroid/graphics/Typeface;
if-nez v0, :cond_0
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->getContext()Landroid/content/Context;
move-result-object v0
invoke-virtual {v0}, Landroid/content/Context;->getAssets()Landroid/content/res/AssetManager;
move-result-object v0
const-string v1, "fonts/HelveticaNeue_Light.ttf"
invoke-static {v0, v1}, Landroid/graphics/Typeface;->createFromAsset(Landroid/content/res/AssetManager;Ljava/lang/String;)Landroid/graphics/Typeface;
move-result-object v0
sput-object v0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->Y:Landroid/graphics/Typeface;
:cond_0
const/high16 v0, 0x7f06
invoke-virtual {p0, v0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lcom/skymobi/lockframe/iphone/Screen;
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->f:Lcom/skymobi/lockframe/iphone/Screen;
const v0, 0x7f060002
invoke-virtual {p0, v0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/TextView;
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->g:Landroid/widget/TextView;
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->g:Landroid/widget/TextView;
sget-object v1, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->Y:Landroid/graphics/Typeface;
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setTypeface(Landroid/graphics/Typeface;)V
const v0, 0x7f060001
invoke-virtual {p0, v0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/RelativeLayout;
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->i:Landroid/widget/RelativeLayout;
const v0, 0x7f060003
invoke-virtual {p0, v0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/TextView;
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->h:Landroid/widget/TextView;
const v0, 0x7f060004
invoke-virtual {p0, v0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lcom/skymobi/lockframe/iphone/BatteryView;
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->j:Lcom/skymobi/lockframe/iphone/BatteryView;
const v0, 0x7f060005
invoke-virtual {p0, v0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Lcom/skymobi/lockframe/iphone/Switcher;
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->k:Lcom/skymobi/lockframe/iphone/Switcher;
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->k:Lcom/skymobi/lockframe/iphone/Switcher;
invoke-virtual {v0, p0}, Lcom/skymobi/lockframe/iphone/Switcher;->a(Lcom/skymobi/lockframe/iphone/d;)V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->k:Lcom/skymobi/lockframe/iphone/Switcher;
iget-object v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->A:Lcom/skymobi/lockframe/iphone/IphoneUnlock;
invoke-virtual {v0, v1}, Lcom/skymobi/lockframe/iphone/Switcher;->a(Lcom/skymobi/lockframe/iphone/IphoneUnlock;)V
const v0, 0x7f060006
invoke-virtual {p0, v0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->findViewById(I)Landroid/view/View;
move-result-object v0
check-cast v0, Landroid/widget/ImageView;
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->l:Landroid/widget/ImageView;
const-string v0, "window"
invoke-virtual {p1, v0}, Landroid/content/Context;->getSystemService(Ljava/lang/String;)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/view/WindowManager;
invoke-interface {v0}, Landroid/view/WindowManager;->getDefaultDisplay()Landroid/view/Display;
move-result-object v0
new-instance v1, Landroid/util/DisplayMetrics;
invoke-direct {v1}, Landroid/util/DisplayMetrics;-><init>()V
invoke-virtual {v0, v1}, Landroid/view/Display;->getMetrics(Landroid/util/DisplayMetrics;)V
iget v0, v1, Landroid/util/DisplayMetrics;->heightPixels:I
iput v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->u:I
new-instance v0, Lcom/skymobi/lockframe/iphone/a;
invoke-direct {v0, p0}, Lcom/skymobi/lockframe/iphone/a;-><init>(Lcom/skymobi/lockframe/iphone/IphoneUnlock;)V
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->M:Lcom/skymobi/lockframe/iphone/a;
new-instance v0, Landroid/view/GestureDetector;
new-instance v1, Lcom/skymobi/lockframe/iphone/a;
invoke-direct {v1, p0}, Lcom/skymobi/lockframe/iphone/a;-><init>(Lcom/skymobi/lockframe/iphone/IphoneUnlock;)V
invoke-direct {v0, v1}, Landroid/view/GestureDetector;-><init>(Landroid/view/GestureDetector$OnGestureListener;)V
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->L:Landroid/view/GestureDetector;
new-instance v0, Landroid/widget/Scroller;
iget-object v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->q:Landroid/content/Context;
new-instance v2, Landroid/view/animation/LinearInterpolator;
invoke-direct {v2}, Landroid/view/animation/LinearInterpolator;-><init>()V
invoke-direct {v0, v1, v2}, Landroid/widget/Scroller;-><init>(Landroid/content/Context;Landroid/view/animation/Interpolator;)V
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->B:Landroid/widget/Scroller;
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->l:Landroid/widget/ImageView;
new-instance v1, Lcom/skymobi/lockframe/iphone/c;
invoke-direct {v1, p0}, Lcom/skymobi/lockframe/iphone/c;-><init>(Lcom/skymobi/lockframe/iphone/IphoneUnlock;)V
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->setOnTouchListener(Landroid/view/View$OnTouchListener;)V
iput-object v6, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->Z:Landroid/graphics/Bitmap;
invoke-direct {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->j()V
invoke-virtual {p5, p0}, Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;->registerInfoCallback(Lcom/android/internal/policy/impl/KeyguardUpdateMonitor$InfoCallback;)V
invoke-direct {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->k()V
invoke-direct {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->l()V
sget-boolean v0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->T:Z
if-nez v0, :cond_1
sget v0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->S:I
const/16 v1, 0xc8
if-ne v0, v1, :cond_1
invoke-direct {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->i()V
sget-boolean v0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->T:Z
if-nez v0, :cond_1
const-string v0, "IphoneUnlock"
const-string v1, "bindcheck failed"
invoke-static {v0, v1}, Lcom/skymobi/lockframe/iphone/e;->c(Ljava/lang/String;Ljava/lang/Object;)V
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->onUnlockKeyguard()V
:cond_1
invoke-direct {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->n()V
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->h()V
iput-boolean v4, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->U:Z
const-string v0, "IphoneUnlock"
const-string v1, "construct over"
invoke-static {v0, v1}, Lcom/skymobi/lockframe/iphone/e;->c(Ljava/lang/String;Ljava/lang/Object;)V
return-void
:cond_2
invoke-virtual {v0, v7, p0, v5}, Landroid/view/LayoutInflater;->inflate(ILandroid/view/ViewGroup;Z)Landroid/view/View;
goto/16 :goto_0
.end method
.method static synthetic a(Lcom/skymobi/lockframe/iphone/IphoneUnlock;)Lcom/android/internal/policy/impl/KeyguardScreenCallback;
.locals 1
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->p:Lcom/android/internal/policy/impl/KeyguardScreenCallback;
return-object v0
.end method
.method private a(J)V
.locals 4
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->h:Landroid/widget/TextView;
iget-object v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->q:Landroid/content/Context;
const/16 v2, 0x12
invoke-static {v1, p1, p2, v2}, Landroid/text/format/DateUtils;->formatDateTime(Landroid/content/Context;JI)Ljava/lang/String;
move-result-object v1
const-string v2, " "
const-string v3, ""
invoke-virtual {v1, v2, v3}, Ljava/lang/String;->replaceAll(Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
move-result-object v1
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
return-void
.end method
.method static synthetic a(Lcom/skymobi/lockframe/iphone/IphoneUnlock;Ljava/lang/Boolean;)V
.locals 0
iput-object p1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->R:Ljava/lang/Boolean;
return-void
.end method
.method static synthetic b(Lcom/skymobi/lockframe/iphone/IphoneUnlock;)V
.locals 1
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->E:Z
return-void
.end method
.method private i()V
.locals 4
const/4 v0, 0x0
new-instance v1, Landroid/content/Intent;
const-string v2, "android.intent.action.MAIN"
const/4 v3, 0x0
invoke-direct {v1, v2, v3}, Landroid/content/Intent;-><init>(Ljava/lang/String;Landroid/net/Uri;)V
const-string v2, "android.intent.category.LAUNCHER"
invoke-virtual {v1, v2}, Landroid/content/Intent;->addCategory(Ljava/lang/String;)Landroid/content/Intent;
iget-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->r:Landroid/content/Context;
invoke-virtual {v2}, Landroid/content/Context;->getPackageManager()Landroid/content/pm/PackageManager;
move-result-object v2
invoke-virtual {v2, v1, v0}, Landroid/content/pm/PackageManager;->queryIntentActivities(Landroid/content/Intent;I)Ljava/util/List;
move-result-object v2
sput-boolean v0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->T:Z
sput-boolean v0, Lcom/skymobi/lockframe/iphone/f;->b:Z
sput-boolean v0, Lcom/skymobi/lockframe/iphone/f;->a:Z
sget v1, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->S:I
const/16 v3, 0xc8
if-ne v1, v3, :cond_0
if-eqz v2, :cond_0
move v1, v0
:goto_0
invoke-interface {v2}, Ljava/util/List;->size()I
move-result v0
if-lt v1, v0, :cond_1
:cond_0
:goto_1
invoke-interface {v2}, Ljava/util/List;->clear()V
return-void
:cond_1
iget-object v3, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->r:Landroid/content/Context;
invoke-interface {v2, v1}, Ljava/util/List;->get(I)Ljava/lang/Object;
move-result-object v0
check-cast v0, Landroid/content/pm/ResolveInfo;
iget-object v0, v0, Landroid/content/pm/ResolveInfo;->activityInfo:Landroid/content/pm/ActivityInfo;
iget-object v0, v0, Landroid/content/pm/ActivityInfo;->packageName:Ljava/lang/String;
invoke-static {v3, v0}, Lcom/skymobi/lockframe/iphone/f;->a(Landroid/content/Context;Ljava/lang/String;)Z
move-result v0
if-eqz v0, :cond_2
const/4 v0, 0x1
sput-boolean v0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->T:Z
goto :goto_1
:cond_2
add-int/lit8 v0, v1, 0x1
move v1, v0
goto :goto_0
.end method
.method private j()V
.locals 1
const/4 v0, 0x1
invoke-virtual {p0, v0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->setFocusable(Z)V
invoke-virtual {p0, v0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->setFocusableInTouchMode(Z)V
const/high16 v0, 0x6
invoke-virtual {p0, v0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->setDescendantFocusability(I)V
return-void
.end method
.method private k()V
.locals 2
const-string v0, "initial"
const-string v1, "initTimeAndDate"
invoke-static {v0, v1}, Lcom/skymobi/lockframe/iphone/e;->a(Ljava/lang/String;Ljava/lang/Object;)V
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v0
invoke-direct {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->q()V
invoke-direct {p0, v0, v1}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->a(J)V
return-void
.end method
.method private l()V
.locals 4
const/4 v3, 0x0
const-string v0, "initial"
const-string v1, "initBatteryInfo"
invoke-static {v0, v1}, Lcom/skymobi/lockframe/iphone/e;->a(Ljava/lang/String;Ljava/lang/Object;)V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->o:Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;
invoke-virtual {v0}, Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;->isDevicePluggedIn()Z
move-result v0
iget-object v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->o:Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;
invoke-virtual {v1}, Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;->getBatteryLevel()I
move-result v1
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->f:Lcom/skymobi/lockframe/iphone/Screen;
const/high16 v2, -0x100
invoke-virtual {v0, v2}, Lcom/skymobi/lockframe/iphone/Screen;->a(I)V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->j:Lcom/skymobi/lockframe/iphone/BatteryView;
invoke-virtual {v0, v1}, Lcom/skymobi/lockframe/iphone/BatteryView;->a(I)V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->j:Lcom/skymobi/lockframe/iphone/BatteryView;
invoke-virtual {v0, v3}, Lcom/skymobi/lockframe/iphone/BatteryView;->setVisibility(I)V
:goto_0
return-void
:cond_0
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->f:Lcom/skymobi/lockframe/iphone/Screen;
invoke-virtual {v0, v3}, Lcom/skymobi/lockframe/iphone/Screen;->a(I)V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->j:Lcom/skymobi/lockframe/iphone/BatteryView;
const/16 v1, 0x8
invoke-virtual {v0, v1}, Lcom/skymobi/lockframe/iphone/BatteryView;->setVisibility(I)V
goto :goto_0
.end method
.method private m()V
.locals 2
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->k:Lcom/skymobi/lockframe/iphone/Switcher;
if-eqz v0, :cond_0
const-string v0, "IphoneUnlock"
const-string v1, "start Ani"
invoke-static {v0, v1}, Lcom/skymobi/lockframe/iphone/e;->b(Ljava/lang/String;Ljava/lang/Object;)V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->k:Lcom/skymobi/lockframe/iphone/Switcher;
invoke-virtual {v0}, Lcom/skymobi/lockframe/iphone/Switcher;->c()V
:cond_0
return-void
.end method
.method private n()V
.locals 2
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->k:Lcom/skymobi/lockframe/iphone/Switcher;
if-eqz v0, :cond_0
const-string v0, "IphoneUnlock"
const-string v1, "stop Ani"
invoke-static {v0, v1}, Lcom/skymobi/lockframe/iphone/e;->b(Ljava/lang/String;Ljava/lang/Object;)V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->k:Lcom/skymobi/lockframe/iphone/Switcher;
invoke-virtual {v0}, Lcom/skymobi/lockframe/iphone/Switcher;->b()V
:cond_0
return-void
.end method
.method private o()V
.locals 1
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->b:Landroid/view/animation/Animation;
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->j:Lcom/skymobi/lockframe/iphone/BatteryView;
invoke-virtual {v0}, Lcom/skymobi/lockframe/iphone/BatteryView;->getVisibility()I
move-result v0
if-nez v0, :cond_0
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->b:Landroid/view/animation/Animation;
invoke-virtual {v0}, Landroid/view/animation/Animation;->cancel()V
:cond_0
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->c:Landroid/view/animation/Animation;
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->c:Landroid/view/animation/Animation;
invoke-virtual {v0}, Landroid/view/animation/Animation;->cancel()V
:cond_1
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->d:Landroid/view/animation/Animation;
if-eqz v0, :cond_2
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->d:Landroid/view/animation/Animation;
invoke-virtual {v0}, Landroid/view/animation/Animation;->cancel()V
:cond_2
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->e:Landroid/view/animation/Animation;
if-eqz v0, :cond_3
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->e:Landroid/view/animation/Animation;
invoke-virtual {v0}, Landroid/view/animation/Animation;->cancel()V
:cond_3
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->i:Landroid/widget/RelativeLayout;
invoke-virtual {v0}, Landroid/widget/RelativeLayout;->clearAnimation()V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->j:Lcom/skymobi/lockframe/iphone/BatteryView;
invoke-virtual {v0}, Lcom/skymobi/lockframe/iphone/BatteryView;->getVisibility()I
move-result v0
if-nez v0, :cond_4
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->j:Lcom/skymobi/lockframe/iphone/BatteryView;
invoke-virtual {v0}, Lcom/skymobi/lockframe/iphone/BatteryView;->clearAnimation()V
:cond_4
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->k:Lcom/skymobi/lockframe/iphone/Switcher;
invoke-virtual {v0}, Lcom/skymobi/lockframe/iphone/Switcher;->clearAnimation()V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->l:Landroid/widget/ImageView;
invoke-virtual {v0}, Landroid/widget/ImageView;->clearAnimation()V
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->clearAnimation()V
return-void
.end method
.method private p()V
.locals 1
const/4 v0, 0x0
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->R:Ljava/lang/Boolean;
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->h()V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->p:Lcom/android/internal/policy/impl/KeyguardScreenCallback;
invoke-interface {v0}, Lcom/android/internal/policy/impl/KeyguardScreenCallback;->goToUnlockScreen()V
return-void
.end method
.method private q()V
.locals 4
const/16 v3, 0xa
invoke-static {}, Ljava/util/Calendar;->getInstance()Ljava/util/Calendar;
move-result-object v0
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v1
invoke-virtual {v0, v1, v2}, Ljava/util/Calendar;->setTimeInMillis(J)V
iget-object v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->q:Landroid/content/Context;
invoke-static {v1}, Landroid/text/format/DateFormat;->is24HourFormat(Landroid/content/Context;)Z
move-result v1
if-eqz v1, :cond_1
invoke-virtual {v0, v3}, Ljava/util/Calendar;->get(I)I
move-result v1
if-ge v1, v3, :cond_0
const-string v1, "k:mm"
iput-object v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->m:Ljava/lang/String;
:goto_0
iget-object v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->g:Landroid/widget/TextView;
iget-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->m:Ljava/lang/String;
invoke-static {v2, v0}, Landroid/text/format/DateFormat;->format(Ljava/lang/CharSequence;Ljava/util/Calendar;)Ljava/lang/CharSequence;
move-result-object v0
invoke-virtual {v1, v0}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
return-void
:cond_0
const-string v1, "kk:mm"
iput-object v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->m:Ljava/lang/String;
goto :goto_0
:cond_1
invoke-virtual {v0, v3}, Ljava/util/Calendar;->get(I)I
move-result v1
if-ge v1, v3, :cond_2
const-string v1, "h:mm"
iput-object v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->m:Ljava/lang/String;
goto :goto_0
:cond_2
const-string v1, "hh:mm"
iput-object v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->m:Ljava/lang/String;
goto :goto_0
.end method
.method private r()V
.locals 1
invoke-direct {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->n()V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->k:Lcom/skymobi/lockframe/iphone/Switcher;
invoke-virtual {v0}, Lcom/skymobi/lockframe/iphone/Switcher;->d()V
return-void
.end method
# virtual methods
.method public final a()V
.locals 6
const/4 v5, 0x1
const-wide/16 v3, 0x12c
const/4 v2, 0x0
const-string v0, "IphoneUnlock"
const-string v1, "unLock start"
invoke-static {v0, v1}, Lcom/skymobi/lockframe/iphone/e;->b(Ljava/lang/String;Ljava/lang/Object;)V
new-instance v0, Landroid/view/animation/TranslateAnimation;
iget-object v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->k:Lcom/skymobi/lockframe/iphone/Switcher;
invoke-virtual {v1}, Lcom/skymobi/lockframe/iphone/Switcher;->getHeight()I
move-result v1
int-to-float v1, v1
invoke-direct {v0, v2, v2, v2, v1}, Landroid/view/animation/TranslateAnimation;-><init>(FFFF)V
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->c:Landroid/view/animation/Animation;
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->c:Landroid/view/animation/Animation;
invoke-virtual {v0, v3, v4}, Landroid/view/animation/Animation;->setDuration(J)V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->c:Landroid/view/animation/Animation;
invoke-virtual {v0, v5}, Landroid/view/animation/Animation;->setFillAfter(Z)V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->c:Landroid/view/animation/Animation;
invoke-virtual {v0, p0}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V
new-instance v0, Landroid/view/animation/TranslateAnimation;
iget-object v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->k:Lcom/skymobi/lockframe/iphone/Switcher;
invoke-virtual {v1}, Lcom/skymobi/lockframe/iphone/Switcher;->getHeight()I
move-result v1
int-to-float v1, v1
invoke-direct {v0, v2, v2, v2, v1}, Landroid/view/animation/TranslateAnimation;-><init>(FFFF)V
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->e:Landroid/view/animation/Animation;
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->e:Landroid/view/animation/Animation;
invoke-virtual {v0, v3, v4}, Landroid/view/animation/Animation;->setDuration(J)V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->e:Landroid/view/animation/Animation;
invoke-virtual {v0, v5}, Landroid/view/animation/Animation;->setFillAfter(Z)V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->e:Landroid/view/animation/Animation;
invoke-virtual {v0, p0}, Landroid/view/animation/Animation;->setAnimationListener(Landroid/view/animation/Animation$AnimationListener;)V
new-instance v0, Landroid/view/animation/TranslateAnimation;
iget-object v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->i:Landroid/widget/RelativeLayout;
invoke-virtual {v1}, Landroid/widget/RelativeLayout;->getHeight()I
move-result v1
neg-int v1, v1
int-to-float v1, v1
invoke-direct {v0, v2, v2, v2, v1}, Landroid/view/animation/TranslateAnimation;-><init>(FFFF)V
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->d:Landroid/view/animation/Animation;
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->d:Landroid/view/animation/Animation;
invoke-virtual {v0, v3, v4}, Landroid/view/animation/Animation;->setDuration(J)V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->d:Landroid/view/animation/Animation;
invoke-virtual {v0, v5}, Landroid/view/animation/Animation;->setFillAfter(Z)V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->i:Landroid/widget/RelativeLayout;
iget-object v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->d:Landroid/view/animation/Animation;
invoke-virtual {v0, v1}, Landroid/widget/RelativeLayout;->startAnimation(Landroid/view/animation/Animation;)V
new-instance v0, Landroid/view/animation/AlphaAnimation;
const v1, 0x3e99999a
const/high16 v2, 0x3f80
invoke-direct {v0, v1, v2}, Landroid/view/animation/AlphaAnimation;-><init>(FF)V
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->b:Landroid/view/animation/Animation;
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->b:Landroid/view/animation/Animation;
invoke-virtual {v0, v3, v4}, Landroid/view/animation/Animation;->setDuration(J)V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->b:Landroid/view/animation/Animation;
invoke-virtual {v0, v5}, Landroid/view/animation/Animation;->setFillAfter(Z)V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->j:Lcom/skymobi/lockframe/iphone/BatteryView;
invoke-virtual {v0}, Lcom/skymobi/lockframe/iphone/BatteryView;->getVisibility()I
move-result v0
if-nez v0, :cond_0
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->j:Lcom/skymobi/lockframe/iphone/BatteryView;
iget-object v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->b:Landroid/view/animation/Animation;
invoke-virtual {v0, v1}, Lcom/skymobi/lockframe/iphone/BatteryView;->startAnimation(Landroid/view/animation/Animation;)V
:goto_0
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->k:Lcom/skymobi/lockframe/iphone/Switcher;
iget-object v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->c:Landroid/view/animation/Animation;
invoke-virtual {v0, v1}, Lcom/skymobi/lockframe/iphone/Switcher;->startAnimation(Landroid/view/animation/Animation;)V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->l:Landroid/widget/ImageView;
iget-object v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->e:Landroid/view/animation/Animation;
invoke-virtual {v0, v1}, Landroid/widget/ImageView;->startAnimation(Landroid/view/animation/Animation;)V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->W:Landroid/os/Handler;
iget-object v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->X:Ljava/lang/Runnable;
invoke-virtual {v0, v1, v3, v4}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z
const-string v0, "IphoneUnlock"
const-string v1, "unLock"
invoke-static {v0, v1}, Lcom/skymobi/lockframe/iphone/e;->c(Ljava/lang/String;Ljava/lang/Object;)V
const-string v0, "IphoneUnlock"
const-string v1, "unLock start"
invoke-static {v0, v1}, Lcom/skymobi/lockframe/iphone/e;->b(Ljava/lang/String;Ljava/lang/Object;)V
return-void
:cond_0
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->b:Landroid/view/animation/Animation;
invoke-virtual {p0, v0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->startAnimation(Landroid/view/animation/Animation;)V
goto :goto_0
.end method
.method public final a(Landroid/view/MotionEvent;)V
.locals 7
const/4 v6, 0x1
const/4 v1, 0x0
invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
move-result v0
float-to-int v0, v0
iput v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->x:I
iput-boolean v6, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->D:Z
iput-boolean v6, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->C:Z
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->B:Landroid/widget/Scroller;
iget v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->u:I
iget v3, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->x:I
sub-int/2addr v2, v3
neg-int v2, v2
iget v3, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->u:I
iget v4, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->y:I
invoke-static {v4}, Ljava/lang/Math;->abs(I)I
move-result v4
sub-int/2addr v3, v4
add-int/2addr v2, v3
iget v3, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->x:I
neg-int v3, v3
iget v4, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->u:I
iget v5, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->y:I
invoke-static {v5}, Ljava/lang/Math;->abs(I)I
move-result v5
sub-int/2addr v4, v5
sub-int v4, v3, v4
const/16 v5, 0x64
move v3, v1
invoke-virtual/range {v0 .. v5}, Landroid/widget/Scroller;->startScroll(IIIII)V
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->invalidate()V
iput-boolean v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->I:Z
iput-boolean v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->E:Z
iput-boolean v6, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->J:Z
return-void
.end method
.method public final b()Z
.locals 1
iget-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->I:Z
return v0
.end method
.method public final c()V
.locals 1
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->E:Z
iput-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->I:Z
return-void
.end method
.method public cleanUp()V
.locals 3
const/4 v2, 0x0
const-string v0, "IphoneUnlock"
const-string v1, "cleanUp start"
invoke-static {v0, v1}, Lcom/skymobi/lockframe/iphone/e;->c(Ljava/lang/String;Ljava/lang/Object;)V
const/4 v0, 0x0
invoke-static {v0}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v0
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->R:Ljava/lang/Boolean;
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->h()V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->o:Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;
invoke-virtual {v0, p0}, Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;->removeCallback(Ljava/lang/Object;)V
invoke-direct {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->o()V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->v:Landroid/graphics/Bitmap;
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->v:Landroid/graphics/Bitmap;
invoke-virtual {v0}, Landroid/graphics/Bitmap;->isRecycled()Z
move-result v0
if-nez v0, :cond_0
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->v:Landroid/graphics/Bitmap;
invoke-virtual {v0}, Landroid/graphics/Bitmap;->recycle()V
:cond_0
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->v:Landroid/graphics/Bitmap;
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->w:Landroid/graphics/Bitmap;
if-eqz v0, :cond_1
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->w:Landroid/graphics/Bitmap;
invoke-virtual {v0}, Landroid/graphics/Bitmap;->isRecycled()Z
move-result v0
if-nez v0, :cond_1
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->w:Landroid/graphics/Bitmap;
invoke-virtual {v0}, Landroid/graphics/Bitmap;->recycle()V
:cond_1
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->w:Landroid/graphics/Bitmap;
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->Q:Landroid/graphics/Bitmap;
if-eqz v0, :cond_2
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->Q:Landroid/graphics/Bitmap;
invoke-virtual {v0}, Landroid/graphics/Bitmap;->isRecycled()Z
move-result v0
if-nez v0, :cond_2
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->Q:Landroid/graphics/Bitmap;
invoke-virtual {v0}, Landroid/graphics/Bitmap;->recycle()V
:cond_2
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->Q:Landroid/graphics/Bitmap;
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->n:Lcom/android/internal/widget/LockPatternUtils;
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->o:Lcom/android/internal/policy/impl/KeyguardUpdateMonitor;
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->p:Lcom/android/internal/policy/impl/KeyguardScreenCallback;
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->b:Landroid/view/animation/Animation;
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->c:Landroid/view/animation/Animation;
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->d:Landroid/view/animation/Animation;
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->e:Landroid/view/animation/Animation;
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->j:Lcom/skymobi/lockframe/iphone/BatteryView;
invoke-virtual {v0}, Lcom/skymobi/lockframe/iphone/BatteryView;->a()V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->f:Lcom/skymobi/lockframe/iphone/Screen;
invoke-virtual {v0}, Lcom/skymobi/lockframe/iphone/Screen;->a()V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->M:Lcom/skymobi/lockframe/iphone/a;
invoke-virtual {v0}, Lcom/skymobi/lockframe/iphone/a;->a()V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->k:Lcom/skymobi/lockframe/iphone/Switcher;
invoke-virtual {v0}, Lcom/skymobi/lockframe/iphone/Switcher;->e()V
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->f:Lcom/skymobi/lockframe/iphone/Screen;
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->g:Landroid/widget/TextView;
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->h:Landroid/widget/TextView;
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->i:Landroid/widget/RelativeLayout;
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->j:Lcom/skymobi/lockframe/iphone/BatteryView;
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->k:Lcom/skymobi/lockframe/iphone/Switcher;
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->l:Landroid/widget/ImageView;
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->m:Ljava/lang/String;
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->L:Landroid/view/GestureDetector;
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->M:Lcom/skymobi/lockframe/iphone/a;
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->N:Landroid/view/VelocityTracker;
if-eqz v0, :cond_3
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->N:Landroid/view/VelocityTracker;
invoke-virtual {v0}, Landroid/view/VelocityTracker;->clear()V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->N:Landroid/view/VelocityTracker;
invoke-virtual {v0}, Landroid/view/VelocityTracker;->recycle()V
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->N:Landroid/view/VelocityTracker;
:cond_3
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->Z:Landroid/graphics/Bitmap;
if-eqz v0, :cond_4
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->Z:Landroid/graphics/Bitmap;
invoke-virtual {v0}, Landroid/graphics/Bitmap;->isRecycled()Z
move-result v0
if-nez v0, :cond_4
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->Z:Landroid/graphics/Bitmap;
invoke-virtual {v0}, Landroid/graphics/Bitmap;->recycle()V
:cond_4
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->Z:Landroid/graphics/Bitmap;
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->q:Landroid/content/Context;
iput-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->r:Landroid/content/Context;
const-string v0, "IphoneUnlock"
const-string v1, "cleanUp end"
invoke-static {v0, v1}, Lcom/skymobi/lockframe/iphone/e;->c(Ljava/lang/String;Ljava/lang/Object;)V
return-void
.end method
.method public clearAnimation()V
.locals 1
invoke-super {p0}, Landroid/widget/LinearLayout;->clearAnimation()V
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->D:Z
return-void
.end method
.method public final d()Z
.locals 1
invoke-direct {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->m()V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->B:Landroid/widget/Scroller;
invoke-virtual {v0}, Landroid/widget/Scroller;->isFinished()Z
move-result v0
return v0
.end method
.method protected dispatchDraw(Landroid/graphics/Canvas;)V
.locals 11
const/4 v10, 0x0
const/16 v7, 0x3e8
const/4 v9, 0x1
const/4 v8, 0x0
const/4 v1, 0x0
iget v6, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->x:I
iget-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->D:Z
if-eqz v0, :cond_b
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->d()Z
move-result v0
if-nez v0, :cond_4
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->B:Landroid/widget/Scroller;
invoke-virtual {v0}, Landroid/widget/Scroller;->computeScrollOffset()Z
move-result v0
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->B:Landroid/widget/Scroller;
invoke-virtual {v0}, Landroid/widget/Scroller;->getCurrY()I
move-result v0
iput v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->x:I
:cond_0
iget v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->x:I
move v2, v0
:goto_0
if-eq v2, v7, :cond_a
invoke-super {p0, p1}, Landroid/widget/LinearLayout;->dispatchDraw(Landroid/graphics/Canvas;)V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->Z:Landroid/graphics/Bitmap;
if-nez v0, :cond_1
iput-object v10, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->Z:Landroid/graphics/Bitmap;
:cond_1
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->Z:Landroid/graphics/Bitmap;
if-eqz v0, :cond_9
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->Q:Landroid/graphics/Bitmap;
if-nez v0, :cond_2
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->Z:Landroid/graphics/Bitmap;
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->getMeasuredWidth()I
move-result v3
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->getMeasuredHeight()I
move-result v4
invoke-static {v0, v3, v4, v1}, Landroid/graphics/Bitmap;->createScaledBitmap(Landroid/graphics/Bitmap;IIZ)Landroid/graphics/Bitmap;
move-result-object v0
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->Q:Landroid/graphics/Bitmap;
:cond_2
:goto_1
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->Q:Landroid/graphics/Bitmap;
invoke-virtual {p1, v0, v8, v8, v10}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;FFLandroid/graphics/Paint;)V
invoke-virtual {p1}, Landroid/graphics/Canvas;->save()I
int-to-float v0, v2
invoke-virtual {p1, v8, v0}, Landroid/graphics/Canvas;->translate(FF)V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->w:Landroid/graphics/Bitmap;
invoke-virtual {p1, v0, v8, v8, v10}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;FFLandroid/graphics/Paint;)V
invoke-virtual {p1}, Landroid/graphics/Canvas;->restore()V
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->d()Z
move-result v0
if-nez v0, :cond_3
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->invalidate()V
:cond_3
:goto_2
return-void
:cond_4
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->d()Z
move-result v0
if-eqz v0, :cond_b
iget-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->F:Z
if-eqz v0, :cond_6
iput-boolean v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->F:Z
iget-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->F:Z
if-nez v0, :cond_5
iput-boolean v9, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->D:Z
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->B:Landroid/widget/Scroller;
const/16 v2, -0x32
const/16 v4, 0x32
const/16 v5, 0xc8
move v3, v1
invoke-virtual/range {v0 .. v5}, Landroid/widget/Scroller;->startScroll(IIIII)V
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->invalidate()V
iput-boolean v9, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->H:Z
iput-boolean v9, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->G:Z
:cond_5
move v2, v6
goto :goto_0
:cond_6
iget-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->H:Z
if-eqz v0, :cond_7
iput-boolean v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->H:Z
iput-boolean v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->G:Z
iput-boolean v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->I:Z
move v2, v6
goto :goto_0
:cond_7
iget-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->C:Z
if-eqz v0, :cond_8
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->clearAnimation()V
:try_start_0
new-instance v0, Landroid/content/Intent;
const-string v2, "android.media.action.STILL_IMAGE_CAMERA"
invoke-direct {v0, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
const/high16 v2, 0x3000
invoke-virtual {v0, v2}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;
iget-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->r:Landroid/content/Context;
invoke-virtual {v2, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->C:Z
:try_end_0
.catchall {:try_start_0 .. :try_end_0} :catchall_0
.catch Ljava/lang/Exception; {:try_start_0 .. :try_end_0} :catch_0
invoke-direct {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->p()V
move v2, v6
goto/16 :goto_0
:catch_0
move-exception v0
:try_start_1
new-instance v0, Landroid/content/Intent;
const-string v2, "android.media.action.IMAGE_CAPTURE"
invoke-direct {v0, v2}, Landroid/content/Intent;-><init>(Ljava/lang/String;)V
const/high16 v2, 0x3000
invoke-virtual {v0, v2}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;
iget-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->r:Landroid/content/Context;
invoke-virtual {v2, v0}, Landroid/content/Context;->startActivity(Landroid/content/Intent;)V
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->C:Z
:try_end_1
.catchall {:try_start_1 .. :try_end_1} :catchall_0
invoke-direct {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->p()V
move v2, v6
goto/16 :goto_0
:catchall_0
move-exception v0
invoke-direct {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->p()V
throw v0
:cond_8
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->clearAnimation()V
iput v7, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->x:I
move v2, v7
goto/16 :goto_0
:cond_9
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->Q:Landroid/graphics/Bitmap;
if-nez v0, :cond_2
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->getResources()Landroid/content/res/Resources;
move-result-object v0
const v3, 0x7f020003
invoke-virtual {v0, v3}, Landroid/content/res/Resources;->getDrawable(I)Landroid/graphics/drawable/Drawable;
move-result-object v0
check-cast v0, Landroid/graphics/drawable/BitmapDrawable;
invoke-virtual {v0}, Landroid/graphics/drawable/BitmapDrawable;->getBitmap()Landroid/graphics/Bitmap;
move-result-object v0
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->getMeasuredWidth()I
move-result v3
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->getMeasuredHeight()I
move-result v4
invoke-static {v0, v3, v4, v1}, Landroid/graphics/Bitmap;->createScaledBitmap(Landroid/graphics/Bitmap;IIZ)Landroid/graphics/Bitmap;
move-result-object v0
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->Q:Landroid/graphics/Bitmap;
goto/16 :goto_1
:cond_a
const-string v0, "IphoneUnlock"
const-string v2, "dispatchDraw() a14------"
invoke-static {v0, v2}, Lcom/skymobi/lockframe/iphone/e;->b(Ljava/lang/String;Ljava/lang/Object;)V
sget-object v0, Landroid/graphics/PorterDuff$Mode;->CLEAR:Landroid/graphics/PorterDuff$Mode;
invoke-virtual {p1, v1, v0}, Landroid/graphics/Canvas;->drawColor(ILandroid/graphics/PorterDuff$Mode;)V
invoke-super {p0, p1}, Landroid/widget/LinearLayout;->dispatchDraw(Landroid/graphics/Canvas;)V
goto/16 :goto_2
:cond_b
move v2, v6
goto/16 :goto_0
.end method
.method public final e()I
.locals 2
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->getResources()Landroid/content/res/Resources;
move-result-object v0
invoke-virtual {v0}, Landroid/content/res/Resources;->getDisplayMetrics()Landroid/util/DisplayMetrics;
move-result-object v0
iget v0, v0, Landroid/util/DisplayMetrics;->heightPixels:I
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->getMeasuredHeight()I
move-result v1
sub-int/2addr v0, v1
iput v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->K:I
iget v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->K:I
return v0
.end method
.method public final f()I
.locals 1
iget v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->P:I
return v0
.end method
.method public final g()V
.locals 1
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->p:Lcom/android/internal/policy/impl/KeyguardScreenCallback;
if-eqz v0, :cond_0
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->p:Lcom/android/internal/policy/impl/KeyguardScreenCallback;
invoke-interface {v0}, Lcom/android/internal/policy/impl/KeyguardScreenCallback;->pokeWakelock()V
:cond_0
return-void
.end method
.method public final h()V
.locals 3
const-string v0, "sendlockBroadcast"
const-string v1, "notify statusbar"
invoke-static {v0, v1}, Lcom/skymobi/lockframe/iphone/e;->c(Ljava/lang/String;Ljava/lang/Object;)V
new-instance v0, Landroid/content/Intent;
invoke-direct {v0}, Landroid/content/Intent;-><init>()V
const/high16 v1, 0x4000
invoke-virtual {v0, v1}, Landroid/content/Intent;->addFlags(I)Landroid/content/Intent;
const-string v1, "com.skymobi.disable.statusbar"
invoke-virtual {v0, v1}, Landroid/content/Intent;->setAction(Ljava/lang/String;)Landroid/content/Intent;
const-string v1, "disable_all"
iget-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->R:Ljava/lang/Boolean;
invoke-virtual {v0, v1, v2}, Landroid/content/Intent;->putExtra(Ljava/lang/String;Ljava/io/Serializable;)Landroid/content/Intent;
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->getContext()Landroid/content/Context;
move-result-object v1
invoke-virtual {v1, v0}, Landroid/content/Context;->sendStickyBroadcast(Landroid/content/Intent;)V
return-void
.end method
.method public needsInput()Z
.locals 1
const/4 v0, 0x0
return v0
.end method
.method public onAirplaneModeChanged(Z)V
.locals 0
return-void
.end method
.method public onAnimationEnd(Landroid/view/animation/Animation;)V
.locals 0
return-void
.end method
.method public onAnimationRepeat(Landroid/view/animation/Animation;)V
.locals 0
return-void
.end method
.method public onAnimationStart(Landroid/view/animation/Animation;)V
.locals 2
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->f:Lcom/skymobi/lockframe/iphone/Screen;
const/high16 v1, -0x100
invoke-virtual {v0, v1}, Lcom/skymobi/lockframe/iphone/Screen;->a(I)V
return-void
.end method
.method public onClockVisibilityChanged()V
.locals 0
return-void
.end method
.method public onDeleteMessageCount(I)V
.locals 0
return-void
.end method
.method public onDeviceProvisioned()V
.locals 0
return-void
.end method
.method public onDownloadCalibrationDataUpdate(Z)V
.locals 0
return-void
.end method
.method public onKeyDown(ILandroid/view/KeyEvent;)Z
.locals 1
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->p:Lcom/android/internal/policy/impl/KeyguardScreenCallback;
invoke-interface {v0}, Lcom/android/internal/policy/impl/KeyguardScreenCallback;->pokeWakelock()V
const/4 v0, 0x0
return v0
.end method
.method public onLockScreenUpdate()V
.locals 0
return-void
.end method
.method public onLockScreenUpdate(I)V
.locals 0
return-void
.end method
.method public onMessageCountChanged(I)V
.locals 0
return-void
.end method
.method public onMissedCallChanged(I)V
.locals 0
return-void
.end method
.method public onMissedCallCountChanged(I)V
.locals 0
return-void
.end method
.method public onPause()V
.locals 2
const-string v0, "IphoneUnlock"
const-string v1, "onPause start"
invoke-static {v0, v1}, Lcom/skymobi/lockframe/iphone/e;->b(Ljava/lang/String;Ljava/lang/Object;)V
const/4 v0, 0x0
iput-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->U:Z
invoke-direct {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->r()V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->B:Landroid/widget/Scroller;
invoke-virtual {v0}, Landroid/widget/Scroller;->abortAnimation()V
invoke-direct {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->o()V
const-string v0, "IphoneUnlock"
const-string v1, "onPause end"
invoke-static {v0, v1}, Lcom/skymobi/lockframe/iphone/e;->b(Ljava/lang/String;Ljava/lang/Object;)V
return-void
.end method
.method public onPhoneStateChanged(I)V
.locals 0
return-void
.end method
.method public onPhoneStateChanged(Ljava/lang/String;)V
.locals 0
return-void
.end method
.method public onPhoneStateChanged(Ljava/lang/String;I)V
.locals 0
return-void
.end method
.method public onRefreshBatteryInfo(ZZI)V
.locals 3
const/4 v2, 0x0
iget-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->U:Z
if-nez v0, :cond_0
:goto_0
return-void
:cond_0
if-eqz p2, :cond_1
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->f:Lcom/skymobi/lockframe/iphone/Screen;
const/high16 v1, -0x100
invoke-virtual {v0, v1}, Lcom/skymobi/lockframe/iphone/Screen;->a(I)V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->j:Lcom/skymobi/lockframe/iphone/BatteryView;
invoke-virtual {v0, p3}, Lcom/skymobi/lockframe/iphone/BatteryView;->a(I)V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->j:Lcom/skymobi/lockframe/iphone/BatteryView;
invoke-virtual {v0, v2}, Lcom/skymobi/lockframe/iphone/BatteryView;->setVisibility(I)V
goto :goto_0
:cond_1
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->f:Lcom/skymobi/lockframe/iphone/Screen;
invoke-virtual {v0, v2}, Lcom/skymobi/lockframe/iphone/Screen;->a(I)V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->j:Lcom/skymobi/lockframe/iphone/BatteryView;
const/16 v1, 0x8
invoke-virtual {v0, v1}, Lcom/skymobi/lockframe/iphone/BatteryView;->setVisibility(I)V
goto :goto_0
.end method
.method public onRefreshCarrierInfo(Ljava/lang/CharSequence;Ljava/lang/CharSequence;)V
.locals 0
return-void
.end method
.method public onRefreshCarrierInfo(Ljava/lang/CharSequence;Ljava/lang/CharSequence;I)V
.locals 0
return-void
.end method
.method public onResume()V
.locals 3
const/16 v2, 0x3e8
const-string v0, "IphoneUnlock"
const-string v1, "onResume start"
invoke-static {v0, v1}, Lcom/skymobi/lockframe/iphone/e;->b(Ljava/lang/String;Ljava/lang/Object;)V
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->U:Z
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->k:Lcom/skymobi/lockframe/iphone/Switcher;
invoke-virtual {v0}, Lcom/skymobi/lockframe/iphone/Switcher;->a()V
iget v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->x:I
if-eq v0, v2, :cond_0
iput v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->x:I
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->invalidate()V
:cond_0
invoke-direct {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->l()V
invoke-direct {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->k()V
invoke-direct {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->j()V
invoke-direct {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->m()V
const-string v0, "IphoneUnlock"
const-string v1, "onResume end"
invoke-static {v0, v1}, Lcom/skymobi/lockframe/iphone/e;->b(Ljava/lang/String;Ljava/lang/Object;)V
return-void
.end method
.method public onRingerModeChanged(I)V
.locals 0
return-void
.end method
.method public onSIMInfoChanged()V
.locals 0
return-void
.end method
.method public onSIMInfoChanged(I)V
.locals 0
return-void
.end method
.method public onSearchNetworkUpdate()V
.locals 0
return-void
.end method
.method public onSearchNetworkUpdate(IZ)V
.locals 0
return-void
.end method
.method public onTimeChanged()V
.locals 2
invoke-static {}, Ljava/lang/System;->currentTimeMillis()J
move-result-wide v0
invoke-direct {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->q()V
invoke-direct {p0, v0, v1}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->a(J)V
return-void
.end method
.method public onTouchEvent(Landroid/view/MotionEvent;)Z
.locals 10
const/16 v9, 0x3e8
const/high16 v5, 0x4120
const/4 v4, 0x0
const/4 v1, 0x0
const/4 v6, 0x1
const-string v0, "IphoneUnlock"
new-instance v2, Ljava/lang/StringBuilder;
const-string v3, "onTouchEvent event action => "
invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I
move-result v3
invoke-virtual {v2, v3}, Ljava/lang/StringBuilder;->append(I)Ljava/lang/StringBuilder;
move-result-object v2
invoke-virtual {v2}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v2
invoke-static {v0, v2}, Lcom/skymobi/lockframe/iphone/e;->b(Ljava/lang/String;Ljava/lang/Object;)V
iget-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->U:Z
if-nez v0, :cond_0
move v0, v6
:goto_0
return v0
:cond_0
iget-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->G:Z
if-eqz v0, :cond_1
const-string v0, "onTouchEvent ifOver true ?"
iget-boolean v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->G:Z
invoke-static {v1}, Ljava/lang/Boolean;->valueOf(Z)Ljava/lang/Boolean;
move-result-object v1
invoke-static {v0, v1}, Lcom/skymobi/lockframe/iphone/e;->a(Ljava/lang/String;Ljava/lang/Object;)V
move v0, v6
goto :goto_0
:cond_1
iget-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->E:Z
if-eqz v0, :cond_2
const-string v0, "onTouchEvent mTouch == true ? "
const-string v2, "true"
invoke-static {v0, v2}, Lcom/skymobi/lockframe/iphone/e;->a(Ljava/lang/String;Ljava/lang/Object;)V
invoke-direct {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->r()V
invoke-virtual {p1}, Landroid/view/MotionEvent;->getAction()I
move-result v0
packed-switch v0, :pswitch_data_0
:cond_2
:goto_1
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->L:Landroid/view/GestureDetector;
invoke-virtual {v0, p1}, Landroid/view/GestureDetector;->onTouchEvent(Landroid/view/MotionEvent;)Z
move-result v0
goto :goto_0
:pswitch_0
const-string v0, "onTouchEvent ACTION_DOWN "
const-string v1, "ACTION_DOWN"
invoke-static {v0, v1}, Lcom/skymobi/lockframe/iphone/e;->a(Ljava/lang/String;Ljava/lang/Object;)V
invoke-virtual {p0, v6}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->setDrawingCacheEnabled(Z)V
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->buildDrawingCache()V
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->getDrawingCache()Landroid/graphics/Bitmap;
move-result-object v0
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->v:Landroid/graphics/Bitmap;
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->w:Landroid/graphics/Bitmap;
if-eqz v0, :cond_3
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->w:Landroid/graphics/Bitmap;
invoke-virtual {v0}, Landroid/graphics/Bitmap;->isRecycled()Z
move-result v0
if-nez v0, :cond_3
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->w:Landroid/graphics/Bitmap;
invoke-virtual {v0}, Landroid/graphics/Bitmap;->recycle()V
const/4 v0, 0x0
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->w:Landroid/graphics/Bitmap;
:cond_3
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->v:Landroid/graphics/Bitmap;
new-instance v1, Landroid/graphics/Paint;
invoke-direct {v1}, Landroid/graphics/Paint;-><init>()V
new-instance v2, Landroid/graphics/BlurMaskFilter;
sget-object v3, Landroid/graphics/BlurMaskFilter$Blur;->NORMAL:Landroid/graphics/BlurMaskFilter$Blur;
invoke-direct {v2, v5, v3}, Landroid/graphics/BlurMaskFilter;-><init>(FLandroid/graphics/BlurMaskFilter$Blur;)V
const v3, -0x777778
invoke-virtual {v1, v5, v4, v5, v3}, Landroid/graphics/Paint;->setShadowLayer(FFFI)V
const/16 v3, 0x32
invoke-virtual {v1, v3}, Landroid/graphics/Paint;->setAlpha(I)V
const v3, -0x777778
invoke-virtual {v1, v3}, Landroid/graphics/Paint;->setColor(I)V
invoke-virtual {v1, v2}, Landroid/graphics/Paint;->setMaskFilter(Landroid/graphics/MaskFilter;)Landroid/graphics/MaskFilter;
const/4 v2, 0x2
new-array v2, v2, [I
invoke-virtual {v0, v1, v2}, Landroid/graphics/Bitmap;->extractAlpha(Landroid/graphics/Paint;[I)Landroid/graphics/Bitmap;
move-result-object v1
sget-object v2, Landroid/graphics/Bitmap$Config;->ARGB_8888:Landroid/graphics/Bitmap$Config;
invoke-virtual {v1, v2, v6}, Landroid/graphics/Bitmap;->copy(Landroid/graphics/Bitmap$Config;Z)Landroid/graphics/Bitmap;
move-result-object v1
new-instance v2, Landroid/graphics/Canvas;
invoke-direct {v2, v1}, Landroid/graphics/Canvas;-><init>(Landroid/graphics/Bitmap;)V
const/4 v3, 0x0
invoke-virtual {v2, v0, v4, v4, v3}, Landroid/graphics/Canvas;->drawBitmap(Landroid/graphics/Bitmap;FFLandroid/graphics/Paint;)V
iput-object v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->w:Landroid/graphics/Bitmap;
iput-boolean v6, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->J:Z
iput-boolean v6, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->I:Z
invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
move-result v0
float-to-int v0, v0
iput v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->y:I
invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
move-result v0
float-to-int v0, v0
iput v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->z:I
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->g()V
goto :goto_1
:pswitch_1
const-string v0, "onTouchEvent ACTION_MOVE "
const-string v2, "ACTION_MOVE"
invoke-static {v0, v2}, Lcom/skymobi/lockframe/iphone/e;->a(Ljava/lang/String;Ljava/lang/Object;)V
invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
move-result v0
iget v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->y:I
int-to-float v2, v2
cmpg-float v0, v0, v2
if-gez v0, :cond_2
const-string v0, "onTouchEvent ACTION_MOVE "
const-string v2, "event.getY() < mFirstMoveY"
invoke-static {v0, v2}, Lcom/skymobi/lockframe/iphone/e;->a(Ljava/lang/String;Ljava/lang/Object;)V
invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
move-result v0
iget v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->z:I
int-to-float v2, v2
sub-float/2addr v0, v2
float-to-int v0, v0
iput v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->x:I
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->invalidate()V
iget-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->J:Z
if-eqz v0, :cond_4
invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
move-result v0
float-to-int v0, v0
iget v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->y:I
sub-int/2addr v0, v2
invoke-static {v0}, Ljava/lang/Math;->abs(I)I
move-result v0
const/16 v2, 0x32
if-le v0, v2, :cond_4
iput-boolean v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->J:Z
:cond_4
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->N:Landroid/view/VelocityTracker;
if-nez v0, :cond_5
invoke-static {}, Landroid/view/VelocityTracker;->obtain()Landroid/view/VelocityTracker;
move-result-object v0
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->N:Landroid/view/VelocityTracker;
:cond_5
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->N:Landroid/view/VelocityTracker;
invoke-virtual {v0, p1}, Landroid/view/VelocityTracker;->addMovement(Landroid/view/MotionEvent;)V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->N:Landroid/view/VelocityTracker;
iget v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->O:I
int-to-float v2, v2
invoke-virtual {v0, v9, v2}, Landroid/view/VelocityTracker;->computeCurrentVelocity(IF)V
invoke-virtual {p1, v1}, Landroid/view/MotionEvent;->getPointerId(I)I
move-result v0
iget-object v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->N:Landroid/view/VelocityTracker;
invoke-virtual {v2, v0}, Landroid/view/VelocityTracker;->getYVelocity(I)F
move-result v0
float-to-int v0, v0
iput v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->P:I
const/16 v1, -0x1f4
if-ge v0, v1, :cond_6
const/4 v0, 0x3
iput v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->P:I
:cond_6
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->N:Landroid/view/VelocityTracker;
if-eqz v0, :cond_2
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->N:Landroid/view/VelocityTracker;
invoke-virtual {v0}, Landroid/view/VelocityTracker;->clear()V
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->N:Landroid/view/VelocityTracker;
invoke-virtual {v0}, Landroid/view/VelocityTracker;->recycle()V
const/4 v0, 0x0
iput-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->N:Landroid/view/VelocityTracker;
goto/16 :goto_1
:pswitch_2
const-string v0, "onTouchEvent ACTION_UP "
const-string v2, "ACTION_UP"
invoke-static {v0, v2}, Lcom/skymobi/lockframe/iphone/e;->a(Ljava/lang/String;Ljava/lang/Object;)V
iget-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->J:Z
if-eqz v0, :cond_7
iget-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->G:Z
if-nez v0, :cond_2
iput-boolean v6, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->D:Z
iput-boolean v6, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->F:Z
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->B:Landroid/widget/Scroller;
const/16 v4, -0x32
const/16 v5, 0xc8
move v2, v1
move v3, v1
invoke-virtual/range {v0 .. v5}, Landroid/widget/Scroller;->startScroll(IIIII)V
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->invalidate()V
iput-boolean v6, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->G:Z
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->c()V
goto/16 :goto_1
:cond_7
invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
move-result v0
iget v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->y:I
int-to-float v2, v2
cmpg-float v0, v0, v2
if-gez v0, :cond_9
invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
move-result v0
iget v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->z:I
int-to-float v2, v2
sub-float/2addr v0, v2
float-to-int v0, v0
iput v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->x:I
invoke-virtual {p1}, Landroid/view/MotionEvent;->getY()F
move-result v0
float-to-int v0, v0
iput v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->x:I
iget v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->x:I
invoke-static {v0}, Ljava/lang/Math;->abs(I)I
move-result v0
int-to-double v2, v0
const-wide/high16 v4, 0x3fe0
iget v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->u:I
int-to-double v7, v0
mul-double/2addr v4, v7
cmpl-double v0, v2, v4
if-lez v0, :cond_8
iput-boolean v6, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->D:Z
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->B:Landroid/widget/Scroller;
iget v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->u:I
iget v3, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->x:I
sub-int/2addr v2, v3
neg-int v2, v2
iget v3, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->u:I
iget v4, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->y:I
invoke-static {v4}, Ljava/lang/Math;->abs(I)I
move-result v4
sub-int/2addr v3, v4
add-int/2addr v2, v3
iget v3, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->u:I
iget v4, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->x:I
sub-int/2addr v3, v4
iget v4, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->u:I
iget v5, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->y:I
invoke-static {v5}, Ljava/lang/Math;->abs(I)I
move-result v5
sub-int/2addr v4, v5
sub-int v4, v3, v4
const/16 v5, 0x64
move v3, v1
invoke-virtual/range {v0 .. v5}, Landroid/widget/Scroller;->startScroll(IIIII)V
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->invalidate()V
:goto_2
iput v9, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->x:I
iput-boolean v1, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->E:Z
const-string v0, "ACTION_CANCEL"
const-string v1, "mTouch is false"
invoke-static {v0, v1}, Lcom/skymobi/lockframe/iphone/e;->a(Ljava/lang/String;Ljava/lang/Object;)V
goto/16 :goto_1
:cond_8
iput-boolean v6, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->D:Z
iput-boolean v6, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->C:Z
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->B:Landroid/widget/Scroller;
iget v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->u:I
iget v3, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->x:I
sub-int/2addr v2, v3
neg-int v2, v2
iget v3, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->u:I
iget v4, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->y:I
invoke-static {v4}, Ljava/lang/Math;->abs(I)I
move-result v4
sub-int/2addr v3, v4
add-int/2addr v2, v3
iget v3, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->x:I
neg-int v3, v3
iget v4, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->u:I
iget v5, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->y:I
invoke-static {v5}, Ljava/lang/Math;->abs(I)I
move-result v5
sub-int/2addr v4, v5
sub-int v4, v3, v4
const/16 v5, 0x64
move v3, v1
invoke-virtual/range {v0 .. v5}, Landroid/widget/Scroller;->startScroll(IIIII)V
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->invalidate()V
goto :goto_2
:cond_9
iput v9, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->x:I
invoke-virtual {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->invalidate()V
invoke-direct {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->m()V
goto/16 :goto_1
:pswitch_data_0
.packed-switch 0x0
:pswitch_0
:pswitch_2
:pswitch_1
.end packed-switch
.end method
.method public onUnlockKeyguard()V
.locals 1
iget-object v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->p:Lcom/android/internal/policy/impl/KeyguardScreenCallback;
invoke-interface {v0}, Lcom/android/internal/policy/impl/KeyguardScreenCallback;->goToUnlockScreen()V
return-void
.end method
.method public onWallpaperSetComplete()V
.locals 0
return-void
.end method
.method public onWindowFocusChanged(Z)V
.locals 3
invoke-super {p0, p1}, Landroid/widget/LinearLayout;->onWindowFocusChanged(Z)V
const-string v0, "IphoneUnlock"
new-instance v1, Ljava/lang/StringBuilder;
const-string v2, "onWindowFocusChanged hasWindowFocus => "
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v1, p1}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Lcom/skymobi/lockframe/iphone/e;->b(Ljava/lang/String;Ljava/lang/Object;)V
const-string v0, "IphoneUnlock"
new-instance v1, Ljava/lang/StringBuilder;
const-string v2, "onWindowFocusChanged mDisplayState => "
invoke-direct {v1, v2}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
iget-boolean v2, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->U:Z
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Z)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Lcom/skymobi/lockframe/iphone/e;->b(Ljava/lang/String;Ljava/lang/Object;)V
iget-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->V:Z
if-eqz v0, :cond_0
if-eqz p1, :cond_0
iget-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->U:Z
if-eqz v0, :cond_0
invoke-direct {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->m()V
:goto_0
return-void
:cond_0
const/4 v0, 0x1
iput-boolean v0, p0, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->V:Z
invoke-direct {p0}, Lcom/skymobi/lockframe/iphone/IphoneUnlock;->r()V
goto :goto_0
.end method
.method public uncaughtException(Ljava/lang/Thread;Ljava/lang/Throwable;)V
.locals 6
const-string v1, "haha"
invoke-virtual {p2}, Ljava/lang/Throwable;->getStackTrace()[Ljava/lang/StackTraceElement;
move-result-object v2
array-length v3, v2
const/4 v0, 0x0
:goto_0
if-lt v0, v3, :cond_0
const-string v0, "exception IphoneUnlock"
new-instance v2, Ljava/lang/StringBuilder;
const-string v3, "\u6355\u6349\u5230\u5f02\u5e38\u4e86"
invoke-direct {v2, v3}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v2, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
invoke-static {v0, v1}, Landroid/util/Log;->e(Ljava/lang/String;Ljava/lang/String;)I
invoke-static {}, Landroid/os/Process;->myPid()I
move-result v0
invoke-static {v0}, Landroid/os/Process;->killProcess(I)V
const/16 v0, 0xa
invoke-static {v0}, Ljava/lang/System;->exit(I)V
return-void
:cond_0
aget-object v4, v2, v0
new-instance v5, Ljava/lang/StringBuilder;
invoke-static {v1}, Ljava/lang/String;->valueOf(Ljava/lang/Object;)Ljava/lang/String;
move-result-object v1
invoke-direct {v5, v1}, Ljava/lang/StringBuilder;-><init>(Ljava/lang/String;)V
invoke-virtual {v4}, Ljava/lang/StackTraceElement;->toString()Ljava/lang/String;
move-result-object v1
invoke-virtual {v5, v1}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
const-string v4, "\n"
invoke-virtual {v1, v4}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
move-result-object v1
invoke-virtual {v1}, Ljava/lang/StringBuilder;->toString()Ljava/lang/String;
move-result-object v1
add-int/lit8 v0, v0, 0x1
goto :goto_0
.end method
什么条件下这个类的构造函数会走到含有报错信息为"bindcheck failed"
[招生]科锐逆向工程师培训(2024年11月15日实地,远程教学同时开班, 第51期)