/external/chromium_org/third_party/skia/debugger/QT/ |
H A D | SkCanvasWidget.cpp | 139 void SkCanvasWidget::zoom(float scale, int px, int py) { argument 140 fUserMatrix.postScale(scale, scale, px, py);
|
/external/chromium_org/third_party/skia/gm/ |
H A D | bitmapfilters.cpp | 55 const int scale = 32; local 60 canvas->drawText(name, strlen(name), x, SkIntToScalar(bm.height())*scale*5/8, 64 canvas->scale(SkIntToScalar(scale), SkIntToScalar(scale)); 70 return x * scale / 3;
|
H A D | filterbitmap.cpp | 54 SkScalar scale = this->getScale(); local 56 // these two matrices use a scale factor configured by the subclass 57 fMatrix[0].setScale(scale, scale); 58 fMatrix[1].setRotate(30, cx, cy); fMatrix[1].postScale(scale, scale);
|
H A D | giantbitmap.cpp | 116 SkScalar scale = 11*SK_Scalar1/12; local 117 m.setScale(scale, scale);
|
H A D | offsetimagefilter.cpp | 67 void drawClippedBitmap(SkCanvas* canvas, const SkBitmap& bitmap, const SkPaint& paint, SkScalar scale, const SkIRect& cropRect) { argument 72 canvas->scale(scale, scale); 82 scaleMatrix.setScale(scale, scale);
|
H A D | patheffects.cpp | 57 static void scale(SkPath* path, SkScalar scale) { argument 59 m.setScale(scale, scale); 70 scale(&path, 1.5f);
|
H A D | 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...] |
H A D | textblob.cpp | 26 SkScalar scale; member in struct:__anon15058::BlobCfg 132 font.setTextSize(kFontSize * cfg->scale);
|
H A D | typeface.cpp | 93 SkScalar scale = paint.getTextSize() / paint.getTypeface()->getUnitsPerEm(); local 97 globalAdj += adjustments[i] * scale;
|
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SampleStrokePath.cpp | 80 SkScalar scale = dstWidth / bounds.width(); local 83 matrix.setScale(scale, scale);
|
/external/chromium_org/third_party/skia/src/core/ |
H A D | SkBlitRow_D16.cpp | 35 int scale = SkAlpha255To256(alpha); local 41 SkAlphaBlend(SkPacked32ToR16(c), SkGetPackedR16(d), scale), 42 SkAlphaBlend(SkPacked32ToG16(c), SkGetPackedG16(d), scale), 43 SkAlphaBlend(SkPacked32ToB16(c), SkGetPackedB16(d), scale)); 111 int scale = SkAlpha255To256(alpha); local 126 *dst++ = SkPackRGB16(SkAlphaBlend(sr, SkGetPackedR16(d), scale), 127 SkAlphaBlend(sg, SkGetPackedG16(d), scale), 128 SkAlphaBlend(sb, SkGetPackedB16(d), scale));
|
H A D | SkRRect.cpp | 26 SkScalar scale = SkMinScalar(SkScalarDiv(rect.width(), xRad + xRad), local 28 SkASSERT(scale < SK_Scalar1); 29 xRad = SkScalarMul(xRad, scale); 30 yRad = SkScalarMul(yRad, scale); 58 SkScalar scale = SK_Scalar1; local 60 scale = SkScalarDiv(rect.width(), leftRad + rightRad); 63 scale = SkMinScalar(scale, SkScalarDiv(rect.width(), leftRad + rightRad)); 66 if (scale < SK_Scalar1) { 67 leftRad = SkScalarMul(leftRad, scale); 141 SkScalar scale = SK_Scalar1; local [all...] |
/external/chromium_org/third_party/skia/src/opts/ |
H A D | SkBlurImage_opts_SSE2.cpp | 44 const __m128i scale = _mm_set1_epi32((1 << 24) / kernelSize); local 59 __m128i tmp1 = _mm_mul_epu32(sum, scale); 61 _mm_srli_si128(scale, 4)); 65 // sumA*scale+.5 sumB*scale+.5 sumG*scale+.5 sumB*scale+.5
|
H A D | SkBlurImage_opts_SSE4.cpp | 51 const __m128i scale = _mm_set1_epi32((1 << 24) / kernelSize); local 65 __m128i result = _mm_mullo_epi32(sum, scale); 67 // sumA*scale+.5 sumB*scale+.5 sumG*scale+.5 sumB*scale+.5
|
H A D | SkColor_opts_neon.h | 18 static inline uint8x8_t SkAlphaMul_neon8(uint8x8_t color, uint16x8_t scale) { argument 19 return vshrn_n_u16(vmovl_u8(color) * scale, 8); 22 static inline uint8x8x4_t SkAlphaMulQ_neon8(uint8x8x4_t color, uint16x8_t scale) { argument 25 ret.val[NEON_A] = SkAlphaMul_neon8(color.val[NEON_A], scale); 26 ret.val[NEON_R] = SkAlphaMul_neon8(color.val[NEON_R], scale); 27 ret.val[NEON_G] = SkAlphaMul_neon8(color.val[NEON_G], scale); 28 ret.val[NEON_B] = SkAlphaMul_neon8(color.val[NEON_B], scale); 72 static inline uint8x8_t SkBlend32_neon8(uint8x8_t src, uint8x8_t dst, uint16x8_t scale) { argument 78 src_wide = (src_wide - dst_wide) * vreinterpretq_s16_u16(scale); 110 unsigned scale local [all...] |
/external/chromium_org/third_party/skia/tests/ |
H A D | RecordDrawTest.cpp | 70 SkMatrix scale; local 71 scale.setScale(2, 3); 72 scaleCanvas.setMatrix(scale); 89 // then a 2x,3x scale that's been concatted with that +20,+20 translate. 95 SkMatrix expected = scale; 136 recorder.scale(2, 2);
|
/external/chromium_org/third_party/skia/tools/ |
H A D | skdiff_html.cpp | 20 float scale = (float) retval / height; local 21 if (width * scale > 360) { 22 scale = (float) 360 / width; 23 retval = static_cast<int>(height * scale);
|
/external/chromium_org/third_party/webrtc/common_audio/signal_processing/ |
H A D | complex_fft.c | 164 int i, j, l, k, istep, n, m, scale, shift; local 176 scale = 0; 192 scale++; 198 scale++; 305 return scale;
|
H A D | complex_fft_mips.c | 151 int scale = 0, shift = 0; local 169 "move %[scale], $zero \n\t" 223 "addu %[scale], %[scale], %[tmp1] \n\t" 315 [shift] "=&r" (shift), [scale] "=&r" (scale), [tempMax] "=&r" (tempMax) 320 return scale;
|
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
H A D | encode.c | 58 int16_t scale, max; local 125 /* high pass filtering of input signal and scale down the residual (*0.5) */ 157 scale=WebRtcSpl_GetSizeInBits(WEBRTC_SPL_MUL_16_16(max,max)); 160 scale = scale - 25; 161 if(scale < 0) { 162 scale = 0; 167 iLBCenc_inst->state_short_len, scale); 170 iLBCenc_inst->state_short_len, scale);
|
H A D | smooth.c | 34 int16_t maxtot, scale, scale1, scale2; local 45 /* compute some inner products (ensure no overflow by first calculating proper scale factor) */ 53 scale=WebRtcSpl_GetSizeInBits(maxtot); 54 scale = (int16_t)WEBRTC_SPL_MUL_16_16(2,scale)-26; 55 scale=WEBRTC_SPL_MAX(0, scale); 57 w00=WebRtcSpl_DotProductWithScale(current,current,ENH_BLOCKL,scale); 58 w11=WebRtcSpl_DotProductWithScale(surround,surround,ENH_BLOCKL,scale); 59 w10=WebRtcSpl_DotProductWithScale(surround,current,ENH_BLOCKL,scale); [all...] |
/external/chromium_org/ui/base/webui/ |
H A D | web_ui_util.cc | 82 LOG(WARNING) << "Invalid scale factor format: " << identifier; 87 LOG(WARNING) << "Invalid scale factor format: " << identifier; 91 double scale = 0; local 94 if (!base::StringToDouble(stripped, &scale)) { 95 LOG(WARNING) << "Invalid scale factor format: " << identifier; 98 *scale_factor = scale; 111 // Detect and parse resource string ending in @<scale>x. 119 // Strip scale factor specification from path.
|
/external/chromium_org/ui/compositor/ |
H A D | dip_util.cc | 50 float scale = 1.0f / GetDeviceScaleFactor(layer); local 51 return gfx::ToFlooredRectDeprecated(gfx::ScaleRect(rect_in_pixel, scale)); 68 float scale = GetDeviceScaleFactor(layer); local 75 gfx::RectF(gfx::ScalePoint(rect_in_dip.origin(), scale), 76 gfx::ScaleSize(rect_in_dip.size(), scale)));
|
/external/chromium_org/ui/events/ |
H A D | device_data_manager.cc | 82 double scale) { 84 touch_radius_scale_map_[touch_device_id] = scale; 81 UpdateTouchRadiusScale(int touch_device_id, double scale) argument
|
/external/chromium_org/ui/gfx/ |
H A D | display.h | 46 // Returns the forced device scale factor, which is given by 47 // "--force-device-scale-factor". 50 // Indicates if a device scale factor is being explicitly enforced from the 51 // command line via "--force-device-scale-factor". 67 // Output device's pixel scale factor. This specifies how much the 72 void set_device_scale_factor(float scale) { device_scale_factor_ = scale; } argument 90 // Sets the device scale factor and display bounds in pixel. This
|