/external/opencv/cxcore/src/ |
H A D | cxmean.cpp | 161 double scale = pix ? 1./pix : 0 165 mean[0] = scale*(double)tmp##0 169 double t0 = scale*(double)tmp##0; \ 170 double t1 = scale*(double)tmp##1; \ 176 double t0 = scale*(double)tmp##0; \ 177 double t1 = scale*(double)tmp##1; \ 178 double t2 = scale*(double)tmp##2; \ 185 double t0 = scale*(double)tmp##0; \ 186 double t1 = scale*(double)tmp##1; \ 189 t0 = scale*(doubl 395 double scale; local [all...] |
/external/chromium_org/third_party/skia/tests/ |
H A D | MatrixTest.cpp | 133 SkMatrix scale; local 134 scale.setScale(SK_Scalar1 * 2, SK_Scalar1 * 4); 135 REPORTER_ASSERT(reporter, SK_Scalar1 * 2 == scale.getMinScale()); 136 REPORTER_ASSERT(reporter, SK_Scalar1 * 4 == scale.getMaxScale()); 137 success = scale.getMinMaxScales(scales); 185 SkMatrix baseMats[] = {scale, rot90Scale, rotate, 262 // scale with same size 268 // scale with one negative 274 // scale with different size 280 // scale wit 424 check_matrix_recomposition(const SkMatrix& mat, const SkPoint& rotation1, const SkPoint& scale, const SkPoint& rotation2) argument 449 SkPoint rotation1, scale, rotation2; local [all...] |
/external/skia/tests/ |
H A D | MatrixTest.cpp | 133 SkMatrix scale; local 134 scale.setScale(SK_Scalar1 * 2, SK_Scalar1 * 4); 135 REPORTER_ASSERT(reporter, SK_Scalar1 * 2 == scale.getMinScale()); 136 REPORTER_ASSERT(reporter, SK_Scalar1 * 4 == scale.getMaxScale()); 137 success = scale.getMinMaxScales(scales); 185 SkMatrix baseMats[] = {scale, rot90Scale, rotate, 260 // scale with same size 265 // scale with one negative 270 // scale with different size 275 // scale wit 394 check_matrix_recomposition(const SkMatrix& mat, const SkPoint& rotation1, const SkPoint& scale, const SkPoint& rotation2) argument 419 SkPoint rotation1, scale, rotation2; local [all...] |
/external/chromium-trace/trace-viewer/src/base/ |
H A D | gl_matrix.js | 40 vec2.scale(tmp_vec2, u1, scale1); 41 vec2.scale(tmp_vec2b, u2, scale2); 62 mat2d.scale(out, out, tmp_vec2);
|
/external/chromium_org/third_party/WebKit/Source/platform/geometry/ |
H A D | IntSize.h | 65 void scale(float widthScale, float heightScale) function in class:blink::IntSize 71 void scale(float scale) argument 73 this->scale(scale, scale);
|
H A D | LayoutRect.cpp | 110 void LayoutRect::scale(float s) function in class:blink::LayoutRect 112 m_location.scale(s, s); 113 m_size.scale(s); 116 void LayoutRect::scale(float xAxisScale, float yAxisScale) function in class:blink::LayoutRect 118 m_location.scale(xAxisScale, yAxisScale); 119 m_size.scale(xAxisScale, yAxisScale);
|
/external/chromium_org/third_party/WebKit/Source/platform/graphics/ |
H A D | GraphicsContextRecorder.cpp | 101 PassOwnPtr<Vector<char> > GraphicsContextSnapshot::replay(unsigned fromStep, unsigned toStep, double scale) const 103 int width = ceil(scale * m_picture->width()); 104 int height = ceil(scale * m_picture->height()); 109 canvas.scale(scale, scale);
|
/external/chromium_org/third_party/libjingle/source/talk/media/base/ |
H A D | videoadapter.cc | 49 // Desktop needs 1/8 scale for HD (1280 x 720) to QQVGA (160 x 90) 52 3.f / 4.f, // 3/4 scale. 53 1.f / 2.f, // 1/2 scale. 54 3.f / 8.f, // 3/8 scale. 55 1.f / 4.f, // 1/4 scale. 56 3.f / 16.f, // 3/16 scale. 57 1.f / 8.f, // 1/8 scale. 64 3.f / 4.f, // 3/4 scale. 65 2.f / 3.f, // 2/3 scale. // Allow 1080p to 720p. 66 1.f / 2.f, // 1/2 scale 97 float scale = scale_factors[i]; local 315 float scale = 1.f; local 685 float scale = 1.0f; local 728 float scale = FindClosestScale(input.width, input.height, min_num_pixels); local 742 float scale = 1.0f; local [all...] |
/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 | 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);
|
/external/chromium_org/third_party/skia/samplecode/ |
H A D | SampleFilter.cpp | 61 const int scale = 32; local 65 canvas->drawText(name, strlen(name), x, SkIntToScalar(bm.height())*scale*5/8, 69 canvas->scale(SkIntToScalar(scale), SkIntToScalar(scale)); 75 return x * scale / 3;
|
/external/chromium_org/tools/grit/grit/gather/ |
H A D | chrome_scaled_image.py | 87 (e.g. "default", "touch") and multiple scale variants 111 for scale in scales: 112 dir = '%s_%s_percent' % (layout, scale) 115 return path, scale, req_scale 123 path, scale, req_scale = self._FindInputFile() 133 path, scale, req_scale = self._FindInputFile() 135 data = _RescaleImage(data, scale, req_scale)
|
/external/chromium_org/ui/gfx/geometry/ |
H A D | rect.h | 116 inline Rect ScaleToEnclosingRect(const Rect& rect, float scale) { argument 117 return ScaleToEnclosingRect(rect, scale, scale); 130 inline Rect ScaleToEnclosedRect(const Rect& rect, float scale) { argument 131 return ScaleToEnclosedRect(rect, scale, scale);
|
H A D | rect_f.h | 46 // Scales the rectangle by |scale|. 47 void Scale(float scale) { argument 48 Scale(scale, scale); 96 inline RectF ScaleRect(const RectF& r, float scale) { argument 97 return ScaleRect(r, scale, scale);
|
/external/skia/gm/ |
H A D | bitmapfilters.cpp | 55 const int scale = 32; local 59 canvas->drawText(name, strlen(name), x, SkIntToScalar(bm.height())*scale*5/8, 63 canvas->scale(SkIntToScalar(scale), SkIntToScalar(scale)); 69 return x * scale / 3;
|
H A D | offsetimagefilter.cpp | 66 void drawClippedBitmap(SkCanvas* canvas, const SkBitmap& bitmap, const SkPaint& paint, SkScalar scale, const SkIRect& cropRect) { argument 71 canvas->scale(scale, scale); 81 scaleMatrix.setScale(scale, scale);
|
/external/skia/samplecode/ |
H A D | SampleFilter.cpp | 61 const int scale = 32; local 65 canvas->drawText(name, strlen(name), x, SkIntToScalar(bm.height())*scale*5/8, 69 canvas->scale(SkIntToScalar(scale), SkIntToScalar(scale)); 75 return x * scale / 3;
|
/external/deqp/modules/gles3/functional/ |
H A D | es3fVertexArrayObjectTests.cpp | 436 float scale = 0.0f; local 440 case GL_SHORT: scale = (1.0f/((1u<<14)-1)); break; 441 case GL_UNSIGNED_SHORT: scale = (1.0f/((1u<<15)-1)); break; 442 case GL_INT: scale = (1.0f/((1u<<30)-1)); break; 443 case GL_UNSIGNED_INT: scale = (1.0f/((1u<<31)-1)); break; 444 case GL_BYTE: scale = (1.0f/((1u<<6)-1)); break; 445 case GL_UNSIGNED_BYTE: scale = (1.0f/((1u<<7)-1)); break; 450 value << (attribNdx != 0 ? " + " : "" ) << scale << " * vec4(a_attrib" << attribNdx << ")"; 454 float scale = 0.0f; local 458 case GL_SHORT: scale 482 float scale = 0.0f; local 498 << "\\tgl_Position = vec4(" << scale << " * " << "vec3(a_attrib0.xyz), 1.0);\\n" local 511 float scale = 0.0f; local 529 << "\\tgl_Position = vec4(" << scale << " * " << "a_attrib0.xyz, 1.0);\\n" local 1012 float scale = 0.0f; local 1030 float scale = 0.0f; local 1058 float scale = 0.0f; local 1075 << "\\tgl_Position = vec4(" << scale << " * " << "a_attrib0.xyz, 1.0);\\n" local 1088 float scale = 0.0f; local 1106 << "\\tgl_Position = vec4(" << scale << " * " << "vec3(a_attrib0.xyz), 1.0);\\n" local [all...] |
/external/bouncycastle/bcprov/src/main/java/org/bouncycastle/math/ec/ |
H A D | WNafL2RMultiplier.java | 57 int scale = width - highest; 60 int i2 = (lowBits << scale) + 1; 63 zeroes -= scale; 65 // System.out.println("Optimized: 2^" + scale + " * " + n + " = " + i1 + " + " + i2);
|
/external/chromium_org/chrome/browser/android/thumbnail/ |
H A D | thumbnail.h | 42 float scale, 49 float scale() const { return scale_; } function in class:Thumbnail 69 float scale,
|
/external/chromium_org/chrome/browser/ui/app_list/search/common/ |
H A D | url_icon_source.cc | 50 gfx::ImageSkiaRep UrlIconSource::GetImageForScale(float scale) { argument 55 return icon_.GetRepresentation(scale); 58 .GetImageSkiaNamed(default_icon_resource_id_)->GetRepresentation(scale);
|
/external/chromium_org/content/public/android/java/src/org/chromium/content/browser/ |
H A D | ContentReadbackHandler.java | 77 * @param scale The scale that should be applied to the content. 83 public void getContentBitmapAsync(float scale, Rect srcRect, ContentViewCore view, argument 93 nativeGetContentBitmap(mNativeContentReadbackHandler, readbackId, scale, 126 float scale, Bitmap.Config config, float x, float y, float width, float height, 125 nativeGetContentBitmap(long nativeContentReadbackHandler, int readbackId, float scale, Bitmap.Config config, float x, float y, float width, float height, Object contentViewCore) argument
|
/external/chromium_org/third_party/freetype/src/cff/ |
H A D | cf2blues.c | 96 blues->scale = font->innerTransform.d; 162 blues->scale ) ) - 164 blues->emBoxBottomEdge.scale = blues->scale; 174 blues->scale ) ) + 176 blues->emBoxTopEdge.scale = blues->scale; 277 csUnitsPerPixel = FT_DivFix( cf2_intToFixed( 1 ), blues->scale ); 367 /* clamp at maximum scale */ 373 * TODO: Revisit the bug fix for 613448. The minimum scale [all...] |
/external/chromium_org/third_party/skia/include/utils/ |
H A D | SkMatrix44.h | 160 kScale_Mask = 0x02, //!< set if the matrix has any scale != 1 195 * Return true if the matrix only contains scale or translate or is identity. 210 * (0, 0) scale-x 222 * (0, 0) scale-x 288 inline void setScale(SkMScalar scale) { argument 289 this->setScale(scale, scale, scale); 291 inline void preScale(SkMScalar scale) { argument 292 this->preScale(scale, scal 294 postScale(SkMScalar scale) argument [all...] |
/external/chromium_org/third_party/webrtc/modules/audio_coding/codecs/ilbc/ |
H A D | state_search.c | 38 int16_t scale, shift; local 103 scale=WebRtcIlbcfix_kScale[index]; 105 if (index<27) { /* scale table is in Q16, fout[] is in Q(-1) and we want the result to be in Q11 */ 107 } else { /* scale table is in Q21, fout[] is in Q(-1) and we want the result to be in Q11 */ 111 /* Set up vectors for AbsQuant and rescale it with the scale factor */ 112 WebRtcSpl_ScaleVectorWithSat(sampleAr, sampleAr, scale,
|