public final class com.android.printspooler.widget.PrintOptionsLayout extends android.view.ViewGroup
minor version: 0
major version: 59
flags: flags: (0x0031) ACC_PUBLIC, ACC_FINAL, ACC_SUPER
this_class: com.android.printspooler.widget.PrintOptionsLayout
super_class: android.view.ViewGroup
{
private int mColumnCount;
descriptor: I
flags: (0x0002) ACC_PRIVATE
public void <init>(android.content.Context, android.util.AttributeSet);
descriptor: (Landroid/content/Context;Landroid/util/AttributeSet;)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=3, args_size=3
start local 0 0: new java.lang.Error
dup
ldc "Unresolved compilation problems: \n\tThe import com.android.printspooler.R cannot be resolved\n\tR cannot be resolved to a variable\n\tR cannot be resolved to a variable\n"
invokespecial java.lang.Error.<init>:(Ljava/lang/String;)V
athrow
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/android/printspooler/widget/PrintOptionsLayout;
MethodParameters:
Name Flags
context
attrs
public void setColumnCount(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=2
start local 0 start local 1 0: aload 0
getfield com.android.printspooler.widget.PrintOptionsLayout.mColumnCount:I
iload 1
if_icmpeq 3
1: aload 0
iload 1
putfield com.android.printspooler.widget.PrintOptionsLayout.mColumnCount:I
2: aload 0
invokevirtual com.android.printspooler.widget.PrintOptionsLayout.requestLayout:()V
3: StackMap locals:
StackMap stack:
return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/android/printspooler/widget/PrintOptionsLayout;
0 4 1 columnCount I
MethodParameters:
Name Flags
columnCount
protected void onMeasure(int, int);
descriptor: (II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=6, locals=19, args_size=3
start local 0 start local 1 start local 2 0: iload 1
invokestatic android.view.View$MeasureSpec.getMode:(I)I
pop
1: iload 1
invokestatic android.view.View$MeasureSpec.getSize:(I)I
istore 3
start local 3 2: iload 3
ifeq 4
3: iload 3
aload 0
getfield com.android.printspooler.widget.PrintOptionsLayout.mPaddingLeft:I
isub
aload 0
getfield com.android.printspooler.widget.PrintOptionsLayout.mPaddingRight:I
isub
aload 0
getfield com.android.printspooler.widget.PrintOptionsLayout.mColumnCount:I
idiv
goto 5
StackMap locals: int
StackMap stack:
4: iconst_0
5: StackMap locals:
StackMap stack: int
istore 4
start local 4 6: iconst_0
istore 5
start local 5 7: iconst_0
istore 6
start local 6 8: iconst_0
istore 7
start local 7 9: aload 0
invokevirtual com.android.printspooler.widget.PrintOptionsLayout.getChildCount:()I
istore 8
start local 8 10: iload 8
aload 0
getfield com.android.printspooler.widget.PrintOptionsLayout.mColumnCount:I
idiv
iload 8
aload 0
getfield com.android.printspooler.widget.PrintOptionsLayout.mColumnCount:I
irem
iadd
istore 9
start local 9 11: iconst_0
istore 10
start local 10 12: goto 48
13: StackMap locals: com.android.printspooler.widget.PrintOptionsLayout int int int int int int int int int int
StackMap stack:
iconst_0
istore 11
start local 11 14: iconst_0
istore 12
start local 12 15: iconst_0
istore 13
start local 13 16: goto 44
17: StackMap locals: int int int
StackMap stack:
iload 10
aload 0
getfield com.android.printspooler.widget.PrintOptionsLayout.mColumnCount:I
imul
iload 13
iadd
istore 14
start local 14 18: iload 14
iload 8
if_icmplt 20
19: goto 45
20: StackMap locals: int
StackMap stack:
aload 0
iload 14
invokevirtual com.android.printspooler.widget.PrintOptionsLayout.getChildAt:(I)Landroid/view/View;
astore 15
start local 15 21: aload 15
invokevirtual android.view.View.getVisibility:()I
bipush 8
if_icmpne 23
22: goto 43
23: StackMap locals: android.view.View
StackMap stack:
aload 15
invokevirtual android.view.View.getLayoutParams:()Landroid/view/ViewGroup$LayoutParams;
checkcast android.view.ViewGroup$MarginLayoutParams
astore 16
start local 16 24: iload 4
ifle 29
25: iload 4
aload 16
invokevirtual android.view.ViewGroup$MarginLayoutParams.getMarginStart:()I
isub
aload 16
invokevirtual android.view.ViewGroup$MarginLayoutParams.getMarginEnd:()I
isub
26: ldc 1073741824
27: invokestatic android.view.View$MeasureSpec.makeMeasureSpec:(II)I
istore 17
start local 17 28: goto 32
end local 17 29: StackMap locals: android.view.ViewGroup$MarginLayoutParams
StackMap stack:
iload 1
30: aload 0
invokevirtual com.android.printspooler.widget.PrintOptionsLayout.getPaddingStart:()I
aload 0
invokevirtual com.android.printspooler.widget.PrintOptionsLayout.getPaddingEnd:()I
iadd
iload 5
iadd
aload 16
getfield android.view.ViewGroup$MarginLayoutParams.width:I
31: invokestatic com.android.printspooler.widget.PrintOptionsLayout.getChildMeasureSpec:(III)I
istore 17
start local 17 32: StackMap locals: int
StackMap stack:
iload 2
33: aload 0
invokevirtual com.android.printspooler.widget.PrintOptionsLayout.getPaddingTop:()I
aload 0
invokevirtual com.android.printspooler.widget.PrintOptionsLayout.getPaddingBottom:()I
iadd
iload 6
iadd
aload 16
getfield android.view.ViewGroup$MarginLayoutParams.height:I
34: invokestatic com.android.printspooler.widget.PrintOptionsLayout.getChildMeasureSpec:(III)I
istore 18
start local 18 35: aload 15
iload 17
iload 18
invokevirtual android.view.View.measure:(II)V
36: iload 7
aload 15
invokevirtual android.view.View.getMeasuredState:()I
invokestatic com.android.printspooler.widget.PrintOptionsLayout.combineMeasuredStates:(II)I
istore 7
37: iload 11
aload 15
invokevirtual android.view.View.getMeasuredWidth:()I
aload 16
invokevirtual android.view.ViewGroup$MarginLayoutParams.getMarginStart:()I
iadd
38: aload 16
invokevirtual android.view.ViewGroup$MarginLayoutParams.getMarginEnd:()I
39: iadd
iadd
istore 11
40: iload 12
aload 15
invokevirtual android.view.View.getMeasuredHeight:()I
aload 16
getfield android.view.ViewGroup$MarginLayoutParams.topMargin:I
iadd
41: aload 16
getfield android.view.ViewGroup$MarginLayoutParams.bottomMargin:I
iadd
42: invokestatic java.lang.Math.max:(II)I
istore 12
end local 18 end local 17 end local 16 end local 15 end local 14 43: StackMap locals: com.android.printspooler.widget.PrintOptionsLayout int int int int int int int int int int int int int
StackMap stack:
iinc 13 1
StackMap locals:
StackMap stack:
44: iload 13
aload 0
getfield com.android.printspooler.widget.PrintOptionsLayout.mColumnCount:I
if_icmplt 17
end local 13 45: StackMap locals:
StackMap stack:
iload 5
iload 11
invokestatic java.lang.Math.max:(II)I
istore 5
46: iload 6
iload 12
iadd
istore 6
end local 12 end local 11 47: iinc 10 1
StackMap locals:
StackMap stack:
48: iload 10
iload 9
if_icmplt 13
end local 10 49: iload 5
aload 0
invokevirtual com.android.printspooler.widget.PrintOptionsLayout.getPaddingStart:()I
aload 0
invokevirtual com.android.printspooler.widget.PrintOptionsLayout.getPaddingEnd:()I
iadd
iadd
istore 5
50: iload 5
aload 0
invokevirtual com.android.printspooler.widget.PrintOptionsLayout.getMinimumWidth:()I
invokestatic java.lang.Math.max:(II)I
istore 5
51: iload 6
aload 0
invokevirtual com.android.printspooler.widget.PrintOptionsLayout.getPaddingTop:()I
aload 0
invokevirtual com.android.printspooler.widget.PrintOptionsLayout.getPaddingBottom:()I
iadd
iadd
istore 6
52: iload 6
aload 0
invokevirtual com.android.printspooler.widget.PrintOptionsLayout.getMinimumHeight:()I
invokestatic java.lang.Math.max:(II)I
istore 6
53: aload 0
iload 5
iload 1
iload 7
invokestatic com.android.printspooler.widget.PrintOptionsLayout.resolveSizeAndState:(III)I
54: iload 6
iload 2
55: iload 7
bipush 16
ishl
56: invokestatic com.android.printspooler.widget.PrintOptionsLayout.resolveSizeAndState:(III)I
57: invokevirtual com.android.printspooler.widget.PrintOptionsLayout.setMeasuredDimension:(II)V
58: return
end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 59 0 this Lcom/android/printspooler/widget/PrintOptionsLayout;
0 59 1 widthMeasureSpec I
0 59 2 heightMeasureSpec I
2 59 3 widthSize I
6 59 4 columnWidth I
7 59 5 width I
8 59 6 height I
9 59 7 childState I
10 59 8 childCount I
11 59 9 rowCount I
12 49 10 row I
14 47 11 rowWidth I
15 47 12 rowHeight I
16 45 13 col I
18 43 14 childIndex I
21 43 15 child Landroid/view/View;
24 43 16 childParams Landroid/view/ViewGroup$MarginLayoutParams;
28 29 17 childWidthMeasureSpec I
32 43 17 childWidthMeasureSpec I
35 43 18 childHeightMeasureSpec I
MethodParameters:
Name Flags
widthMeasureSpec
heightMeasureSpec
protected void onLayout(boolean, int, int, int, int);
descriptor: (ZIIII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=5, locals=21, args_size=6
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 0: aload 0
invokevirtual com.android.printspooler.widget.PrintOptionsLayout.getChildCount:()I
istore 6
start local 6 1: iload 6
aload 0
getfield com.android.printspooler.widget.PrintOptionsLayout.mColumnCount:I
idiv
iload 6
aload 0
getfield com.android.printspooler.widget.PrintOptionsLayout.mColumnCount:I
irem
iadd
istore 7
start local 7 2: aload 0
invokevirtual com.android.printspooler.widget.PrintOptionsLayout.isLayoutRtl:()Z
istore 8
start local 8 3: aload 0
invokevirtual com.android.printspooler.widget.PrintOptionsLayout.getPaddingStart:()I
istore 9
start local 9 4: aload 0
invokevirtual com.android.printspooler.widget.PrintOptionsLayout.getPaddingTop:()I
istore 10
start local 10 5: iconst_0
istore 11
start local 11 6: goto 34
7: StackMap locals: com.android.printspooler.widget.PrintOptionsLayout int int int int int int int int int int int
StackMap stack:
iconst_0
istore 12
start local 12 8: iconst_0
istore 13
start local 13 9: goto 30
10: StackMap locals: int int
StackMap stack:
iload 8
ifeq 13
11: iload 11
aload 0
getfield com.android.printspooler.widget.PrintOptionsLayout.mColumnCount:I
imul
aload 0
getfield com.android.printspooler.widget.PrintOptionsLayout.mColumnCount:I
iload 13
isub
iconst_1
isub
iadd
istore 14
start local 14 12: goto 14
end local 14 13: StackMap locals:
StackMap stack:
iload 11
aload 0
getfield com.android.printspooler.widget.PrintOptionsLayout.mColumnCount:I
imul
iload 13
iadd
istore 14
start local 14 14: StackMap locals: int
StackMap stack:
iload 14
iload 6
if_icmplt 16
15: goto 31
16: StackMap locals:
StackMap stack:
aload 0
iload 14
invokevirtual com.android.printspooler.widget.PrintOptionsLayout.getChildAt:(I)Landroid/view/View;
astore 15
start local 15 17: aload 15
invokevirtual android.view.View.getVisibility:()I
bipush 8
if_icmpne 19
18: goto 29
19: StackMap locals: android.view.View
StackMap stack:
aload 15
invokevirtual android.view.View.getLayoutParams:()Landroid/view/ViewGroup$LayoutParams;
checkcast android.view.ViewGroup$MarginLayoutParams
astore 16
start local 16 20: iload 9
aload 16
invokevirtual android.view.ViewGroup$MarginLayoutParams.getMarginStart:()I
iadd
istore 17
start local 17 21: iload 10
aload 16
getfield android.view.ViewGroup$MarginLayoutParams.topMargin:I
iadd
istore 18
start local 18 22: iload 17
aload 15
invokevirtual android.view.View.getMeasuredWidth:()I
iadd
istore 19
start local 19 23: iload 18
aload 15
invokevirtual android.view.View.getMeasuredHeight:()I
iadd
istore 20
start local 20 24: aload 15
iload 17
iload 18
iload 19
iload 20
invokevirtual android.view.View.layout:(IIII)V
25: iload 19
aload 16
invokevirtual android.view.ViewGroup$MarginLayoutParams.getMarginEnd:()I
iadd
istore 9
26: iload 12
aload 15
invokevirtual android.view.View.getMeasuredHeight:()I
27: aload 16
getfield android.view.ViewGroup$MarginLayoutParams.topMargin:I
iadd
aload 16
getfield android.view.ViewGroup$MarginLayoutParams.bottomMargin:I
iadd
28: invokestatic java.lang.Math.max:(II)I
istore 12
end local 20 end local 19 end local 18 end local 17 end local 16 end local 15 end local 14 29: StackMap locals:
StackMap stack:
iinc 13 1
StackMap locals:
StackMap stack:
30: iload 13
aload 0
getfield com.android.printspooler.widget.PrintOptionsLayout.mColumnCount:I
if_icmplt 10
end local 13 31: StackMap locals:
StackMap stack:
aload 0
invokevirtual com.android.printspooler.widget.PrintOptionsLayout.getPaddingStart:()I
istore 9
32: iload 10
iload 12
iadd
istore 10
end local 12 33: iinc 11 1
StackMap locals:
StackMap stack:
34: iload 11
iload 7
if_icmplt 7
end local 11 35: return
end local 10 end local 9 end local 8 end local 7 end local 6 end local 5 end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 36 0 this Lcom/android/printspooler/widget/PrintOptionsLayout;
0 36 1 changed Z
0 36 2 l I
0 36 3 t I
0 36 4 r I
0 36 5 b I
1 36 6 childCount I
2 36 7 rowCount I
3 36 8 isLayoutRtl Z
4 36 9 cellStart I
5 36 10 cellTop I
6 35 11 row I
8 33 12 rowHeight I
9 31 13 col I
12 13 14 childIndex I
14 29 14 childIndex I
17 29 15 child Landroid/view/View;
20 29 16 childParams Landroid/view/ViewGroup$MarginLayoutParams;
21 29 17 childStart I
22 29 18 childTop I
23 29 19 childEnd I
24 29 20 childBottom I
MethodParameters:
Name Flags
changed
l
t
r
b
public android.view.ViewGroup$LayoutParams generateLayoutParams(android.util.AttributeSet);
descriptor: (Landroid/util/AttributeSet;)Landroid/view/ViewGroup$LayoutParams;
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: new android.view.ViewGroup$MarginLayoutParams
dup
aload 0
invokevirtual com.android.printspooler.widget.PrintOptionsLayout.getContext:()Landroid/content/Context;
aload 1
invokespecial android.view.ViewGroup$MarginLayoutParams.<init>:(Landroid/content/Context;Landroid/util/AttributeSet;)V
areturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/android/printspooler/widget/PrintOptionsLayout;
0 1 1 attrs Landroid/util/AttributeSet;
MethodParameters:
Name Flags
attrs
}
SourceFile: "PrintOptionsLayout.java"
InnerClasses:
public MeasureSpec = android.view.View$MeasureSpec of android.view.View
public LayoutParams = android.view.ViewGroup$LayoutParams of android.view.ViewGroup
public MarginLayoutParams = android.view.ViewGroup$MarginLayoutParams of android.view.ViewGroup