/frameworks/base/media/libstagefright/codecs/m4v_h263/dec/src/ |
scaling_tab.cpp | 50 const int32 scale[63] = {0, 262145, 131073, 87382, 65537, 52430, 43692, 37450, 32769, 29128, variable
|
scaling.h | 24 extern const int32 scale[63];
|
/external/qemu/android/ |
core-ui-protocol.c | 26 android_ui_set_window_scale(double scale, int is_dpi) 29 android_emulator_set_window_scale(scale, is_dpi);
|
core-ui-protocol.h | 24 /* Changes the scale of the emulator window at runtime. */ 25 void android_ui_set_window_scale(double scale, int is_dpi);
|
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...] |
/external/webkit/WebCore/svg/ |
SVGZoomEvent.cpp | 48 void SVGZoomEvent::setPreviousScale(float scale) 50 m_previousScale = scale; 63 void SVGZoomEvent::setNewScale(float scale) 65 m_newScale = scale;
|
/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...] |
/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/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/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/srec/srec/clib/ |
log_add.c | 41 #define DO_USE_LOGTAB__TABLE ( logtab->scale == 61 \ 51 ASSERT(logtab->scale != 0); 54 logtab->add_log_limit = (prdata)(ADD_LOG_LIMIT * mul_scale * logtab->scale); 61 PRINT_SOME_CODE( "#define DO_USE_LOGTAB__TABLE (logtab->scale == %d \\\n", logtab->scale); 66 table[ii] = (prdata)(logtab->scale * mul_scale * log(1 67 + exp(-(float)ii / ((float)logtab->scale * mul_scale))) 74 PLogMessage("L: log table scale is %f\n", (float)logtab->scale);
|
/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...] |
/frameworks/base/media/libstagefright/codecs/aacdec/ |
esc_iquant_scaling.h | 90 UInt16 scale,
|
pns_corr.cpp | 40 scale = Multiplier used to scale the noise extracted from the left 146 q_format = q_formatLeft - (scale >> 2); 150 multiplier = hcb2_scale_mod_4[scale & 0x3]; 255 const Int scale, 284 * scale is interpreted as 2^(scale/4) 285 * Therefore, we can adjust the q-format by floor(scale/4) 288 q_format = q_formatLeft - (scale >> 2); 299 multiplier = hcb2_scale_mod_4[scale & 0x3] [all...] |
/sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/layout/gle2/ |
ICanvasTransform.java | 45 public int scale(int canwasW); method in interface:ICanvasTransform
|
/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...] |
/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...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
Environment.java | 125 int scale; local 129 scale = mScreenWidth; 133 scale = mScreenHeight; 135 mNormalKeyTextSize = (int) (scale * NORMAL_KEY_TEXT_SIZE_RATIO); 136 mFunctionKeyTextSize = (int) (scale * FUNCTION_KEY_TEXT_SIZE_RATIO); 137 mNormalBalloonTextSize = (int) (scale * NORMAL_BALLOON_TEXT_SIZE_RATIO); 138 mFunctionBalloonTextSize = (int) (scale * FUNCTION_BALLOON_TEXT_SIZE_RATIO); 139 mKeyBalloonWidthPlus = (int) (scale * KEY_BALLOON_WIDTH_PLUS_RATIO); 140 mKeyBalloonHeightPlus = (int) (scale * KEY_BALLOON_HEIGHT_PLUS_RATIO);
|
/libcore/luni/src/test/java/libcore/java/math/ |
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/webkit/WebCore/platform/gtk/ |
DragImageGtk.cpp | 41 DragImageRef scaleDragImage(DragImageRef image, FloatSize scale) 46 imageSize.width() * scale.width(), 47 imageSize.height() * scale.height(),
|
/libcore/luni/src/test/java/org/apache/harmony/luni/platform/ |
OSMemoryTest.java | 57 int scale = PlatformAddress.SIZEOF_JINT; local 58 int ptr = OSMemory.malloc(scale * values.length); 61 OSMemory.memset(ptr, (byte) 0, scale * values.length); 66 OSMemory.memset(ptr, (byte) 0, scale * values.length); 71 OSMemory.memset(ptr, (byte) 0, scale * values.length); 73 OSMemory.setIntArray(ptr + i * scale, values, i, 1, true); 98 int scale = PlatformAddress.SIZEOF_JSHORT; local 99 int ptr = OSMemory.malloc(scale * values.length); 102 OSMemory.memset(ptr, (byte) 0, scale * values.length); 107 OSMemory.memset(ptr, (byte) 0, scale * values.length) [all...] |
/external/quake/quake/src/QW/client/ |
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_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...] |