/external/replicaisland/src/com/replica/replicaisland/ |
D | SimplePhysicsComponent.java | 44 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()
|
D | EnemyAnimationComponent.java | 65 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()
|
D | AnimationComponent.java | 111 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()
|
D | LaunchProjectileComponent.java | 203 public final void setVelocityX(float velocityX) { in setVelocityX() argument 204 mVelocityX = velocityX; in setVelocityX()
|
/external/opencv/cv/src/ |
D | cvoptflowhs.cpp | 91 float* velocityX, in icvCalcOpticalFlowHS_8u32fR() argument 323 float *vx = velocityX; in icvCalcOpticalFlowHS_8u32fR() 363 averageX = (velocityX[Line2] + in icvCalcOpticalFlowHS_8u32fR() 364 velocityX[Line2 + 1] + velocityX[Line1] + velocityX[Line3]) / 4; in icvCalcOpticalFlowHS_8u32fR() 380 tmp = (float)fabs(velocityX[Line2] - VelBufX[i & 1][0]); in icvCalcOpticalFlowHS_8u32fR() 389 averageX = (velocityX[Line2 + j - 1] + in icvCalcOpticalFlowHS_8u32fR() 390 velocityX[Line2 + j + 1] + in icvCalcOpticalFlowHS_8u32fR() 391 velocityX[Line1 + j] + velocityX[Line3 + j]) / 4; in icvCalcOpticalFlowHS_8u32fR() 406 tmp = (float)fabs(velocityX[Line2 + j] - VelBufX[i & 1][j]); in icvCalcOpticalFlowHS_8u32fR() 414 averageX = (velocityX[Line2 + imageWidth - 2] + in icvCalcOpticalFlowHS_8u32fR() [all …]
|
D | cvoptflowbm.cpp | 108 float *velocityX, float *velocityY, in icvCalcOpticalFlowBM_8u32fR() argument 123 int *int_velocityX = (int *) velocityX; in icvCalcOpticalFlowBM_8u32fR() 153 velStep /= sizeof(velocityX[0]); in icvCalcOpticalFlowBM_8u32fR() 332 float *velxf = velocityX, *velyf = velocityY; in icvCalcOpticalFlowBM_8u32fR() 333 int* velx = (int*)velocityX, *vely = (int*)velocityY; in icvCalcOpticalFlowBM_8u32fR() 529 float *velxf = velocityX, *velyf = velocityY; in icvCalcOpticalFlowBM_8u32fR() 530 int* velx = (int*)velocityX, *vely = (int*)velocityY; in icvCalcOpticalFlowBM_8u32fR()
|
D | cvoptflowlk.cpp | 88 float *velocityX, in icvCalcOpticalFlowLK_8u32fR() argument 148 velStep /= sizeof(velocityX[0]); in icvCalcOpticalFlowLK_8u32fR() 507 velocityX[j] = deltaX * Idelta; in icvCalcOpticalFlowLK_8u32fR() 520 velocityX[j] = (A1B2 + A2) * temp; in icvCalcOpticalFlowLK_8u32fR() 526 velocityX[j] = 0; in icvCalcOpticalFlowLK_8u32fR() 535 velocityX += velStep; in icvCalcOpticalFlowLK_8u32fR()
|
/external/libgdx/extensions/gdx-box2d/gdx-box2d/src/com/badlogic/gdx/physics/box2d/graphics/ |
D | ParticleEmitterBox2D.java | 103 public void translate (float velocityX, float velocityY) { in translate() argument 106 if ((velocityX * velocityX + velocityY * velocityY) < EPSILON) return; in translate() 115 endPoint.set(x + velocityX, y + velocityY); in translate() 124 velocityX *= angleCos; in translate() 128 super.translate(velocityX, velocityY); in translate()
|
/external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/ |
D | ActivityFlinger.java | 129 … 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/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/ |
D | GestureDetectorTest.java | 61 public boolean fling (float velocityX, float velocityY, int button) { in fling() argument 62 Gdx.app.log("GestureDetectorTest", "fling " + velocityX + ", " + velocityY); in fling() 64 velX = camera.zoom * velocityX * 0.5f; in fling()
|
D | BulletTestCollection.java | 185 public boolean fling (float velocityX, float velocityY, int button) { in fling() argument 186 if (tests[testIndex].fling(velocityX, velocityY, button) == false) next(); in fling()
|
D | Scene2dTest.java | 116 public void fling (InputEvent event, float velocityX, float velocityY, int button) { in create() 117 System.out.println("fling " + velocityX + ", " + velocityY); in create()
|
D | Box2DTestCollection.java | 151 public boolean fling (float velocityX, float velocityY, int button) { in fling() argument
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/ui/ |
D | ScrollPane.java | 74 float velocityX, velocityY; field in ScrollPane 195 velocityX = x; in ScrollPane() 286 amountX -= velocityX * alpha * delta; in act() 291 if (amountX == -overscrollDistance) velocityX = 0; in act() 292 if (amountX >= maxX + overscrollDistance) velocityX = 0; in act() 298 velocityX = 0; in act() 621 public void fling (float flingTime, float velocityX, float velocityY) { in fling() argument 623 this.velocityX = velocityX; in fling() 933 public void setVelocityX (float velocityX) { in setVelocityX() argument 934 this.velocityX = velocityX; in setVelocityX() [all …]
|
/external/libgdx/gdx/src/com/badlogic/gdx/scenes/scene2d/utils/ |
D | ActorGestureListener.java | 60 public boolean fling (float velocityX, float velocityY, int button) { in ActorGestureListener() 61 stageToLocalAmount(tmpCoords.set(velocityX, velocityY)); in ActorGestureListener() 141 public void fling (InputEvent event, float velocityX, float velocityY, int button) { in fling() argument
|
/external/libgdx/tests/gdx-tests/src/com/badlogic/gdx/tests/bullet/ |
D | BulletTest.java | 117 public boolean fling (float velocityX, float velocityY, int button) { in fling() argument
|
/external/libgdx/gdx/src/com/badlogic/gdx/input/ |
D | GestureDetector.java | 300 public boolean fling (float velocityX, float velocityY, int button); in fling() argument 347 public boolean fling (float velocityX, float velocityY, int button) { in fling() argument
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g2d/ |
D | ParticleEmitter.java | 540 float velocityX, velocityY; in updateParticle() local 543 velocityX = velocity * MathUtils.cosDeg(angle); in updateParticle() 551 velocityX = velocity * particle.angleCos; in updateParticle() 561 velocityX += (particle.wind + particle.windDiff * windValue.getScale(percent)) * delta; in updateParticle() 566 particle.translate(velocityX, velocityY); in updateParticle()
|
/external/libgdx/gdx/src/com/badlogic/gdx/graphics/g3d/utils/ |
D | CameraInputController.java | 98 public boolean fling (float velocityX, float velocityY, int button) { in fling() argument
|
/external/sl4a/ScriptingLayerForAndroid/src/org/connectbot/ |
D | ConsoleActivity.java | 356 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { in onCreate()
|