Searched refs:dx (Results 276 - 300 of 1151) sorted by relevance

<<11121314151617181920>>

/external/chromium_org/third_party/skia/samplecode/
H A DSampleAARects.cpp76 SkScalar dx = SkIntToScalar(80); local
92 canvas->translate(dx, 0);
99 canvas->translate(dx, 0);
106 canvas->translate(dx, 0);
113 canvas->translate(dx, 0);
123 canvas->translate(dx, 0);
136 canvas->translate(dx, 0);
146 canvas->translate(dx, 0);
156 canvas->translate(dx, 0);
167 canvas->translate(dx,
[all...]
/external/fonttools/Lib/fontTools/misc/
H A Dtransform.py88 def __init__(self, xx=1, xy=0, yx=0, yy=1, dx=0, dy=0):
93 >>> Transform(dx=12)
99 self.__affine = xx, xy, yx, yy, dx, dy
111 xx, xy, yx, yy, dx, dy = self.__affine
112 return (xx*x + yx*y + dx, xy*x + yy*y + dy)
123 xx, xy, yx, yy, dx, dy = self.__affine
124 return [(xx*x + yx*y + dx, xy*x + yy*y + dy) for x, y in points]
238 xx, xy, yx, yy, dx, dy = self.__affine
241 dx, dy = -xx*dx
[all...]
/external/fonttools/Tools/fontTools/misc/
H A Dtransform.py88 def __init__(self, xx=1, xy=0, yx=0, yy=1, dx=0, dy=0):
93 >>> Transform(dx=12)
99 self.__affine = xx, xy, yx, yy, dx, dy
111 xx, xy, yx, yy, dx, dy = self.__affine
112 return (xx*x + yx*y + dx, xy*x + yy*y + dy)
123 xx, xy, yx, yy, dx, dy = self.__affine
124 return [(xx*x + yx*y + dx, xy*x + yy*y + dy) for x, y in points]
238 xx, xy, yx, yy, dx, dy = self.__affine
241 dx, dy = -xx*dx
[all...]
/external/skia/gm/
H A Drrect.cpp13 typedef void (*InsetProc)(const SkRRect&, SkScalar dx, SkScalar dy, SkRRect*);
15 static void inset0(const SkRRect& src, SkScalar dx, SkScalar dy, SkRRect* dst) { argument
18 r.inset(dx, dy);
29 radii[i].fX -= dx;
35 static void inset1(const SkRRect& src, SkScalar dx, SkScalar dy, SkRRect* dst) { argument
38 r.inset(dx, dy);
51 static void inset2(const SkRRect& src, SkScalar dx, SkScalar dy, SkRRect* dst) { argument
54 r.inset(dx, dy);
66 radii[i].fX -= dx;
79 static void inset3(const SkRRect& src, SkScalar dx, SkScala argument
[all...]
/external/skia/samplecode/
H A DSampleAARects.cpp76 SkScalar dx = SkIntToScalar(80); local
92 canvas->translate(dx, 0);
99 canvas->translate(dx, 0);
106 canvas->translate(dx, 0);
113 canvas->translate(dx, 0);
123 canvas->translate(dx, 0);
136 canvas->translate(dx, 0);
146 canvas->translate(dx, 0);
156 canvas->translate(dx, 0);
167 canvas->translate(dx,
[all...]
/external/chromium_org/third_party/skia/src/effects/gradients/
H A DSkLinearGradient.cpp117 fx += dx; \
124 typedef void (*LinearShadeProc)(TileProc proc, SkFixed dx, SkFixed fx,
131 void shadeSpan_linear_vertical_lerp(TileProc proc, SkFixed dx, SkFixed fx, argument
154 void shadeSpan_linear_clamp(TileProc proc, SkFixed dx, SkFixed fx, argument
159 range.init(fx, dx, count, 0, SkGradientShaderBase::kCache32Count - 1);
191 void shadeSpan_linear_mirror(TileProc proc, SkFixed dx, SkFixed fx, argument
198 fx += dx;
204 void shadeSpan_linear_repeat(TileProc proc, SkFixed dx, SkFixed fx, argument
211 fx += dx;
234 SkFixed dx, f local
325 shadeSpan16_linear_vertical(TileProc proc, SkFixed dx, SkFixed fx, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument
373 shadeSpan16_linear_mirror(TileProc proc, SkFixed dx, SkFixed fx, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument
421 SkFixed dx, fx = SkScalarToFixed(srcPt.fX); local
[all...]
/external/dexmaker/src/dx/java/com/android/dx/dex/code/
H A DSwitchData.java17 package com.android.dx.dex.code;
19 import com.android.dx.io.Opcodes;
20 import com.android.dx.rop.code.RegisterSpecList;
21 import com.android.dx.rop.code.SourcePosition;
22 import com.android.dx.util.AnnotatedOutput;
23 import com.android.dx.util.Hex;
24 import com.android.dx.util.IntList;
/external/dexmaker/src/dx/java/com/android/dx/dex/file/
H A DClassDefsSection.java17 package com.android.dx.dex.file;
19 import com.android.dx.rop.cst.Constant;
20 import com.android.dx.rop.cst.CstType;
21 import com.android.dx.rop.type.Type;
22 import com.android.dx.rop.type.TypeList;
23 import com.android.dx.util.AnnotatedOutput;
24 import com.android.dx.util.Hex;
H A DDexFile.java17 package com.android.dx.dex.file;
19 import com.android.dx.dex.DexFormat;
20 import com.android.dx.dex.DexOptions;
21 import com.android.dx.rop.cst.Constant;
22 import com.android.dx.rop.cst.CstBaseMethodRef;
23 import com.android.dx.rop.cst.CstEnumRef;
24 import com.android.dx.rop.cst.CstFieldRef;
25 import com.android.dx.rop.cst.CstString;
26 import com.android.dx.rop.cst.CstType;
27 import com.android.dx
[all...]
/external/dexmaker/src/dx/java/com/android/dx/ssa/
H A DPhiTypeResolver.java17 package com.android.dx.ssa;
19 import com.android.dx.cf.code.Merger;
20 import com.android.dx.rop.code.RegisterSpec;
21 import com.android.dx.rop.code.RegisterSpecList;
22 import com.android.dx.rop.code.LocalItem;
23 import com.android.dx.rop.type.Type;
24 import com.android.dx.rop.type.TypeBearer;
/external/skia/src/effects/gradients/
H A DSkLinearGradient.cpp103 fx += dx; \
110 typedef void (*LinearShadeProc)(TileProc proc, SkFixed dx, SkFixed fx,
117 void shadeSpan_linear_vertical_lerp(TileProc proc, SkFixed dx, SkFixed fx, argument
140 void shadeSpan_linear_clamp(TileProc proc, SkFixed dx, SkFixed fx, argument
145 range.init(fx, dx, count, 0, SkGradientShaderBase::kCache32Count - 1);
177 void shadeSpan_linear_mirror(TileProc proc, SkFixed dx, SkFixed fx, argument
184 fx += dx;
190 void shadeSpan_linear_repeat(TileProc proc, SkFixed dx, SkFixed fx, argument
197 fx += dx;
220 SkFixed dx, f local
311 shadeSpan16_linear_vertical(TileProc proc, SkFixed dx, SkFixed fx, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument
359 shadeSpan16_linear_mirror(TileProc proc, SkFixed dx, SkFixed fx, uint16_t* SK_RESTRICT dstC, const uint16_t* SK_RESTRICT cache, int toggle, int count) argument
407 SkFixed dx, fx = SkScalarToFixed(srcPt.fX); local
[all...]
H A DSkRadialGradient.cpp85 SkFixed dx = SkScalarToFixed(sdx) >> 1; local
97 fx += dx;
108 fx += dx;
118 void shadeSpan16_radial(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, argument
127 fx += dx;
132 void shadeSpan16_radial_mirror(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, argument
135 shadeSpan16_radial<mirror_tileproc_nonstatic>(fx, dx, fy, dy, dstC, cache, toggle, count);
138 void shadeSpan16_radial_repeat(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, argument
141 shadeSpan16_radial<repeat_tileproc_nonstatic>(fx, dx, fy, dy, dstC, cache, toggle, count);
270 inline bool radial_completely_pinned(int fx, int dx, in argument
284 no_need_for_radial_pin(int fx, int dx, int fy, int dy, int count) argument
323 SkFixed dx = SkScalarToFixed(sdx) >> 1; local
378 shadeSpan_radial(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument
392 shadeSpan_radial_mirror(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument
398 shadeSpan_radial_repeat(SkScalar fx, SkScalar dx, SkScalar fy, SkScalar dy, SkPMColor* SK_RESTRICT dstC, const SkPMColor* SK_RESTRICT cache, int count, int toggle) argument
[all...]
/external/chromium_org/third_party/libvpx/source/libvpx/third_party/libyuv/source/
H A Dscale_argb.cc37 int x, int dx, int y, int dy,
46 assert(dx == 65536 * 2); // Test scale factor of 2.
88 int x, int dx, int y, int dy) {
98 assert(dx == 65536 * 4); // Test scale factor of 4.
130 int x, int dx, int y, int dy,
133 int col_step = dx >> 16;
170 int x, int dx, int y, int dy,
177 int dst_width, int x, int dx) =
179 int64 xlast = x + (int64)(dst_width - 1) * dx;
180 int64 xl = (dx >
33 ScaleARGBDown2(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument
84 ScaleARGBDown4Box(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy) argument
126 ScaleARGBDownEven(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument
166 ScaleARGBBilinearDown(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument
274 ScaleARGBBilinearUp(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument
411 ScaleYUVToARGBBilinearUp(int src_width, int src_height, int dst_width, int dst_height, int src_stride_y, int src_stride_u, int src_stride_v, int dst_stride_argb, const uint8* src_y, const uint8* src_u, const uint8* src_v, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument
626 ScaleARGBSimple(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy) argument
671 int dx = 0; local
[all...]
H A Dscale_common.cc341 int dst_width, int x, int dx) {
345 x += dx;
347 x += dx;
356 int dst_width, int x, int dx) {
360 x += dx;
362 x += dx;
372 int dst_width, int x, int dx) {
385 int dst_width, int x, int dx) {
402 int dst_width, int x, int dx) {
409 x += dx;
340 ScaleCols_C(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument
355 ScaleCols_16_C(uint16* dst_ptr, const uint16* src_ptr, int dst_width, int x, int dx) argument
371 ScaleColsUp2_C(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument
384 ScaleColsUp2_16_C(uint16* dst_ptr, const uint16* src_ptr, int dst_width, int x, int dx) argument
401 ScaleFilterCols_C(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument
425 ScaleFilterCols64_C(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x32, int dx) argument
454 ScaleFilterCols_16_C(uint16* dst_ptr, const uint16* src_ptr, int dst_width, int x, int dx) argument
478 ScaleFilterCols64_16_C(uint16* dst_ptr, const uint16* src_ptr, int dst_width, int x32, int dx) argument
747 ScaleARGBCols_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
764 ScaleARGBCols64_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x32, int dx) argument
783 ScaleARGBColsUp2_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
806 ScaleARGBFilterCols_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
835 ScaleARGBFilterCols64_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x32, int dx) argument
1094 ScaleSlope(int src_width, int src_height, int dst_width, int dst_height, enum FilterMode filtering, int* x, int* y, int* dx, int* dy) argument
[all...]
/external/chromium_org/third_party/libyuv/source/
H A Dscale_argb.cc37 int x, int dx, int y, int dy,
46 assert(dx == 65536 * 2); // Test scale factor of 2.
88 int x, int dx, int y, int dy) {
98 assert(dx == 65536 * 4); // Test scale factor of 4.
130 int x, int dx, int y, int dy,
133 int col_step = dx >> 16;
170 int x, int dx, int y, int dy,
177 int dst_width, int x, int dx) =
179 int64 xlast = x + (int64)(dst_width - 1) * dx;
180 int64 xl = (dx >
33 ScaleARGBDown2(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument
84 ScaleARGBDown4Box(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy) argument
126 ScaleARGBDownEven(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument
166 ScaleARGBBilinearDown(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument
274 ScaleARGBBilinearUp(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument
411 ScaleYUVToARGBBilinearUp(int src_width, int src_height, int dst_width, int dst_height, int src_stride_y, int src_stride_u, int src_stride_v, int dst_stride_argb, const uint8* src_y, const uint8* src_u, const uint8* src_v, uint8* dst_argb, int x, int dx, int y, int dy, enum FilterMode filtering) argument
626 ScaleARGBSimple(int src_width, int src_height, int dst_width, int dst_height, int src_stride, int dst_stride, const uint8* src_argb, uint8* dst_argb, int x, int dx, int y, int dy) argument
671 int dx = 0; local
[all...]
H A Dscale_common.cc341 int dst_width, int x, int dx) {
345 x += dx;
347 x += dx;
356 int dst_width, int x, int dx) {
360 x += dx;
362 x += dx;
372 int dst_width, int x, int dx) {
385 int dst_width, int x, int dx) {
402 int dst_width, int x, int dx) {
409 x += dx;
340 ScaleCols_C(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument
355 ScaleCols_16_C(uint16* dst_ptr, const uint16* src_ptr, int dst_width, int x, int dx) argument
371 ScaleColsUp2_C(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument
384 ScaleColsUp2_16_C(uint16* dst_ptr, const uint16* src_ptr, int dst_width, int x, int dx) argument
401 ScaleFilterCols_C(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x, int dx) argument
425 ScaleFilterCols64_C(uint8* dst_ptr, const uint8* src_ptr, int dst_width, int x32, int dx) argument
454 ScaleFilterCols_16_C(uint16* dst_ptr, const uint16* src_ptr, int dst_width, int x, int dx) argument
478 ScaleFilterCols64_16_C(uint16* dst_ptr, const uint16* src_ptr, int dst_width, int x32, int dx) argument
747 ScaleARGBCols_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
764 ScaleARGBCols64_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x32, int dx) argument
783 ScaleARGBColsUp2_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
806 ScaleARGBFilterCols_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x, int dx) argument
835 ScaleARGBFilterCols64_C(uint8* dst_argb, const uint8* src_argb, int dst_width, int x32, int dx) argument
1094 ScaleSlope(int src_width, int src_height, int dst_width, int dst_height, enum FilterMode filtering, int* x, int* y, int* dx, int* dy) argument
[all...]
/external/chromium_org/third_party/mesa/src/src/mesa/swrast/
H A Ds_linetemp.h75 GLint dx, dy; local
151 dx = x1 - x0;
153 if (dx == 0 && dy == 0)
157 printf("%s %d,%d %g %g %g %g %g %g %g %g\n", __FUNCTION__, dx, dy,
175 if (dx<0) {
176 dx = -dx; /* make positive */
215 ASSERT(dx >= 0);
218 numPixels = MAX2(dx, dy);
301 if (dx > d
[all...]
/external/mesa3d/src/mesa/swrast/
H A Ds_linetemp.h75 GLint dx, dy; local
151 dx = x1 - x0;
153 if (dx == 0 && dy == 0)
157 printf("%s %d,%d %g %g %g %g %g %g %g %g\n", __FUNCTION__, dx, dy,
175 if (dx<0) {
176 dx = -dx; /* make positive */
215 ASSERT(dx >= 0);
218 numPixels = MAX2(dx, dy);
301 if (dx > d
[all...]
/external/chromium_org/third_party/skia/src/core/
H A DSkEdge.cpp149 static inline SkFDot6 cheap_distance(SkFDot6 dx, SkFDot6 dy)
151 dx = SkAbs32(dx);
154 if (dx > dy)
155 dx += dy >> 1;
157 dx = dy + (dx >> 1);
158 return dx;
161 static inline int diff_to_shift(SkFDot6 dx, SkFDot6 dy) argument
164 SkFDot6 dist = cheap_distance(dx, d
217 SkFDot6 dx = ((x1 << 1) - x0 - x2) >> 2; local
279 SkFixed dx = fQDx; local
388 SkFDot6 dx = cubic_delta_from_line(x0, x1, x2, x3); local
[all...]
/external/skia/src/core/
H A DSkEdge.cpp142 static inline SkFDot6 cheap_distance(SkFDot6 dx, SkFDot6 dy)
144 dx = SkAbs32(dx);
147 if (dx > dy)
148 dx += dy >> 1;
150 dx = dy + (dx >> 1);
151 return dx;
154 static inline int diff_to_shift(SkFDot6 dx, SkFDot6 dy) argument
157 SkFDot6 dist = cheap_distance(dx, d
201 SkFDot6 dx = ((x1 << 1) - x0 - x2) >> 2; local
263 SkFixed dx = fQDx; local
361 SkFDot6 dx = cubic_delta_from_line(x0, x1, x2, x3); local
[all...]
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9/
H A Daccess-nbody.js96 var dx, dy, dz, distance, mag;
103 dx = bodyi.x - bodyj.x;
107 distance = Math.sqrt(dx*dx + dy*dy + dz*dz);
110 bodyi.vx -= dx * bodyj.mass * mag;
114 bodyj.vx += dx * bodyi.mass * mag;
129 var dx, dy, dz, distance;
143 dx = bodyi.x - bodyj.x;
147 distance = Math.sqrt(dx*dx
[all...]
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-0.9.1/
H A Daccess-nbody.js96 var dx, dy, dz, distance, mag;
103 dx = bodyi.x - bodyj.x;
107 distance = Math.sqrt(dx*dx + dy*dy + dz*dz);
110 bodyi.vx -= dx * bodyj.mass * mag;
114 bodyj.vx += dx * bodyi.mass * mag;
129 var dx, dy, dz, distance;
143 dx = bodyi.x - bodyj.x;
147 distance = Math.sqrt(dx*dx
[all...]
/external/chromium_org/third_party/WebKit/PerformanceTests/SunSpider/tests/sunspider-1.0/
H A Daccess-nbody.js96 var dx, dy, dz, distance, mag;
103 dx = bodyi.x - bodyj.x;
107 distance = Math.sqrt(dx*dx + dy*dy + dz*dz);
110 bodyi.vx -= dx * bodyj.mass * mag;
114 bodyj.vx += dx * bodyi.mass * mag;
129 var dx, dy, dz, distance;
143 dx = bodyi.x - bodyj.x;
147 distance = Math.sqrt(dx*dx
[all...]
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/
H A DFEDropShadow.cpp34 FEDropShadow::FEDropShadow(Filter* filter, float stdX, float stdY, float dx, float dy, const Color& shadowColor, float shadowOpacity) argument
38 , m_dx(dx)
45 PassRefPtr<FEDropShadow> FEDropShadow::create(Filter* filter, float stdX, float stdY, float dx, float dy, const Color& shadowColor, float shadowOpacity) argument
47 return adoptRef(new FEDropShadow(filter, stdX, stdY, dx, dy, shadowColor, shadowOpacity));
108 float dx = filter()->applyHorizontalScale(m_dx); local
114 return adoptRef(SkDropShadowImageFilter::Create(SkFloatToScalar(dx), SkFloatToScalar(dy), SkFloatToScalar(stdX), SkFloatToScalar(stdY), color.rgb(), input.get(), &cropRect));
123 ts << " stdDeviation=\"" << m_stdX << ", " << m_stdY << "\" dx=\"" << m_dx << "\" dy=\"" << m_dy << "\" flood-color=\"" << m_shadowColor.nameForRenderTreeAsText() <<"\" flood-opacity=\"" << m_shadowOpacity << "]\n";
/external/chromium_org/third_party/mesa/src/src/gallium/drivers/llvmpipe/
H A Dlp_setup_line.c44 float dx; member in struct:lp_line_info
86 float dadx = da21 * info->dx * info->oneoverarea;
118 float dadx = da21 * info->dx * info->oneoverarea;
305 float dx, dy; local
324 dx = v1[0][0] - v2[0][0];
326 area = (dx * dx + dy * dy);
333 info.dx = dx;
340 if (fabsf(dx) >
[all...]

Completed in 854 milliseconds

<<11121314151617181920>>