/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/bouncycastle/src/main/java/org/bouncycastle/math/ec/ |
SimpleBigDecimal.java | 10 * point is called the <code>scale</code> of the <code>SimpleBigDecimal</code>. 11 * Unlike in {@link java.math.BigDecimal BigDecimal}, the scale is not adjusted 13 * taking part in the same arithmetic operation must have equal scale. The 15 * <code>SimpleBigDecimal</code> with double scale. 23 private final int scale; field in class:SimpleBigDecimal 30 * @param scale The scale of the <code>SimpleBigDecimal</code> to be 34 public static SimpleBigDecimal getInstance(BigInteger value, int scale) 36 return new SimpleBigDecimal(value.shiftLeft(scale), scale); [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.tests/src/com/android/ide/eclipse/adt/internal/editors/layout/refactoring/testdata/ |
animator1-expected-completion60.txt | 2 scaleX : scale of the view in the x direction. 3 scaleY : scale of the view in the y direction.
|
anim1-expected-completion53.txt | 4 <scale />
|
anim1-expected-completion54.txt | 4 <scale />
|
/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...] |
/external/skia/samplecode/ |
SampleFillType.cpp | 34 SkScalar scale, const SkPaint& paint) { 44 canvas->scale(scale, scale); 50 void showFour(SkCanvas* canvas, SkScalar scale, const SkPaint& paint) { 52 scale, paint); 54 scale, paint); 56 scale, paint); 58 scale, paint); 65 const SkScalar scale = SkIntToScalar(5)/4 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/apache-harmony/math/src/test/java/org/apache/harmony/tests/java/math/ |
BigDecimalScaleOperationsTest.java | 28 * Methods: movePointLeft, movePointRight, scale, setScale, unscaledValue * 32 * Check the default scale 38 assertTrue("incorrect scale", aNumber.scale() == cScale); 42 * Check a negative scale 49 assertTrue("incorrect scale", aNumber.scale() == cScale); 53 * Check a positive scale 60 assertTrue("incorrect scale", aNumber.scale() == cScale) [all...] |
BigDecimalConstructorsTest.java | 73 assertEquals("incorrect scale", 0, aNumber.scale()); 84 * new BigDecimal(BigInteger value, int scale) 92 assertEquals("incorrect scale", aScale, aNumber.scale()); 108 assertEquals("incorrect scale", resScale, result.scale()); 112 * new BigDecimal(BigInteger value, int scale, MathContext) 125 assertEquals("incorrect scale", resScale, result.scale()); [all...] |
BigDecimalArithmeticTest.java | 46 assertEquals("incorrect scale", cScale, result.scale()); 64 assertEquals("incorrect scale", cScale, result.scale()); 81 assertEquals("incorrect scale", cScale, result.scale()); 99 assertEquals("incorrect scale", cScale, result.scale()); 116 assertEquals("incorrect scale", cScale, result.scale()); [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/photoeditor/filters/ |
AbstractScaleFilter.java | 22 * Filter base that has a scale value ranging from 0 to 1 for adjustments and can persist states. 26 protected float scale; field in class:AbstractScaleFilter 29 * Sets the scale from 0 to 1. 31 public void setScale(float scale) { 32 this.scale = scale; 38 out.writeFloat(scale); 43 scale = in.readFloat();
|
/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:__anon9474 92 double scale = scaler->scale; local [all...] |
/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/clang/test/PCH/ |
blocks.h | 12 __block int scale = s; 13 return call_block(^(int x, int y) { return x*scale + y; }, a, b);
|
/external/webkit/Source/WebKit2/WebProcess/WebPage/qt/ |
TiledDrawingAreaQt.cpp | 42 void TiledDrawingArea::paintIntoUpdateChunk(UpdateChunk* updateChunk, float scale) 50 graphicsContext.scale(FloatSize(scale, scale)); 51 IntRect contentRect = enclosingIntRect(FloatRect(tileRect.x() / scale, 52 tileRect.y() / scale, 53 tileRect.width() / scale, 54 tileRect.height() / scale));
|
/external/webkit/Source/WebCore/platform/graphics/android/ |
ZoomManager.cpp | 69 const SkIRect& viewport, float scale) 75 setFutureScale(scale); 84 if (futureScale() == scale) { 85 // we are still with the previous scale, let's go 91 // a different scale factor -- meaning the user is still probably 94 setFutureScale(scale); 134 void ZoomManager::processNewScale(double currentTime, float scale) 140 if (scale == m_currentScale 144 // If we have a different scale than the current one, we have to 147 if ((m_currentScale != scale [all...] |
/packages/wallpapers/MusicVisualization/src/com/android/musicvis/vis4/ |
vu.rs | 48 float scale = 0.0041; 49 rsMatrixLoadTranslate(&mat1, 0.f, -90.0f * scale, 0.f); 50 rsMatrixScale(&mat1, scale, scale, scale); 86 rsMatrixLoadTranslate(&mat1, 0.f, -147.0f * scale, 0.f); 88 rsMatrixScale(&mat1, scale, scale, scale); 103 rsMatrixLoadTranslate(&mat1, 0.f, -90.0f * scale, 0.f) [all...] |
/development/samples/ApiDemos/src/com/example/android/apis/graphics/ |
ColorMatrixSample.java | 56 float scale = contrast + 1.f; local 57 float translate = (-.5f * scale + .5f) * 255.f; 59 scale, 0, 0, 0, translate, 60 0, scale, 0, 0, translate, 61 0, 0, scale, 0, translate, 66 float scale = contrast + 1.f; local 67 float translate = (-.5f * scale + .5f) * 255.f; 76 float scale = contrast + 1.f; local 77 float translate = (-.5f * scale + .5f) * 255.f; 79 scale, 0, 0, 0, 0 [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
AdaptiveBackground.java | 57 float scale = (float) BACKGROUND_HEIGHT / height; local 58 canvas.scale(scale, scale); 59 left = (BACKGROUND_WIDTH - (int) (width * scale + 0.5)) / 2; 61 float scale = (float) BACKGROUND_WIDTH / width; local 62 canvas.scale(scale, scale); 63 top = (BACKGROUND_HEIGHT - (int) (height * scale + 0.5)) / 2 103 float scale = (float) height \/ BACKGROUND_HEIGHT; local [all...] |