Home
last modified time | relevance | path

Searched refs:minScale (Results 1 – 9 of 9) sorted by relevance

/external/aac/libAACenc/src/
Dband_nrg.cpp304 INT i, j, minScale; in FDKaacEnc_CalcBandNrgMSOpt() local
309 minScale = fixMin(sfbMaxScaleSpecLeft[i], sfbMaxScaleSpecRight[i]) - 4; in FDKaacEnc_CalcBandNrgMSOpt()
310 minScale = fixMax(0, minScale); in FDKaacEnc_CalcBandNrgMSOpt()
312 if (minScale > 0) { in FDKaacEnc_CalcBandNrgMSOpt()
314 FIXP_DBL specL = mdctSpectrumLeft[j] << (minScale - 1); in FDKaacEnc_CalcBandNrgMSOpt()
315 FIXP_DBL specR = mdctSpectrumRight[j] << (minScale - 1); in FDKaacEnc_CalcBandNrgMSOpt()
341 minScale = fixMin(sfbMaxScaleSpecLeft[i], sfbMaxScaleSpecRight[i]); in FDKaacEnc_CalcBandNrgMSOpt()
342 INT scale = fixMax(0, 2 * (minScale - 4)); in FDKaacEnc_CalcBandNrgMSOpt()
Dadj_thr.cpp1013 int minScale = fixMin(CountLeadingBits(sfbThrExp), in FDKaacEnc_reduceThresholdsCBR() local
1019 CalcLdData(fAbs(scaleValue(sfbThrExp, minScale) + in FDKaacEnc_reduceThresholdsCBR()
1020 scaleValue(redVal_m, redVal_e + minScale))) - in FDKaacEnc_reduceThresholdsCBR()
1021 (FIXP_DBL)(minScale << (DFRACT_BITS - 1 - LD_DATA_SHIFT)); in FDKaacEnc_reduceThresholdsCBR()
1390 int minScale = in FDKaacEnc_correctThresh() local
1399 minScale) + in FDKaacEnc_correctThresh()
1400 scaleValue(redVal_m, redVal_e + minScale)) - in FDKaacEnc_correctThresh()
1401 (FIXP_DBL)(minScale << (DFRACT_BITS - 1 - LD_DATA_SHIFT)); in FDKaacEnc_correctThresh()
/external/subsampling-scale-image-view/sample/src/main/java/com/davemorrissey/labs/subscaleview/test/animation/
DAnimationActivity.java58 float minScale = view.getMinScale(); in play() local
59 float scale = (random.nextFloat() * (maxScale - minScale)) + minScale; in play()
/external/MPAndroidChart/MPChartLib/src/main/java/com/github/mikephil/charting/charts/
DHorizontalBarChart.java323 float minScale = mXAxis.mAxisRange / minXRange; in setVisibleXRange() local
325 mViewPortHandler.setMinMaxScaleY(minScale, maxScale); in setVisibleXRange()
342 float minScale = getAxisRange(axis) / minYRange; in setVisibleYRange() local
344 mViewPortHandler.setMinMaxScaleX(minScale, maxScale); in setVisibleYRange()
DBarLineChartBase.java792 float minScale = mXAxis.mAxisRange / minXRange; in setVisibleXRange() local
794 mViewPortHandler.setMinMaxScaleX(minScale, maxScale); in setVisibleXRange()
828 float minScale = getAxisRange(axis) / minYRange; in setVisibleYRange() local
830 mViewPortHandler.setMinMaxScaleY(minScale, maxScale); in setVisibleYRange()
/external/subsampling-scale-image-view/library/src/main/java/com/davemorrissey/labs/subscaleview/
DSubsamplingScaleImageView.java161 private float minScale = minScale(); field in SubsamplingScaleImageView
748 if (scale <= minScale()) { in onTouchEventInternal()
751 scaleStart = minScale(); in onTouchEventInternal()
805 scale = Math.max(minScale(), Math.min(maxScale, scale * multiplier)); in onTouchEventInternal()
951 boolean zoomIn = (scale <= doubleTapZoomScale * 0.9) || scale == minScale; in doubleTapZoom()
952 float targetScale = zoomIn ? doubleTapZoomScale : minScale(); in doubleTapZoom()
1114 ….ENGLISH, "%.2f", scale) + " (" + String.format(Locale.ENGLISH, "%.2f", minScale()) + " - " + Stri… in onDraw()
2251 private float minScale() { in minScale() method
2256 } else if (minimumScaleType == SCALE_TYPE_CUSTOM && minScale > 0) { in minScale()
2257 return minScale; in minScale()
[all …]
/external/skia/tests/
DMatrixTest.cpp282 SkScalar minScale = mat.getMinScale(); in test_matrix_min_max_scale() local
284 REPORTER_ASSERT(reporter, (minScale < 0) == (maxScale < 0)); in test_matrix_min_max_scale()
289 REPORTER_ASSERT(reporter, !success || (scales[0] == minScale && scales[1] == maxScale)); in test_matrix_min_max_scale()
314 REPORTER_ASSERT(reporter, minScale / d < gVectorScaleTol); in test_matrix_min_max_scale()
323 REPORTER_ASSERT(reporter, minScale / min >= gCloseScaleTol); in test_matrix_min_max_scale()
/external/skia/tools/viewer/
DGraphitePrimitivesSlide.cpp99 float minScale = std::min(sv1, sv2); in local_aa_radius() local
100 return kAARadius / minScale; in local_aa_radius()
/external/deqp/framework/randomshaders/
DrsgBinaryOps.cpp465 const float minScale = 0.25f; in operator ()() local
470 float scale = getQuantizedFloat(rnd, minScale, maxScale, scaleStep); in operator ()()