Searched defs:vx (Results 1 - 25 of 46) sorted by relevance

12

/external/chromium_org/ui/events/gesture_detection/
H A Dvelocity_tracker_state.h35 float vx, vy; member in struct:ui::VelocityTrackerState::Velocity
H A Dvelocity_tracker_state.cc45 float vx, vy; local
46 velocity_tracker_.GetVelocity(id, &vx, &vy);
48 vx = vx * units / 1000.f;
51 if (vx > max_velocity)
52 vx = max_velocity;
53 else if (vx < -max_velocity)
54 vx = -max_velocity;
62 velocity.vx = vx;
68 float vx; local
86 float vx, vy; local
[all...]
H A Dgesture_provider_unittest.cc331 void OneFingerSwipe(float vx, float vy) { argument
333 velocities.push_back(gfx::Vector2dF(vx, vy));
/external/chromium_org/content/public/android/java/src/org/chromium/content_public/browser/
H A DGestureStateListener.java25 public void onFlingStartGesture(int vx, int vy, int scrollOffsetY, int scrollExtentY) {} argument
40 public void onUnhandledFlingStartEvent(int vx, int vy) {} argument
/external/chromium_org/third_party/skia/src/opts/
H A DSkBitmapProcState_filter_neon.h30 uint16x4_t vx, vconst16_16, v16_x, tmp; local
46 vx = vdup_n_u16(x); // duplicate x into vx
48 v16_x = vsub_u16(vconst16_16, vx); // v16_x = 16-x
50 tmp = vmul_u16(vget_high_u16(tmp1), vx); // tmp = a01 * x
51 tmp = vmla_u16(tmp, vget_high_u16(tmp2), vx); // tmp += a11 * x
65 uint16x4_t vx, vconst16_16, v16_x, tmp, vscale; local
81 vx = vdup_n_u16(x); // duplicate x into vx
83 v16_x = vsub_u16(vconst16_16, vx); // v16_
[all...]
/external/pixman/test/
H A Dscaling-helpers-test.c21 int64_t vx = vx_; local
29 if (vx < 0)
31 if (vx + pixman_fixed_1 < 0)
36 else if (vx + pixman_fixed_1 >= pixman_int_to_fixed (source_image_width))
38 if (vx >= pixman_int_to_fixed (source_image_width))
47 vx += unit_x;
60 pixman_fixed_t vx = prng_rand_n(10000 << 16) - (3000 << 16); local
67 vx,
76 vx,
/external/skia/src/opts/
H A DSkBitmapProcState_filter_neon.h30 uint16x4_t vx, vconst16_16, v16_x, tmp; local
46 vx = vdup_n_u16(x); // duplicate x into vx
48 v16_x = vsub_u16(vconst16_16, vx); // v16_x = 16-x
50 tmp = vmul_u16(vget_high_u16(tmp1), vx); // tmp = a01 * x
51 tmp = vmla_u16(tmp, vget_high_u16(tmp2), vx); // tmp += a11 * x
65 uint16x4_t vx, vconst16_16, v16_x, tmp, vscale; local
81 vx = vdup_n_u16(x); // duplicate x into vx
83 v16_x = vsub_u16(vconst16_16, vx); // v16_
[all...]
/external/chromium_org/ui/events/
H A Devents_stub.cc116 float* vx,
115 GetFlingData(const base::NativeEvent& native_event, float* vx, float* vy, float* vx_ordinal, float* vy_ordinal, bool* is_cancel) argument
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
H A DContentViewScrollingTest.java122 private void fling(final int vx, final int vy) throws Throwable { argument
126 getContentViewCore().flingForTest(SystemClock.uptimeMillis(), 0, 0, vx, vy);
/external/chromium_org/content/renderer/input/
H A Dinput_handler_proxy.cc400 const float vx = gesture_event.data.flingStart.velocityX; local
402 current_fling_velocity_ = gfx::Vector2dF(vx, vy);
405 WebFloatPoint(vx, vy),
407 disallow_horizontal_fling_scroll_ = !vx;
412 "vx",
413 vx,
420 fling_parameters_.delta = WebFloatPoint(vx, vy);
570 "vx",
/external/chromium_org/third_party/skia/src/utils/
H A DSkNinePatch.cpp78 SkScalar vx = bounds.fLeft; local
79 verts->set(vx, vy); verts++;
86 vx += computeVertexDelta(x & 1, tx, prev, stretchX);
89 verts->set(vx, vy); verts++;
/external/chromium_org/ui/events/ozone/
H A Devents_ozone.cc154 float* vx,
162 if (vx)
163 *vx = event->x_offset();
153 GetFlingData(const base::NativeEvent& native_event, float* vx, float* vy, float* vx_ordinal, float* vy_ordinal, bool* is_cancel) argument
/external/chromium_org/ui/events/win/
H A Devents_win.cc349 float* vx,
348 GetFlingData(const base::NativeEvent& native_event, float* vx, float* vy, float* vx_ordinal, float* vy_ordinal, bool* is_cancel) argument
/external/pixman/pixman/
H A Dpixman-android.c80 uint32_t *dst, const uint32_t *src, int32_t w, pixman_fixed_t vx,
88 x1 = pixman_fixed_to_int(vx);
89 vx += unit_x;
91 x2 = pixman_fixed_to_int(vx);
92 vx += unit_x;
98 x1 = pixman_fixed_to_int(vx);
122 int32_t source_image_width, pixman_fixed_t vx, pixman_fixed_t unit_x,
126 if (vx < 0) {
127 tmp = ((int64_t) unit_x - 1 - vx) / unit_x;
138 tmp = ((int64_t) unit_x - 1 - vx
79 scaled_nearest_scanline_8888_8888_none_SRC( uint32_t *dst, const uint32_t *src, int32_t w, pixman_fixed_t vx, pixman_fixed_t unit_x, pixman_fixed_t src_width_fixed) argument
121 pad_repeat_get_scanline_bounds( int32_t source_image_width, pixman_fixed_t vx, pixman_fixed_t unit_x, int32_t * width, int32_t * left_pad, int32_t * right_pad) argument
150 bilinear_pad_repeat_get_scanline_bounds( int32_t source_image_width, pixman_fixed_t vx, pixman_fixed_t unit_x, int32_t * left_pad, int32_t * left_tz, int32_t * width, int32_t * right_tz, int32_t * right_pad) argument
186 pixman_fixed_t vx, vy; local
291 pixman_fixed_t vx, vy; local
[all...]
H A Dpixman-inlines.h239 pixman_fixed_t vx,
247 if (vx < 0)
249 tmp = ((int64_t) unit_x - 1 - vx) / unit_x;
265 tmp = ((int64_t) unit_x - 1 - vx + max_vx) / unit_x - *left_pad;
309 pixman_fixed_t vx, \
327 x1 = pixman_fixed_to_int (vx); \
328 vx += unit_x; \
332 while (vx >= 0) \
333 vx -= src_width_fixed; \
337 x2 = pixman_fixed_to_int (vx); \
238 pad_repeat_get_scanline_bounds(int32_t source_image_width, pixman_fixed_t vx, pixman_fixed_t unit_x, int32_t * width, int32_t * left_pad, int32_t * right_pad) argument
760 bilinear_pad_repeat_get_scanline_bounds(int32_t source_image_width, pixman_fixed_t vx, pixman_fixed_t unit_x, int32_t * left_pad, int32_t * left_tz, int32_t * width, int32_t * right_tz, int32_t * right_pad) argument
[all...]
/external/skia/src/utils/
H A DSkNinePatch.cpp78 SkScalar vx = bounds.fLeft; local
79 verts->set(vx, vy); verts++;
86 vx += computeVertexDelta(x & 1, tx, prev, stretchX);
89 verts->set(vx, vy); verts++;
/external/chromium_org/third_party/skia/src/gpu/
H A DGrBitmapTextContext.cpp425 SkFixed vx, SkFixed vy,
440 vx += SkIntToFixed(glyph->fBounds.fLeft);
449 int x = vx >> 16;
498 translate.setTranslate(SkFixedToScalar(vx - SkIntToFixed(glyph->fBounds.fLeft)),
572 r.fLeft = SkFixedToFloat(vx);
574 r.fRight = SkFixedToFloat(vx + width);
424 drawPackedGlyph(GrGlyph::PackedID packed, SkFixed vx, SkFixed vy, GrFontScaler* scaler) argument
H A DGrDistanceFieldTextContext.cpp241 SkFixed vx, SkFixed vy,
256 SkScalar sx = SkFixedToScalar(vx);
260 vx += SkIntToFixed(glyph->fBounds.fLeft);
269 int x = vx >> 16;
240 drawPackedGlyph(GrGlyph::PackedID packed, SkFixed vx, SkFixed vy, GrFontScaler* scaler) argument
/external/opencv/cv/src/
H A Dcvoptflowbm.cpp340 int vx = cvRound( velxf[j] ), vy = cvRound( velyf[j] ); local
341 velx[j] = vx; vely[j] = vy;
537 float vx = (float)velx[j]*back, vy = (float)vely[j]*back;
538 velxf[j] = vx; velyf[j] = vy;
H A Dcvoptflowhs.cpp323 float *vx = velocityX; local
328 memset( vx, 0, imageWidth * sizeof( float ));
331 vx += velStep;
/external/qemu/distrib/sdl-1.2.15/src/video/Xext/Xv/
H A DXv.c427 int vx, int vy,
446 req->vid_x = vx;
467 int vx, int vy,
485 req->vid_x = vx;
506 int vx, int vy,
524 req->vid_x = vx;
545 int vx, int vy,
563 req->vid_x = vx;
422 XvPutVideo( Display *dpy, XvPortID port, Drawable d, GC gc, int vx, int vy, unsigned int vw, unsigned int vh, int dx, int dy, unsigned int dw, unsigned int dh ) argument
462 XvPutStill( Display *dpy, XvPortID port, Drawable d, GC gc, int vx, int vy, unsigned int vw, unsigned int vh, int dx, int dy, unsigned int dw, unsigned int dh ) argument
501 XvGetVideo( Display *dpy, XvPortID port, Drawable d, GC gc, int vx, int vy, unsigned int vw, unsigned int vh, int dx, int dy, unsigned int dw, unsigned int dh ) argument
540 XvGetStill( Display *dpy, XvPortID port, Drawable d, GC gc, int vx, int vy, unsigned int vw, unsigned int vh, int dx, int dy, unsigned int dw, unsigned int dh ) argument
/external/skia/src/gpu/
H A DGrBitmapTextContext.cpp427 SkFixed vx, SkFixed vy,
442 vx += SkIntToFixed(glyph->fBounds.fLeft);
451 int x = vx >> 16;
498 translate.setTranslate(SkFixedToScalar(vx - SkIntToFixed(glyph->fBounds.fLeft)),
572 r.fLeft = SkFixedToFloat(vx);
574 r.fRight = SkFixedToFloat(vx + width);
426 drawPackedGlyph(GrGlyph::PackedID packed, SkFixed vx, SkFixed vy, GrFontScaler* scaler) argument
H A DGrDistanceFieldTextContext.cpp198 SkFixed vx, SkFixed vy,
212 SkScalar sx = SkFixedToScalar(vx);
216 vx += SkIntToFixed(glyph->fBounds.fLeft);
225 int x = vx >> 16;
197 drawPackedGlyph(GrGlyph::PackedID packed, SkFixed vx, SkFixed vy, GrFontScaler* scaler) argument
/external/chromium_org/ui/events/x/
H A Ddevice_data_manager_x11.cc491 float* vx,
496 *vx = 0;
506 *vx = data[DT_CMT_FLING_X];
489 GetFlingData( const base::NativeEvent& native_event, float* vx, float* vy, float* vx_ordinal, float* vy_ordinal, bool* is_cancel) argument
H A Devents_x.cc853 float* vx,
864 if (!vx)
865 vx = &vx_;
876 native_event, vx, vy, vx_ordinal, vy_ordinal, is_cancel);
852 GetFlingData(const base::NativeEvent& native_event, float* vx, float* vy, float* vx_ordinal, float* vy_ordinal, bool* is_cancel) argument

Completed in 433 milliseconds

12