final class com.sun.glass.ui.mac.MacView extends com.sun.glass.ui.View
minor version: 0
major version: 59
flags: flags: (0x0030) ACC_FINAL, ACC_SUPER
this_class: com.sun.glass.ui.mac.MacView
super_class: com.sun.glass.ui.View
{
private static final long multiClickTime;
descriptor: J
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int multiClickMaxX;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
private static final int multiClickMaxY;
descriptor: I
flags: (0x001a) ACC_PRIVATE, ACC_STATIC, ACC_FINAL
static void <clinit>();
descriptor: ()V
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: invokestatic com.sun.glass.ui.mac.MacView._initIDs:()V
1: invokestatic com.sun.glass.ui.mac.MacView._getMultiClickTime_impl:()J
putstatic com.sun.glass.ui.mac.MacView.multiClickTime:J
2: invokestatic com.sun.glass.ui.mac.MacView._getMultiClickMaxX_impl:()I
putstatic com.sun.glass.ui.mac.MacView.multiClickMaxX:I
3: invokestatic com.sun.glass.ui.mac.MacView._getMultiClickMaxY_impl:()I
putstatic com.sun.glass.ui.mac.MacView.multiClickMaxY:I
4: return
LocalVariableTable:
Start End Slot Name Signature
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial com.sun.glass.ui.View.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/mac/MacView;
private static native void _initIDs();
descriptor: ()V
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native long _getMultiClickTime_impl();
descriptor: ()J
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native int _getMultiClickMaxX_impl();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
private static native int _getMultiClickMaxY_impl();
descriptor: ()I
flags: (0x010a) ACC_PRIVATE, ACC_STATIC, ACC_NATIVE
static long getMultiClickTime_impl();
descriptor: ()J
flags: (0x0008) ACC_STATIC
Code:
stack=2, locals=0, args_size=0
0: getstatic com.sun.glass.ui.mac.MacView.multiClickTime:J
lreturn
LocalVariableTable:
Start End Slot Name Signature
static int getMultiClickMaxX_impl();
descriptor: ()I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.glass.ui.mac.MacView.multiClickMaxX:I
ireturn
LocalVariableTable:
Start End Slot Name Signature
static int getMultiClickMaxY_impl();
descriptor: ()I
flags: (0x0008) ACC_STATIC
Code:
stack=1, locals=0, args_size=0
0: getstatic com.sun.glass.ui.mac.MacView.multiClickMaxY:I
ireturn
LocalVariableTable:
Start End Slot Name Signature
protected native int _getNativeFrameBuffer(long);
descriptor: (J)I
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
protected native long _create(java.util.Map);
descriptor: (Ljava/util/Map;)J
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
caps
protected native int _getX(long);
descriptor: (J)I
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
protected native int _getY(long);
descriptor: (J)I
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
protected native void _setParent(long, long);
descriptor: (JJ)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
parentPtr
protected native boolean _close(long);
descriptor: (J)Z
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
protected native void _scheduleRepaint(long);
descriptor: (J)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
protected native void _begin(long);
descriptor: (J)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
protected native void _end(long);
descriptor: (J)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
protected native boolean _enterFullscreen(long, boolean, boolean, boolean);
descriptor: (JZZZ)Z
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
animate
keepRatio
hideCursor
protected native void _exitFullscreen(long, boolean);
descriptor: (JZ)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
animate
protected native void _enableInputMethodEvents(long, boolean);
descriptor: (JZ)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
enable
protected void _uploadPixels(long, com.sun.glass.ui.Pixels);
descriptor: (JLcom/sun/glass/ui/Pixels;)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=9, locals=6, args_size=3
start local 0 start local 1 start local 3 0: aload 3
invokevirtual com.sun.glass.ui.Pixels.getPixels:()Ljava/nio/Buffer;
astore 4
start local 4 1: aload 4
invokevirtual java.nio.Buffer.isDirect:()Z
ifeq 4
2: aload 0
lload 1
aload 4
aload 3
invokevirtual com.sun.glass.ui.Pixels.getWidth:()I
aload 3
invokevirtual com.sun.glass.ui.Pixels.getHeight:()I
aload 3
invokevirtual com.sun.glass.ui.Pixels.getScaleX:()F
aload 3
invokevirtual com.sun.glass.ui.Pixels.getScaleY:()F
invokevirtual com.sun.glass.ui.mac.MacView._uploadPixelsDirect:(JLjava/nio/Buffer;IIFF)V
3: goto 19
StackMap locals: java.nio.Buffer
StackMap stack:
4: aload 4
invokevirtual java.nio.Buffer.hasArray:()Z
ifeq 16
5: aload 3
invokevirtual com.sun.glass.ui.Pixels.getBytesPerComponent:()I
iconst_1
if_icmpne 11
6: aload 4
checkcast java.nio.ByteBuffer
astore 5
start local 5 7: aload 0
lload 1
aload 5
invokevirtual java.nio.ByteBuffer.array:()[B
aload 5
invokevirtual java.nio.ByteBuffer.arrayOffset:()I
8: aload 3
invokevirtual com.sun.glass.ui.Pixels.getWidth:()I
aload 3
invokevirtual com.sun.glass.ui.Pixels.getHeight:()I
aload 3
invokevirtual com.sun.glass.ui.Pixels.getScaleX:()F
aload 3
invokevirtual com.sun.glass.ui.Pixels.getScaleY:()F
9: invokevirtual com.sun.glass.ui.mac.MacView._uploadPixelsByteArray:(J[BIIIFF)V
end local 5 10: goto 19
11: StackMap locals:
StackMap stack:
aload 4
checkcast java.nio.IntBuffer
astore 5
start local 5 12: aload 0
lload 1
aload 5
invokevirtual java.nio.IntBuffer.array:()[I
aload 5
invokevirtual java.nio.IntBuffer.arrayOffset:()I
13: aload 3
invokevirtual com.sun.glass.ui.Pixels.getWidth:()I
aload 3
invokevirtual com.sun.glass.ui.Pixels.getHeight:()I
aload 3
invokevirtual com.sun.glass.ui.Pixels.getScaleX:()F
aload 3
invokevirtual com.sun.glass.ui.Pixels.getScaleY:()F
14: invokevirtual com.sun.glass.ui.mac.MacView._uploadPixelsIntArray:(J[IIIIFF)V
end local 5 15: goto 19
16: StackMap locals:
StackMap stack:
aload 0
lload 1
aload 3
invokevirtual com.sun.glass.ui.Pixels.asByteBuffer:()Ljava/nio/ByteBuffer;
17: aload 3
invokevirtual com.sun.glass.ui.Pixels.getWidth:()I
aload 3
invokevirtual com.sun.glass.ui.Pixels.getHeight:()I
aload 3
invokevirtual com.sun.glass.ui.Pixels.getScaleX:()F
aload 3
invokevirtual com.sun.glass.ui.Pixels.getScaleY:()F
18: invokevirtual com.sun.glass.ui.mac.MacView._uploadPixelsDirect:(JLjava/nio/Buffer;IIFF)V
19: StackMap locals:
StackMap stack:
return
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 20 0 this Lcom/sun/glass/ui/mac/MacView;
0 20 1 ptr J
0 20 3 pixels Lcom/sun/glass/ui/Pixels;
1 20 4 data Ljava/nio/Buffer;
7 10 5 bytes Ljava/nio/ByteBuffer;
12 15 5 ints Ljava/nio/IntBuffer;
MethodParameters:
Name Flags
ptr
pixels
native void _uploadPixelsDirect(long, java.nio.Buffer, int, int, float, float);
descriptor: (JLjava/nio/Buffer;IIFF)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
viewPtr
pixels
width
height
scaleX
scaleY
native void _uploadPixelsByteArray(long, byte[], int, int, int, float, float);
descriptor: (J[BIIIFF)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
viewPtr
pixels
offset
width
height
scaleX
scaleY
native void _uploadPixelsIntArray(long, int[], int, int, int, float, float);
descriptor: (J[IIIIFF)V
flags: (0x0100) ACC_NATIVE
MethodParameters:
Name Flags
viewPtr
pixels
offset
width
height
scaleX
scaleY
protected void notifyResize(int, int);
descriptor: (II)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=3, locals=6, args_size=3
start local 0 start local 1 start local 2 0: aload 0
invokevirtual com.sun.glass.ui.mac.MacView.getWindow:()Lcom/sun/glass/ui/Window;
astore 3
start local 3 1: aload 3
ifnonnull 2
fconst_1
goto 3
StackMap locals: com.sun.glass.ui.Window
StackMap stack:
2: aload 3
invokevirtual com.sun.glass.ui.Window.getPlatformScaleX:()F
StackMap locals:
StackMap stack: float
3: fstore 4
start local 4 4: aload 3
ifnonnull 5
fconst_1
goto 6
StackMap locals: float
StackMap stack:
5: aload 3
invokevirtual com.sun.glass.ui.Window.getPlatformScaleY:()F
StackMap locals:
StackMap stack: float
6: fstore 5
start local 5 7: iload 1
i2f
fload 4
fmul
invokestatic java.lang.Math.round:(F)I
istore 1
8: iload 2
i2f
fload 5
fmul
invokestatic java.lang.Math.round:(F)I
istore 2
9: aload 0
iload 1
iload 2
invokespecial com.sun.glass.ui.View.notifyResize:(II)V
10: return
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 11 0 this Lcom/sun/glass/ui/mac/MacView;
0 11 1 width I
0 11 2 height I
1 11 3 w Lcom/sun/glass/ui/Window;
4 11 4 sx F
7 11 5 sy F
MethodParameters:
Name Flags
width
height
protected void notifyMouse(int, int, int, int, int, int, int, boolean, boolean);
descriptor: (IIIIIIIZZ)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=10, locals=13, args_size=10
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 0: aload 0
invokevirtual com.sun.glass.ui.mac.MacView.getWindow:()Lcom/sun/glass/ui/Window;
astore 10
start local 10 1: aload 10
ifnonnull 2
fconst_1
goto 3
StackMap locals: com.sun.glass.ui.Window
StackMap stack:
2: aload 10
invokevirtual com.sun.glass.ui.Window.getPlatformScaleX:()F
StackMap locals:
StackMap stack: float
3: fstore 11
start local 11 4: aload 10
ifnonnull 5
fconst_1
goto 6
StackMap locals: float
StackMap stack:
5: aload 10
invokevirtual com.sun.glass.ui.Window.getPlatformScaleY:()F
StackMap locals:
StackMap stack: float
6: fstore 12
start local 12 7: iload 3
i2f
fload 11
fmul
invokestatic java.lang.Math.round:(F)I
istore 3
8: iload 4
i2f
fload 12
fmul
invokestatic java.lang.Math.round:(F)I
istore 4
9: iload 5
i2f
fload 11
fmul
invokestatic java.lang.Math.round:(F)I
istore 5
10: iload 6
i2f
fload 12
fmul
invokestatic java.lang.Math.round:(F)I
istore 6
11: aload 0
iload 1
iload 2
iload 3
iload 4
iload 5
iload 6
iload 7
12: iload 8
iload 9
13: invokespecial com.sun.glass.ui.View.notifyMouse:(IIIIIIIZZ)V
14: return
end local 12 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 15 0 this Lcom/sun/glass/ui/mac/MacView;
0 15 1 type I
0 15 2 button I
0 15 3 x I
0 15 4 y I
0 15 5 xAbs I
0 15 6 yAbs I
0 15 7 modifiers I
0 15 8 isPopupTrigger Z
0 15 9 isSynthesized Z
1 15 10 w Lcom/sun/glass/ui/Window;
4 15 11 sx F
7 15 12 sy F
MethodParameters:
Name Flags
type
button
x
y
xAbs
yAbs
modifiers
isPopupTrigger
isSynthesized
protected long _getNativeView(long);
descriptor: (J)J
flags: (0x0004) ACC_PROTECTED
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: lload 1
lreturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/mac/MacView;
0 1 1 ptr J
MethodParameters:
Name Flags
ptr
protected native long _getNativeLayer(long);
descriptor: (J)J
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
public long getNativeLayer();
descriptor: ()J
flags: (0x0001) ACC_PUBLIC
Code:
stack=3, locals=1, args_size=1
start local 0 0: aload 0
aload 0
invokevirtual com.sun.glass.ui.mac.MacView.getNativeView:()J
invokevirtual com.sun.glass.ui.mac.MacView._getNativeLayer:(J)J
lreturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/mac/MacView;
protected native int _getNativeRemoteLayerId(long, java.lang.String);
descriptor: (JLjava/lang/String;)I
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
serverName
public int getNativeRemoteLayerId(java.lang.String);
descriptor: (Ljava/lang/String;)I
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual com.sun.glass.ui.mac.MacView.getNativeLayer:()J
aload 1
invokevirtual com.sun.glass.ui.mac.MacView._getNativeRemoteLayerId:(JLjava/lang/String;)I
ireturn
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/mac/MacView;
0 1 1 serverName Ljava/lang/String;
MethodParameters:
Name Flags
serverName
protected native void _hostRemoteLayerId(long, int);
descriptor: (JI)V
flags: (0x0104) ACC_PROTECTED, ACC_NATIVE
MethodParameters:
Name Flags
ptr
nativeLayerId
public void hostRemoteLayerId(int);
descriptor: (I)V
flags: (0x0001) ACC_PUBLIC
Code:
stack=4, locals=2, args_size=2
start local 0 start local 1 0: aload 0
aload 0
invokevirtual com.sun.glass.ui.mac.MacView.getNativeLayer:()J
iload 1
invokevirtual com.sun.glass.ui.mac.MacView._hostRemoteLayerId:(JI)V
1: return
end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 2 0 this Lcom/sun/glass/ui/mac/MacView;
0 2 1 nativeLayerId I
MethodParameters:
Name Flags
nativeLayerId
protected void notifyInputMethodMac(java.lang.String, int, int, int, int, int);
descriptor: (Ljava/lang/String;IIIII)V
flags: (0x0004) ACC_PROTECTED
Code:
stack=8, locals=14, 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: iconst_1
newarray 8
astore 7
start local 7 1: aload 7
iconst_0
iload 2
i2b
bastore
2: iconst_2
newarray 10
astore 8
start local 8 3: aload 8
iconst_0
iconst_0
iastore
4: aload 8
iconst_1
iload 3
iastore
5: iload 2
iconst_4
if_icmpne 8
6: aload 0
aload 1
aconst_null
aload 8
aload 7
iload 3
iload 4
iconst_0
invokevirtual com.sun.glass.ui.mac.MacView.notifyInputMethod:(Ljava/lang/String;[I[I[BIII)V
7: goto 35
8: StackMap locals: byte[] int[]
StackMap stack:
iload 6
ifle 34
9: aload 1
ifnull 34
aload 1
invokevirtual java.lang.String.length:()I
ifle 34
10: iload 5
iflt 34
11: iload 6
iload 5
iadd
aload 1
invokevirtual java.lang.String.length:()I
if_icmpgt 34
12: new java.util.TreeSet
dup
invokespecial java.util.TreeSet.<init>:()V
astore 9
start local 9 13: aload 9
iconst_0
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.TreeSet.add:(Ljava/lang/Object;)Z
pop
14: aload 9
iload 5
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.TreeSet.add:(Ljava/lang/Object;)Z
pop
15: aload 9
iload 5
iload 6
iadd
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.TreeSet.add:(Ljava/lang/Object;)Z
pop
16: aload 9
aload 1
invokevirtual java.lang.String.length:()I
invokestatic java.lang.Integer.valueOf:(I)Ljava/lang/Integer;
invokevirtual java.util.TreeSet.add:(Ljava/lang/Object;)Z
pop
17: aload 9
invokevirtual java.util.TreeSet.size:()I
newarray 10
astore 10
start local 10 18: iconst_0
istore 11
start local 11 19: aload 9
invokevirtual java.util.TreeSet.iterator:()Ljava/util/Iterator;
astore 13
goto 23
StackMap locals: com.sun.glass.ui.mac.MacView java.lang.String int int int int int byte[] int[] java.util.TreeSet int[] int top java.util.Iterator
StackMap stack:
20: aload 13
invokeinterface java.util.Iterator.next:()Ljava/lang/Object;
checkcast java.lang.Integer
invokevirtual java.lang.Integer.intValue:()I
istore 12
start local 12 21: aload 10
iload 11
iload 12
iastore
22: iinc 11 1
end local 12 23: StackMap locals:
StackMap stack:
aload 13
invokeinterface java.util.Iterator.hasNext:()Z
ifne 20
24: aload 10
arraylength
iconst_1
isub
newarray 8
astore 12
start local 12 25: iconst_0
istore 11
goto 31
26: StackMap locals: com.sun.glass.ui.mac.MacView java.lang.String int int int int int byte[] int[] java.util.TreeSet int[] int byte[]
StackMap stack:
aload 12
iload 11
aload 10
iload 11
iaload
iload 5
if_icmpne 28
27: iconst_1
goto 29
28: StackMap locals: com.sun.glass.ui.mac.MacView java.lang.String int int int int int byte[] int[] java.util.TreeSet int[] int byte[]
StackMap stack: byte[] int
iconst_2
29: StackMap locals: com.sun.glass.ui.mac.MacView java.lang.String int int int int int byte[] int[] java.util.TreeSet int[] int byte[]
StackMap stack: byte[] int int
bastore
30: iinc 11 1
StackMap locals:
StackMap stack:
31: iload 11
aload 10
arraylength
iconst_1
isub
if_icmplt 26
32: aload 0
aload 1
aload 10
aload 10
aload 12
iconst_0
iload 4
iconst_0
invokevirtual com.sun.glass.ui.mac.MacView.notifyInputMethod:(Ljava/lang/String;[I[I[BIII)V
end local 12 end local 11 end local 10 end local 9 33: goto 35
34: StackMap locals: com.sun.glass.ui.mac.MacView java.lang.String int int int int int byte[] int[]
StackMap stack:
aload 0
aload 1
aconst_null
aload 8
aload 7
iconst_0
iload 4
iconst_0
invokevirtual com.sun.glass.ui.mac.MacView.notifyInputMethod:(Ljava/lang/String;[I[I[BIII)V
35: StackMap locals:
StackMap stack:
return
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/sun/glass/ui/mac/MacView;
0 36 1 str Ljava/lang/String;
0 36 2 attrib I
0 36 3 length I
0 36 4 cursor I
0 36 5 selStart I
0 36 6 selLength I
1 36 7 atts [B
3 36 8 attBounds [I
13 33 9 b Ljava/util/TreeSet<Ljava/lang/Integer;>;
18 33 10 boundary [I
19 33 11 i I
21 23 12 e I
25 33 12 values [B
MethodParameters:
Name Flags
str
attrib
length
cursor
selStart
selLength
}
SourceFile: "MacView.java"