HomeSort by relevance Sort by last modified time
    Searched full:scale (Results 1 - 25 of 1269) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /external/quake/quake/src/QW/client/
r_aclipa.s 76 fdivp %st(0),%st(1) // scale
79 fildl fv_v+0(%esi) // fv0v0 | scale
80 fildl fv_v+0(%edi) // fv1v0 | fv0v0 | scale
81 fildl fv_v+4(%esi) // fv0v1 | fv1v0 | fv0v0 | scale
82 fildl fv_v+4(%edi) // fv1v1 | fv0v1 | fv1v0 | fv0v0 | scale
83 fildl fv_v+8(%esi) // fv0v2 | fv1v1 | fv0v1 | fv1v0 | fv0v0 | scale
85 // scale
87 // scale
89 // fv1v2 | scale
91 // fv1v2 | scale
    [all...]
r_aclip.c 49 float scale; local
57 scale = (ALIAS_Z_CLIP_PLANE - pav0->fv[2]) /
60 avout.fv[0] = pav0->fv[0] + (pav1->fv[0] - pav0->fv[0]) * scale;
61 avout.fv[1] = pav0->fv[1] + (pav1->fv[1] - pav0->fv[1]) * scale;
64 out->v[2] = pfv0->v[2] + (pfv1->v[2] - pfv0->v[2]) * scale;
65 out->v[3] = pfv0->v[3] + (pfv1->v[3] - pfv0->v[3]) * scale;
66 out->v[4] = pfv0->v[4] + (pfv1->v[4] - pfv0->v[4]) * scale;
70 scale = (ALIAS_Z_CLIP_PLANE - pav1->fv[2]) /
73 avout.fv[0] = pav1->fv[0] + (pav0->fv[0] - pav1->fv[0]) * scale;
74 avout.fv[1] = pav1->fv[1] + (pav0->fv[1] - pav1->fv[1]) * scale;
99 float scale; local
122 float scale; local
144 float scale; local
167 float scale; local
    [all...]
  /external/quake/quake/src/WinQuake/
r_aclipa.s 76 fdivp %st(0),%st(1) // scale
79 fildl fv_v+0(%esi) // fv0v0 | scale
80 fildl fv_v+0(%edi) // fv1v0 | fv0v0 | scale
81 fildl fv_v+4(%esi) // fv0v1 | fv1v0 | fv0v0 | scale
82 fildl fv_v+4(%edi) // fv1v1 | fv0v1 | fv1v0 | fv0v0 | scale
83 fildl fv_v+8(%esi) // fv0v2 | fv1v1 | fv0v1 | fv1v0 | fv0v0 | scale
85 // scale
87 // scale
89 // fv1v2 | scale
91 // fv1v2 | scale
    [all...]
r_aclip.cpp 49 float scale; local
57 scale = (ALIAS_Z_CLIP_PLANE - pav0->fv[2]) /
60 avout.fv[0] = pav0->fv[0] + (pav1->fv[0] - pav0->fv[0]) * scale;
61 avout.fv[1] = pav0->fv[1] + (pav1->fv[1] - pav0->fv[1]) * scale;
64 out->v[2] = pfv0->v[2] + (pfv1->v[2] - pfv0->v[2]) * scale;
65 out->v[3] = pfv0->v[3] + (pfv1->v[3] - pfv0->v[3]) * scale;
66 out->v[4] = pfv0->v[4] + (pfv1->v[4] - pfv0->v[4]) * scale;
70 scale = (ALIAS_Z_CLIP_PLANE - pav1->fv[2]) /
73 avout.fv[0] = pav1->fv[0] + (pav0->fv[0] - pav1->fv[0]) * scale;
74 avout.fv[1] = pav1->fv[1] + (pav0->fv[1] - pav1->fv[1]) * scale;
99 float scale; local
122 float scale; local
144 float scale; local
167 float scale; local
    [all...]
  /external/skia/include/core/
