/external/replicaisland/src/com/replica/replicaisland/ |
D | SimplePhysicsComponent.java | 45 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()
|
D | AnimationComponent.java | 112 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()
|
D | LaunchProjectileComponent.java | 207 public final void setVelocityY(float velocityY) { in setVelocityY() argument 208 mVelocityY = velocityY; in setVelocityY()
|
/external/chromium_org/tools/perf/page_sets/tough_canvas_cases/canvas2d_balls_common/ |
D | bouncing_balls.js | 88 var velocityY = Math.random()*maxInitVelocity*2 - maxInitVelocity; 105 velocityY = -Math.sqrt(2 * gravity * (1-2 * borderY) * (0.75 + 0.25 * 139 var deltaY = alive ? velocityY*timeStep+gravity*timeStep*timeStep/2 : 0; 146 var b = velocityY; 151 velocityY = -elasticity*(velocityY + gravity*subStep); 162 deltaY = velocityY*remainingTime+gravity*remainingTime*remainingTime/2; 168 velocityY += gravity*remainingTime;
|
/external/opencv/cv/src/ |
D | cvoptflowhs.cpp | 92 float* velocityY, in icvCalcOpticalFlowHS_8u32fR() argument 324 float *vy = velocityY; in icvCalcOpticalFlowHS_8u32fR() 366 averageY = (velocityY[Line2] + in icvCalcOpticalFlowHS_8u32fR() 367 velocityY[Line2 + 1] + velocityY[Line1] + velocityY[Line3]) / 4; in icvCalcOpticalFlowHS_8u32fR() 382 tmp = (float)fabs(velocityY[Line2] - VelBufY[i & 1][0]); in icvCalcOpticalFlowHS_8u32fR() 392 averageY = (velocityY[Line2 + j - 1] + in icvCalcOpticalFlowHS_8u32fR() 393 velocityY[Line2 + j + 1] + in icvCalcOpticalFlowHS_8u32fR() 394 velocityY[Line1 + j] + velocityY[Line3 + j]) / 4; in icvCalcOpticalFlowHS_8u32fR() 408 tmp = (float)fabs(velocityY[Line2 + j] - VelBufY[i & 1][j]); in icvCalcOpticalFlowHS_8u32fR() 419 averageY = (velocityY[Line2 + imageWidth - 2] + in icvCalcOpticalFlowHS_8u32fR() [all …]
|
D | cvoptflowbm.cpp | 108 float *velocityX, float *velocityY, in icvCalcOpticalFlowBM_8u32fR() argument 124 int *int_velocityY = (int *) velocityY; 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 | 89 float *velocityY, int velStep ) in icvCalcOpticalFlowLK_8u32fR() argument 508 velocityY[j] = deltaY * Idelta; in icvCalcOpticalFlowLK_8u32fR() 521 velocityY[j] = (B1 + A1B2) * temp; in icvCalcOpticalFlowLK_8u32fR() 527 velocityY[j] = 0; in icvCalcOpticalFlowLK_8u32fR() 536 velocityY += 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 60 m_data.m_scrollUpdate.m_velocityY = velocityY; in PlatformGestureEvent() 95 float velocityY() const in velocityY() 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 184 float velocityY) { in onFling() argument 626 final float velocityY = velocityTracker.getYVelocity(pointerId); in onTouchEvent() local 629 if ((Math.abs(velocityY) > 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 262 mLastFlingVelocityY = velocityY; 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 | 720 var velocityY = this.recentTouchesY_.length ? 725 velocityY = this.correctVelocity_(velocityY); 729 y: velocityY
|
/external/chromium_org/ui/webui/resources/js/cr/ui/ |
D | touch_handler.js | 742 var velocityY = this.recentTouchesY_.length ? 747 velocityY = this.correctVelocity_(velocityY); 751 y: velocityY
|
/external/chromium/chrome/browser/resources/touch_ntp/ |
D | touchhandler.js | 720 var velocityY = this.recentTouchesY_.length ? 725 velocityY = this.correctVelocity_(velocityY); 729 y: velocityY
|
/external/chromium_org/content/browser/renderer_host/ |
D | overscroll_controller.cc | 177 if (gesture.data.flingStart.velocityY > 0) in DispatchEventCompletesAction() 181 if (gesture.data.flingStart.velocityY < 0) in DispatchEventCompletesAction() 255 float velocity_y = gesture.data.flingStart.velocityY; in ProcessEventForOverscroll()
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
D | ContentViewGestureHandler.java | 387 float velocityX, float velocityY) { in initGestureDetectors() 391 velocityY = 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() 622 mExtraParamBundleFling.putInt(VELOCITY_Y, velocityY); 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 | 444 float velocityY; member 449 float velocityY; member
|
/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/renderer/input/ |
D | input_handler_proxy_unittest.cc | 459 gesture_.data.flingStart.velocityY = fling_delta.y; in TEST_F() 567 gesture_.data.flingStart.velocityY = fling_delta.y; in TEST_F() 673 gesture_.data.flingStart.velocityY = fling_delta.y; in TEST_F() 852 gesture_.data.flingStart.velocityY = fling_delta.y; in TEST_F() 916 gesture_.data.flingStart.velocityY = fling_delta.y; in TEST_F() 976 gesture_.data.flingStart.velocityY = fling_delta.y; in TEST_F() 1034 gesture_.data.flingStart.velocityY = fling_delta.y; in TEST_F()
|
D | input_handler_proxy.cc | 274 gesture_event.data.flingStart.velocityY), in HandleGestureFling() 290 gesture_event.data.flingStart.velocityY); in HandleGestureFling()
|
/external/chromium_org/content/browser/renderer_host/input/ |
D | gesture_event_filter_unittest.cc | 107 float velocityY, in SimulateGestureFlingStartEvent() argument 111 velocityY, in SimulateGestureFlingStartEvent() 904 gesture_event.data.flingStart.velocityY = 0.f; in TEST_F()
|
D | gesture_event_filter.cc | 118 gesture_event.event.data.flingStart.velocityY != 0; in ShouldForwardForZeroVelocityFlingStart()
|
D | input_router_impl_unittest.cc | 197 float velocityY, in SimulateGestureFlingStartEvent() argument 201 velocityY, in SimulateGestureFlingStartEvent()
|
/external/chromium_org/content/common/input/ |
D | synthetic_web_input_event_builders.cc | 125 result.data.flingStart.velocityY = velocity_y; in BuildFling()
|