Searched refs:scaleFactor (Results 1 – 7 of 7) sorted by relevance
262 float scaleFactor = 1.F; in getResizedImageData() local263 while ((outWidth * scaleFactor > widthLimit) || (outHeight * scaleFactor > heightLimit)) { in getResizedImageData()264 scaleFactor *= .75F; in getResizedImageData()271 ", initialScaleFactor=" + scaleFactor + in getResizedImageData()331 int scaledWidth = (int)(outWidth * scaleFactor); in getResizedImageData()332 int scaledHeight = (int)(outHeight * scaleFactor); in getResizedImageData()370 + " with smaller scale factor, cur scale factor: " + scaleFactor); in getResizedImageData()376 + " width=" + outWidth * scaleFactor in getResizedImageData()377 + " height=" + outHeight * scaleFactor in getResizedImageData()378 + " scaleFactor=" + scaleFactor in getResizedImageData()[all …]
200 float scaleFactor = ((float) maxDim) / Math.max(width, height); in getScaledBitmap() local201 if (scaleFactor < 1.0f || cropLeft != 0 || cropTop != 0) { in getScaledBitmap()204 if (scaleFactor < 1.0f) matrix.setScale(scaleFactor, scaleFactor); in getScaledBitmap()
199 double scaleFactor = 1.0; in setWaveformData() local201 scaleFactor = 255 / maxGain; in setWaveformData()208 int smoothedGain = (int)(smoothedGains[i] * scaleFactor); in setWaveformData()248 double value = (smoothedGains[i] * scaleFactor - minGain) / range; in setWaveformData()
285 float scaleFactor = width / (float) mContentView.getWidth(); in showNavScreen() local301 1f, scaleFactor); in showNavScreen()375 float scaleFactor = mContentView.getWidth() / (float) width; in hideNavScreen() local376 int toBottom = toTop + (int) (height * scaleFactor); in hideNavScreen()397 1f, scaleFactor); in hideNavScreen()
357 final float scaleFactor = detector.getScaleFactor(); in onCreate()358 final float deltaScaleFactor = scaleFactor - mLastScaleFactor; in onCreate()360 if (scaleFactor < 1.0f) { in onCreate()368 } else if (scaleFactor > 1.0f) { in onCreate()379 mLastScaleFactor = scaleFactor; in onCreate()
2263 private void setPivotsForZoom(View view, float scaleFactor) { in setPivotsForZoom() argument2545 final float scaleFactor = (float) in hideAppsCustomizeHelper() local2560 setPivotsForZoom(fromView, scaleFactor); in hideAppsCustomizeHelper()2567 scaleX(scaleFactor).scaleY(scaleFactor). in hideAppsCustomizeHelper()
1832 float scaleFactor = Math.min((w - padding) / (float) orig.getWidth(),1834 int scaledWidth = (int) (scaleFactor * orig.getWidth());1835 int scaledHeight = (int) (scaleFactor * orig.getHeight());