90 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
			
		
		
	
	
			90 lines
		
	
	
		
			2.0 KiB
		
	
	
	
		
			Smali
		
	
	
	
	
	
.class Lcom/amazonaws/mobile/auth/userpools/FormView$Divider;
 | 
						|
.super Landroid/view/View;
 | 
						|
.source "FormView.java"
 | 
						|
 | 
						|
 | 
						|
# annotations
 | 
						|
.annotation system Ldalvik/annotation/EnclosingClass;
 | 
						|
    value = Lcom/amazonaws/mobile/auth/userpools/FormView;
 | 
						|
.end annotation
 | 
						|
 | 
						|
.annotation system Ldalvik/annotation/InnerClass;
 | 
						|
    accessFlags = 0x9
 | 
						|
    name = "Divider"
 | 
						|
.end annotation
 | 
						|
 | 
						|
 | 
						|
# instance fields
 | 
						|
.field public final paint:Landroid/graphics/Paint;
 | 
						|
 | 
						|
 | 
						|
# direct methods
 | 
						|
.method public constructor <init>(Landroid/content/Context;)V
 | 
						|
    .locals 0
 | 
						|
 | 
						|
    .line 1
 | 
						|
    invoke-direct {p0, p1}, Landroid/view/View;-><init>(Landroid/content/Context;)V
 | 
						|
 | 
						|
    .line 2
 | 
						|
    new-instance p1, Landroid/graphics/Paint;
 | 
						|
 | 
						|
    invoke-direct {p1}, Landroid/graphics/Paint;-><init>()V
 | 
						|
 | 
						|
    iput-object p1, p0, Lcom/amazonaws/mobile/auth/userpools/FormView$Divider;->paint:Landroid/graphics/Paint;
 | 
						|
 | 
						|
    return-void
 | 
						|
.end method
 | 
						|
 | 
						|
 | 
						|
# virtual methods
 | 
						|
.method public onDraw(Landroid/graphics/Canvas;)V
 | 
						|
    .locals 8
 | 
						|
 | 
						|
    .line 1
 | 
						|
    invoke-super {p0, p1}, Landroid/view/View;->onDraw(Landroid/graphics/Canvas;)V
 | 
						|
 | 
						|
    .line 2
 | 
						|
    iget-object v0, p0, Lcom/amazonaws/mobile/auth/userpools/FormView$Divider;->paint:Landroid/graphics/Paint;
 | 
						|
 | 
						|
    const v1, -0x333334
 | 
						|
 | 
						|
    invoke-virtual {v0, v1}, Landroid/graphics/Paint;->setColor(I)V
 | 
						|
 | 
						|
    .line 3
 | 
						|
    invoke-virtual {p0}, Landroid/view/View;->getMeasuredWidth()I
 | 
						|
 | 
						|
    move-result v0
 | 
						|
 | 
						|
    int-to-float v0, v0
 | 
						|
 | 
						|
    const v1, 0x3dcccccd    # 0.1f
 | 
						|
 | 
						|
    mul-float v3, v0, v1
 | 
						|
 | 
						|
    invoke-virtual {p0}, Landroid/view/View;->getMeasuredWidth()I
 | 
						|
 | 
						|
    move-result v0
 | 
						|
 | 
						|
    int-to-float v0, v0
 | 
						|
 | 
						|
    const v1, 0x3f666666    # 0.9f
 | 
						|
 | 
						|
    mul-float v5, v0, v1
 | 
						|
 | 
						|
    invoke-virtual {p0}, Landroid/view/View;->getMeasuredHeight()I
 | 
						|
 | 
						|
    move-result v0
 | 
						|
 | 
						|
    int-to-float v6, v0
 | 
						|
 | 
						|
    iget-object v7, p0, Lcom/amazonaws/mobile/auth/userpools/FormView$Divider;->paint:Landroid/graphics/Paint;
 | 
						|
 | 
						|
    const/4 v4, 0x0
 | 
						|
 | 
						|
    move-object v2, p1
 | 
						|
 | 
						|
    invoke-virtual/range {v2 .. v7}, Landroid/graphics/Canvas;->drawRect(FFFFLandroid/graphics/Paint;)V
 | 
						|
 | 
						|
    return-void
 | 
						|
.end method
 |