Home
last modified time | relevance | path

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

12

/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/chromium_org/tools/perf/page_sets/tough_canvas_cases/canvas2d_balls_common/
Dbouncing_balls.js88 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/
Dcvoptflowhs.cpp92 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 …]
Dcvoptflowbm.cpp108 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()
Dcvoptflowlk.cpp89 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/
DPlatformGestureEvent.h46 …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/
DGestureDetector.java125 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/
DAwScrollOffsetManager.java260 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()
DAwContents.java405 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/
Dtouch_handler.js720 var velocityY = this.recentTouchesY_.length ?
725 velocityY = this.correctVelocity_(velocityY);
729 y: velocityY
/external/chromium_org/ui/webui/resources/js/cr/ui/
Dtouch_handler.js742 var velocityY = this.recentTouchesY_.length ?
747 velocityY = this.correctVelocity_(velocityY);
751 y: velocityY
/external/chromium/chrome/browser/resources/touch_ntp/
Dtouchhandler.js720 var velocityY = this.recentTouchesY_.length ?
725 velocityY = this.correctVelocity_(velocityY);
729 y: velocityY
/external/chromium_org/content/browser/renderer_host/
Doverscroll_controller.cc177 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/
DContentViewGestureHandler.java387 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()
DContentView.java310 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/
DWebInputEvent.h444 float velocityY; member
449 float velocityY; member
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
DTrackingInputHandler.java360 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/
Dinput_handler_proxy_unittest.cc459 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()
Dinput_handler_proxy.cc274 gesture_event.data.flingStart.velocityY), in HandleGestureFling()
290 gesture_event.data.flingStart.velocityY); in HandleGestureFling()
/external/chromium_org/content/browser/renderer_host/input/
Dgesture_event_filter_unittest.cc107 float velocityY, in SimulateGestureFlingStartEvent() argument
111 velocityY, in SimulateGestureFlingStartEvent()
904 gesture_event.data.flingStart.velocityY = 0.f; in TEST_F()
Dgesture_event_filter.cc118 gesture_event.event.data.flingStart.velocityY != 0; in ShouldForwardForZeroVelocityFlingStart()
Dinput_router_impl_unittest.cc197 float velocityY, in SimulateGestureFlingStartEvent() argument
201 velocityY, in SimulateGestureFlingStartEvent()
/external/chromium_org/content/common/input/
Dsynthetic_web_input_event_builders.cc125 result.data.flingStart.velocityY = velocity_y; in BuildFling()

12