/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 | 118 SkScalar maxScale = viewMatrix.getMaxScale(); in CanDrawAsDistanceFields() local 119 SkScalar scaledTextSize = maxScale * font.getSize(); in CanDrawAsDistanceFields() 148 SkScalar maxScale = viewMatrix.getMaxScale(); in scaled_text_size() local 152 if (maxScale > 0 && !SkScalarNearlyEqual(maxScale, SK_Scalar1)) { in scaled_text_size() 153 scaledTextSize *= maxScale; in scaled_text_size()
|
D | GrTextBlob.h | 198 SkScalar maxScale); 238 SkScalar maxScale) override;
|
D | GrTextBlob.cpp | 671 SkScalar maxScale) { in addSDFT() argument 673 this->setMinAndMaxScale(minScale, maxScale); in addSDFT() 758 SkScalar maxScale) { in processSourceSDFT() argument 759 this->addSDFT(drawables, strikeSpec, runFont, minScale, maxScale); in processSourceSDFT()
|
/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/core/ |
D | SkStrikeSpec.cpp | 200 SkScalar minScale, maxScale; in MakeSDFT() local 201 std::tie(minScale, maxScale) = GrTextContext::InitDistanceFieldMinMaxScale( in MakeSDFT() 206 return std::tie(storage, minScale, maxScale); in MakeSDFT()
|
D | SkGlyphRunPainter.cpp | 162 SkScalar minScale, maxScale; in processGlyphRunList() local 164 std::tie(strikeSpec, minScale, maxScale) = in processGlyphRunList() 178 fDrawable.drawable(), strikeSpec, runFont, minScale, maxScale); in processGlyphRunList()
|
D | SkGlyphRunPainter.h | 148 SkScalar maxScale) = 0;
|
/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 | 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/gpu/ops/ |
D | GrSmallPathRenderer.cpp | 394 SkScalar maxScale; in onPrepareDraws() local 400 maxScale = SkScalarAbs(std::max(xformedBounds.width() / bounds.width(), in onPrepareDraws() 403 maxScale = SkScalarAbs(args.fViewMatrix.getMaxScale()); in onPrepareDraws() 410 if (maxScale <= SK_ScalarHalf) { in onPrepareDraws() 411 SkScalar log = SkScalarFloorToScalar(SkScalarLog2(SkScalarInvert(maxScale))); in onPrepareDraws() 413 } else if (maxScale > SK_Scalar1) { in onPrepareDraws() 414 SkScalar log = SkScalarCeilToScalar(SkScalarLog2(maxScale)); in onPrepareDraws() 417 SkASSERT(maxScale <= mipScale); in onPrepareDraws()
|
D | GrAALinearizingConvexPathRenderer.cpp | 159 SkScalar maxScale = viewMatrix.getMaxScale(); in AAFlatteningConvexPathOp() local 161 SkASSERT(maxScale != -1); in AAFlatteningConvexPathOp() 162 if (SkPaint::kMiter_Join == join && w * maxScale > 1.f) { in AAFlatteningConvexPathOp()
|
/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 | 259 SkScalar maxScale = mat.getMaxScale(); in test_matrix_min_max_scale() local 260 REPORTER_ASSERT(reporter, (minScale < 0) == (maxScale < 0)); in test_matrix_min_max_scale() 261 REPORTER_ASSERT(reporter, (maxScale < 0) == mat.hasPerspective()); in test_matrix_min_max_scale() 266 REPORTER_ASSERT(reporter, !success || (scales[0] == minScale && scales[1] == maxScale)); in test_matrix_min_max_scale() 290 REPORTER_ASSERT(reporter, d / maxScale < gVectorScaleTol); in test_matrix_min_max_scale() 299 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/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/skqp/src/core/ |
D | SkGlyphRunPainter.cpp | 261 SkScalar maxScale = viewMatrix.getMaxScale(); in processARGBFallback() local 265 SkScalar conservativeMaxGlyphDimension = maxGlyphDimension * textScale * maxScale; in processARGBFallback()
|
/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()
|