Home
last modified time | relevance | path

Searched refs:velocityY (Results 1 – 8 of 8) sorted by relevance

/external/replicaisland/src/com/replica/replicaisland/
DSimplePhysicsComponent.java45 float velocityY = parentObject.getVelocity().y + impulse.y; in update() local
47 if ((parentObject.touchingCeiling() && velocityY > 0.0f) in update()
48 || (parentObject.touchingGround() && velocityY < 0.0f)) { in update()
49 velocityY = -velocityY * mBounciness; in update()
51 if (Utils.close(velocityY, 0.0f)) { in update()
52 velocityY = 0.0f; in update()
65 parentObject.getVelocity().set(velocityX, velocityY); in update()
DAnimationComponent.java112 final float velocityY = parentObject.getVelocity().y; in update() local
150 && velocityY >= 0.0f) { in update()
240 if (Math.abs(velocityX) < 100.0f && velocityY > 10.0f) { in update()
DLaunchProjectileComponent.java207 public final void setVelocityY(float velocityY) { in setVelocityY() argument
208 mVelocityY = velocityY; in setVelocityY()
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/
DActivityFlinger.java129 … public boolean onFling(MotionEvent event1, MotionEvent event2, float velocityX, float velocityY) { in onFling() argument
144 return super.onFling(event1, event2, velocityX, velocityY); in onFling()
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
DShadowGestureDetectorTest.java122 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { in onFling() argument
/external/drrickorang/LoopbackApp/app/src/main/java/org/drrickorang/loopback/
DWavePlotView.java565 float velocityX, float velocityY) { in onFling() argument
566 Log.d(DEBUG_TAG, "onFling: VelocityX: " + velocityX + " velocityY: " + velocityY); in onFling()
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DSubsamplingScaleImageView.java550 … public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { in setGestureDetector()
551 …(e1.getY() - e2.getY()) > 50) && (Math.abs(velocityX) > 500 || Math.abs(velocityY) > 500) && !isZo… in setGestureDetector()
552 …vTranslateEnd = new PointF(vTranslate.x + (velocityX * 0.25f), vTranslate.y + (velocityY * 0.25f)); in setGestureDetector()
558 return super.onFling(e1, e2, velocityX, velocityY); in setGestureDetector()
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DConsoleActivity.java355 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { in onCreate()