Home
last modified time | relevance | path

Searched refs:velocityX (Results 1 – 17 of 17) 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/opencv/cv/src/
Dcvoptflowhs.cpp91 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 …]
Dcvoptflowbm.cpp108 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()
Dcvoptflowlk.cpp88 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/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/sl4a/ScriptingLayerForAndroid/src/org/connectbot/
DConsoleActivity.java355 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { in onCreate()
/external/robolectric/v1/lib/main/
Dandroid-support-v4.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/support/ android/ ...
Dandroid.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/android/ com/ ...
/external/robolectric/v3/runtime/
Dandroid-all-5.1.1_r9-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-5.0.0_r2-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.4_r1-robolectric-1.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/ ...
Dandroid-all-4.2.2_r1.2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.3_r2-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...
Dandroid-all-4.1.2_r1-robolectric-0.jarMETA-INF/ META-INF/MANIFEST.MF android/ android/accessibilityservice/ android/ ...