Home
last modified time | relevance | path

Searched refs:maxScale (Results 1 – 8 of 8) sorted by relevance

/external/skia/gm/
Dmixedxfermodes.cpp111 SkScalar maxScale = SkScalarSqrt((SkIntToScalar(size.fWidth * size.fHeight))) / 300; in onDraw() local
114 SkScalar s = random.nextRangeScalar(SK_Scalar1 / 8, SK_Scalar1) * maxScale; in onDraw()
/external/aac/libPCMutils/src/
Dpcmutils_lib.cpp934 INT maxScale = 0; in getMixFactors() local
1337 if (mixScales[outCh][inCh] > maxScale) in getMixFactors()
1339 maxScale = mixScales[outCh][inCh]; in getMixFactors()
1355 if ( mixScales[outCh][inCh] <= maxScale ) { in getMixFactors()
1356 addFact >>= maxScale - mixScales[outCh][inCh]; in getMixFactors()
1358 addFact <<= mixScales[outCh][inCh] - maxScale; in getMixFactors()
1385 maxScale = FDKmax(maxScale+chSumMax, 0); in getMixFactors()
1392 if ( mixScales[outCh][inCh] <= maxScale ) { in getMixFactors()
1393 mixFactors[outCh][inCh] >>= maxScale - mixScales[outCh][inCh]; in getMixFactors()
1395 mixFactors[outCh][inCh] <<= mixScales[outCh][inCh] - maxScale; in getMixFactors()
[all …]
/external/freetype/src/cff/
Dcf2ft.c59 CF2_Fixed maxScale; in cf2_checkTransform() local
73 maxScale = FT_DivFix( CF2_MAX_SIZE, cf2_intToFixed( unitsPerEm ) ); in cf2_checkTransform()
75 if ( transform->a > maxScale || transform->d > maxScale ) in cf2_checkTransform()
/external/pdfium/third_party/freetype/src/cff/
Dcf2ft.c59 CF2_Fixed maxScale; in cf2_checkTransform() local
73 maxScale = FT_DivFix( CF2_MAX_SIZE, cf2_intToFixed( unitsPerEm ) ); in cf2_checkTransform()
75 if ( transform->a > maxScale || transform->d > maxScale ) in cf2_checkTransform()
/external/skia/src/gpu/
DGrAADistanceFieldPathRenderer.cpp108 SkScalar maxScale = viewMatrix.getMaxScale(); in canDrawPath() local
111 return maxDim < 64.f && maxDim * maxScale < 256.f; in canDrawPath()
227 SkScalar maxScale = this->viewMatrix().getMaxScale(); in generateGeometry() local
230 SkScalar size = maxScale * maxDim; in generateGeometry()
DGrAtlasTextContext.cpp442 SkScalar maxScale = viewMatrix.getMaxScale(); in canDrawAsDistanceFields() local
443 SkScalar scaledTextSize = maxScale*skPaint.getTextSize(); in canDrawAsDistanceFields()
600 SkScalar maxScale = viewMatrix.getMaxScale(); in initDistanceFieldPaint() local
606 if (maxScale > 0 && !SkScalarNearlyEqual(maxScale, SK_Scalar1)) { in initDistanceFieldPaint()
607 scaledTextSize *= maxScale; in initDistanceFieldPaint()
/external/skia/tests/
DMatrixTest.cpp242 SkScalar maxScale = mat.getMaxScale(); in test_matrix_min_max_scale() local
243 REPORTER_ASSERT(reporter, (minScale < 0) == (maxScale < 0)); in test_matrix_min_max_scale()
244 REPORTER_ASSERT(reporter, (maxScale < 0) == mat.hasPerspective()); in test_matrix_min_max_scale()
249 REPORTER_ASSERT(reporter, !success || (scales[0] == minScale && scales[1] == maxScale)); in test_matrix_min_max_scale()
273 REPORTER_ASSERT(reporter, d / maxScale < gVectorScaleTol); in test_matrix_min_max_scale()
282 REPORTER_ASSERT(reporter, max / maxScale >= gCloseScaleTol); in test_matrix_min_max_scale()
/external/deqp/framework/randomshaders/
DrsgBinaryOps.cpp216 const float maxScale = 2.0f; in operator ()() local
220 float scale = getQuantizedFloat(rnd, minScale, maxScale, scaleStep); in operator ()()