class sun.lwawt.macosx.CPlatformResponder$DeltaAccumulator
minor version: 0
major version: 59
flags: flags: (0x0020) ACC_SUPER
this_class: sun.lwawt.macosx.CPlatformResponder$DeltaAccumulator
super_class: java.lang.Object
{
static final double MIN_THRESHOLD;
descriptor: D
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0.1
static final double MAX_THRESHOLD;
descriptor: D
flags: (0x0018) ACC_STATIC, ACC_FINAL
ConstantValue: 0.5
double accumulatedDelta;
descriptor: D
flags: (0x0000)
void <init>();
descriptor: ()V
flags: (0x0000)
Code:
stack=1, locals=1, args_size=1
start local 0 0: aload 0
invokespecial java.lang.Object.<init>:()V
return
end local 0 LocalVariableTable:
Start End Slot Name Signature
0 1 0 this Lsun/lwawt/macosx/CPlatformResponder$DeltaAccumulator;
int getRoundedDelta(double, int);
descriptor: (DI)I
flags: (0x0000)
Code:
stack=5, locals=9, args_size=3
start local 0 start local 1 start local 3 0: dload 1
invokestatic java.lang.Math.round:(D)J
l2i
istore 4
start local 4 1: iload 3
iconst_1
if_icmpne 7
2: iload 4
ifne 27
dload 1
dconst_0
dcmpl
ifeq 27
3: dload 1
dconst_0
dcmpl
ifle 4
iconst_1
goto 5
StackMap locals: int
StackMap stack:
4: iconst_m1
StackMap locals:
StackMap stack: int
5: istore 4
6: goto 27
7: StackMap locals:
StackMap stack:
iload 3
iconst_2
if_icmpne 8
iconst_1
goto 9
StackMap locals:
StackMap stack:
8: iconst_0
StackMap locals:
StackMap stack: int
9: istore 5
start local 5 10: iload 3
iconst_5
if_icmpeq 13
11: iload 3
iconst_4
if_icmpeq 13
12: iconst_0
goto 14
StackMap locals: int
StackMap stack:
13: iconst_1
StackMap locals:
StackMap stack: int
14: istore 6
start local 6 15: iload 5
ifeq 17
16: aload 0
dconst_0
putfield sun.lwawt.macosx.CPlatformResponder$DeltaAccumulator.accumulatedDelta:D
17: StackMap locals: int
StackMap stack:
aload 0
dup
getfield sun.lwawt.macosx.CPlatformResponder$DeltaAccumulator.accumulatedDelta:D
dload 1
dadd
putfield sun.lwawt.macosx.CPlatformResponder$DeltaAccumulator.accumulatedDelta:D
18: aload 0
getfield sun.lwawt.macosx.CPlatformResponder$DeltaAccumulator.accumulatedDelta:D
invokestatic java.lang.Math.abs:(D)D
dstore 7
start local 7 19: dload 7
ldc 0.5
dcmpl
ifle 22
20: aload 0
getfield sun.lwawt.macosx.CPlatformResponder$DeltaAccumulator.accumulatedDelta:D
invokestatic java.lang.Math.round:(D)J
l2i
istore 4
21: aload 0
dup
getfield sun.lwawt.macosx.CPlatformResponder$DeltaAccumulator.accumulatedDelta:D
iload 4
i2d
dsub
putfield sun.lwawt.macosx.CPlatformResponder$DeltaAccumulator.accumulatedDelta:D
22: StackMap locals: double
StackMap stack:
iload 6
ifeq 27
23: iload 4
ifne 27
dload 7
ldc 0.1
dcmpl
ifle 27
24: aload 0
getfield sun.lwawt.macosx.CPlatformResponder$DeltaAccumulator.accumulatedDelta:D
dconst_0
dcmpl
ifle 25
iconst_1
goto 26
StackMap locals:
StackMap stack:
25: iconst_m1
StackMap locals:
StackMap stack: int
26: istore 4
end local 7 end local 6 end local 5 27: StackMap locals:
StackMap stack:
iload 4
ireturn
end local 4 end local 3 end local 1 end local 0 LocalVariableTable:
Start End Slot Name Signature
0 28 0 this Lsun/lwawt/macosx/CPlatformResponder$DeltaAccumulator;
0 28 1 delta D
0 28 3 scrollPhase I
1 28 4 roundDelta I
10 27 5 begin Z
15 27 6 end Z
19 27 7 absAccumulatedDelta D
MethodParameters:
Name Flags
delta
scrollPhase
}
SourceFile: "CPlatformResponder.java"
NestHost: sun.lwawt.macosx.CPlatformResponder
InnerClasses:
DeltaAccumulator = sun.lwawt.macosx.CPlatformResponder$DeltaAccumulator of sun.lwawt.macosx.CPlatformResponder