/external/skqp/src/gpu/text/ |
D | GrTextContext.cpp | 100 SkScalar maxScale = viewMatrix.getMaxScale(); in CanDrawAsDistanceFields() local 101 SkScalar scaledTextSize = maxScale * font.getSize(); in CanDrawAsDistanceFields() 147 SkScalar maxScale = viewMatrix.getMaxScale(); in InitDistanceFieldPaint() local 151 if (maxScale > 0 && !SkScalarNearlyEqual(maxScale, SK_Scalar1)) { in InitDistanceFieldPaint() 152 scaledTextSize *= maxScale; in InitDistanceFieldPaint()
|
/external/skia/src/gpu/text/ |
D | GrTextContext.cpp | 100 SkScalar maxScale = viewMatrix.getMaxScale(); in CanDrawAsDistanceFields() local 101 SkScalar scaledTextSize = maxScale * font.getSize(); in CanDrawAsDistanceFields() 140 SkScalar maxScale = viewMatrix.getMaxScale(); in scaled_text_size() local 144 if (maxScale > 0 && !SkScalarNearlyEqual(maxScale, SK_Scalar1)) { in scaled_text_size() 145 scaledTextSize *= maxScale; in scaled_text_size()
|
D | GrTextBlob.h | 539 SkScalar maxScale,
|
/external/aac/libSACenc/src/ |
D | sacenc_onsetdetect.cpp | 317 SCHAR maxScale = -(DFRACT_BITS - 1); in fdk_sacenc_onsetDetect_Apply() local 319 maxScale = fixMax(maxScale, envScale[i]); in fdk_sacenc_onsetDetect_Apply() 324 envs[i] = env[i] >> fixMin((maxScale - envScale[i]), (DFRACT_BITS - 1)); in fdk_sacenc_onsetDetect_Apply()
|
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/animation/ |
D | AnimationActivity.java | 57 float maxScale = view.getMaxScale(); in play() local 59 float scale = (random.nextFloat() * (maxScale - minScale)) + minScale; in play()
|
/external/skqp/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 396 SkScalar maxScale; in onPrepareDraws() local 402 maxScale = SkScalarAbs(SkTMax(xformedBounds.width() / bounds.width(), in onPrepareDraws() 405 maxScale = SkScalarAbs(args.fViewMatrix.getMaxScale()); in onPrepareDraws() 412 if (maxScale <= SK_ScalarHalf) { in onPrepareDraws() 413 SkScalar log = SkScalarFloorToScalar(SkScalarLog2(SkScalarInvert(maxScale))); in onPrepareDraws() 415 } else if (maxScale > SK_Scalar1) { in onPrepareDraws() 416 SkScalar log = SkScalarCeilToScalar(SkScalarLog2(maxScale)); in onPrepareDraws() 419 SkASSERT(maxScale <= mipScale); in onPrepareDraws()
|
/external/skia/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 395 SkScalar maxScale; in onPrepareDraws() local 401 maxScale = SkScalarAbs(SkTMax(xformedBounds.width() / bounds.width(), in onPrepareDraws() 404 maxScale = SkScalarAbs(args.fViewMatrix.getMaxScale()); in onPrepareDraws() 411 if (maxScale <= SK_ScalarHalf) { in onPrepareDraws() 412 SkScalar log = SkScalarFloorToScalar(SkScalarLog2(SkScalarInvert(maxScale))); in onPrepareDraws() 414 } else if (maxScale > SK_Scalar1) { in onPrepareDraws() 415 SkScalar log = SkScalarCeilToScalar(SkScalarLog2(maxScale)); in onPrepareDraws() 418 SkASSERT(maxScale <= mipScale); in onPrepareDraws()
|
/external/aac/libPCMutils/src/ |
D | pcmdmx_lib.cpp | 965 INT maxScale = 0; in getMixFactors() local 1517 if (mixScales[outCh][inCh] > maxScale) { /* Store the new maximum */ in getMixFactors() 1518 maxScale = mixScales[outCh][inCh]; in getMixFactors() 1535 if (mixScales[outCh][inCh] <= maxScale) { in getMixFactors() 1536 addFact >>= maxScale - mixScales[outCh][inCh]; in getMixFactors() 1538 addFact <<= mixScales[outCh][inCh] - maxScale; in getMixFactors() 1564 maxScale = fMax(maxScale + chSumMax, 0); in getMixFactors() 1572 if (mixScales[outCh][inCh] <= maxScale) { in getMixFactors() 1573 mixFactors[outCh][inCh] >>= maxScale - mixScales[outCh][inCh]; in getMixFactors() 1575 mixFactors[outCh][inCh] <<= mixScales[outCh][inCh] - maxScale; in getMixFactors() [all …]
|
/external/skia/src/core/ |
D | SkGlyphRunPainter.cpp | 277 SkScalar maxScale = viewMatrix.getMaxScale(); in processARGBFallback() local 280 SkScalar conservativeMaxGlyphDimension = maxSourceGlyphDimension * maxScale; in processARGBFallback() 401 SkScalar minScale, maxScale; in processGlyphRunList() local 402 std::tie(minScale, maxScale) = GrTextContext::InitDistanceFieldMinMaxScale( in processGlyphRunList() 450 maxScale, in processGlyphRunList() 889 SkScalar maxScale, in processSourceSDFT() argument 897 this->setMinAndMaxScale(minScale, maxScale); in processSourceSDFT()
|
D | SkGlyphRunPainter.h | 162 SkScalar maxScale,
|
/external/freetype/src/psaux/ |
D | psft.c | 68 CF2_Fixed maxScale; in cf2_checkTransform() local 82 maxScale = FT_DivFix( CF2_MAX_SIZE, cf2_intToFixed( unitsPerEm ) ); in cf2_checkTransform() 84 if ( transform->a > maxScale || transform->d > maxScale ) in cf2_checkTransform()
|
/external/skia/tests/ |
D | MatrixTest.cpp | 262 SkScalar maxScale = mat.getMaxScale(); in test_matrix_min_max_scale() local 263 REPORTER_ASSERT(reporter, (minScale < 0) == (maxScale < 0)); in test_matrix_min_max_scale() 264 REPORTER_ASSERT(reporter, (maxScale < 0) == mat.hasPerspective()); in test_matrix_min_max_scale() 269 REPORTER_ASSERT(reporter, !success || (scales[0] == minScale && scales[1] == maxScale)); in test_matrix_min_max_scale() 293 REPORTER_ASSERT(reporter, d / maxScale < gVectorScaleTol); in test_matrix_min_max_scale() 302 REPORTER_ASSERT(reporter, max / maxScale >= gCloseScaleTol); in test_matrix_min_max_scale()
|
/external/skqp/tests/ |
D | MatrixTest.cpp | 262 SkScalar maxScale = mat.getMaxScale(); in test_matrix_min_max_scale() local 263 REPORTER_ASSERT(reporter, (minScale < 0) == (maxScale < 0)); in test_matrix_min_max_scale() 264 REPORTER_ASSERT(reporter, (maxScale < 0) == mat.hasPerspective()); in test_matrix_min_max_scale() 269 REPORTER_ASSERT(reporter, !success || (scales[0] == minScale && scales[1] == maxScale)); in test_matrix_min_max_scale() 293 REPORTER_ASSERT(reporter, d / maxScale < gVectorScaleTol); in test_matrix_min_max_scale() 302 REPORTER_ASSERT(reporter, max / maxScale >= gCloseScaleTol); in test_matrix_min_max_scale()
|
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/ |
D | SubsamplingScaleImageView.java | 158 private float maxScale = 2F; field in SubsamplingScaleImageView 746 scale = Math.min(maxScale, (vDistEnd / vDistStart) * scaleStart); in onTouchEventInternal() 805 scale = Math.max(minScale(), Math.min(maxScale, scale * multiplier)); in onTouchEventInternal() 950 … float doubleTapZoomScale = Math.min(maxScale, SubsamplingScaleImageView.this.doubleTapZoomScale); in doubleTapZoom() 1114 …SH, "%.2f", minScale()) + " - " + String.format(Locale.ENGLISH, "%.2f", maxScale) + ")", px(5), px… in onDraw() 2268 targetScale = Math.min(maxScale, targetScale); in limitedScale() 2460 public final void setMaxScale(float maxScale) { in setMaxScale() argument 2461 this.maxScale = maxScale; in setMaxScale() 2501 return maxScale; in getMaxScale()
|
/external/skqp/src/core/ |
D | SkGlyphRunPainter.cpp | 261 SkScalar maxScale = viewMatrix.getMaxScale(); in processARGBFallback() local 265 SkScalar conservativeMaxGlyphDimension = maxGlyphDimension * textScale * maxScale; in processARGBFallback()
|
/external/deqp/framework/randomshaders/ |
D | rsgBinaryOps.cpp | 466 const float maxScale = 2.0f; in operator ()() local 470 float scale = getQuantizedFloat(rnd, minScale, maxScale, scaleStep); in operator ()()
|
/external/dng_sdk/source/ |
D | dng_lens_correction.cpp | 2252 const real64 maxScale = Max_real32 (table32.Interpolate (0.0f), in Prepare() local 2263 while ((1 << fTableOutputBits) * maxScale > 65535.0) in Prepare()
|