/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageShow.java | 242 float scaleFactor = MasterImage.getImage().getScaleFactor(); in getImageToScreenMatrix() local 244 m.postScale(scaleFactor, scaleFactor, getWidth() / 2.0f, getHeight() / 2.0f); in getImageToScreenMatrix() 299 float scaleFactor = MasterImage.getImage().getScaleFactor(); in onDraw() local 303 scalingMatrix.postScale(scaleFactor, scaleFactor, cx, cy); in onDraw() 321 canvas.scale(scaleFactor, scaleFactor, cx, cy); in onDraw() 350 canvas.scale(scaleFactor, scaleFactor, cx, cy); in onDraw() 595 float scaleFactor = MasterImage.getImage().getScaleFactor(); in onTouchEvent() local 596 if (scaleFactor > 1 && (!ENABLE_ZOOMED_COMPARISON || event.getPointerCount() == 2)) { in onTouchEvent() 597 float translateX = (mTouch.x - mTouchDown.x) / scaleFactor; in onTouchEvent() 598 float translateY = (mTouch.y - mTouchDown.y) / scaleFactor; in onTouchEvent() [all …]
|
D | MasterImage.java | 358 float scaleFactor = getScaleFactor(); in getImageToScreenMatrix() local 360 m.postScale(scaleFactor, scaleFactor, mImageShowSize.x/2.0f, mImageShowSize.y/2.0f); in getImageToScreenMatrix() 451 public void setScaleFactor(float scaleFactor) { in setScaleFactor() argument 455 if (scaleFactor == mScaleFactor) { in setScaleFactor() 458 mScaleFactor = scaleFactor; in setScaleFactor()
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | UriImage.java | 267 float scaleFactor = 1.F; in getResizedImageData() local 268 while ((outWidth * scaleFactor > widthLimit) || (outHeight * scaleFactor > heightLimit)) { in getResizedImageData() 269 scaleFactor *= .75F; in getResizedImageData() 276 ", initialScaleFactor=" + scaleFactor + in getResizedImageData() 336 int scaledWidth = (int)(outWidth * scaleFactor); in getResizedImageData() 337 int scaledHeight = (int)(outHeight * scaleFactor); in getResizedImageData() 375 + " with smaller scale factor, cur scale factor: " + scaleFactor); in getResizedImageData() 381 + " width=" + outWidth * scaleFactor in getResizedImageData() 382 + " height=" + outHeight * scaleFactor in getResizedImageData() 383 + " scaleFactor=" + scaleFactor in getResizedImageData() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | PhotoProcessor.java | 220 final float scaleFactor = Math.min(1f, ((float) maxDim) / Math.max(cropWidth, cropHeight)); in getNormalizedBitmap() local 222 if (scaleFactor < 1.0f || cropLeft != 0 || cropTop != 0 || originalHasAlpha) { in getNormalizedBitmap() 223 final int newWidth = (int) (cropWidth * scaleFactor); in getNormalizedBitmap() 224 final int newHeight = (int) (cropHeight * scaleFactor); in getNormalizedBitmap()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ImageFilterRS.java | 41 float scaleFactor, int quality); in createFilter() argument 44 float scaleFactor, int quality, Allocation in) {} in createFilter() argument 100 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply() argument 119 createFilter(rsc, scaleFactor, quality); in apply()
|
D | ImageFilterSharpen.java | 63 protected void createFilter(android.content.res.Resources res, float scaleFactor, in createFilter() argument 71 float scaleFactor = getEnvironment().getScaleFactor(); in computeKernel() local 72 float p1 = mParameters.getValue() * scaleFactor; in computeKernel()
|
D | ImageFilterBorder.java | 67 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply() argument 71 float scale2 = scaleFactor * 2.0f; in apply()
|
D | ImageFilterEdge.java | 42 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply() argument
|
D | ImageFilterNegative.java | 34 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply() argument
|
D | ImageFilterExposure.java | 46 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply() argument
|
D | ImageFilterContrast.java | 47 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply() argument
|
D | ImageFilterShadows.java | 47 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply() argument
|
D | ImageFilterVibrance.java | 46 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply() argument
|
D | ImageFilterSaturated.java | 47 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply() argument
|
D | ImageFilterWBalance.java | 52 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply() argument
|
D | ImageFilterBwFilter.java | 46 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply() argument
|
D | ImageFilterHue.java | 49 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply() argument
|
D | ImageFilterRedEye.java | 59 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply() argument
|
D | ImageFilterHighlights.java | 50 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply() argument
|
/packages/apps/Browser/src/com/android/browser/ |
D | PhoneUi.java | 303 float scaleFactor = width / (float) mContentView.getWidth(); in showNavScreen() local 319 1f, scaleFactor); in showNavScreen() 394 float scaleFactor = mContentView.getWidth() / (float) width; in hideNavScreen() local 395 int toBottom = toTop + (int) (height * scaleFactor); in hideNavScreen() 416 1f, scaleFactor); in hideNavScreen()
|
/packages/apps/VideoEditor/src/com/android/videoeditor/widgets/ |
D | AudioTrackView.java | 199 double scaleFactor = 1.0; in setWaveformData() local 201 scaleFactor = 255 / maxGain; in setWaveformData() 208 int smoothedGain = (int)(smoothedGains[i] * scaleFactor); in setWaveformData() 248 double value = (smoothedGains[i] * scaleFactor - minGain) / range; in setWaveformData()
|
/packages/apps/VideoEditor/src/com/android/videoeditor/ |
D | VideoEditorActivity.java | 358 final float scaleFactor = detector.getScaleFactor(); in onCreate() 359 final float deltaScaleFactor = scaleFactor - mLastScaleFactor; in onCreate() 361 if (scaleFactor < 1.0f) { in onCreate() 369 } else if (scaleFactor > 1.0f) { in onCreate() 380 mLastScaleFactor = scaleFactor; in onCreate()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/ |
D | FilterEnvironment.java | 85 public void setScaleFactor(float scaleFactor) { in setScaleFactor() argument 86 mScaleFactor = scaleFactor; in setScaleFactor()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
D | RenderingRequest.java | 147 public void setScaleFactor(float scaleFactor) { in setScaleFactor() argument 148 mScaleFactor = scaleFactor; in setScaleFactor()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | Launcher.java | 2450 private void setPivotsForZoom(View view, float scaleFactor) { in setPivotsForZoom() argument 2735 final float scaleFactor = (float) in hideAppsCustomizeHelper() local 2750 setPivotsForZoom(fromView, scaleFactor); in hideAppsCustomizeHelper() 2757 scaleX(scaleFactor).scaleY(scaleFactor). in hideAppsCustomizeHelper()
|