class com.sun.glass.ui.monocle.LinuxTouchTransform
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: com.sun.glass.ui.monocle.LinuxTouchTransform
super_class: java.lang.Object
{
private com.sun.glass.ui.monocle.LinuxInputDevice device;
descriptor: Lcom/sun/glass/ui/monocle/LinuxInputDevice;
flags: (0x0002) ACC_PRIVATE
private int[] axes;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private double[] translates;
descriptor: [D
flags: (0x0002) ACC_PRIVATE
private double[] scalars;
descriptor: [D
flags: (0x0002) ACC_PRIVATE
private boolean flipXY;
descriptor: Z
flags: (0x0002) ACC_PRIVATE
private int[] mins;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
private int[] maxs;
descriptor: [I
flags: (0x0002) ACC_PRIVATE
void <init>(com.sun.glass.ui.monocle.LinuxInputDevice);
descriptor: (Lcom/sun/glass/ui/monocle/LinuxInputDevice;)V
flags: (0x0000)
Code:
stack=2, locals=3, args_size=2
start local 0 start local 1 0: aload 0
invokespecial java.lang.Object.<init>:()V
1: aload 0
iconst_2
newarray 10
putfield com.sun.glass.ui.monocle.LinuxTouchTransform.axes:[I
2: aload 0
iconst_2
newarray 7
putfield com.sun.glass.ui.monocle.LinuxTouchTransform.translates:[D
3: aload 0
iconst_2
newarray 7
putfield com.sun.glass.ui.monocle.LinuxTouchTransform.scalars:[D
4: aload 0
iconst_2
newarray 10
putfield com.sun.glass.ui.monocle.LinuxTouchTransform.mins:[I
5: aload 0
iconst_2
newarray 10
putfield com.sun.glass.ui.monocle.LinuxTouchTransform.maxs:[I
6: aload 0
aload 1
putfield com.sun.glass.ui.monocle.LinuxTouchTransform.device:Lcom/sun/glass/ui/monocle/LinuxInputDevice;
7: aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.axes:[I
iconst_m1
invokestatic java.util.Arrays.fill:([II)V
8: aload 1
invokevirtual com.sun.glass.ui.monocle.LinuxInputDevice.getProduct:()Ljava/lang/String;
astore 2
start local 2 9: aload 0
aload 2
invokedynamic run(Lcom/sun/glass/ui/monocle/LinuxTouchTransform;Ljava/lang/String;)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/glass/ui/monocle/LinuxTouchTransform.lambda$0(Ljava/lang/String;)Ljava/lang/Void; (7)
()Ljava/lang/Void;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
10: return
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 11 0 this Lcom/sun/glass/ui/monocle/LinuxTouchTransform;
0 11 1 device Lcom/sun/glass/ui/monocle/LinuxInputDevice;
9 11 2 product Ljava/lang/String;
MethodParameters:
Name Flags
device
int getValue(com.sun.glass.ui.monocle.LinuxEventBuffer);
descriptor: (Lcom/sun/glass/ui/monocle/LinuxEventBuffer;)I
flags: (0x0000)
Code:
stack=4, locals=5, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.glass.ui.monocle.LinuxEventBuffer.getEventCode:()S
istore 2
start local 2 1: aload 1
invokevirtual com.sun.glass.ui.monocle.LinuxEventBuffer.getEventValue:()I
istore 3
start local 3 2: iconst_0
istore 4
start local 4 3: goto 7
4: StackMap locals: int int int
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.axes:[I
iload 4
iaload
iload 2
if_icmpne 6
5: aload 0
iload 4
iload 3
invokevirtual com.sun.glass.ui.monocle.LinuxTouchTransform.transform:(II)I
ireturn
6: StackMap locals:
StackMap stack:
iinc 4 1
StackMap locals:
StackMap stack:
7: iload 4
aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.axes:[I
arraylength
if_icmpge 8
aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.axes:[I
iload 4
iaload
iconst_m1
if_icmpne 4
8: StackMap locals:
StackMap stack:
iload 4
aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.axes:[I
arraylength
if_icmpne 15
9: aload 0
aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.axes:[I
aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.axes:[I
arraylength
iconst_2
imul
invokestatic java.util.Arrays.copyOf:([II)[I
putfield com.sun.glass.ui.monocle.LinuxTouchTransform.axes:[I
10: aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.axes:[I
iload 4
iconst_1
iadd
aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.axes:[I
arraylength
iconst_1
isub
iconst_m1
invokestatic java.util.Arrays.fill:([IIII)V
11: aload 0
aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.translates:[D
aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.translates:[D
arraylength
iconst_2
imul
invokestatic java.util.Arrays.copyOf:([DI)[D
putfield com.sun.glass.ui.monocle.LinuxTouchTransform.translates:[D
12: aload 0
aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.scalars:[D
aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.scalars:[D
arraylength
iconst_2
imul
invokestatic java.util.Arrays.copyOf:([DI)[D
putfield com.sun.glass.ui.monocle.LinuxTouchTransform.scalars:[D
13: aload 0
aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.mins:[I
aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.mins:[I
arraylength
iconst_2
imul
invokestatic java.util.Arrays.copyOf:([II)[I
putfield com.sun.glass.ui.monocle.LinuxTouchTransform.mins:[I
14: aload 0
aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.maxs:[I
aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.maxs:[I
arraylength
iconst_2
imul
invokestatic java.util.Arrays.copyOf:([II)[I
putfield com.sun.glass.ui.monocle.LinuxTouchTransform.maxs:[I
15: StackMap locals:
StackMap stack:
aload 0
iload 2
iload 4
invokevirtual com.sun.glass.ui.monocle.LinuxTouchTransform.initTransform:(II)V
16: aload 0
iload 4
iload 3
invokevirtual com.sun.glass.ui.monocle.LinuxTouchTransform.transform:(II)I
ireturn
end local 4 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 17 0 this Lcom/sun/glass/ui/monocle/LinuxTouchTransform;
0 17 1 buffer Lcom/sun/glass/ui/monocle/LinuxEventBuffer;
1 17 2 axis I
2 17 3 value I
3 17 4 i I
MethodParameters:
Name Flags
buffer
int getAxis(com.sun.glass.ui.monocle.LinuxEventBuffer);
descriptor: (Lcom/sun/glass/ui/monocle/LinuxEventBuffer;)I
flags: (0x0000)
Code:
stack=1, locals=3, args_size=2
start local 0 start local 1 0: aload 1
invokevirtual com.sun.glass.ui.monocle.LinuxEventBuffer.getEventCode:()S
istore 2
start local 2 1: aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.flipXY:Z
ifeq 8
2: iload 2
lookupswitch { // 4
0: 3
1: 4
53: 5
54: 6
default: 7
}
3: StackMap locals: int
StackMap stack:
iconst_1
ireturn
4: StackMap locals:
StackMap stack:
iconst_0
ireturn
5: StackMap locals:
StackMap stack:
bipush 54
ireturn
6: StackMap locals:
StackMap stack:
bipush 53
ireturn
7: StackMap locals:
StackMap stack:
iload 2
ireturn
8: StackMap locals:
StackMap stack:
iload 2
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/glass/ui/monocle/LinuxTouchTransform;
0 9 1 buffer Lcom/sun/glass/ui/monocle/LinuxEventBuffer;
1 9 2 axis I
MethodParameters:
Name Flags
buffer
private void initTransform(int, int);
descriptor: (II)V
flags: (0x0002) ACC_PRIVATE
Code:
stack=7, locals=8, args_size=3
start local 0 start local 1 start local 2 0: iload 1
lookupswitch { // 4
0: 1
1: 6
53: 1
54: 6
default: 11
}
1: StackMap locals:
StackMap stack:
invokestatic com.sun.glass.ui.monocle.NativePlatformFactory.getNativePlatform:()Lcom/sun/glass/ui/monocle/NativePlatform;
2: invokevirtual com.sun.glass.ui.monocle.NativePlatform.getScreen:()Lcom/sun/glass/ui/monocle/NativeScreen;
invokeinterface com.sun.glass.ui.monocle.NativeScreen.getWidth:()I
i2d
3: dstore 3
start local 3 4: ldc "X"
astore 5
start local 5 5: goto 14
end local 5 end local 3 6: StackMap locals:
StackMap stack:
invokestatic com.sun.glass.ui.monocle.NativePlatformFactory.getNativePlatform:()Lcom/sun/glass/ui/monocle/NativePlatform;
7: invokevirtual com.sun.glass.ui.monocle.NativePlatform.getScreen:()Lcom/sun/glass/ui/monocle/NativeScreen;
invokeinterface com.sun.glass.ui.monocle.NativeScreen.getHeight:()I
i2d
8: dstore 3
start local 3 9: ldc "Y"
astore 5
start local 5 10: goto 14
end local 5 end local 3 11: StackMap locals:
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.translates:[D
iload 2
dconst_0
dastore
12: aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.scalars:[D
iload 2
dconst_1
dastore
13: return
start local 3 start local 5 14: StackMap locals: double java.lang.String
StackMap stack:
aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.device:Lcom/sun/glass/ui/monocle/LinuxInputDevice;
iload 1
invokevirtual com.sun.glass.ui.monocle.LinuxInputDevice.getAbsoluteInputCapabilities:(I)Lcom/sun/glass/ui/monocle/LinuxAbsoluteInputCapabilities;
astore 6
start local 6 15: aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.device:Lcom/sun/glass/ui/monocle/LinuxInputDevice;
invokevirtual com.sun.glass.ui.monocle.LinuxInputDevice.getProduct:()Ljava/lang/String;
astore 7
start local 7 16: aload 0
aload 7
aload 5
aload 6
iload 2
dload 3
invokedynamic run(Lcom/sun/glass/ui/monocle/LinuxTouchTransform;Ljava/lang/String;Ljava/lang/String;Lcom/sun/glass/ui/monocle/LinuxAbsoluteInputCapabilities;ID)Ljava/security/PrivilegedAction;
Bootstrap: invokestatic java.lang.invoke.LambdaMetafactory.metafactory:(Ljava/lang/invoke/MethodHandles$Lookup;Ljava/lang/String;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodType;Ljava/lang/invoke/MethodHandle;Ljava/lang/invoke/MethodType;)Ljava/lang/invoke/CallSite;
Method arguments:
()Ljava/lang/Object;
com/sun/glass/ui/monocle/LinuxTouchTransform.lambda$1(Ljava/lang/String;Ljava/lang/String;Lcom/sun/glass/ui/monocle/LinuxAbsoluteInputCapabilities;ID)Ljava/lang/Void; (7)
()Ljava/lang/Void;
invokestatic java.security.AccessController.doPrivileged:(Ljava/security/PrivilegedAction;)Ljava/lang/Object;
pop
17: return
end local 7 end local 6 end local 5 end local 3 end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 18 0 this Lcom/sun/glass/ui/monocle/LinuxTouchTransform;
0 18 1 axis I
0 18 2 index I
4 6 3 range D
9 11 3 range D
14 18 3 range D
5 6 5 axisName Ljava/lang/String;
10 11 5 axisName Ljava/lang/String;
14 18 5 axisName Ljava/lang/String;
15 18 6 caps Lcom/sun/glass/ui/monocle/LinuxAbsoluteInputCapabilities;
16 18 7 product Ljava/lang/String;
MethodParameters:
Name Flags
axis
index
private int transform(int, int);
descriptor: (II)I
flags: (0x0002) ACC_PRIVATE
Code:
stack=4, locals=3, args_size=3
start local 0 start local 1 start local 2 0: iload 2
i2d
aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.translates:[D
iload 1
daload
dadd
aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.scalars:[D
iload 1
daload
dmul
invokestatic java.lang.Math.round:(D)J
l2i
ireturn
end local 2 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lcom/sun/glass/ui/monocle/LinuxTouchTransform;
0 1 1 index I
0 1 2 value I
MethodParameters:
Name Flags
index
value
private java.lang.Void lambda$0(java.lang.String);
descriptor: (Ljava/lang/String;)Ljava/lang/Void;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=4, locals=2, args_size=2
start local 0 0: aload 0
new java.lang.StringBuilder
dup
ldc "monocle.input."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
1: aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ".flipXY"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
2: invokestatic java.lang.Boolean.getBoolean:(Ljava/lang/String;)Z
putfield com.sun.glass.ui.monocle.LinuxTouchTransform.flipXY:Z
3: aconst_null
areturn
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 4 0 this Lcom/sun/glass/ui/monocle/LinuxTouchTransform;
private java.lang.Void lambda$1(java.lang.String, java.lang.String, com.sun.glass.ui.monocle.LinuxAbsoluteInputCapabilities, int, double);
descriptor: (Ljava/lang/String;Ljava/lang/String;Lcom/sun/glass/ui/monocle/LinuxAbsoluteInputCapabilities;ID)Ljava/lang/Void;
flags: (0x1002) ACC_PRIVATE, ACC_SYNTHETIC
Code:
stack=6, locals=9, args_size=6
start local 0 0: new java.lang.StringBuilder
dup
ldc "monocle.input."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ".min"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
1: aload 3
invokevirtual com.sun.glass.ui.monocle.LinuxAbsoluteInputCapabilities.getMinimum:()I
2: invokestatic java.lang.Integer.getInteger:(Ljava/lang/String;I)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
istore 7
start local 7 3: new java.lang.StringBuilder
dup
ldc "monocle.input."
invokespecial java.lang.StringBuilder.<init>:(Ljava/lang/String;)V
aload 1
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
ldc ".max"
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
aload 2
invokevirtual java.lang.StringBuilder.append:(Ljava/lang/String;)Ljava/lang/StringBuilder;
invokevirtual java.lang.StringBuilder.toString:()Ljava/lang/String;
4: aload 3
invokevirtual com.sun.glass.ui.monocle.LinuxAbsoluteInputCapabilities.getMaximum:()I
5: invokestatic java.lang.Integer.getInteger:(Ljava/lang/String;I)Ljava/lang/Integer;
invokevirtual java.lang.Integer.intValue:()I
istore 8
start local 8 6: aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.translates:[D
iload 4
iload 7
ineg
i2d
dastore
7: aload 0
getfield com.sun.glass.ui.monocle.LinuxTouchTransform.scalars:[D
iload 4
dload 5
iload 8
iload 7
isub
i2d
ddiv
dastore
8: aconst_null
areturn
end local 8 end local 7 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 9 0 this Lcom/sun/glass/ui/monocle/LinuxTouchTransform;
3 9 7 minimum I
6 9 8 maximum I
}
SourceFile: "LinuxTouchTransform.java"
InnerClasses:
public final Lookup = java.lang.invoke.MethodHandles$Lookup of java.lang.invoke.MethodHandles