public class android.graphics.NinePatch$InsetStruct
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: android.graphics.NinePatch$InsetStruct
super_class: java.lang.Object
{
public final android.graphics.Rect opticalRect;
descriptor: Landroid/graphics/Rect;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final android.graphics.Rect outlineRect;
descriptor: Landroid/graphics/Rect;
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final float outlineRadius;
descriptor: F
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
public final float outlineAlpha;
descriptor: F
flags: (0x0011) ACC_PUBLIC, ACC_FINAL
void <init>(int, int, int, int, int, int, int, int, float, int, float);
descriptor: (IIIIIIIIFIF)V
flags: (0x0000)
Code:
stack=7, locals=12, args_size=12
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 start local 7 start local 8 start local 9 start local 10 start local 11 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
new android.graphics.Rect
dup
iload 1
iload 2
iload 3
iload 4
invokespecial android.graphics.Rect.<init>:(IIII)V
putfield android.graphics.NinePatch$InsetStruct.opticalRect:Landroid/graphics/Rect;
2: aload 0
getfield android.graphics.NinePatch$InsetStruct.opticalRect:Landroid/graphics/Rect;
fload 11
invokevirtual android.graphics.Rect.scale:(F)V
3: aload 0
iload 5
iload 6
4: iload 7
iload 8
fload 11
5: invokestatic android.graphics.NinePatch$InsetStruct.scaleInsets:(IIIIF)Landroid/graphics/Rect;
putfield android.graphics.NinePatch$InsetStruct.outlineRect:Landroid/graphics/Rect;
6: aload 0
fload 9
fload 11
fmul
putfield android.graphics.NinePatch$InsetStruct.outlineRadius:F
7: aload 0
iload 10
i2f
ldc 255.0
fdiv
putfield android.graphics.NinePatch$InsetStruct.outlineAlpha:F
8: return
end local 11 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 9 0 this Landroid/graphics/NinePatch$InsetStruct;
0 9 1 opticalLeft I
0 9 2 opticalTop I
0 9 3 opticalRight I
0 9 4 opticalBottom I
0 9 5 outlineLeft I
0 9 6 outlineTop I
0 9 7 outlineRight I
0 9 8 outlineBottom I
0 9 9 outlineRadius F
0 9 10 outlineAlpha I
0 9 11 decodeScale F
MethodParameters:
Name Flags
opticalLeft
opticalTop
opticalRight
opticalBottom
outlineLeft
outlineTop
outlineRight
outlineBottom
outlineRadius
outlineAlpha
decodeScale
public static android.graphics.Rect scaleInsets(int, int, int, int, float);
descriptor: (IIIIF)Landroid/graphics/Rect;
flags: (0x0009) ACC_PUBLIC, ACC_STATIC
Code:
stack=6, locals=6, args_size=5
start local 0 start local 1 start local 2 start local 3 start local 4 0: fload 4
fconst_1
fcmpl
ifne 2
1: new android.graphics.Rect
dup
iload 0
iload 1
iload 2
iload 3
invokespecial android.graphics.Rect.<init>:(IIII)V
areturn
2: StackMap locals:
StackMap stack:
new android.graphics.Rect
dup
invokespecial android.graphics.Rect.<init>:()V
astore 5
start local 5 3: aload 5
iload 0
i2f
fload 4
fmul
f2d
invokestatic java.lang.Math.ceil:(D)D
d2i
putfield android.graphics.Rect.left:I
4: aload 5
iload 1
i2f
fload 4
fmul
f2d
invokestatic java.lang.Math.ceil:(D)D
d2i
putfield android.graphics.Rect.top:I
5: aload 5
iload 2
i2f
fload 4
fmul
f2d
invokestatic java.lang.Math.ceil:(D)D
d2i
putfield android.graphics.Rect.right:I
6: aload 5
iload 3
i2f
fload 4
fmul
f2d
invokestatic java.lang.Math.ceil:(D)D
d2i
putfield android.graphics.Rect.bottom:I
7: aload 5
areturn
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 8 0 left I
0 8 1 top I
0 8 2 right I
0 8 3 bottom I
0 8 4 scale F
3 8 5 result Landroid/graphics/Rect;
MethodParameters:
Name Flags
left
top
right
bottom
scale
}
SourceFile: "NinePatch.java"
NestHost: android.graphics.NinePatch
InnerClasses:
public InsetStruct = android.graphics.NinePatch$InsetStruct of android.graphics.NinePatch