Home
last modified time | relevance | path

Searched refs:velocityX (Results 1 – 7 of 7) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
DSimplePhysicsComponent.java44 float velocityX = parentObject.getVelocity().x + impulse.x; in update() local
56 if ((parentObject.touchingRightWall() && velocityX > 0.0f) in update()
57 || (parentObject.touchingLeftWall() && velocityX < 0.0f)){ in update()
58 velocityX = -velocityX * mBounciness; in update()
60 if (Utils.close(velocityX, 0.0f)) { in update()
61 velocityX = 0.0f; in update()
65 parentObject.getVelocity().set(velocityX, velocityY); in update()
DEnemyAnimationComponent.java65 final float velocityX = parentObject.getVelocity().x; in update() local
80 } else if (Math.abs(velocityX) > 0.0f) { in update()
90 if (!Utils.close(velocityX, 0.0f)) { in update()
91 if (velocityX < 0.0f && targetVelocityX < 0.0f) { in update()
93 } else if (velocityX > 0.0f && targetVelocityX > 0.0f) { in update()
101 } else if (Math.abs(velocityX) == 0.0f) { in update()
DAnimationComponent.java111 final float velocityX = parentObject.getVelocity().x; in update() local
217 if (Utils.close(velocityX, 0.0f, 30.0f)) { in update()
219 } else if (Math.abs(velocityX) > 300.0f) { in update()
240 if (Math.abs(velocityX) < 100.0f && velocityY > 10.0f) { in update()
242 } else if (Math.abs(velocityX) > 300.0f) { in update()
249 if (Utils.close(velocityX, 0.0f, 1.0f)) { in update()
251 } else if (Math.abs(velocityX) > 300.0f) { in update()
272 if (velocityX > 0.0f) { in update()
274 } else if (velocityX < 0.0f) { in update()
DLaunchProjectileComponent.java203 public final void setVelocityX(float velocityX) { in setVelocityX() argument
204 mVelocityX = velocityX; in setVelocityX()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/
DActivityFlinger.java129 … public boolean onFling(MotionEvent event1, MotionEvent event2, float velocityX, float velocityY) { in onFling() argument
134 && Math.abs(velocityX) > SWIPE_THRESHOLD_VELOCITY) { in onFling()
139 && Math.abs(velocityX) > SWIPE_THRESHOLD_VELOCITY) { in onFling()
144 return super.onFling(event1, event2, velocityX, velocityY); in onFling()
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DWavePlotView.java563 float velocityX, float velocityY) { in onFling() argument
564 Log.d(DEBUG_TAG, "onFling: VelocityX: " + velocityX + " velocityY: " + velocityY); in onFling()
567 (int) (-velocityX * getZoom()), in onFling()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DConsoleActivity.java355 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { in onCreate()