/external/skia/tests/ |
ClampRangeTest.cpp | 28 static int classify_value(SkFixed fx, int v0, int v1) { 29 if (fx <= 0) { 32 if (fx >= 0xFFFF) { 43 SkFixed fx, SkFixed dx, int count) { 48 fx = range.fFx1; 50 R_ASSERT(fx >= 0 && fx <= 0xFFFF); 51 fx += dx; 55 int v = classify_value(fx, V0, V1); 57 fx += dx 107 SkFixed fx = rand.nextS() >> 1; local 116 SkFixed fx = rand.nextS(); local [all...] |
/external/clang/test/CodeGenCXX/ |
debug-info-fn-template.cpp | 9 T fx(XF<T> xi) { function 15 template int fx(XF<int>);
|
/external/skia/src/core/ |
SkClampRange.cpp | 43 void SkClampRange::initFor1(SkFixed fx) { 45 if (fx <= 0) { 47 } else if (fx < 0xFFFF) { 49 fFx1 = fx; 69 int64_t fx = fx0; local 72 int64_t ex = fx + (count - 1) * dx; 75 if ((uint64_t)(fx | ex) <= 0xFFFF) { 81 if (fx <= 0 && ex <= 0) { 86 if (fx >= 0xFFFF && ex >= 0xFFFF) { 104 fx = -fx [all...] |
SkBitmapShaderTemplate.h | 76 SkFixed fx, fy, dx, dy; local 91 fx >>= level; 99 fx = *srcXY++; 101 unsigned x = NOFILTER_BITMAP_SHADER_TILEPROC(fx, srcMaxX); 110 fx = *srcXY++; 112 unsigned x = NOFILTER_BITMAP_SHADER_TILEPROC(fx, srcMaxX); 122 // now init fx, fy, dx, dy 128 fx = SkScalarToFixed(srcPt.fX); 142 fx >>= level 220 SkFixed fx, fy, dx, dy; local [all...] |
SkBitmapProcState_matrix.h | 45 SkFixed fx; local 50 fx = SkScalarToFixed(pt.fY); 52 *xy++ = TILEY_PROCF(fx, maxY); 53 fx = SkScalarToFixed(pt.fX); 66 if ((unsigned)(fx >> 16) <= maxX && 67 (unsigned)((fx + dx * (count - 1)) >> 16) <= maxX) { 68 decal_nofilter_scale(xy, fx, dx, count); 75 a = TILEX_PROCF(fx, maxX); fx += dx 114 SkFixed fx = SkScalarToFixed(srcPt.fX); local 177 SkFixed fx; local 222 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1); local [all...] |
ARGB32_Clamp_Bilinear_BitmapShader.h | 12 SkPMColor sample_bilerp(SkFixed fx, SkFixed fy, unsigned srcMaxX, unsigned srcMaxY, 14 SkPMColor sample_bilerp(SkFixed fx, SkFixed fy, unsigned srcMaxX, unsigned srcMaxY, 17 int ix = fx >> 16; 36 SkFilterPtrProc proc = SkGetBilinearFilterPtrProc(proc_table, fx, fy); 40 static inline SkPMColor sample_bilerpx(SkFixed fx, unsigned srcMaxX, const SkPMColor* srcPixels, 43 int ix = fx >> 16; 54 SkFilterPtrProc proc = SkGetBilinearFilterPtrXProc(proc_table, fx); 85 SkFixed fx = *srcXY++ - SK_FixedHalf; local 87 *dstC++ = sample_bilerp(fx, fy, srcMaxX, srcMaxY, srcPixels, srcRB, proc_table); 98 SkFixed fx = *srcXY++ - SK_FixedHalf local 108 SkFixed fx, fy, dx, dy; local [all...] |
SkBitmapProcState_matrixProcs.cpp | 27 void decal_nofilter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count); 28 void decal_filter_scale(uint32_t dst[], SkFixed fx, SkFixed dx, int count); 31 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) 33 #define TILEX_LOW_BITS(fx, max) (((fx) >> 12) & 0xF) 43 #define TILEX_PROCF(fx, max) (((fx) & 0xFFFF) * ((max) + 1) >> 16) 45 #define TILEX_LOW_BITS(fx, max) ((((fx) & 0xFFFF) * ((max) + 1) >> 12) & 0xF [all...] |
SkBitmapShader16BilerpTemplate.h | 55 SkFixed fx = *srcXY++ - SK_FixedHalf; local 57 int ix = fx >> 16; 75 SkFilterProc proc = SkGetBilinearFilterProc(proc_table, fx, fy); 87 SkFixed fx, fy, dx, dy; local 89 // now init fx, fy, dx, dy 95 fx = SkScalarToFixed(srcPt.fX) - SK_FixedHalf; 108 int ix = fx >> 16; 126 SkFilterProc proc = SkGetBilinearFilterProc(proc_table, fx, fy); 133 fx += dx 164 SkFixed fx = *srcXY++ - SK_FixedHalf; local 195 SkFixed fx, fy, dx, dy; local [all...] |
SkBitmapProcState_matrix_repeat.h | 29 * #define TILEX_PROCF(fx, max) (((fx) & 0xFFFF) * ((max) + 1) >> 16) 31 * #define TILEX_LOW_BITS(fx, max) ((((fx) & 0xFFFF) * ((max) + 1) >> 12) & 0xF) 64 SkFixed fx; local 69 fx = SkScalarToFixed(pt.fY); 71 *xy++ = TILEY_PROCF(fx, maxY); 72 fx = SkScalarToFixed(pt.fX); 85 if ((unsigned)(fx >> 16) <= maxX & 199 SkFixed fx = SkScalarToFixed(srcPt.fX); local 451 SkFixed fx; local 496 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1); local [all...] |
SkBitmapProcState_shaderproc.h | 32 SkFixed fx; local 52 // now initialize fx 53 fx = SkScalarToFixed(pt.fX) - (oneX >> 1); 61 unsigned subX = TILEX_LOW_BITS(fx, maxX); 62 unsigned x0 = TILEX_PROCF(fx, maxX); 63 unsigned x1 = TILEX_PROCF((fx + oneX), maxX); 73 fx += dx;
|
SkBitmapProcState_matrix_clamp.h | 30 * #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) 32 * #define TILEX_LOW_BITS(fx, max) (((fx) >> 12) & 0xF) 66 SkFixed fx; local 71 fx = SkScalarToFixed(pt.fY); 73 *xy++ = TILEY_PROCF(fx, maxY); 74 fx = SkScalarToFixed(pt.fX); 87 if ((unsigned)(fx >> 16) <= maxX & 176 SkFixed fx = SkScalarToFixed(srcPt.fX); local 495 SkFixed fx; local 611 SkFixed fx = SkScalarToFixed(srcPt.fX) - (oneX >> 1); local [all...] |
SkBitmapProcState.cpp | 294 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max) 296 #define TILEX_LOW_BITS(fx, max) (((fx) >> 12) & 0xF) 307 #define TILEX_PROCF(fx, max) (((fx) & 0xFFFF) * ((max) + 1) >> 16) 309 #define TILEX_LOW_BITS(fx, max) ((((fx) & 0xFFFF) * ((max) + 1) >> 12) & 0xF) 320 #define TILEX_PROCF(fx, max) SkClampMax((fx) >> 16, max [all...] |
SkPoint.cpp | 23 int32_t tmp = fX; 24 dst->fX = -fY; 32 int32_t tmp = fX; 33 dst->fX = fY; 66 SkScalar tmp = fX; 67 dst->fX = -fY; 75 SkScalar tmp = fX; 76 dst->fX = fY; 82 dst->set(SkScalarMul(fX, scale), SkScalarMul(fY, scale)); 88 return this->setLength(fX, fY, SK_Scalar1) 143 float fx = (float)x; local 340 float fx = SkAbs32(ox)\/65536.0f; local [all...] |
/external/skia/include/core/ |
SkClampRange.h | 23 * Iteration fixed fx by dx, clamping as you go to [0..0xFFFF], this class 27 * range1: iterate as usual fx += dx 34 SkFixed fFx1; // initial fx value for the fCount1 range. 39 void init(SkFixed fx, SkFixed dx, int count, int v0, int v1); 42 void initFor1(SkFixed fx);
|
/external/webkit/Source/WebCore/svg/ |
SVGRadialGradientElement.idl | 32 readonly attribute SVGAnimatedLength fx;
|
SVGRadialGradientElement.h | 56 DECLARE_ANIMATED_LENGTH(Fx, fx)
|
SVGRadialGradientElement.cpp | 46 DEFINE_ANIMATED_LENGTH(SVGRadialGradientElement, SVGNames::fxAttr, Fx, fx) 189 attributes.setFx(radial->fx()); 213 // Handle default values for fx/fy 225 focalPoint = FloatPoint(attributes.fx().valueAsPercentage(), attributes.fy().valueAsPercentage()); 229 focalPoint = FloatPoint(attributes.fx().value(this), attributes.fy().value(this)); 239 // Spec: If (fx, fy) lies outside the circle defined by (cx, cy) and r, set 240 // (fx, fy) to the point of intersection of the line through (fx, fy) and the circle. 256 || fx().isRelative( [all...] |
/frameworks/base/media/libeffects/factory/ |
EffectsFactory.c | 74 effect_entry_t *fx = (effect_entry_t *)self; local 76 if (fx->lib == NULL) { 80 pthread_mutex_lock(&fx->lib->lock); 83 ret = (*fx->subItfe)->process(fx->subItfe, inBuffer, outBuffer); 84 pthread_mutex_unlock(&fx->lib->lock); 99 effect_entry_t *fx = (effect_entry_t *)self; local 101 if (fx->lib == NULL) { 105 pthread_mutex_lock(&fx->lib->lock); 108 ret = (*fx->subItfe)->command(fx->subItfe, cmdCode, cmdSize, pCmdData, replySize, pReplyData) 120 effect_entry_t *fx = (effect_entry_t *)self; local 140 effect_entry_t *fx = (effect_entry_t *)self; local 266 effect_entry_t *fx; local 328 effect_entry_t *fx; local [all...] |
/frameworks/base/opengl/tests/gl_jni/jni/ |
gl_code.cpp | 31 float fx = centerX - eyeX; local 36 float rlf = 1.0f / sqrtf(fx*fx + fy*fy + fz*fz); 37 fx *= rlf; 50 float sy = fz * upX - fx * upZ; 51 float sz = fx * upY - fy * upX; 55 float uy = sz * fx - sx * fz; 56 float uz = sx * fy - sy * fx; 61 m[2] = -fx;
|
/frameworks/base/opengl/tests/tritex/ |
tritex.cpp | 42 float fx = centerX - eyeX; local 47 float rlf = 1.0f / sqrtf(fx*fx + fy*fy + fz*fz); 48 fx *= rlf; 61 float sy = fz * upX - fx * upZ; 62 float sz = fx * upY - fy * upX; 66 float uy = sz * fx - sx * fz; 67 float uz = sx * fy - sy * fx; 72 m[2] = -fx;
|
/frameworks/base/media/libstagefright/ |
XINGSeeker.cpp | 68 float fx; local 70 fx = 0.0f; 72 fx = 256.0f; 86 fx = fa + (fb-fa)*(percent-a); 89 *pos = (int)((1.0f/256.0f)*fx*mSizeBytes) + mFirstFramePos;
|
/external/skia/src/effects/ |
SkGradientShader.cpp | 58 retval.fX = buffer.readScalar(); 753 matrix->setSinCos(-vec.fY, vec.fX, pts[0].fX, pts[0].fY); 754 matrix->postTranslate(-pts[0].fX, -pts[0].fY); 785 buffer.writeScalar(fStart.fX); 787 buffer.writeScalar(fEnd.fX); 824 // Return true if fx, fx+dx, fx+2*dx, ... is always in range 825 static inline bool no_need_for_clamp(int fx, int dx, int count) [all...] |
/frameworks/base/opengl/tests/gl_basic/ |
gl_basic.cpp | 45 float fx = centerX - eyeX; local 50 float rlf = 1.0f / sqrtf(fx*fx + fy*fy + fz*fz); 51 fx *= rlf; 64 float sy = fz * upX - fx * upZ; 65 float sz = fx * upY - fy * upX; 69 float uy = sz * fx - sx * fz; 70 float uz = sx * fy - sy * fx; 75 m[2] = -fx;
|
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
BitmapMesh.java | 66 float fx = w * x / WIDTH; local 67 setXY(mVerts, index, fx, fy); 68 setXY(mOrig, index, fx, fy);
|
/external/skia/src/svg/ |
SkSVGRadialGradient.cpp | 24 SVG_ATTRIBUTE(fx),
|