/external/skia/src/core/ |
D | SkGlyphRunPainter.cpp | 146 SkScalar maxScale = SK_ScalarMin; in drawForBitmapDevice() local 159 maxScale = std::max(maxScale, scale); in drawForBitmapDevice() 162 maxScale = std::max(maxScale, scale); in drawForBitmapDevice() 165 maxScale = std::max(maxScale, scale); in drawForBitmapDevice() 168 maxScale = std::max(maxScale, scale); in drawForBitmapDevice() 171 if (maxScale * runFont.getSize() > 256) { in drawForBitmapDevice() 172 maxScale = 256.0f / runFont.getSize(); in drawForBitmapDevice() 175 SkMatrix cacheScale = SkMatrix::Scale(maxScale, maxScale); in drawForBitmapDevice() 202 + SkPoint::Make(mask.fBounds.left(), mask.fBounds.top()) * (1.0f/maxScale); in drawForBitmapDevice() 207 translate.preScale(1.0f/maxScale, 1.0f/maxScale); in drawForBitmapDevice() [all …]
|
D | SkStrikeSpec.cpp | 180 SkScalar minScale, maxScale; in MakeSDFT() local 181 std::tie(minScale, maxScale) = control.computeSDFMinMaxScale(font.getSize(), deviceMatrix); in MakeSDFT() 186 return std::make_tuple(std::move(strikeSpec), minScale, maxScale); in MakeSDFT()
|
D | SkGlyphRunPainter.h | 152 SkScalar maxScale) = 0;
|
/external/skia/src/gpu/text/ |
D | GrSDFTControl.cpp | 57 SkScalar maxScale = viewMatrix.getMaxScale(); in drawingType() local 58 SkScalar scaledTextSize = maxScale * font.getSize(); in drawingType() 85 SkScalar maxScale = viewMatrix.getMaxScale(); in scaled_text_size() local 89 if (maxScale > 0 && !SkScalarNearlyEqual(maxScale, SK_Scalar1)) { in scaled_text_size() 90 scaledTextSize *= maxScale; in scaled_text_size()
|
D | GrTextBlob.h | 258 SkScalar maxScale) override; 305 SkScalar minScale, SkScalar maxScale) override;
|
D | GrTextBlob.cpp | 1621 SkScalar maxScale) { in processSourceSDFT() argument 1624 fMinMaxScale = std::min(maxScale, fMinMaxScale); in processSourceSDFT() 2401 SkScalar minScale, SkScalar maxScale) { in processSourceSDFT() argument
|
/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/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/skia/src/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 276 SkScalar maxScale; in onPrepareDraws() local 282 maxScale = SkScalarAbs(std::max(xformedBounds.width() / bounds.width(), in onPrepareDraws() 285 maxScale = SkScalarAbs(args.fViewMatrix.getMaxScale()); in onPrepareDraws() 292 if (maxScale <= SK_ScalarHalf) { in onPrepareDraws() 293 SkScalar log = SkScalarFloorToScalar(SkScalarLog2(SkScalarInvert(maxScale))); in onPrepareDraws() 295 } else if (maxScale > SK_Scalar1) { in onPrepareDraws() 296 SkScalar log = SkScalarCeilToScalar(SkScalarLog2(maxScale)); in onPrepareDraws() 301 SkASSERT(maxScale <= mipScale + SK_ScalarNearlyZero); in onPrepareDraws()
|
D | GrAALinearizingConvexPathRenderer.cpp | 169 SkScalar maxScale = viewMatrix.getMaxScale(); in AAFlatteningConvexPathOp() local 171 SkASSERT(maxScale != -1); in AAFlatteningConvexPathOp() 172 if (SkPaint::kMiter_Join == join && w * maxScale > 1.f) { in AAFlatteningConvexPathOp()
|
/external/lottie/lottie/src/main/java/com/airbnb/lottie/ |
D | LottieDrawable.java | 1144 float maxScale = Math.min(scaleX, scaleY); 1146 if (maxScale < 1f) { 1147 extraScale = extraScale / maxScale; 1156 float scaledHalfWidth = halfWidth * maxScale; 1157 float scaledHalfHeight = halfHeight * maxScale; 1182 float maxScale = getMaxScale(canvas); 1183 if (scale > maxScale) { 1184 scale = maxScale;
|
/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/aac/libPCMutils/src/ |
D | pcmdmx_lib.cpp | 993 INT maxScale = 0; in getMixFactors() local 1545 if (mixScales[outCh][inCh] > maxScale) { /* Store the new maximum */ in getMixFactors() 1546 maxScale = mixScales[outCh][inCh]; in getMixFactors() 1563 if (mixScales[outCh][inCh] <= maxScale) { in getMixFactors() 1564 addFact >>= maxScale - mixScales[outCh][inCh]; in getMixFactors() 1566 addFact <<= mixScales[outCh][inCh] - maxScale; in getMixFactors() 1592 maxScale = fMax(maxScale + chSumMax, 0); in getMixFactors() 1600 if (mixScales[outCh][inCh] <= maxScale) { in getMixFactors() 1601 mixFactors[outCh][inCh] >>= maxScale - mixScales[outCh][inCh]; in getMixFactors() 1603 mixFactors[outCh][inCh] <<= mixScales[outCh][inCh] - maxScale; in getMixFactors() [all …]
|
/external/lottie/LottieSample/src/main/kotlin/com/airbnb/lottie/samples/ |
D | PlayerFragment.kt | 280 val maxScale = maxScale() in <lambda>() constant 281 val scale = minScale + progress / 100f * (maxScale - minScale) in <lambda>() 497 private fun maxScale(): Float = withState(viewModel) { state -> in <lambda>() method in com.airbnb.lottie.samples.PlayerFragment
|
/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/src/gpu/tessellate/ |
D | GrStrokeTessellateShader.cpp | 439 float maxScale = shader.viewMatrix().getMaxScale(); in setData() local 440 pdman.set1f(fTessArgsUniform, GrStrokeTolerances::CalcParametricPrecision(maxScale)); in setData() 1296 float maxScale = shader.viewMatrix().getMaxScale(); in setData() local 1298 GrStrokeTolerances::CalcParametricPrecision(maxScale)); in setData()
|
/external/skia/tests/ |
D | MatrixTest.cpp | 269 SkScalar maxScale = mat.getMaxScale(); in test_matrix_min_max_scale() local 270 REPORTER_ASSERT(reporter, (minScale < 0) == (maxScale < 0)); in test_matrix_min_max_scale() 271 REPORTER_ASSERT(reporter, (maxScale < 0) == mat.hasPerspective()); in test_matrix_min_max_scale() 276 REPORTER_ASSERT(reporter, !success || (scales[0] == minScale && scales[1] == maxScale)); in test_matrix_min_max_scale() 300 REPORTER_ASSERT(reporter, d / maxScale < gVectorScaleTol); in test_matrix_min_max_scale() 309 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()
|