Copy+Attentional Convolutional


Original Name set,traversal,mode

set

<SENTENCE_START> { collision jni . bt quantized bvh double data traversal mode set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 1.9%)

<SENTENCE_START> { collision jni . bt quantized bvh double data traversal mode set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

traversal

<SENTENCE_START> { collision jni . bt quantized bvh double data traversal mode set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 99.9%)

<SENTENCE_START> { collision jni . bt quantized bvh double data traversal mode set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

mode

<SENTENCE_START> { collision jni . bt quantized bvh double data traversal mode set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 99.9%)

<SENTENCE_START> { collision jni . bt quantized bvh double data traversal mode set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { collision jni . bt quantized bvh double data traversal mode set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 2.8%)

<SENTENCE_START> { collision jni . bt quantized bvh double data traversal mode set ( swig c ptr , this , value ) ; } <SENTENCE_END/>


Original Name get,traversal,mode

get

<SENTENCE_START> { return collision jni . bt quantized bvh double data traversal mode get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 1.8%)

<SENTENCE_START> { return collision jni . bt quantized bvh double data traversal mode get ( swig c ptr , this ) ; } <SENTENCE_END/>

traversal

<SENTENCE_START> { return collision jni . bt quantized bvh double data traversal mode get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 99.9%)

<SENTENCE_START> { return collision jni . bt quantized bvh double data traversal mode get ( swig c ptr , this ) ; } <SENTENCE_END/>

mode

<SENTENCE_START> { return collision jni . bt quantized bvh double data traversal mode get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 99.9%)

<SENTENCE_START> { return collision jni . bt quantized bvh double data traversal mode get ( swig c ptr , this ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return collision jni . bt quantized bvh double data traversal mode get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 3.0%)

<SENTENCE_START> { return collision jni . bt quantized bvh double data traversal mode get ( swig c ptr , this ) ; } <SENTENCE_END/>


Original Name set,num,subtree,headers

set

<SENTENCE_START> { collision jni . bt quantized bvh double data num subtree headers set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 1.7%)

<SENTENCE_START> { collision jni . bt quantized bvh double data num subtree headers set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

num

<SENTENCE_START> { collision jni . bt quantized bvh double data num subtree headers set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 99.8%)

<SENTENCE_START> { collision jni . bt quantized bvh double data num subtree headers set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

subtree

<SENTENCE_START> { collision jni . bt quantized bvh double data num subtree headers set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { collision jni . bt quantized bvh double data num subtree headers set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

headers

<SENTENCE_START> { collision jni . bt quantized bvh double data num subtree headers set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 68.7%)

<SENTENCE_START> { collision jni . bt quantized bvh double data num subtree headers set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { collision jni . bt quantized bvh double data num subtree headers set ( swig c ptr , this , value ) ; } <SENTENCE_END/>

(Copy Probability: 6.0%)

<SENTENCE_START> { collision jni . bt quantized bvh double data num subtree headers set ( swig c ptr , this , value ) ; } <SENTENCE_END/>


Original Name get,num,subtree,headers

get

<SENTENCE_START> { return collision jni . bt quantized bvh double data num subtree headers get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 1.6%)

<SENTENCE_START> { return collision jni . bt quantized bvh double data num subtree headers get ( swig c ptr , this ) ; } <SENTENCE_END/>

num

<SENTENCE_START> { return collision jni . bt quantized bvh double data num subtree headers get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 99.8%)

<SENTENCE_START> { return collision jni . bt quantized bvh double data num subtree headers get ( swig c ptr , this ) ; } <SENTENCE_END/>

subtree

<SENTENCE_START> { return collision jni . bt quantized bvh double data num subtree headers get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 100.0%)

<SENTENCE_START> { return collision jni . bt quantized bvh double data num subtree headers get ( swig c ptr , this ) ; } <SENTENCE_END/>

headers

<SENTENCE_START> { return collision jni . bt quantized bvh double data num subtree headers get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 69.0%)

<SENTENCE_START> { return collision jni . bt quantized bvh double data num subtree headers get ( swig c ptr , this ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return collision jni . bt quantized bvh double data num subtree headers get ( swig c ptr , this ) ; } <SENTENCE_END/>

(Copy Probability: 5.9%)

<SENTENCE_START> { return collision jni . bt quantized bvh double data num subtree headers get ( swig c ptr , this ) ; } <SENTENCE_END/>


Original Name set,sub,tree,info,ptr

set

<SENTENCE_START> { collision jni . bt quantized bvh double data sub tree info ptr set ( swig c ptr , this , bt bvh subtree info data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 2.3%)

<SENTENCE_START> { collision jni . bt quantized bvh double data sub tree info ptr set ( swig c ptr , this , bt bvh subtree info data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

sub

<SENTENCE_START> { collision jni . bt quantized bvh double data sub tree info ptr set ( swig c ptr , this , bt bvh subtree info data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 99.8%)

<SENTENCE_START> { collision jni . bt quantized bvh double data sub tree info ptr set ( swig c ptr , this , bt bvh subtree info data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

tree

<SENTENCE_START> { collision jni . bt quantized bvh double data sub tree info ptr set ( swig c ptr , this , bt bvh subtree info data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 99.9%)

<SENTENCE_START> { collision jni . bt quantized bvh double data sub tree info ptr set ( swig c ptr , this , bt bvh subtree info data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

info

<SENTENCE_START> { collision jni . bt quantized bvh double data sub tree info ptr set ( swig c ptr , this , bt bvh subtree info data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 78.9%)

<SENTENCE_START> { collision jni . bt quantized bvh double data sub tree info ptr set ( swig c ptr , this , bt bvh subtree info data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

ptr

<SENTENCE_START> { collision jni . bt quantized bvh double data sub tree info ptr set ( swig c ptr , this , bt bvh subtree info data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 16.6%)

<SENTENCE_START> { collision jni . bt quantized bvh double data sub tree info ptr set ( swig c ptr , this , bt bvh subtree info data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { collision jni . bt quantized bvh double data sub tree info ptr set ( swig c ptr , this , bt bvh subtree info data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>

(Copy Probability: 16.9%)

<SENTENCE_START> { collision jni . bt quantized bvh double data sub tree info ptr set ( swig c ptr , this , bt bvh subtree info data . get c ptr ( value ) , value ) ; } <SENTENCE_END/>


Original Name get,sub,tree,info,ptr

get

<SENTENCE_START> { long c ptr = collision jni . bt quantized bvh double data sub tree info ptr get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt bvh subtree info data ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 2.1%)

<SENTENCE_START> { long c ptr = collision jni . bt quantized bvh double data sub tree info ptr get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt bvh subtree info data ( c ptr , false ) ; } <SENTENCE_END/>

sub

<SENTENCE_START> { long c ptr = collision jni . bt quantized bvh double data sub tree info ptr get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt bvh subtree info data ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 99.7%)

<SENTENCE_START> { long c ptr = collision jni . bt quantized bvh double data sub tree info ptr get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt bvh subtree info data ( c ptr , false ) ; } <SENTENCE_END/>

tree

<SENTENCE_START> { long c ptr = collision jni . bt quantized bvh double data sub tree info ptr get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt bvh subtree info data ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 99.9%)

<SENTENCE_START> { long c ptr = collision jni . bt quantized bvh double data sub tree info ptr get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt bvh subtree info data ( c ptr , false ) ; } <SENTENCE_END/>

info

<SENTENCE_START> { long c ptr = collision jni . bt quantized bvh double data sub tree info ptr get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt bvh subtree info data ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 71.4%)

<SENTENCE_START> { long c ptr = collision jni . bt quantized bvh double data sub tree info ptr get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt bvh subtree info data ( c ptr , false ) ; } <SENTENCE_END/>

ptr

<SENTENCE_START> { long c ptr = collision jni . bt quantized bvh double data sub tree info ptr get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt bvh subtree info data ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 14.3%)

<SENTENCE_START> { long c ptr = collision jni . bt quantized bvh double data sub tree info ptr get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt bvh subtree info data ( c ptr , false ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { long c ptr = collision jni . bt quantized bvh double data sub tree info ptr get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt bvh subtree info data ( c ptr , false ) ; } <SENTENCE_END/>

(Copy Probability: 14.5%)

<SENTENCE_START> { long c ptr = collision jni . bt quantized bvh double data sub tree info ptr get ( swig c ptr , this ) ; return ( c ptr == 0 ) ? null : new bt bvh subtree info data ( c ptr , false ) ; } <SENTENCE_END/>


Original Name position

position

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 3 , shader program . position attribute ) ; } <SENTENCE_END/>

(Copy Probability: 0.9%)

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 3 , shader program . position attribute ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 3 , shader program . position attribute ) ; } <SENTENCE_END/>

(Copy Probability: 4.6%)

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 3 , shader program . position attribute ) ; } <SENTENCE_END/>


Original Name tex,coords

tex

<SENTENCE_START> { return new vertex attribute ( usage . texture coordinates , 2 , shader program . texcoord attribute + unit , unit ) ; } <SENTENCE_END/>

(Copy Probability: 1.8%)

<SENTENCE_START> { return new vertex attribute ( usage . texture coordinates , 2 , shader program . texcoord attribute + unit , unit ) ; } <SENTENCE_END/>

coords

<SENTENCE_START> { return new vertex attribute ( usage . texture coordinates , 2 , shader program . texcoord attribute + unit , unit ) ; } <SENTENCE_END/>

(Copy Probability: 36.3%)

<SENTENCE_START> { return new vertex attribute ( usage . texture coordinates , 2 , shader program . texcoord attribute + unit , unit ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new vertex attribute ( usage . texture coordinates , 2 , shader program . texcoord attribute + unit , unit ) ; } <SENTENCE_END/>

(Copy Probability: 17.8%)

<SENTENCE_START> { return new vertex attribute ( usage . texture coordinates , 2 , shader program . texcoord attribute + unit , unit ) ; } <SENTENCE_END/>


Original Name normal

normal

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 3 , shader program . normal attribute ) ; } <SENTENCE_END/>

(Copy Probability: 1.1%)

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 3 , shader program . normal attribute ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 3 , shader program . normal attribute ) ; } <SENTENCE_END/>

(Copy Probability: 5.4%)

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 3 , shader program . normal attribute ) ; } <SENTENCE_END/>


Original Name color,packed

color

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 4 , gl 20 . gl unsigned byte , true , shader program . color attribute ) ; } <SENTENCE_END/>

(Copy Probability: 2.1%)

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 4 , gl 20 . gl unsigned byte , true , shader program . color attribute ) ; } <SENTENCE_END/>

packed

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 4 , gl 20 . gl unsigned byte , true , shader program . color attribute ) ; } <SENTENCE_END/>

(Copy Probability: 3.4%)

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 4 , gl 20 . gl unsigned byte , true , shader program . color attribute ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 4 , gl 20 . gl unsigned byte , true , shader program . color attribute ) ; } <SENTENCE_END/>

(Copy Probability: 2.4%)

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 4 , gl 20 . gl unsigned byte , true , shader program . color attribute ) ; } <SENTENCE_END/>


Original Name color,unpacked

color

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 4 , gl 20 . gl float , false , shader program . color attribute ) ; } <SENTENCE_END/>

(Copy Probability: 1.3%)

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 4 , gl 20 . gl float , false , shader program . color attribute ) ; } <SENTENCE_END/>

unpacked

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 4 , gl 20 . gl float , false , shader program . color attribute ) ; } <SENTENCE_END/>

(Copy Probability: 4.5%)

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 4 , gl 20 . gl float , false , shader program . color attribute ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 4 , gl 20 . gl float , false , shader program . color attribute ) ; } <SENTENCE_END/>

