/external/replicaisland/src/com/replica/replicaisland/ |
H A D | SimplePhysicsComponent.java | 45 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 D | AnimationComponent.java | 112 final float velocityY = parentObject.getVelocity().y; 150 && velocityY >= 0.0f) { 240 if (Math.abs(velocityX) < 100.0f && velocityY > 10.0f) {
|
H A D | LaunchProjectileComponent.java | 207 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 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/chromium_org/third_party/WebKit/Source/platform/ |
H A D | PlatformGestureEvent.h | 46 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 D | cvoptflowhs.cpp | 67 // 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 D | cvoptflowbm.cpp | 95 // 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 D | cvoptflowlk.cpp | 66 // 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 D | touch_action_filter.cc | 40 gesture_event->data.scrollUpdate.velocityY = 0; 53 gesture_event->data.flingStart.velocityY = 0;
|
H A D | touch_action_filter_unittest.cc | 113 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 D | web_input_event_util.cc | 299 gesture.data.flingStart.velocityY = data.details.velocity_y();
|
/external/chromium_org/ui/webui/resources/js/cr/ui/ |
H A D | touch_handler.js | 742 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 D | AwScrollOffsetManager.java | 265 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 D | AwContents.java | 493 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 D | overscroll_controller.cc | 158 if (gesture.data.flingStart.velocityY > 0) 162 if (gesture.data.flingStart.velocityY < 0) 236 float velocity_y = gesture.data.flingStart.velocityY;
|
H A D | ui_events_helper.cc | 201 gesture_event.data.flingStart.velocityY = event.details().velocity_y();
|
H A D | web_input_event_aura.cc | 168 webkit_event.data.flingStart.velocityY = event->y_offset();
|
/external/chromium_org/third_party/WebKit/public/web/ |
H A D | WebInputEvent.h | 458 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 D | AccessibilityTabModelListItem.java | 435 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 D | TrackingInputHandler.java | 360 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 D | input_handler_proxy.cc | 93 fling_start_event.data.flingStart.velocityY); 383 const float vy = gesture_event.data.flingStart.velocityY; 522 gesture_event.data.flingStart.velocityY);
|
H A D | input_handler_proxy_unittest.cc | 52 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 D | synthetic_web_input_event_builders.cc | 146 result.data.flingStart.velocityY = velocity_y;
|
/external/chromium_org/android_webview/javatests/src/org/chromium/android_webview/test/ |
H A D | AndroidScrollIntegrationTest.java | 115 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 D | WebInputEventConversion.cpp | 205 m_data.m_scrollUpdate.m_velocityY = e.data.scrollUpdate.velocityY; 212 m_data.m_scrollUpdate.m_velocityY = e.data.scrollUpdate.velocityY;
|