BarParams.smali
.class public Lcom/gyf/barlibrary/BarParams;
.super Ljava/lang/Object;
.source "BarParams.java"
# interfaces
.implements Ljava/lang/Cloneable;
# instance fields
.field public barHide:Lcom/gyf/barlibrary/BarHide;
.field public darkFont:Z
.field public fits:Z
.field public fixMarginAtBottom:Z
.annotation runtime Ljava/lang/Deprecated;
.end annotation
.end field
.field public flymeOSStatusBarFontColor:I
.field public fullScreen:Z
.field public fullScreenTemp:Z
.field public isSupportActionBar:Z
.field public keyboardEnable:Z
.field public keyboardMode:I
.field public keyboardPatch:Lcom/gyf/barlibrary/KeyboardPatch;
.field navigationBarAlpha:F
.field public navigationBarColor:I
.field public navigationBarColorTemp:I
.field public navigationBarColorTransform:I
.field public navigationBarEnable:Z
.field public navigationBarView:Landroid/view/View;
.field public navigationBarWithKitkatEnable:Z
.field public navigationStatusObserver:Landroid/database/ContentObserver;
.field public onKeyboardListener:Lcom/gyf/barlibrary/OnKeyboardListener;
.field public statusBarAlpha:F
.field public statusBarColor:I
.field public statusBarColorContentView:I
.field public statusBarColorContentViewTransform:I
.field public statusBarColorTransform:I
.field public statusBarContentViewAlpha:F
.field public statusBarFlag:Z
.field public statusBarView:Landroid/view/View;
.field public statusBarViewByHeight:Landroid/view/View;
.field public systemWindows:Z
.field public titleBarHeight:I
.field public titleBarPaddingTopHeight:I
.field public titleBarView:Landroid/view/View;
.field public titleBarViewMarginTop:Landroid/view/View;
.field public titleBarViewMarginTopFlag:Z
.field public viewAlpha:F
.field public viewMap:Ljava/util/Map;
.annotation system Ldalvik/annotation/Signature;
value = {
"Ljava/util/Map<",
"Landroid/view/View;",
"Ljava/util/Map<",
"Ljava/lang/Integer;",
"Ljava/lang/Integer;",
">;>;"
}
.end annotation
.end field
# direct methods
.method static constructor <clinit>()V
.registers 1
return-void
.end method
.method public constructor <init>()V
.registers 6
.line 17
invoke-direct {p0}, Ljava/lang/Object;-><init>()V
.line 18
const/4 v0, 0x0
iput v0, p0, Lcom/gyf/barlibrary/BarParams;->statusBarColor:I
.line 20
const/high16 v1, -0x1000000
iput v1, p0, Lcom/gyf/barlibrary/BarParams;->navigationBarColor:I
.line 22
const/4 v2, 0x0
iput v2, p0, Lcom/gyf/barlibrary/BarParams;->statusBarAlpha:F
.line 24
iput v2, p0, Lcom/gyf/barlibrary/BarParams;->navigationBarAlpha:F
.line 26
iput-boolean v0, p0, Lcom/gyf/barlibrary/BarParams;->fullScreen:Z
.line 27
iput-boolean v0, p0, Lcom/gyf/barlibrary/BarParams;->fullScreenTemp:Z
.line 28
sget-object v3, Lcom/gyf/barlibrary/BarHide;->FLAG_SHOW_BAR:Lcom/gyf/barlibrary/BarHide;
iput-object v3, p0, Lcom/gyf/barlibrary/BarParams;->barHide:Lcom/gyf/barlibrary/BarHide;
.line 29
iput-boolean v0, p0, Lcom/gyf/barlibrary/BarParams;->darkFont:Z
.line 30
const/4 v3, 0x1
iput-boolean v3, p0, Lcom/gyf/barlibrary/BarParams;->statusBarFlag:Z
.line 31
iput v1, p0, Lcom/gyf/barlibrary/BarParams;->statusBarColorTransform:I
.line 33
iput v1, p0, Lcom/gyf/barlibrary/BarParams;->navigationBarColorTransform:I
.line 35
new-instance v4, Ljava/util/HashMap;
invoke-direct {v4}, Ljava/util/HashMap;-><init>()V
iput-object v4, p0, Lcom/gyf/barlibrary/BarParams;->viewMap:Ljava/util/Map;
.line 36
iput v2, p0, Lcom/gyf/barlibrary/BarParams;->viewAlpha:F
.line 38
iput-boolean v0, p0, Lcom/gyf/barlibrary/BarParams;->fits:Z
.line 39
iput v0, p0, Lcom/gyf/barlibrary/BarParams;->statusBarColorContentView:I
.line 41
iput v1, p0, Lcom/gyf/barlibrary/BarParams;->statusBarColorContentViewTransform:I
.line 43
iput v2, p0, Lcom/gyf/barlibrary/BarParams;->statusBarContentViewAlpha:F
.line 45
iget v1, p0, Lcom/gyf/barlibrary/BarParams;->navigationBarColor:I
iput v1, p0, Lcom/gyf/barlibrary/BarParams;->navigationBarColorTemp:I
.line 51
iput-boolean v0, p0, Lcom/gyf/barlibrary/BarParams;->isSupportActionBar:Z
.line 56
iput-boolean v0, p0, Lcom/gyf/barlibrary/BarParams;->titleBarViewMarginTopFlag:Z
.line 57
iput-boolean v0, p0, Lcom/gyf/barlibrary/BarParams;->keyboardEnable:Z
.line 58
const/16 v1, 0x12
iput v1, p0, Lcom/gyf/barlibrary/BarParams;->keyboardMode:I
.line 60
iput-boolean v3, p0, Lcom/gyf/barlibrary/BarParams;->navigationBarEnable:Z
.line 61
iput-boolean v3, p0, Lcom/gyf/barlibrary/BarParams;->navigationBarWithKitkatEnable:Z
.line 62
iput-boolean v0, p0, Lcom/gyf/barlibrary/BarParams;->fixMarginAtBottom:Z
.line 64
iput-boolean v0, p0, Lcom/gyf/barlibrary/BarParams;->systemWindows:Z
return-void
.end method
# virtual methods
.method protected clone()Lcom/gyf/barlibrary/BarParams;
.registers 3
.line 71
const/4 v0, 0x0
.line 73
.local v0, "barParams":Lcom/gyf/barlibrary/BarParams;
:try_start_1
invoke-super {p0}, Ljava/lang/Object;->clone()Ljava/lang/Object;
move-result-object v1
check-cast v1, Lcom/gyf/barlibrary/BarParams;
:try_end_7
.catch Ljava/lang/CloneNotSupportedException; {:try_start_1 .. :try_end_7} :catch_9
move-object v0, v1
.line 76
goto :goto_d
.line 74
:catch_9
move-exception v1
.line 75
.local v1, "e":Ljava/lang/CloneNotSupportedException;
invoke-virtual {v1}, Ljava/lang/CloneNotSupportedException;->printStackTrace()V
.line 77
.end local v1 # "e":Ljava/lang/CloneNotSupportedException;
:goto_d
return-object v0
.end method
.method protected bridge synthetic clone()Ljava/lang/Object;
.registers 2
.annotation system Ldalvik/annotation/Throws;
value = {
Ljava/lang/CloneNotSupportedException;
}
.end annotation
.line 17
invoke-virtual {p0}, Lcom/gyf/barlibrary/BarParams;->clone()Lcom/gyf/barlibrary/BarParams;
move-result-object v0
return-object v0
.end method