SkUnPreMultiply.h 27 typedef uint32_t Scale;
30 static const Scale* GetScaleTable() {
34 static Scale GetScale(U8CPU alpha) {
41 const Scale* table = SkUnPreMultiply::GetScaleTable();
45 SkUnPreMultiply::Scale scale = table[a];
47 red = SkUnPreMultiply::ApplyScale(scale, red);
52 static U8CPU ApplyScale(Scale scale, U8CPU component) {
54 return (scale * component + (1 << 23)) >> 24
    [all...]
  /external/skia/gm/
filltypes.cpp 24 SkScalar scale, const SkPaint& paint) {
34 canvas->scale(scale, scale);
40 void showFour(SkCanvas* canvas, SkScalar scale, const SkPaint& paint) {
42 scale, paint);
44 scale, paint);
46 scale, paint);
48 scale, paint);
57 const SkScalar scale = SkIntToScalar(5)/4 local
    [all...]
bitmapfilters.cpp 51 const int scale = 32; local
55 canvas->drawText(name, strlen(name), x, SkIntToScalar(bm.height())*scale*5/8,
59 canvas->scale(SkIntToScalar(scale), SkIntToScalar(scale));
65 return x * scale / 3;
  /external/chromium/third_party/icu/source/test/cintltst/
utmstest.c 100 static void roundTripTest(int64_t value, UDateTimeScale scale)
103 int64_t rt = utmscale_toInt64(utmscale_fromInt64(value, scale, &status), scale, &status);
106 log_err("Round-trip error: time scale = %d, value = %lld, round-trip = %lld.\n", scale, value, rt);
110 static void toLimitTest(int64_t toLimit, int64_t fromLimit, UDateTimeScale scale)
113 int64_t result = utmscale_toInt64(toLimit, scale, &status);
116 log_err("toLimit failure: scale = %d, toLimit = %lld , utmscale_toInt64(toLimit, scale, &status) = %lld, fromLimit = %lld.\n",
117 scale, toLimit, result, fromLimit)
154 int32_t scale; local
167 int32_t scale; local
181 int32_t scale; local
196 int32_t scale; local
256 int32_t scale; local
330 int32_t scale; local
    [all...]
  /external/icu4c/test/cintltst/
utmstest.c 100 static void roundTripTest(int64_t value, UDateTimeScale scale)
103 int64_t rt = utmscale_toInt64(utmscale_fromInt64(value, scale, &status), scale, &status);
106 log_err("Round-trip error: time scale = %d, value = %lld, round-trip = %lld.\n", scale, value, rt);
110 static void toLimitTest(int64_t toLimit, int64_t fromLimit, UDateTimeScale scale)
113 int64_t result = utmscale_toInt64(toLimit, scale, &status);
116 log_err("toLimit failure: scale = %d, toLimit = %lld , utmscale_toInt64(toLimit, scale, &status) = %lld, fromLimit = %lld.\n",
117 scale, toLimit, result, fromLimit)
154 int32_t scale; local
167 int32_t scale; local
181 int32_t scale; local
196 int32_t scale; local
256 int32_t scale; local
330 int32_t scale; local
    [all...]
  /external/qemu/android/skin/
scaler.c 17 double scale; member in struct:SkinScaler
28 _scaler0.scale = 1.0;
35 /* change the scale of a given scaler. returns 0 on success, or -1 in case of
36 * problem (unsupported scale) */
38 skin_scaler_set( SkinScaler* scaler, double scale, double xdisp, double ydisp )
41 if (scale < 0.1)
42 scale = 0.1;
43 else if (scale > 6.0)
44 scale = 6.0;
46 scaler->scale = scale
71 double scale; member in struct:__anon5733
    [all...]
scaler.h 19 /* create a new image scaler. by default, it uses a scale of 1.0 */
22 /* change the scale of a given scaler. returns 0 on success, or -1 in case of
23 * problem (unsupported scale) */
25 double scale,
  /libcore/luni/src/test/java/libcore/java/math/
OldBigDecimalScaleOperationsTest.java 32 assertEquals("incorrect scale", 24, res.scale());
35 assertEquals("incorrect scale", 84, res.scale());
57 assertEquals("incorrect scale", 24, res.scale());
60 assertEquals("incorrect scale", 84, res.scale());
63 assertEquals("incorrect scale", -16, res.scale());
    [all...]
OldBigDecimalTest.java 75 assertTrue("the number 2.323E102 after setting scale is wrong",
76 setScale2.scale() == 4);
82 assertTrue("the scale of the number -1.253E-12 after setting scale is wrong",
83 setScale2.scale() == 17);
85 "the representation of the number -1.253E-12 after setting scale is wrong, " + setScale2.toString(),
92 "the number 1234.5908 after setting scale to 1/RoundingMode.CEILING is wrong",
93 setScale2.toString().equals("1234.6") && setScale2.scale() == 1);
97 "the number -1234.5908 after setting scale to 1/RoundingMode.CEILING is wrong",
99 && setScale2.scale() == 1)
    [all...]
  /external/qemu/android/