(Copy Probability: 2.3%)

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 4 , gl 20 . gl float , false , shader program . color attribute ) ; } <SENTENCE_END/>


Original Name tangent

tangent

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 3 , shader program . tangent attribute ) ; } <SENTENCE_END/>

(Copy Probability: 1.1%)

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 3 , shader program . tangent attribute ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 3 , shader program . tangent attribute ) ; } <SENTENCE_END/>

(Copy Probability: 5.0%)

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 3 , shader program . tangent attribute ) ; } <SENTENCE_END/>


Original Name binormal

binormal

<SENTENCE_START> { return new vertex attribute ( usage . bi normal , 3 , shader program . binormal attribute ) ; } <SENTENCE_END/>

(Copy Probability: 1.1%)

<SENTENCE_START> { return new vertex attribute ( usage . bi normal , 3 , shader program . binormal attribute ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new vertex attribute ( usage . bi normal , 3 , shader program . binormal attribute ) ; } <SENTENCE_END/>

(Copy Probability: 12.6%)

<SENTENCE_START> { return new vertex attribute ( usage . bi normal , 3 , shader program . binormal attribute ) ; } <SENTENCE_END/>


Original Name bone,weight

bone

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 2 , "a_boneWeight" + unit , unit ) ; } <SENTENCE_END/>

