You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
115 lines
2.9 KiB
115 lines
2.9 KiB
2 years ago
|
.class Lcom/viatech/camera/CameraControlView$50;
|
||
|
.super Ljava/lang/Object;
|
||
|
.source "CameraControlView.java"
|
||
|
|
||
|
# interfaces
|
||
|
.implements Ljava/lang/Runnable;
|
||
|
|
||
|
|
||
|
# annotations
|
||
|
.annotation system Ldalvik/annotation/EnclosingMethod;
|
||
|
value = Lcom/viatech/camera/CameraControlView;->updateLiveTime(ZI)V
|
||
|
.end annotation
|
||
|
|
||
|
.annotation system Ldalvik/annotation/InnerClass;
|
||
|
accessFlags = 0x0
|
||
|
name = null
|
||
|
.end annotation
|
||
|
|
||
|
|
||
|
# instance fields
|
||
|
.field final synthetic this$0:Lcom/viatech/camera/CameraControlView;
|
||
|
|
||
|
.field final synthetic val$interval:I
|
||
|
|
||
|
.field final synthetic val$live:Z
|
||
|
|
||
|
|
||
|
# direct methods
|
||
|
.method constructor <init>(Lcom/viatech/camera/CameraControlView;ZI)V
|
||
|
.locals 0
|
||
|
|
||
|
.prologue
|
||
|
.line 4296
|
||
|
iput-object p1, p0, Lcom/viatech/camera/CameraControlView$50;->this$0:Lcom/viatech/camera/CameraControlView;
|
||
|
|
||
|
iput-boolean p2, p0, Lcom/viatech/camera/CameraControlView$50;->val$live:Z
|
||
|
|
||
|
iput p3, p0, Lcom/viatech/camera/CameraControlView$50;->val$interval:I
|
||
|
|
||
|
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
|
||
|
|
||
|
return-void
|
||
|
.end method
|
||
|
|
||
|
|
||
|
# virtual methods
|
||
|
.method public run()V
|
||
|
.locals 3
|
||
|
|
||
|
.prologue
|
||
|
.line 4299
|
||
|
iget-object v1, p0, Lcom/viatech/camera/CameraControlView$50;->this$0:Lcom/viatech/camera/CameraControlView;
|
||
|
|
||
|
iget-boolean v0, p0, Lcom/viatech/camera/CameraControlView$50;->val$live:Z
|
||
|
|
||
|
if-nez v0, :cond_1
|
||
|
|
||
|
const/4 v0, 0x1
|
||
|
|
||
|
:goto_0
|
||
|
invoke-virtual {v1, v0}, Lcom/viatech/camera/CameraControlView;->toggleControlView(Z)V
|
||
|
|
||
|
.line 4300
|
||
|
iget-boolean v0, p0, Lcom/viatech/camera/CameraControlView$50;->val$live:Z
|
||
|
|
||
|
if-eqz v0, :cond_0
|
||
|
|
||
|
.line 4301
|
||
|
iget-object v0, p0, Lcom/viatech/camera/CameraControlView$50;->this$0:Lcom/viatech/camera/CameraControlView;
|
||
|
|
||
|
invoke-static {v0}, Lcom/viatech/camera/CameraControlView;->access$800(Lcom/viatech/camera/CameraControlView;)Landroid/widget/TextView;
|
||
|
|
||
|
move-result-object v0
|
||
|
|
||
|
new-instance v1, Ljava/lang/StringBuilder;
|
||
|
|
||
|
invoke-direct {v1}, Ljava/lang/StringBuilder;-><init>()V
|
||
|
|
||
|
const-string v2, "<font color=#ffffff size=24px>LIVE </font> "
|
||
|
|
||
|
invoke-virtual {v1, v2}, Ljava/lang/StringBuilder;->append(Ljava/lang/String;)Ljava/lang/StringBuilder;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
iget v2, p0, Lcom/viatech/camera/CameraControlView$50;->val$interval:I
|
||
|
|
||
|
invoke-static {v2}, Lcom/viatech/util/Util;->secToTime(I)Ljava/lang/String;
|
||
|
|
||
|
move-result-object v2
|
||
|
|
||
|
invoke-virtual {v1, v2}, 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 {v1}, Landroid/text/Html;->fromHtml(Ljava/lang/String;)Landroid/text/Spanned;
|
||
|
|
||
|
move-result-object v1
|
||
|
|
||
|
invoke-virtual {v0, v1}, Landroid/widget/TextView;->setText(Ljava/lang/CharSequence;)V
|
||
|
|
||
|
.line 4303
|
||
|
:cond_0
|
||
|
return-void
|
||
|
|
||
|
.line 4299
|
||
|
:cond_1
|
||
|
const/4 v0, 0x0
|
||
|
|
||
|
goto :goto_0
|
||
|
.end method
|