qemulator.c 46 double scale = get_default_scale(emulator->opts); local
48 emulator->window = skin_window_create( layout, emulator->win_x, emulator->win_y, scale, 0);
247 double scale = 0.0; local
249 /* possible values for the 'scale' option are
250 * 'auto' : try to determine the scale automatically
251 * '<number>dpi' : indicates the host monitor dpi, compute scale accordingly
252 * '<fraction>' : use direct scale coefficient
255 if (opts->scale) {
256 if (!strcmp(opts->scale, "auto"))
271 scale = strtod( opts->scale, &end )
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/graphics/
ColorMatrixSample.java 60 float scale = contrast + 1.f; local
61 float translate = (-.5f * scale + .5f) * 255.f;
63 scale, 0, 0, 0, translate,
64 0, scale, 0, 0, translate,
65 0, 0, scale, 0, translate,
70 float scale = contrast + 1.f; local
71 float translate = (-.5f * scale + .5f) * 255.f;
80 float scale = contrast + 1.f; local
81 float translate = (-.5f * scale + .5f) * 255.f;
83 scale, 0, 0, 0, 0
    [all...]
  /libcore/luni/src/main/java/java/math/
BigDecimal.java 234 * The 32-bit integer scale in the internal representation of {@code BigDecimal}.
236 private int scale; field in class:BigDecimal
249 private BigDecimal(long smallValue, int scale){
251 this.scale = scale;
255 private BigDecimal(int smallValue, int scale){
257 this.scale = scale;
284 String scaleString; // buffer for scale
286 long newScale; // the new scale
544 setUnscaledValue(Multiplication.multiplyByFivePow(BigInteger.valueOf(mantissa), scale)); local
1841 public int scale() { method in class:BigDecimal
    [all...]
  /external/skia/src/core/
SkBitmapProcState_filter.h 71 SkPMColor *dst, uint16_t scale) {
93 "vdup.16 d3, %[scale] \n\t" // duplicate scale into d3
95 "vmul.i16 d4, d4, d3 \n\t" // multiply result by scale
99 : [x] "r" (x), [y] "r" (y), [a00] "r" (a00), [a01] "r" (a01), [a10] "r" (a10), [a11] "r" (a11), [dst] "r" (dst), [scale] "r" (scale)
116 int scale = 256 - 16*y - 16*x + xy; local
117 uint32_t lo = (a00 & mask) * scale;
118 uint32_t hi = ((a00 >> 8) & mask) * scale;
120 scale = 16*x - xy
146 int scale = 256 - 16*y - 16*x + xy; local
    [all...]
  /external/skia/src/effects/
SkTransparentShader.cpp 54 unsigned scale = SkAlpha255To256(fAlpha); local
58 if (scale == 256)
64 span[i] = SkAlphaMulQ(src[i], scale);
70 if (scale == 256)
86 SkAlphaMul(r, scale),
87 SkAlphaMul(g, scale),
88 SkAlphaMul(b, scale));
96 if (scale == 256)
103 unsigned scale16 = scale >> 4;
118 if (scale == 256
    [all...]
  /packages/wallpapers/MusicVisualization/res/raw/
vu.rs 35 float scale = 0.0041;
37 matrixScale(mat1, scale, scale, scale);
73 matrixLoadTranslate(mat1, 0.f, -57.0f * scale, 0.f);
75 matrixScale(mat1, scale, scale, scale);
91 matrixScale(mat1, scale, scale, scale)
    [all...]
  /device/samsung/crespo/overlay/packages/wallpapers/Basic/res/raw/
nexus.rs 40 float scale;
70 float scale = randf2(0.7f, 1.7f);
71 pulse->scale = scale;
78 pulse->dy = scale;
81 pulse->originY = State->height / scale;
82 pulse->dy = -scale;
90 pulse->dx = scale;
93 pulse->originX = State->width * 2 / scale;
94 pulse->dx = -scale;
    [all...]
  /packages/wallpapers/Basic/res/raw/
galaxy.rs 59 void createParticle(struct Particles_s *part, int idx, float scale) {
86 d = mapf(-4.0f, State->galaxyRadius + 4.0f, 0.0f, scale, d);
90 gSpeed[idx] = randf2(0.0015f, 0.0025f) * (0.5f + (scale / d)) * 0.8f;
105 float scale = State->galaxyRadius / (State->width * 0.5f);
109 createParticle(part, i, scale);
128 float scale = 512.0f / width;
129 float x = -scale + xOffset - scale * 0.05f;
130 float y = -scale;
132 scale *= 2.0f
    [all...]
  /external/webkit/WebCore/svg/
SVGTransformDistance.cpp 82 float scaleX = toSVGTransform.scale().width() - fromSVGTransform.scale().width();
83 float scaleY = toSVGTransform.scale().height() - fromSVGTransform.scale().height();
103 return SVGTransformDistance(m_type, m_angle * scaleFactor, m_cx * scaleFactor, m_cy * scaleFactor, AffineTransform(m_transform).scale(scaleFactor));
147 FloatSize scale = first.scale() + second.scale(); local
148 transform.setScale(scale.width(), scale.height())
226 FloatSize scale = transform.scale(); local
    [all...]
  /external/webkit/WebCore/platform/graphics/
Image.cpp 120 FloatSize scale(scaledTileSize.width() / intrinsicTileSize.width(),
131 visibleSrcRect.setX((destRect.x() - oneTileRect.x()) / scale.width());
132 visibleSrcRect.setY((destRect.y() - oneTileRect.y()) / scale.height());
133 visibleSrcRect.setWidth(destRect.width() / scale.width());
134 visibleSrcRect.setHeight(destRect.height() / scale.height());
139 AffineTransform patternTransform = AffineTransform().scaleNonUniform(scale.width(), scale.height());
160 FloatSize scale = calculatePatternScale(dstRect, srcRect, hRule, vRule); local
161 AffineTransform patternTransform = AffineTransform().scaleNonUniform(scale.width(), scale.height())
    [all...]
  /external/chromium/third_party/icu/public/i18n/unicode/
utmscale.h 17 * \brief C API: Universal Time Scale
164 * These functions implement a universal time scale which can be used as a 'pivot',
167 * and converted back to any other datetime time scale.
190 * This time scale is very fine grained, does not lose precision, and covers a range that
197 * <code>UDateTimeScale</code> values are used to specify the time scale used for
198 * conversion into or out if the universal time scale.
285 * The first unused time scale value. The limit of this enum
291 * <code>UTimeScaleValue</code> values are used to specify the time scale values
301 * for a time scale.
311 * for a time scale
    [all...]
  /external/icu4c/i18n/unicode/
utmscale.h 17 * \brief C API: Universal Time Scale
164 * These functions implement a universal time scale which can be used as a 'pivot',
167 * and converted back to any other datetime time scale.
190 * This time scale is very fine grained, does not lose precision, and covers a range that
197 * <code>UDateTimeScale</code> values are used to specify the time scale used for
198 * conversion into or out if the universal time scale.
285 * The first unused time scale value. The limit of this enum
291 * <code>UTimeScaleValue</code> values are used to specify the time scale values
301 * for a time scale.
311 * for a time scale
    [all...]

Completed in 1024 milliseconds

1 2 3 4 5 6 7 8 91011>>