/frameworks/base/graphics/java/android/graphics/ |
LayerRasterizer.java | 31 public void addLayer(Paint paint, float dx, float dy) { }
|
/external/skia/gm/ |
spritebitmap.cpp | 26 int dx, int dy, sk_sp<SkImageFilter> filter) { 31 SkIntToScalar(dy), 44 canvas->drawBitmap(bm, SkIntToScalar(dx), SkIntToScalar(dy), &paint); 72 int dy = 10; variable 77 draw_1_bitmap(canvas, bm, false, dx, dy, nullptr); 78 dy += bm.height() + 20; 79 draw_1_bitmap(canvas, bm, false, dx, dy, filter); 80 dy += bm.height() + 20; 81 draw_1_bitmap(canvas, bm, true, dx, dy, nullptr); 82 dy += bm.height() + 20 [all...] |
/external/skqp/gm/ |
spritebitmap.cpp | 26 int dx, int dy, sk_sp<SkImageFilter> filter) { 31 SkIntToScalar(dy), 44 canvas->drawBitmap(bm, SkIntToScalar(dx), SkIntToScalar(dy), &paint); 72 int dy = 10; variable 77 draw_1_bitmap(canvas, bm, false, dx, dy, nullptr); 78 dy += bm.height() + 20; 79 draw_1_bitmap(canvas, bm, false, dx, dy, filter); 80 dy += bm.height() + 20; 81 draw_1_bitmap(canvas, bm, true, dx, dy, nullptr); 82 dy += bm.height() + 20 [all...] |
/external/pdfium/third_party/agg23/ |
agg_math.h | 34 float dy = y2 - y1; local 35 return FXSYS_sqrt2(dx, dy); 42 float dy = y2 - y1; local 43 float d = FXSYS_sqrt2(dx, dy); 47 return ((x - x2) * dy / d) - ((y - y2) * dx / d); 50 float cx, float cy, float dx, float dy, 53 float num = ((ay - cy) * (dx - cx)) - ((ax - cx) * (dy - cy)); 54 float den = ((bx - ax) * (dy - cy)) - ((by - ay) * (dx - cx));
|
agg_curves.cpp | 62 float dy = y4 - y1; local 63 float d2 = fabs(((x2 - x4) * dy) - ((y2 - y4) * dx)); 64 float d3 = fabs(((x3 - x4) * dy) - ((y3 - y4) * dx)); 77 (m_distance_tolerance_square * ((dx * dx) + (dy * dy)))) { 84 (m_distance_tolerance_square * ((dx * dx) + (dy * dy)))) { 91 (m_distance_tolerance_square * ((dx * dx) + (dy * dy)))) {
|
/packages/apps/Calendar/src/com/android/calendar/ |
EventGeometry.java | 144 float dy = top - y; local 145 return (float) Math.sqrt(dx * dx + dy * dy); 149 float dy = y - bottom; local 150 return (float) Math.sqrt(dx * dx + dy * dy); 159 float dy = top - y; local 160 return (float) Math.sqrt(dx * dx + dy * dy); 164 float dy = y - bottom local [all...] |
/external/opencv/cvaux/src/ |
cvlines.cpp | 49 int dx = end.x - start.x, dy = end.y - start.y; 63 dy = -dy; 70 i = dy >> 31; 71 dy = (dy ^ i) - i; 74 if( dx > dy ) 84 dy += dy; 87 int mask = (err -= dy) < 0 ? -1 : 0 [all...] |
/development/samples/OpenGL/HelloOpenGLES10/src/com/example/android/opengl/ |
MyGLSurfaceView.java | 59 float dy = y - mPreviousY; local 68 dy = dy * -1 ; 73 ((dx + dy) * TOUCH_SCALE_FACTOR)); // = 180.0f / 320
|
/development/samples/OpenGL/HelloOpenGLES20/src/com/example/android/opengl/ |
MyGLSurfaceView.java | 62 float dy = y - mPreviousY; local 71 dy = dy * -1 ; 76 ((dx + dy) * TOUCH_SCALE_FACTOR)); // = 180.0f / 320
|
/external/freetype/src/autofit/ |
afangles.c | 40 * dy * PI / (|dx|+|dy|) 46 FT_Fixed dy ) 50 FT_Fixed ay = dy; 64 angle = ( AF_ANGLE_PI2 * dy ) / ( ax + ay ); 125 FT_Fixed dy ) 131 if ( dy == 0 ) 141 if ( dy < 0 ) 150 dy = -dy; [all...] |
/external/lmfit/lib/ |
lmcurve_tyd.c | 7 * data points y(t) with the inverse of the standard deviations dy. 21 const double* dy; member in struct:__anon28498 32 fvec[i] = ( D->y[i] - D->f(D->t[i], par) ) / D->dy[i]; 37 const double* t, const double* y, const double* dy, 41 lmcurve_tyd_data_struct data = { t, y, dy, f };
|
/external/skia/include/effects/ |
SkBlurDrawLooper.h | 19 sk_sp<SkDrawLooper> SK_API Make(SkColor color, SkScalar sigma, SkScalar dx, SkScalar dy);
|
/external/skqp/include/effects/ |
SkBlurDrawLooper.h | 19 sk_sp<SkDrawLooper> SK_API Make(SkColor color, SkScalar sigma, SkScalar dx, SkScalar dy);
|
/frameworks/base/media/mca/filterpacks/native/base/ |
geometry.cpp | 84 const float dy = height * (current_ratio / ratio - 1.0f); local 85 y -= dy / 2.0f; 86 height += dy; 101 const float dy = height * (length / current_length - 1.0f); local 102 y -= dy / 2.0f; 103 height += dy; 126 const float dy = height * (f - 1.0f); local 127 y -= dy / 2.0f; 128 height += dy; 140 Point dy = vert_axis [all...] |
/platform_testing/tests/perf/PerformanceLaunch/src/com/android/performanceLaunch/helper/ |
SimpleGLSurfaceView.java | 63 float dy = y - mPreviousY; local 72 dy = dy * -1; 77 ((dx + dy) * TOUCH_SCALE_FACTOR)); // = 180.0f / 320
|
/frameworks/support/leanback/src/androidTest/java/androidx/leanback/widget/ |
HorizontalGridViewEx.java | 38 public void smoothScrollBy(int dx, int dy) { 40 super.smoothScrollBy(dx, dy);
|
VerticalGridViewEx.java | 38 public void smoothScrollBy(int dx, int dy) { 40 super.smoothScrollBy(dx, dy);
|
/external/eigen/blas/f2c/ |
drotm.c | 16 doublereal *dy, integer *incy, doublereal *dparam) 44 /* (DY**T) */ 69 /* DY (input/output) DOUBLE PRECISION array, dimension N */ 73 /* storage spacing between elements of DY */ 89 --dy; 118 z__ = dy[i__]; 120 dy[i__] = w * dh21 + z__; 131 z__ = dy[i__]; 133 dy[i__] = -w + dh22 * z__; 146 z__ = dy[i__] [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
geometry.cpp | 83 const float dy = height * (current_ratio / ratio - 1.0f); local 84 y -= dy / 2.0f; 85 height += dy; 100 const float dy = height * (length / current_length - 1.0f); local 101 y -= dy / 2.0f; 102 height += dy; 125 const float dy = height * (f - 1.0f); local 126 y -= dy / 2.0f; 127 height += dy;
|
/external/skia/tools/lua/ |
skia.lua | 73 function Sk.Rect:offset(dx, dy) 74 dy = dy or dx 77 self.top = self.top + dy 79 self.bottom = self.bottom + dy 82 function Sk.Rect:inset(dx, dy) 83 dy = dy or dx 86 self.top = self.top + dy 88 self.bottom = self.bottom - dy [all...] |
/external/skqp/tools/lua/ |
skia.lua | 73 function Sk.Rect:offset(dx, dy) 74 dy = dy or dx 77 self.top = self.top + dy 79 self.bottom = self.bottom + dy 82 function Sk.Rect:inset(dx, dy) 83 dy = dy or dx 86 self.top = self.top + dy 88 self.bottom = self.bottom - dy [all...] |
/external/opencv/cv/src/ |
_cvgeom.h | 49 float dy = pt2.y - pt1.y; local 51 return cvSqrt( dx*dx + dy*dy );
|
/external/webrtc/webrtc/modules/desktop_capture/ |
desktop_geometry.cc | 40 void DesktopRect::Translate(int32_t dx, int32_t dy) { 42 top_ += dy; 44 bottom_ += dy;
|
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/layout/ |
geometry_utils.h | 35 const int dy = y1 - y2; local 36 if (dx == 0 && dy == 0) return 0.0f; 37 return atan2f(static_cast<float>(dy), static_cast<float>(dx));
|
/external/tensorflow/tensorflow/core/ops/ |
array_grad_test.cc | 37 const Tensor& dy, int axis) { 43 f::NDef("dy", "Placeholder", {}, {{"dtype", T}}), 44 f::NDef("dx", "SymbolicGradient", {"x0", "x1", "dy"}, 56 {"dy:0", dy}}, 68 Tensor dy(DT_FLOAT, {2, 2, 3}); 69 test::FillIota<float>(&dy, 0); 70 auto dx = PackGrad(x0, x1, dy, 0); 118 const Tensor& dy) { 124 f::NDef("dy", "Placeholder", {}, {{"dtype", T}}) [all...] |