public class com.sun.glass.ui.monocle.AndroidScreen implements com.sun.glass.ui.monocle.NativeScreen
minor version: 0
major version: 59
flags: flags: (0x0021) ACC_PUBLIC, ACC_SUPER
this_class: com.sun.glass.ui.monocle.AndroidScreen
super_class: java.lang.Object
{
private float density;
descriptor: F
flags: (0x0002) ACC_PRIVATE
public static final java.lang.Object framebufferSwapLock;
descriptor: Ljava/lang/Object;
flags: (0x0019) ACC_PUBLIC, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: new java.lang.Object
dup
invokespecial java.lang.Object.<init>:()V
putstatic com.sun.glass.ui.monocle.AndroidScreen.framebufferSwapLock:Ljava/lang/Object;
return
LocalVariableTable:
Start End Slot Name Signature
public void <init>();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
ldc -1.0
putfield com.sun.glass.ui.monocle.AndroidScreen.density:F
2: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/glass/ui/monocle/AndroidScreen;
public int getDepth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: bipush 24
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/AndroidScreen;
public int getNativeFormat();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: iconst_2
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/AndroidScreen;
public int getWidth();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=2, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.glass.ui.monocle.AndroidScreen._getWidth:()I
i2f
aload 0
invokevirtual com.sun.glass.ui.monocle.AndroidScreen.getScale:()F
fdiv
f2i
istore 1
start local 1 1: iload 1
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/monocle/AndroidScreen;
1 2 1 answer I
public int getHeight();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.glass.ui.monocle.AndroidScreen._getHeight:()I
i2f
aload 0
invokevirtual com.sun.glass.ui.monocle.AndroidScreen.getScale:()F
fdiv
f2i
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/AndroidScreen;
public int getDPI();
descriptor: ()I
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: bipush 100
ireturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/AndroidScreen;
public float getScale();
descriptor: ()F
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=1, args_size=1
start local 0 0: aload 0
getfield com.sun.glass.ui.monocle.AndroidScreen.density:F
fconst_0
fcmpg
ifge 2
1: aload 0
aload 0
invokevirtual com.sun.glass.ui.monocle.AndroidScreen._getDensity:()F
putfield com.sun.glass.ui.monocle.AndroidScreen.density:F
2: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.AndroidScreen.density:F
freturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 3 0 this Lcom/sun/glass/ui/monocle/AndroidScreen;
public long getNativeHandle();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=2, locals=3, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.glass.ui.monocle.AndroidScreen._getNativeHandle:()J
lstore 1
start local 1 1: lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/monocle/AndroidScreen;
1 2 1 answer J
public void shutdown();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.glass.ui.monocle.AndroidScreen._shutdown:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/monocle/AndroidScreen;
public void uploadPixels(java.nio.Buffer, int, int, int, int, float);
descriptor: (Ljava/nio/Buffer;IIIIF)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=7, locals=7, args_size=7
start local 0 start local 1 start local 2 start local 3 start local 4 start local 5 start local 6 0: aload 0
aload 1
iload 2
iload 3
iload 4
iload 5
fload 6
invokevirtual com.sun.glass.ui.monocle.AndroidScreen._uploadPixels:(Ljava/nio/Buffer;IIIIF)V
1: return
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 2 0 this Lcom/sun/glass/ui/monocle/AndroidScreen;
0 2 1 b Ljava/nio/Buffer;
0 2 2 x I
0 2 3 y I
0 2 4 width I
0 2 5 height I
0 2 6 alpha F
MethodParameters:
Name Flags
b
x
y
width
height
alpha
public void swapBuffers();
descriptor: ()V
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.glass.ui.monocle.AndroidScreen._swapBuffers:()V
1: return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/monocle/AndroidScreen;
public java.nio.ByteBuffer getScreenCapture();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0001) ACC_PUBLIC
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokevirtual com.sun.glass.ui.monocle.AndroidScreen._getScreenCapture:()Ljava/nio/ByteBuffer;
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/AndroidScreen;
native int _getWidth();
descriptor: ()I
flags: (0x0100) ACC_NATIVE
native int _getHeight();
descriptor: ()I
flags: (0x0100) ACC_NATIVE
native float _getDensity();
descriptor: ()F
flags: (0x0100) ACC_NATIVE
native long _getNativeHandle();
descriptor: ()J
flags: (0x0100) ACC_NATIVE
native void _shutdown();
descriptor: ()V
flags: (0x0100) ACC_NATIVE
native void _uploadPixels(java.nio.Buffer, int, int, int, int, float);
descriptor: (Ljava/nio/Buffer;IIIIF)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
b
x
y
width
height
alpha
native void _swapBuffers();
descriptor: ()V
flags: (0x0100) ACC_NATIVE
native java.nio.ByteBuffer _getScreenCapture();
descriptor: ()Ljava/nio/ByteBuffer;
flags: (0x0100) ACC_NATIVE
}
SourceFile: "AndroidScreen.java"