/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
frame_classify.c | 32 int16_t max, scale; local 49 scale=WebRtcSpl_GetSizeInBits(WEBRTC_SPL_MUL_16_16(max,max)); 51 /* Scale to maximum 24 bits so that it won't overflow for 76 samples */ 52 scale = scale-24; 53 scale1 = WEBRTC_SPL_MAX(0, scale); 64 /* Scale to maximum 20 bits in order to allow for the 11 bit window */ 66 scale = WebRtcSpl_GetSizeInBits(maxW32) - 20; 67 scale1 = WEBRTC_SPL_MAX(0, scale);
|
gain_quant.c | 33 int16_t scale, returnVal, cblen; local 40 scale = WEBRTC_SPL_MAX(1638, maxIn); 65 measure1=WEBRTC_SPL_MUL_16_16(scale, (*cbPtr)); 81 measure1=WEBRTC_SPL_MUL_16_16(scale, (*cbPtr)); 84 measure2=WEBRTC_SPL_MUL_16_16(scale, (*(cbPtr+1))); 90 measure2=WEBRTC_SPL_MUL_16_16(scale, (*(cbPtr-1))); 102 returnVal=(int16_t)((WEBRTC_SPL_MUL_16_16(scale, cb[loc])+8192)>>14);
|
/external/replicaisland/src/com/replica/replicaisland/ |
TimeSystem.java | 66 float scale = 1.0f; local 75 scale = Lerp.ease(1.0f, mTargetScale, EASE_DURATION, scaleTime); 79 scale = Lerp.ease(mTargetScale, 1.0f, EASE_DURATION, easeOutTime); 81 scale = mTargetScale; 84 scale = mTargetScale; 89 mGameTime += (timeDelta * scale); 90 mGameFrameDelta = (timeDelta * scale);
|
/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);
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
TransformableImageView.java | 55 float scale; local 59 scale = (float) vheight / (float) dheight; 60 dx = (vwidth - dwidth * scale) * 0.5f; 62 scale = (float) vwidth / (float) dwidth; 63 dy = (vheight - dheight * scale) * 0.5f; 66 drawMatrix.setScale(scale, scale);
|
/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...] |
/external/chromium_org/third_party/skia/gm/ |
filltypes.cpp | 41 SkScalar scale, const SkPaint& paint) { 51 canvas->scale(scale, scale); 57 void showFour(SkCanvas* canvas, SkScalar scale, const SkPaint& paint) { 59 scale, paint); 61 scale, paint); 63 scale, paint); 65 scale, paint); 74 const SkScalar scale = SkIntToScalar(5)/4 local [all...] |
shaderbounds.cpp | 49 SkScalar scale = 0.8f; variable 50 result.setScale(scale, scale); 62 SkScalar scale = 0.7f; local 63 canvasScale.setScale(scale, scale); 82 SkScalar scale = 0.5f; local 84 scale = 0.6f; 86 SkScalar shaderWidth = SkScalarDiv(SkIntToScalar(width), scale); 87 SkScalar shaderHeight = SkScalarDiv(SkIntToScalar(height), scale); [all...] |
/external/chromium_org/third_party/skia/samplecode/ |
SampleFillType.cpp | 41 SkScalar scale, const SkPaint& paint) { 51 canvas->scale(scale, scale); 57 void showFour(SkCanvas* canvas, SkScalar scale, const SkPaint& paint) { 59 scale, paint); 61 scale, paint); 63 scale, paint); 65 scale, paint); 72 const SkScalar scale = SkIntToScalar(5)/4 local [all...] |
/external/chromium_org/ui/base/cursor/ |
cursor_util.cc | 18 void ScaleAndRotateCursorBitmapAndHotpoint(float scale, 43 if (scale < FLT_EPSILON) { 44 NOTREACHED() << "Scale must be larger than 0."; 45 scale = 1.0f; 48 if (scale == 1.0f) 52 gfx::ScaleSize(gfx::Size(bitmap->width(), bitmap->height()), scale)); 59 *hotpoint = gfx::ToFlooredPoint(gfx::ScalePoint(*hotpoint, scale)); 63 float scale, 69 const gfx::ImageSkiaRep& image_rep = image->GetRepresentation(scale); 70 // TODO(oshima): The cursor should use resource scale factor whe [all...] |
cursor_util.h | 18 // Scale and rotate the cursor's bitmap and hotpoint. 22 float scale, 29 float scale, 34 float scale,
|
/external/chromium_org/ui/gfx/geometry/ |
insets.h | 25 Insets Scale(float scale) const { 26 return Scale(scale, scale); 29 Insets Scale(float x_scale, float y_scale) const {
|
/external/chromium_org/ui/gfx/image/ |
image_skia_rep.h | 14 // An ImageSkiaRep represents a bitmap and the scale factor it is intended for. 15 // 0.0f scale is used to indicate that this ImageSkiaRep is used for unscaled 16 // image (the image that only returns 1.0f scale image). 27 // Specifying 0 scale means the image is for unscaled image. (unscaled() 28 // returns truen, and scale() returns 1.0f;) 29 ImageSkiaRep(const gfx::Size& size, float scale); 31 // Creates a bitmap with given scale. 33 ImageSkiaRep(const SkBitmap& src, float scale); 49 // Retrieves the scale that the bitmap will be painted at. 50 float scale() const { return unscaled() ? 1.0f : scale_; function in class:gfx::ImageSkiaRep [all...] |
/external/skia/gm/ |
filltypes.cpp | 41 SkScalar scale, const SkPaint& paint) { 51 canvas->scale(scale, scale); 57 void showFour(SkCanvas* canvas, SkScalar scale, const SkPaint& paint) { 59 scale, paint); 61 scale, paint); 63 scale, paint); 65 scale, paint); 74 const SkScalar scale = SkIntToScalar(5)/4 local [all...] |
shaderbounds.cpp | 49 SkScalar scale = 0.8f; variable 50 result.setScale(scale, scale); 62 SkScalar scale = 0.7f; local 63 canvasScale.setScale(scale, scale); 82 SkScalar scale = 0.5f; local 84 scale = 0.6f; 86 SkScalar shaderWidth = SkScalarDiv(SkIntToScalar(width), scale); 87 SkScalar shaderHeight = SkScalarDiv(SkIntToScalar(height), scale); [all...] |
/external/skia/samplecode/ |
SampleFillType.cpp | 41 SkScalar scale, const SkPaint& paint) { 51 canvas->scale(scale, scale); 57 void showFour(SkCanvas* canvas, SkScalar scale, const SkPaint& paint) { 59 scale, paint); 61 scale, paint); 63 scale, paint); 65 scale, paint); 72 const SkScalar scale = SkIntToScalar(5)/4 local [all...] |
/frameworks/base/packages/WallpaperCropper/src/com/android/wallpapercropper/ |
CropView.java | 100 final float scale = mRenderer.scale; local 102 * scale + width / 2f; 104 * scale + height / 2f; 105 float leftEdge = centerX - imageWidth / 2f * scale; 106 float rightEdge = centerX + imageWidth / 2f * scale; 107 float topEdge = centerY - imageHeight / 2f * scale; 108 float bottomEdge = centerY + imageHeight / 2f * scale; 123 final float scale = mRenderer.scale; local 205 final float scale = mRenderer.scale; local 288 final float scale = mRenderer.scale; local [all...] |
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/ |
CropView.java | 100 final float scale = mRenderer.scale; local 102 * scale + width / 2f; 104 * scale + height / 2f; 105 float leftEdge = centerX - imageWidth / 2f * scale; 106 float rightEdge = centerX + imageWidth / 2f * scale; 107 float topEdge = centerY - imageHeight / 2f * scale; 108 float bottomEdge = centerY + imageHeight / 2f * scale; 123 final float scale = mRenderer.scale; local 205 final float scale = mRenderer.scale; local 288 final float scale = mRenderer.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:__anon33797 92 double scale = scaler->scale; local [all...] |
/external/chromium_org/third_party/mesa/src/src/mesa/math/ |
m_norm_tmp.h | 36 * scale - uniform scale factor of the transformation matrix (not always used) 44 GLfloat scale, 71 GLfloat scale = INV_SQRTF(len); local 72 out[i][0] = tx * scale; 73 out[i][1] = ty * scale; 74 out[i][2] = tz * scale; 83 if (scale != 1.0) { 84 m0 *= scale, m4 *= scale, m8 *= scale 138 GLfloat scale = INV_SQRTF(len); local [all...] |
/external/mesa3d/src/mesa/math/ |
m_norm_tmp.h | 36 * scale - uniform scale factor of the transformation matrix (not always used) 44 GLfloat scale, 71 GLfloat scale = INV_SQRTF(len); local 72 out[i][0] = tx * scale; 73 out[i][1] = ty * scale; 74 out[i][2] = tz * scale; 83 if (scale != 1.0) { 84 m0 *= scale, m4 *= scale, m8 *= scale 138 GLfloat scale = INV_SQRTF(len); local [all...] |
/external/chromium_org/chrome/browser/download/ |
download_file_icon_extractor.h | 28 float scale,
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/filters/ |
PointLightSource.h | 37 virtual PassRefPtr<LightSource> create(const FloatPoint3D& scale, const FloatSize& offset) const OVERRIDE 39 FloatPoint3D position(m_position.x() * scale.x() - offset.width(), m_position.y() * scale.y() - offset.height(), m_position.z() * scale.z());
|
/external/chromium_org/third_party/WebKit/Source/web/ |
DragClientImpl.cpp | 76 float scale = m_webView->deviceScaleFactor() / resolutionScale; local 77 dragImage->scale(scale, scale);
|
/external/chromium_org/third_party/skia/bench/ |
SKPBench.cpp | 10 SKPBench::SKPBench(const char* name, const SkPicture* pic, const SkIRect& clip, SkScalar scale) 13 , fScale(scale) 15 fUniqueName.printf("%s_%.2g", name, scale); // Scale makes this unqiue for skiaperf.com traces. 36 canvas->scale(fScale, fScale);
|