/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/chromium_org/tools/perf/page_sets/tough_canvas_cases/canvas2d_balls_common/ |
D | bouncing_balls.js | 89 var velocityX = Math.random()*maxInitVelocity*2 - maxInitVelocity; 107 velocityX = Math.random()*maxInitVelocity*2 - maxInitVelocity; 113 angularVelocity = 2*velocityX*canvasWidth/ballDiameter; 121 var deltaX = velocityX*remainingTime; 125 remainingTime -= (borderX - x)/velocityX; 129 remainingTime -= ((1-borderX) - x)/velocityX; 132 velocityX = -elasticity*velocityX; 133 deltaX = velocityX*remainingTime;
|
/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/chromium_org/third_party/WebKit/Source/platform/ |
D | PlatformGestureEvent.h | 46 …l ctrlKey, bool altKey, bool metaKey, float deltaX, float deltaY, float velocityX, float velocityY) in PlatformGestureEvent() argument 59 m_data.m_scrollUpdate.m_velocityX = velocityX; in PlatformGestureEvent() 88 float velocityX() const in velocityX() function
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/third_party/ |
D | GestureDetector.java | 125 boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY); in onFling() argument 183 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, in onFling() argument 627 final float velocityX = velocityTracker.getXVelocity(pointerId); in onTouchEvent() local 630 || (Math.abs(velocityX) > mMinimumFlingVelocity)){ in onTouchEvent() 631 handled = mListener.onFling(mCurrentDownEvent, ev, velocityX, velocityY); in onTouchEvent()
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
D | AwScrollOffsetManager.java | 260 public void onFlingStartGesture(int velocityX, int velocityY) { in onFlingStartGesture() argument 261 mLastFlingVelocityX = velocityX; in onFlingStartGesture() 281 public void flingScroll(int velocityX, int velocityY) { in flingScroll() argument 287 mScroller.fling(scrollX, scrollY, velocityX, velocityY, in flingScroll()
|
D | AwContents.java | 405 public void onFlingStartGesture(int velocityX, int velocityY) { in onFlingStartGesture() argument 406 mScrollOffsetManager.onFlingStartGesture(velocityX, velocityY); in onFlingStartGesture() 1409 public void flingScroll(int velocityX, int velocityY) { in flingScroll() argument 1410 mScrollOffsetManager.flingScroll(velocityX, velocityY); in flingScroll()
|
/external/chromium/chrome/browser/resources/ntp4/ |
D | touch_handler.js | 717 var velocityX = this.recentTouchesX_.length ? 724 velocityX = this.correctVelocity_(velocityX); 728 x: velocityX,
|
/external/chromium_org/ui/webui/resources/js/cr/ui/ |
D | touch_handler.js | 739 var velocityX = this.recentTouchesX_.length ? 746 velocityX = this.correctVelocity_(velocityX); 750 x: velocityX,
|
/external/chromium/chrome/browser/resources/touch_ntp/ |
D | touchhandler.js | 717 var velocityX = this.recentTouchesX_.length ? 724 velocityX = this.correctVelocity_(velocityX); 728 x: velocityX,
|
/external/chromium_org/content/browser/renderer_host/ |
D | overscroll_controller.cc | 169 if (gesture.data.flingStart.velocityX < 0) in DispatchEventCompletesAction() 173 if (gesture.data.flingStart.velocityX > 0) in DispatchEventCompletesAction() 254 float velocity_x = gesture.data.flingStart.velocityX; in ProcessEventForOverscroll()
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
D | ContentViewGestureHandler.java | 387 float velocityX, float velocityY) { in initGestureDetectors() 393 velocityX = 0; in initGestureDetectors() 398 (int) velocityX, (int) velocityY); in initGestureDetectors() 604 void fling(long timeMs, int x, int y, int velocityX, int velocityY) { in fling() argument 607 if (velocityX == 0 && velocityY == 0) { in fling() 621 mExtraParamBundleFling.putInt(VELOCITY_X, velocityX); in fling()
|
D | ContentView.java | 310 public void fling(long timeMs, int x, int y, int velocityX, int velocityY) { in fling() argument 311 mContentViewCore.getContentViewGestureHandler().fling(timeMs, x, y, velocityX, velocityY); in fling()
|
/external/chromium_org/third_party/WebKit/public/web/ |
D | WebInputEvent.h | 443 float velocityX; member 448 float velocityX; member
|
/external/chromium_org/content/renderer/input/ |
D | input_handler_proxy_unittest.cc | 388 gesture_.data.flingStart.velocityX = 10; in TEST_F() 458 gesture_.data.flingStart.velocityX = fling_delta.x; in TEST_F() 566 gesture_.data.flingStart.velocityX = fling_delta.x; in TEST_F() 672 gesture_.data.flingStart.velocityX = fling_delta.x; in TEST_F() 758 gesture_.data.flingStart.velocityX = 10; in TEST_F() 851 gesture_.data.flingStart.velocityX = fling_delta.x; in TEST_F() 915 gesture_.data.flingStart.velocityX = fling_delta.x; in TEST_F() 975 gesture_.data.flingStart.velocityX = fling_delta.x; in TEST_F() 1033 gesture_.data.flingStart.velocityX = fling_delta.x; in TEST_F()
|
D | input_handler_proxy.cc | 273 WebFloatPoint(gesture_event.data.flingStart.velocityX, in HandleGestureFling() 289 WebFloatPoint(gesture_event.data.flingStart.velocityX, in HandleGestureFling()
|
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/ |
D | TrackingInputHandler.java | 360 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { in onFling() argument 376 mFlingScroller.fling(0, 0, (int)velocityX, (int)velocityY, Integer.MIN_VALUE, in onFling()
|
/external/chromium_org/content/browser/renderer_host/input/ |
D | gesture_event_filter_unittest.cc | 106 float velocityX, in SimulateGestureFlingStartEvent() argument 110 SyntheticWebGestureEventBuilder::BuildFling(velocityX, in SimulateGestureFlingStartEvent() 903 gesture_event.data.flingStart.velocityX = 0.f; in TEST_F()
|
D | gesture_event_filter.cc | 117 gesture_event.event.data.flingStart.velocityX != 0 || in ShouldForwardForZeroVelocityFlingStart()
|
/external/chromium_org/content/common/input/ |
D | synthetic_web_input_event_builders.cc | 124 result.data.flingStart.velocityX = velocity_x; in BuildFling()
|