(Copy Probability: 1.2%)

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 2 , "a_boneWeight" + unit , unit ) ; } <SENTENCE_END/>

weight

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 2 , "a_boneWeight" + unit , unit ) ; } <SENTENCE_END/>

(Copy Probability: 8.2%)

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 2 , "a_boneWeight" + unit , unit ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 2 , "a_boneWeight" + unit , unit ) ; } <SENTENCE_END/>

(Copy Probability: 8.6%)

<SENTENCE_START> { return new vertex attribute ( usage . %SELF% , 2 , "a_boneWeight" + unit , unit ) ; } <SENTENCE_END/>


Original Name equals

equals

<SENTENCE_START> { return other != null && usage == other . usage && num components == other . num components && alias . %SELF% ( other . alias ) && unit == other . unit ; } <SENTENCE_END/>

(Copy Probability: 0.9%)

<SENTENCE_START> { return other != null && usage == other . usage && num components == other . num components && alias . %SELF% ( other . alias ) && unit == other . unit ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return other != null && usage == other . usage && num components == other . num components && alias . %SELF% ( other . alias ) && unit == other . unit ; } <SENTENCE_END/>

(Copy Probability: 1.8%)

<SENTENCE_START> { return other != null && usage == other . usage && num components == other . num components && alias . %SELF% ( other . alias ) && unit == other . unit ; } <SENTENCE_END/>


