Searched refs:velocityY (Results 1 - 25 of 36) sorted by relevance

12

/external/replicaisland/src/com/replica/replicaisland/
H A DSimplePhysicsComponent.java45 float velocityY = parentObject.getVelocity().y + impulse.y;
47 if ((parentObject.touchingCeiling() && velocityY > 0.0f)
48 || (parentObject.touchingGround() && velocityY < 0.0f)) {
49 velocityY = -velocityY * mBounciness;
51 if (Utils.close(velocityY, 0.0f)) {
52 velocityY = 0.0f;
65 parentObject.getVelocity().set(velocityX, velocityY);
H A DAnimationComponent.java112 final float velocityY = parentObject.getVelocity().y;
150 && velocityY >= 0.0f) {
240 if (Math.abs(velocityX) < 100.0f && velocityY > 10.0f) {
H A DLaunchProjectileComponent.java207 public final void setVelocityY(float velocityY) { argument
208 mVelocityY = velocityY;
/external/chromium_org/tools/perf/page_sets/tough_canvas_cases/canvas2d_balls_common/
H A 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/chromium_org/third_party/WebKit/Source/platform/
H A DPlatformGestureEvent.h46 PlatformGestureEvent(Type type, const IntPoint& position, const IntPoint& globalPosition, const IntSize& area, double timestamp, bool shiftKey, bool ctrlKey, bool altKey, bool metaKey, float deltaX, float deltaY, float velocityX, float velocityY) argument
60 m_data.m_scrollUpdate.m_velocityY = velocityY;
95 float velocityY() const function in class:WebCore::PlatformGestureEvent
/external/opencv/cv/src/
H A Dcvoptflowhs.cpp67 // velocityY - vertical components of optical flow ROI
92 float* velocityY,
324 float *vy = velocityY;
366 averageY = (velocityY[Line2] +
367 velocityY[Line2 + 1] + velocityY[Line1] + velocityY[Line3]) / 4;
382 tmp = (float)fabs(velocityY[Line2] - VelBufY[i & 1][0]);
392 averageY = (velocityY[Line2 + j - 1] +
393 velocityY[Line
86 icvCalcOpticalFlowHS_8u32fR( uchar* imgA, uchar* imgB, int imgStep, CvSize imgSize, int usePrevious, float* velocityX, float* velocityY, int velStep, float lambda, CvTermCriteria criteria ) argument
[all...]
H A Dcvoptflowbm.cpp95 // velocityY, // vertical components of optical flow
108 float *velocityX, float *velocityY,
124 int *int_velocityY = (int *) velocityY;
332 float *velxf = velocityX, *velyf = velocityY;
333 int* velx = (int*)velocityX, *vely = (int*)velocityY;
529 float *velxf = velocityX, *velyf = velocityY;
530 int* velx = (int*)velocityX, *vely = (int*)velocityY;
104 icvCalcOpticalFlowBM_8u32fR( uchar * imgA, uchar * imgB, int imgStep, CvSize imgSize, CvSize blockSize, CvSize shiftSize, CvSize maxRange, int usePrev, float *velocityX, float *velocityY, int velStep ) argument
H A Dcvoptflowlk.cpp66 // velocityY, // vertical components of optical flow ROI
89 float *velocityY, int velStep )
508 velocityY[j] = deltaY * Idelta;
521 velocityY[j] = (B1 + A1B2) * temp;
527 velocityY[j] = 0;
536 velocityY += velStep;
83 icvCalcOpticalFlowLK_8u32fR( uchar * imgA, uchar * imgB, int imgStep, CvSize imgSize, CvSize winSize, float *velocityX, float *velocityY, int velStep ) argument
/external/chromium_org/content/browser/renderer_host/input/
H A Dtouch_action_filter.cc40 gesture_event->data.scrollUpdate.velocityY = 0;
53 gesture_event->data.flingStart.velocityY = 0;
H A Dtouch_action_filter_unittest.cc113 EXPECT_EQ(kFlingY, fling_start.data.flingStart.velocityY);
176 EXPECT_EQ(0, fling_start.data.flingStart.velocityY);
249 EXPECT_EQ(kFlingY, fling_start.data.flingStart.velocityY);
296 EXPECT_EQ(kFlingY, fling_start.data.flingStart.velocityY);
317 EXPECT_EQ(kFlingY, fling_start.data.flingStart.velocityY);
H A Dweb_input_event_util.cc299 gesture.data.flingStart.velocityY = data.details.velocity_y();
/external/chromium_org/ui/webui/resources/js/cr/ui/
H A Dtouch_handler.js742 var velocityY = this.recentTouchesY_.length ?
747 velocityY = this.correctVelocity_(velocityY);
751 y: velocityY
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/
H A DAwScrollOffsetManager.java265 public void onUnhandledFlingStartEvent(int velocityX, int velocityY) { argument
266 flingScroll(-velocityX, -velocityY);
271 public void flingScroll(int velocityX, int velocityY) { argument
277 mScroller.fling(scrollX, scrollY, velocityX, velocityY,
H A DAwContents.java493 public void onUnhandledFlingStartEvent(int velocityX, int velocityY) { argument
494 mScrollOffsetManager.onUnhandledFlingStartEvent(velocityX, velocityY);
1575 public void flingScroll(int velocityX, int velocityY) { argument
1576 mScrollOffsetManager.flingScroll(velocityX, velocityY);
/external/chromium_org/content/browser/renderer_host/
H A Doverscroll_controller.cc158 if (gesture.data.flingStart.velocityY > 0)
162 if (gesture.data.flingStart.velocityY < 0)
236 float velocity_y = gesture.data.flingStart.velocityY;
H A Dui_events_helper.cc201 gesture_event.data.flingStart.velocityY = event.details().velocity_y();
H A Dweb_input_event_aura.cc168 webkit_event.data.flingStart.velocityY = event->y_offset();
/external/chromium_org/third_party/WebKit/public/web/
H A DWebInputEvent.h458 float velocityY; member in struct:blink::WebGestureEvent::__anon10729::__anon10736
463 float velocityY; member in struct:blink::WebGestureEvent::__anon10729::__anon10737
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/widget/accessibility/
H A DAccessibilityTabModelListItem.java435 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { argument
439 double velocityMagnitude = Math.sqrt(velocityX * velocityX + velocityY * velocityY);
/external/chromium_org/remoting/android/java/src/org/chromium/chromoting/
H A DTrackingInputHandler.java360 public boolean onFling(MotionEvent e1, MotionEvent e2, float velocityX, float velocityY) { argument
376 mFlingScroller.fling(0, 0, (int)velocityX, (int)velocityY, Integer.MIN_VALUE,
/external/chromium_org/content/renderer/input/
H A Dinput_handler_proxy.cc93 fling_start_event.data.flingStart.velocityY);
383 const float vy = gesture_event.data.flingStart.velocityY;
522 gesture_event.data.flingStart.velocityY);
H A Dinput_handler_proxy_unittest.cc52 fling.data.flingStart.velocityY = velocity.y;
1058 gesture_.data.flingStart.velocityY = fling_delta.y;
1178 gesture_.data.flingStart.velocityY = fling_delta.y;
1328 gesture_.data.flingStart.velocityY = fling_delta.y;
1478 gesture_.data.flingStart.velocityY = fling_delta.y;
/external/chromium_org/content/common/input/
H A Dsynthetic_web_input_event_builders.cc146 result.data.flingStart.velocityY = velocity_y;
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/
H A DAndroidScrollIntegrationTest.java115 public void onUnhandledFlingStartEvent(int velocityX, int velocityY) {
745 int velocityX, int velocityY, int scrollOffsetY, int scrollExtentY) {
753 public void onUnhandledFlingStartEvent(int velocityX, int velocityY) { argument
744 onFlingStartGesture( int velocityX, int velocityY, int scrollOffsetY, int scrollExtentY) argument
/external/chromium_org/third_party/WebKit/Source/web/
H A DWebInputEventConversion.cpp205 m_data.m_scrollUpdate.m_velocityY = e.data.scrollUpdate.velocityY;
212 m_data.m_scrollUpdate.m_velocityY = e.data.scrollUpdate.velocityY;

Completed in 6214 milliseconds

12