今奥全景相机
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.

79 lines
1.9 KiB

.class public Lcom/viatech/cloud/SquareLayout;
.super Landroid/widget/RelativeLayout;
.source "SquareLayout.java"
# direct methods
.method public constructor <init>(Landroid/content/Context;)V
.locals 0
.prologue
.line 17
invoke-direct {p0, p1}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;)V
.line 18
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.locals 0
.prologue
.line 13
invoke-direct {p0, p1, p2}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;)V
.line 14
return-void
.end method
.method public constructor <init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.locals 0
.prologue
.line 9
invoke-direct {p0, p1, p2, p3}, Landroid/widget/RelativeLayout;-><init>(Landroid/content/Context;Landroid/util/AttributeSet;I)V
.line 10
return-void
.end method
# virtual methods
.method protected onMeasure(II)V
.locals 2
.prologue
const/4 v1, 0x0
.line 28
invoke-static {v1, p1}, Lcom/viatech/cloud/SquareLayout;->getDefaultSize(II)I
move-result v0
invoke-static {v1, p2}, Lcom/viatech/cloud/SquareLayout;->getDefaultSize(II)I
move-result v1
invoke-virtual {p0, v0, v1}, Lcom/viatech/cloud/SquareLayout;->setMeasuredDimension(II)V
.line 31
invoke-virtual {p0}, Lcom/viatech/cloud/SquareLayout;->getMeasuredWidth()I
.line 32
invoke-virtual {p0}, Lcom/viatech/cloud/SquareLayout;->getMeasuredHeight()I
move-result v0
.line 33
const/high16 v1, 0x40000000 # 2.0f
invoke-static {v0, v1}, Landroid/view/View$MeasureSpec;->makeMeasureSpec(II)I
move-result v0
.line 34
invoke-super {p0, v0, v0}, Landroid/widget/RelativeLayout;->onMeasure(II)V
.line 35
return-void
.end method