Original Name get,key

get

<SENTENCE_START> { return ( usage index << 8 ) + ( unit & 0xFF ) ; } <SENTENCE_END/>

(Copy Probability: 0.6%)

<SENTENCE_START> { return ( usage index << 8 ) + ( unit & 0xFF ) ; } <SENTENCE_END/>

key

<SENTENCE_START> { return ( usage index << 8 ) + ( unit & 0xFF ) ; } <SENTENCE_END/>

(Copy Probability: 0.7%)

<SENTENCE_START> { return ( usage index << 8 ) + ( unit & 0xFF ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { return ( usage index << 8 ) + ( unit & 0xFF ) ; } <SENTENCE_END/>

(Copy Probability: 0.4%)

<SENTENCE_START> { return ( usage index << 8 ) + ( unit & 0xFF ) ; } <SENTENCE_END/>


Original Name add,source

add

<SENTENCE_START> { drag listener listener = new drag listener ( ) { public void drag start ( input event event , float x , float y , int pointer ) { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . drag start ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } public void drag ( input event event , float x , float y , int pointer ) { if ( payload == null ) return ; if ( pointer != active pointer ) return ; stage stage = event . get stage ( ) ; touchable drag actor touchable = null ; if ( drag actor != null ) { drag actor touchable = drag actor . get touchable ( ) ; drag actor . set touchable ( touchable . disabled ) ; } target new target = null ; is valid target = false ; float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; actor hit = event . get stage ( ) . hit ( stage x , stage y , true ) ; if ( hit == null ) hit = event . get stage ( ) . hit ( stage x , stage y , false ) ; if ( hit != null ) { for ( int i = 0 , n = targets . size ; i < n ; i ++ ) { target target = targets . get ( i ) ; if ( ! target . actor . is ascendant of ( hit ) ) continue ; new target = target ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; break ; } } if ( new target != target ) { if ( target != null ) target . reset ( source , payload ) ; target = new target ; } if ( new target != null ) { is valid target = new target . drag ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } if ( drag actor != null ) drag actor . set touchable ( drag actor touchable ) ; actor actor = null ; if ( target != null ) actor = is valid target ? payload . valid drag actor : payload . invalid drag actor ; if ( actor == null ) actor = payload . drag actor ; if ( actor == null ) return ; if ( drag actor != actor ) { if ( drag actor != null ) drag actor . remove ( ) ; drag actor = actor ; stage . add actor ( actor ) ; } float actor x = event . get stage x ( ) + drag actor x ; float actor y = event . get stage y ( ) + drag actor y - actor . get height ( ) ; if ( keep within stage ) { if ( actor x < 0 ) actor x = 0 ; if ( actor y < 0 ) actor y = 0 ; if ( actor x + actor . get width ( ) > stage . get width ( ) ) actor x = stage . get width ( ) - actor . get width ( ) ; if ( actor y + actor . get height ( ) > stage . get height ( ) ) actor y = stage . get height ( ) - actor . get height ( ) ; } actor . set position ( actor x , actor y ) ; } public void drag stop ( input event event , float x , float y , int pointer ) { if ( pointer != active pointer ) return ; active pointer = - 1 ; if ( payload == null ) return ; if ( system . current time millis ( ) - drag start time < drag time ) is valid target = false ; if ( drag actor != null ) drag actor . remove ( ) ; if ( is valid target ) { float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; target . drop ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } source . drag stop ( event , x , y , pointer , payload , is valid target ? target : null ) ; if ( target != null ) target . reset ( source , payload ) ; payload = null ; target = null ; is valid target = false ; drag actor = null ; } } ; listener . set tap square size ( tap square size ) ; listener . set button ( button ) ; source . actor . add capture listener ( listener ) ; source listeners . put ( source , listener ) ; } <SENTENCE_END/>

(Copy Probability: 3.9%)

<SENTENCE_START> { drag listener listener = new drag listener ( ) { public void drag start ( input event event , float x , float y , int pointer ) { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . drag start ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } public void drag ( input event event , float x , float y , int pointer ) { if ( payload == null ) return ; if ( pointer != active pointer ) return ; stage stage = event . get stage ( ) ; touchable drag actor touchable = null ; if ( drag actor != null ) { drag actor touchable = drag actor . get touchable ( ) ; drag actor . set touchable ( touchable . disabled ) ; } target new target = null ; is valid target = false ; float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; actor hit = event . get stage ( ) . hit ( stage x , stage y , true ) ; if ( hit == null ) hit = event . get stage ( ) . hit ( stage x , stage y , false ) ; if ( hit != null ) { for ( int i = 0 , n = targets . size ; i < n ; i ++ ) { target target = targets . get ( i ) ; if ( ! target . actor . is ascendant of ( hit ) ) continue ; new target = target ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; break ; } } if ( new target != target ) { if ( target != null ) target . reset ( source , payload ) ; target = new target ; } if ( new target != null ) { is valid target = new target . drag ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } if ( drag actor != null ) drag actor . set touchable ( drag actor touchable ) ; actor actor = null ; if ( target != null ) actor = is valid target ? payload . valid drag actor : payload . invalid drag actor ; if ( actor == null ) actor = payload . drag actor ; if ( actor == null ) return ; if ( drag actor != actor ) { if ( drag actor != null ) drag actor . remove ( ) ; drag actor = actor ; stage . add actor ( actor ) ; } float actor x = event . get stage x ( ) + drag actor x ; float actor y = event . get stage y ( ) + drag actor y - actor . get height ( ) ; if ( keep within stage ) { if ( actor x < 0 ) actor x = 0 ; if ( actor y < 0 ) actor y = 0 ; if ( actor x + actor . get width ( ) > stage . get width ( ) ) actor x = stage . get width ( ) - actor . get width ( ) ; if ( actor y + actor . get height ( ) > stage . get height ( ) ) actor y = stage . get height ( ) - actor . get height ( ) ; } actor . set position ( actor x , actor y ) ; } public void drag stop ( input event event , float x , float y , int pointer ) { if ( pointer != active pointer ) return ; active pointer = - 1 ; if ( payload == null ) return ; if ( system . current time millis ( ) - drag start time < drag time ) is valid target = false ; if ( drag actor != null ) drag actor . remove ( ) ; if ( is valid target ) { float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; target . drop ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } source . drag stop ( event , x , y , pointer , payload , is valid target ? target : null ) ; if ( target != null ) target . reset ( source , payload ) ; payload = null ; target = null ; is valid target = false ; drag actor = null ; } } ; listener . set tap square size ( tap square size ) ; listener . set button ( button ) ; source . actor . add capture listener ( listener ) ; source listeners . put ( source , listener ) ; } <SENTENCE_END/>

source

<SENTENCE_START> { drag listener listener = new drag listener ( ) { public void drag start ( input event event , float x , float y , int pointer ) { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . drag start ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } public void drag ( input event event , float x , float y , int pointer ) { if ( payload == null ) return ; if ( pointer != active pointer ) return ; stage stage = event . get stage ( ) ; touchable drag actor touchable = null ; if ( drag actor != null ) { drag actor touchable = drag actor . get touchable ( ) ; drag actor . set touchable ( touchable . disabled ) ; } target new target = null ; is valid target = false ; float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; actor hit = event . get stage ( ) . hit ( stage x , stage y , true ) ; if ( hit == null ) hit = event . get stage ( ) . hit ( stage x , stage y , false ) ; if ( hit != null ) { for ( int i = 0 , n = targets . size ; i < n ; i ++ ) { target target = targets . get ( i ) ; if ( ! target . actor . is ascendant of ( hit ) ) continue ; new target = target ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; break ; } } if ( new target != target ) { if ( target != null ) target . reset ( source , payload ) ; target = new target ; } if ( new target != null ) { is valid target = new target . drag ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } if ( drag actor != null ) drag actor . set touchable ( drag actor touchable ) ; actor actor = null ; if ( target != null ) actor = is valid target ? payload . valid drag actor : payload . invalid drag actor ; if ( actor == null ) actor = payload . drag actor ; if ( actor == null ) return ; if ( drag actor != actor ) { if ( drag actor != null ) drag actor . remove ( ) ; drag actor = actor ; stage . add actor ( actor ) ; } float actor x = event . get stage x ( ) + drag actor x ; float actor y = event . get stage y ( ) + drag actor y - actor . get height ( ) ; if ( keep within stage ) { if ( actor x < 0 ) actor x = 0 ; if ( actor y < 0 ) actor y = 0 ; if ( actor x + actor . get width ( ) > stage . get width ( ) ) actor x = stage . get width ( ) - actor . get width ( ) ; if ( actor y + actor . get height ( ) > stage . get height ( ) ) actor y = stage . get height ( ) - actor . get height ( ) ; } actor . set position ( actor x , actor y ) ; } public void drag stop ( input event event , float x , float y , int pointer ) { if ( pointer != active pointer ) return ; active pointer = - 1 ; if ( payload == null ) return ; if ( system . current time millis ( ) - drag start time < drag time ) is valid target = false ; if ( drag actor != null ) drag actor . remove ( ) ; if ( is valid target ) { float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; target . drop ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } source . drag stop ( event , x , y , pointer , payload , is valid target ? target : null ) ; if ( target != null ) target . reset ( source , payload ) ; payload = null ; target = null ; is valid target = false ; drag actor = null ; } } ; listener . set tap square size ( tap square size ) ; listener . set button ( button ) ; source . actor . add capture listener ( listener ) ; source listeners . put ( source , listener ) ; } <SENTENCE_END/>

(Copy Probability: 10.7%)

<SENTENCE_START> { drag listener listener = new drag listener ( ) { public void drag start ( input event event , float x , float y , int pointer ) { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . drag start ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } public void drag ( input event event , float x , float y , int pointer ) { if ( payload == null ) return ; if ( pointer != active pointer ) return ; stage stage = event . get stage ( ) ; touchable drag actor touchable = null ; if ( drag actor != null ) { drag actor touchable = drag actor . get touchable ( ) ; drag actor . set touchable ( touchable . disabled ) ; } target new target = null ; is valid target = false ; float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; actor hit = event . get stage ( ) . hit ( stage x , stage y , true ) ; if ( hit == null ) hit = event . get stage ( ) . hit ( stage x , stage y , false ) ; if ( hit != null ) { for ( int i = 0 , n = targets . size ; i < n ; i ++ ) { target target = targets . get ( i ) ; if ( ! target . actor . is ascendant of ( hit ) ) continue ; new target = target ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; break ; } } if ( new target != target ) { if ( target != null ) target . reset ( source , payload ) ; target = new target ; } if ( new target != null ) { is valid target = new target . drag ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } if ( drag actor != null ) drag actor . set touchable ( drag actor touchable ) ; actor actor = null ; if ( target != null ) actor = is valid target ? payload . valid drag actor : payload . invalid drag actor ; if ( actor == null ) actor = payload . drag actor ; if ( actor == null ) return ; if ( drag actor != actor ) { if ( drag actor != null ) drag actor . remove ( ) ; drag actor = actor ; stage . add actor ( actor ) ; } float actor x = event . get stage x ( ) + drag actor x ; float actor y = event . get stage y ( ) + drag actor y - actor . get height ( ) ; if ( keep within stage ) { if ( actor x < 0 ) actor x = 0 ; if ( actor y < 0 ) actor y = 0 ; if ( actor x + actor . get width ( ) > stage . get width ( ) ) actor x = stage . get width ( ) - actor . get width ( ) ; if ( actor y + actor . get height ( ) > stage . get height ( ) ) actor y = stage . get height ( ) - actor . get height ( ) ; } actor . set position ( actor x , actor y ) ; } public void drag stop ( input event event , float x , float y , int pointer ) { if ( pointer != active pointer ) return ; active pointer = - 1 ; if ( payload == null ) return ; if ( system . current time millis ( ) - drag start time < drag time ) is valid target = false ; if ( drag actor != null ) drag actor . remove ( ) ; if ( is valid target ) { float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; target . drop ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } source . drag stop ( event , x , y , pointer , payload , is valid target ? target : null ) ; if ( target != null ) target . reset ( source , payload ) ; payload = null ; target = null ; is valid target = false ; drag actor = null ; } } ; listener . set tap square size ( tap square size ) ; listener . set button ( button ) ; source . actor . add capture listener ( listener ) ; source listeners . put ( source , listener ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { drag listener listener = new drag listener ( ) { public void drag start ( input event event , float x , float y , int pointer ) { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . drag start ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } public void drag ( input event event , float x , float y , int pointer ) { if ( payload == null ) return ; if ( pointer != active pointer ) return ; stage stage = event . get stage ( ) ; touchable drag actor touchable = null ; if ( drag actor != null ) { drag actor touchable = drag actor . get touchable ( ) ; drag actor . set touchable ( touchable . disabled ) ; } target new target = null ; is valid target = false ; float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; actor hit = event . get stage ( ) . hit ( stage x , stage y , true ) ; if ( hit == null ) hit = event . get stage ( ) . hit ( stage x , stage y , false ) ; if ( hit != null ) { for ( int i = 0 , n = targets . size ; i < n ; i ++ ) { target target = targets . get ( i ) ; if ( ! target . actor . is ascendant of ( hit ) ) continue ; new target = target ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; break ; } } if ( new target != target ) { if ( target != null ) target . reset ( source , payload ) ; target = new target ; } if ( new target != null ) { is valid target = new target . drag ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } if ( drag actor != null ) drag actor . set touchable ( drag actor touchable ) ; actor actor = null ; if ( target != null ) actor = is valid target ? payload . valid drag actor : payload . invalid drag actor ; if ( actor == null ) actor = payload . drag actor ; if ( actor == null ) return ; if ( drag actor != actor ) { if ( drag actor != null ) drag actor . remove ( ) ; drag actor = actor ; stage . add actor ( actor ) ; } float actor x = event . get stage x ( ) + drag actor x ; float actor y = event . get stage y ( ) + drag actor y - actor . get height ( ) ; if ( keep within stage ) { if ( actor x < 0 ) actor x = 0 ; if ( actor y < 0 ) actor y = 0 ; if ( actor x + actor . get width ( ) > stage . get width ( ) ) actor x = stage . get width ( ) - actor . get width ( ) ; if ( actor y + actor . get height ( ) > stage . get height ( ) ) actor y = stage . get height ( ) - actor . get height ( ) ; } actor . set position ( actor x , actor y ) ; } public void drag stop ( input event event , float x , float y , int pointer ) { if ( pointer != active pointer ) return ; active pointer = - 1 ; if ( payload == null ) return ; if ( system . current time millis ( ) - drag start time < drag time ) is valid target = false ; if ( drag actor != null ) drag actor . remove ( ) ; if ( is valid target ) { float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; target . drop ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } source . drag stop ( event , x , y , pointer , payload , is valid target ? target : null ) ; if ( target != null ) target . reset ( source , payload ) ; payload = null ; target = null ; is valid target = false ; drag actor = null ; } } ; listener . set tap square size ( tap square size ) ; listener . set button ( button ) ; source . actor . add capture listener ( listener ) ; source listeners . put ( source , listener ) ; } <SENTENCE_END/>

(Copy Probability: 9.5%)

<SENTENCE_START> { drag listener listener = new drag listener ( ) { public void drag start ( input event event , float x , float y , int pointer ) { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . drag start ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } public void drag ( input event event , float x , float y , int pointer ) { if ( payload == null ) return ; if ( pointer != active pointer ) return ; stage stage = event . get stage ( ) ; touchable drag actor touchable = null ; if ( drag actor != null ) { drag actor touchable = drag actor . get touchable ( ) ; drag actor . set touchable ( touchable . disabled ) ; } target new target = null ; is valid target = false ; float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; actor hit = event . get stage ( ) . hit ( stage x , stage y , true ) ; if ( hit == null ) hit = event . get stage ( ) . hit ( stage x , stage y , false ) ; if ( hit != null ) { for ( int i = 0 , n = targets . size ; i < n ; i ++ ) { target target = targets . get ( i ) ; if ( ! target . actor . is ascendant of ( hit ) ) continue ; new target = target ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; break ; } } if ( new target != target ) { if ( target != null ) target . reset ( source , payload ) ; target = new target ; } if ( new target != null ) { is valid target = new target . drag ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } if ( drag actor != null ) drag actor . set touchable ( drag actor touchable ) ; actor actor = null ; if ( target != null ) actor = is valid target ? payload . valid drag actor : payload . invalid drag actor ; if ( actor == null ) actor = payload . drag actor ; if ( actor == null ) return ; if ( drag actor != actor ) { if ( drag actor != null ) drag actor . remove ( ) ; drag actor = actor ; stage . add actor ( actor ) ; } float actor x = event . get stage x ( ) + drag actor x ; float actor y = event . get stage y ( ) + drag actor y - actor . get height ( ) ; if ( keep within stage ) { if ( actor x < 0 ) actor x = 0 ; if ( actor y < 0 ) actor y = 0 ; if ( actor x + actor . get width ( ) > stage . get width ( ) ) actor x = stage . get width ( ) - actor . get width ( ) ; if ( actor y + actor . get height ( ) > stage . get height ( ) ) actor y = stage . get height ( ) - actor . get height ( ) ; } actor . set position ( actor x , actor y ) ; } public void drag stop ( input event event , float x , float y , int pointer ) { if ( pointer != active pointer ) return ; active pointer = - 1 ; if ( payload == null ) return ; if ( system . current time millis ( ) - drag start time < drag time ) is valid target = false ; if ( drag actor != null ) drag actor . remove ( ) ; if ( is valid target ) { float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; target . drop ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } source . drag stop ( event , x , y , pointer , payload , is valid target ? target : null ) ; if ( target != null ) target . reset ( source , payload ) ; payload = null ; target = null ; is valid target = false ; drag actor = null ; } } ; listener . set tap square size ( tap square size ) ; listener . set button ( button ) ; source . actor . add capture listener ( listener ) ; source listeners . put ( source , listener ) ; } <SENTENCE_END/>


Original Name drag,start

drag

<SENTENCE_START> { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . %SELF% ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } <SENTENCE_END/>

(Copy Probability: 3.2%)

<SENTENCE_START> { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . %SELF% ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } <SENTENCE_END/>

start

<SENTENCE_START> { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . %SELF% ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } <SENTENCE_END/>

(Copy Probability: 21.1%)

<SENTENCE_START> { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . %SELF% ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } <SENTENCE_END/>

%END%

<SENTENCE_START> { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . %SELF% ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } <SENTENCE_END/>

(Copy Probability: 15.8%)

<SENTENCE_START> { if ( active pointer != - 1 ) { event . stop ( ) ; return ; } active pointer = pointer ; drag start time = system . current time millis ( ) ; payload = source . %SELF% ( event , get touch down x ( ) , get touch down y ( ) , pointer ) ; event . stop ( ) ; if ( cancel touch focus && payload != null ) source . get actor ( ) . get stage ( ) . cancel touch focus except ( this , source . get actor ( ) ) ; } <SENTENCE_END/>


Original Name drag

drag

<SENTENCE_START> { if ( payload == null ) return ; if ( pointer != active pointer ) return ; stage stage = event . get stage ( ) ; touchable drag actor touchable = null ; if ( drag actor != null ) { drag actor touchable = drag actor . get touchable ( ) ; drag actor . set touchable ( touchable . disabled ) ; } target new target = null ; is valid target = false ; float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; actor hit = event . get stage ( ) . hit ( stage x , stage y , true ) ; if ( hit == null ) hit = event . get stage ( ) . hit ( stage x , stage y , false ) ; if ( hit != null ) { for ( int i = 0 , n = targets . size ; i < n ; i ++ ) { target target = targets . get ( i ) ; if ( ! target . actor . is ascendant of ( hit ) ) continue ; new target = target ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; break ; } } if ( new target != target ) { if ( target != null ) target . reset ( source , payload ) ; target = new target ; } if ( new target != null ) { is valid target = new target . %SELF% ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } if ( drag actor != null ) drag actor . set touchable ( drag actor touchable ) ; actor actor = null ; if ( target != null ) actor = is valid target ? payload . valid drag actor : payload . invalid drag actor ; if ( actor == null ) actor = payload . drag actor ; if ( actor == null ) return ; if ( drag actor != actor ) { if ( drag actor != null ) drag actor . remove ( ) ; drag actor = actor ; stage . add actor ( actor ) ; } float actor x = event . get stage x ( ) + drag actor x ; float actor y = event . get stage y ( ) + drag actor y - actor . get height ( ) ; if ( keep within stage ) { if ( actor x < 0 ) actor x = 0 ; if ( actor y < 0 ) actor y = 0 ; if ( actor x + actor . get width ( ) > stage . get width ( ) ) actor x = stage . get width ( ) - actor . get width ( ) ; if ( actor y + actor . get height ( ) > stage . get height ( ) ) actor y = stage . get height ( ) - actor . get height ( ) ; } actor . set position ( actor x , actor y ) ; } <SENTENCE_END/>

(Copy Probability: 3.8%)

<SENTENCE_START> { if ( payload == null ) return ; if ( pointer != active pointer ) return ; stage stage = event . get stage ( ) ; touchable drag actor touchable = null ; if ( drag actor != null ) { drag actor touchable = drag actor . get touchable ( ) ; drag actor . set touchable ( touchable . disabled ) ; } target new target = null ; is valid target = false ; float stage x = event . get stage x ( ) + touch offset x , stage y = event . get stage y ( ) + touch offset y ; actor hit = event . get stage ( ) . hit ( stage x , stage y , true ) ; if ( hit == null ) hit = event . get stage ( ) . hit ( stage x , stage y , false ) ; if ( hit != null ) { for ( int i = 0 , n = targets . size ; i < n ; i ++ ) { target target = targets . get ( i ) ; if ( ! target . actor . is ascendant of ( hit ) ) continue ; new target = target ; target . actor . stage to local coordinates ( tmp vector . set ( stage x , stage y ) ) ; break ; } } if ( new target != target ) { if ( target != null ) target . reset ( source , payload ) ; target = new target ; } if ( new target != null ) { is valid target = new target . %SELF% ( source , payload , tmp vector . x , tmp vector . y , pointer ) ; } if ( drag actor != null ) drag actor . set touchable ( drag actor touchable ) ; actor actor = null ; if ( target != null ) actor = is valid target ? payload . valid drag actor : payload . invalid drag actor ; if ( actor ==