Home
last modified time | relevance | path

Searched refs:vy (Results 1 – 25 of 99) sorted by relevance

1234

/external/chromium_org/ui/events/gesture_detection/
Dvelocity_tracker_state.cc45 float vx, vy; in ComputeCurrentVelocity() local
46 velocity_tracker_.GetVelocity(id, &vx, &vy); in ComputeCurrentVelocity()
49 vy = vy * units / 1000.f; in ComputeCurrentVelocity()
56 if (vy > max_velocity) in ComputeCurrentVelocity()
57 vy = max_velocity; in ComputeCurrentVelocity()
58 else if (vy < -max_velocity) in ComputeCurrentVelocity()
59 vy = -max_velocity; in ComputeCurrentVelocity()
63 velocity.vy = vy; in ComputeCurrentVelocity()
74 float vy; in GetYVelocity() local
75 GetVelocity(id, NULL, &vy); in GetYVelocity()
[all …]
Dgesture_detector.cc528 float vy) { in HandleSwipeIfNeeded() argument
529 if (!swipe_enabled_ || (!vx && !vy)) in HandleSwipeIfNeeded()
532 float vy_abs = std::abs(vy); in HandleSwipeIfNeeded()
537 vy_abs = vy = 0; in HandleSwipeIfNeeded()
547 vy = 0; in HandleSwipeIfNeeded()
550 return listener_->OnSwipe(*current_down_event_, up, vx, vy); in HandleSwipeIfNeeded()
Dvelocity_tracker_state.h35 float vx, vy; member
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
Daccess-nbody.js9 function Body(x,y,z,vx,vy,vz,mass){ argument
14 this.vy = vy;
21 this.vy = -py / SOLAR_MASS;
89 py += b.vy * m;
111 bodyi.vy -= dy * bodyj.mass * mag;
115 bodyj.vy += dy * bodyi.mass * mag;
123 body.y += dt * body.vy;
138 + bodyi.vy * bodyi.vy
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
Daccess-nbody.js9 function Body(x,y,z,vx,vy,vz,mass){ argument
14 this.vy = vy;
21 this.vy = -py / SOLAR_MASS;
89 py += b.vy * m;
111 bodyi.vy -= dy * bodyj.mass * mag;
115 bodyj.vy += dy * bodyi.mass * mag;
123 body.y += dt * body.vy;
138 + bodyi.vy * bodyi.vy
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
Daccess-nbody.js9 function Body(x,y,z,vx,vy,vz,mass){ argument
14 this.vy = vy;
21 this.vy = -py / SOLAR_MASS;
89 py += b.vy * m;
111 bodyi.vy -= dy * bodyj.mass * mag;
115 bodyj.vy += dy * bodyi.mass * mag;
123 body.y += dt * body.vy;
138 + bodyi.vy * bodyi.vy
/external/chromium_org/third_party/skia/src/opts/
DSkBitmapProcState_filter_neon.h29 uint8x8_t vy, vconst16_8, v16_y, vres; in Filter_32_opaque_neon() local
34 vy = vdup_n_u8(y); // duplicate y into vy in Filter_32_opaque_neon()
36 v16_y = vsub_u8(vconst16_8, vy); // v16_y = 16-y in Filter_32_opaque_neon()
44 tmp2 = vmull_u8(vreinterpret_u8_u32(va1), vy); // tmp2 = [a11|a10] * y in Filter_32_opaque_neon()
64 uint8x8_t vy, vconst16_8, v16_y, vres; in Filter_32_alpha_neon() local
69 vy = vdup_n_u8(y); // duplicate y into vy in Filter_32_alpha_neon()
71 v16_y = vsub_u8(vconst16_8, vy); // v16_y = 16-y in Filter_32_alpha_neon()
79 tmp2 = vmull_u8(vreinterpret_u8_u32(va1), vy); // tmp2 = [a11|a10] * y in Filter_32_alpha_neon()
/external/skia/src/opts/
DSkBitmapProcState_filter_neon.h29 uint8x8_t vy, vconst16_8, v16_y, vres; in Filter_32_opaque_neon() local
34 vy = vdup_n_u8(y); // duplicate y into vy in Filter_32_opaque_neon()
36 v16_y = vsub_u8(vconst16_8, vy); // v16_y = 16-y in Filter_32_opaque_neon()
44 tmp2 = vmull_u8(vreinterpret_u8_u32(va1), vy); // tmp2 = [a11|a10] * y in Filter_32_opaque_neon()
64 uint8x8_t vy, vconst16_8, v16_y, vres; in Filter_32_alpha_neon() local
69 vy = vdup_n_u8(y); // duplicate y into vy in Filter_32_alpha_neon()
71 v16_y = vsub_u8(vconst16_8, vy); // v16_y = 16-y in Filter_32_alpha_neon()
79 tmp2 = vmull_u8(vreinterpret_u8_u32(va1), vy); // tmp2 = [a11|a10] * y in Filter_32_alpha_neon()
/external/pixman/pixman/
Dpixman-android.c186 pixman_fixed_t vx, vy; in android_bilinear_filter_neon() local
192 vy = v.vector[1]; in android_bilinear_filter_neon()
201 y1 = pixman_fixed_to_int(vy); in android_bilinear_filter_neon()
202 weight2 = pixman_fixed_to_bilinear_weight(vy); in android_bilinear_filter_neon()
212 vy += unit_y; in android_bilinear_filter_neon()
291 pixman_fixed_t vx, vy; in android_nearest_filter() local
302 vy = v.vector[1]; in android_nearest_filter()
309 y = ((int) ((vy) >> 16)); in android_nearest_filter()
310 vy += unit_y; in android_nearest_filter()
Dpixman-inlines.h431 pixman_fixed_t vx, vy; \
470 vy = v.vector[1]; \
478 repeat (PIXMAN_REPEAT_NORMAL, &vy, max_vy); \
499 y = pixman_fixed_to_int (vy); \
500 vy += unit_y; \
502 repeat (PIXMAN_REPEAT_NORMAL, &vy, max_vy); \
840 pixman_fixed_t vx, vy; \
884 vy = v.vector[1]; \
938 y1 = pixman_fixed_to_int (vy); \
939 weight2 = pixman_fixed_to_bilinear_weight (vy); \
[all …]
/external/chromium_org/third_party/skia/src/utils/
DSkNinePatch.cpp75 const SkScalar vy, const SkScalar ty, in fillRow() argument
79 verts->set(vx, vy); verts++; in fillRow()
89 verts->set(vx, vy); verts++; in fillRow()
92 verts->set(bounds.fRight, vy); verts++; in fillRow()
211 SkScalar vy = bounds.fTop; in DrawMesh() local
212 fillRow(verts, texs, vy, 0, bounds, xDivs, numXDivs, in DrawMesh()
220 vy += stretchY; in DrawMesh()
222 vy += ty; in DrawMesh()
228 vy += SkScalarMul(ty, -stretchY); in DrawMesh()
231 fillRow(verts, texs, vy, ty, bounds, xDivs, numXDivs, in DrawMesh()
/external/skia/src/utils/
DSkNinePatch.cpp75 const SkScalar vy, const SkScalar ty, in fillRow() argument
79 verts->set(vx, vy); verts++; in fillRow()
89 verts->set(vx, vy); verts++; in fillRow()
92 verts->set(bounds.fRight, vy); verts++; in fillRow()
211 SkScalar vy = bounds.fTop; in DrawMesh() local
212 fillRow(verts, texs, vy, 0, bounds, xDivs, numXDivs, in DrawMesh()
220 vy += stretchY; in DrawMesh()
222 vy += ty; in DrawMesh()
228 vy += SkScalarMul(ty, -stretchY); in DrawMesh()
231 fillRow(verts, texs, vy, ty, bounds, xDivs, numXDivs, in DrawMesh()
/external/pdfium/core/src/fxcodec/fx_libopenjpeg/libopenjpeg20/
Dmct.c162 __m128 vy, vu, vv; in opj_mct_decode_real() local
165 vy = _mm_load_ps(c0); in opj_mct_decode_real()
168 vr = _mm_add_ps(vy, _mm_mul_ps(vv, vrv)); in opj_mct_decode_real()
169 vg = _mm_sub_ps(_mm_sub_ps(vy, _mm_mul_ps(vu, vgu)), _mm_mul_ps(vv, vgv)); in opj_mct_decode_real()
170 vb = _mm_add_ps(vy, _mm_mul_ps(vu, vbu)); in opj_mct_decode_real()
178 vy = _mm_load_ps(c0); in opj_mct_decode_real()
181 vr = _mm_add_ps(vy, _mm_mul_ps(vv, vrv)); in opj_mct_decode_real()
182 vg = _mm_sub_ps(_mm_sub_ps(vy, _mm_mul_ps(vu, vgu)), _mm_mul_ps(vv, vgv)); in opj_mct_decode_real()
183 vb = _mm_add_ps(vy, _mm_mul_ps(vu, vbu)); in opj_mct_decode_real()
/external/chromium_org/v8/test/mjsunit/harmony/
Dmodule-parsing.js40 export vy, lz, c, f
43 var vx, vy; variable
44 var vx = 0, vy variable
108 vy
/external/eigen/blas/
Dlevel1_real_impl.h68 StridedVectorType vy(vector(y,*n,std::abs(*incy))); in EIGEN_BLAS_FUNC()
71 Reverse<StridedVectorType> rvy(vy); in EIGEN_BLAS_FUNC()
73 …if(*incx<0 && *incy>0) internal::apply_rotation_in_the_plane(rvx, vy, JacobiRotation<Scalar>(c,s)); in EIGEN_BLAS_FUNC()
75 …else internal::apply_rotation_in_the_plane(vx, vy, JacobiRotation<Scalar>(… in EIGEN_BLAS_FUNC()
Dlevel1_cplx_impl.h100 StridedVectorType vy(vector(y,*n,std::abs(*incy)));
103 Reverse<StridedVectorType> rvy(vy);
106 …if(*incx<0 && *incy>0) internal::apply_rotation_in_the_plane(rvx, vy, JacobiRotation<Scalar>(c,s));
108 …else internal::apply_rotation_in_the_plane(vx, vy, JacobiRotation<Scalar>(…
/external/chromium_org/content/public/android/java/src/org/chromium/content_public/browser/
DGestureStateListener.java25 public void onFlingStartGesture(int vx, int vy, int scrollOffsetY, int scrollExtentY) {} in onFlingStartGesture() argument
40 public void onUnhandledFlingStartEvent(int vx, int vy) {} in onUnhandledFlingStartEvent() argument
/external/chromium-trace/trace-viewer/third_party/gl-matrix/src/gl-matrix/
Dmat2d.js212 var vx = v[0], vy = v[1];
214 out[1] = a[1] * vy;
216 out[3] = a[3] * vy;
218 out[5] = a[5] * vy;
/external/llvm/test/CodeGen/X86/
Dbreak-avx-dep.ll20 %vy = load double* %y
21 %fipy = fadd double %fi, %vy
/external/chromium_org/ui/events/ozone/
Devents_ozone.cc155 float* vy, in GetFlingData() argument
164 if (vy) in GetFlingData()
165 *vy = event->y_offset(); in GetFlingData()
/external/pdfium/core/src/fpdfapi/fpdf_page/
Dfpdf_page.cpp133 short vx, vy; in GetItemInfo() local
134 ((CPDF_CIDFont*)pFont)->GetVertOrigin(CID, vx, vy); in GetItemInfo()
137 pInfo->m_OriginY -= fontsize * vy / 1000; in GetItemInfo()
385 short vx, vy; in GetCharRect() local
386 pCIDFont->GetVertOrigin(CID, vx, vy); in GetCharRect()
389 char_rect.top -= vy; in GetCharRect()
390 char_rect.bottom -= vy; in GetCharRect()
452 short vx, vy; in CalcPositionData() local
453 pCIDFont->GetVertOrigin(CID, vx, vy); in CalcPositionData()
456 char_rect.top -= vy; in CalcPositionData()
[all …]
/external/chromium_org/third_party/skia/src/gpu/
DGrBitmapTextContext.cpp425 SkFixed vx, SkFixed vy, in drawPackedGlyph() argument
441 vy += SkIntToFixed(glyph->fBounds.fTop); in drawPackedGlyph()
450 int y = vy >> 16; in drawPackedGlyph()
499 SkFixedToScalar(vy - SkIntToFixed(glyph->fBounds.fTop))); in drawPackedGlyph()
573 r.fTop = SkFixedToFloat(vy); in drawPackedGlyph()
575 r.fBottom = SkFixedToFloat(vy + height); in drawPackedGlyph()
/external/skia/src/gpu/
DGrBitmapTextContext.cpp427 SkFixed vx, SkFixed vy, in drawPackedGlyph() argument
443 vy += SkIntToFixed(glyph->fBounds.fTop); in drawPackedGlyph()
452 int y = vy >> 16; in drawPackedGlyph()
499 SkFixedToScalar(vy - SkIntToFixed(glyph->fBounds.fTop))); in drawPackedGlyph()
573 r.fTop = SkFixedToFloat(vy); in drawPackedGlyph()
575 r.fBottom = SkFixedToFloat(vy + height); in drawPackedGlyph()
/external/chromium_org/content/renderer/input/
Dinput_handler_proxy.cc401 const float vy = gesture_event.data.flingStart.velocityY; in HandleGestureFling() local
402 current_fling_velocity_ = gfx::Vector2dF(vx, vy); in HandleGestureFling()
405 WebFloatPoint(vx, vy), in HandleGestureFling()
408 disallow_vertical_fling_scroll_ = !vy; in HandleGestureFling()
415 vy); in HandleGestureFling()
420 fling_parameters_.delta = WebFloatPoint(vx, vy); in HandleGestureFling()
/external/chromium_org/content/public/android/javatests/src/org/chromium/content/browser/
DContentViewScrollingTest.java122 private void fling(final int vx, final int vy) throws Throwable { in fling() argument
126 getContentViewCore().flingForTest(SystemClock.uptimeMillis(), 0, 0, vx, vy); in fling()

1234