HomeSort by relevance Sort by last modified time
    Searched refs:cropWidth (Results 1 - 4 of 4) sorted by null

  /packages/apps/Gallery3D/src/com/cooliris/media/
AdaptiveBackgroundTexture.java 101 int cropWidth;
105 cropWidth = sourceWidth;
112 cropWidth = (int) (destHeight * fitY);
114 cropX = (sourceWidth - cropWidth) / 2;
120 int numPixels = cropWidth * cropHeight;
125 source.getPixels(in, 0, cropWidth, cropX, cropY, cropWidth, cropHeight);
134 boxBlurFilter(in, tmp, cropWidth, cropHeight, cropWidth);
135 boxBlurFilter(tmp, in, cropHeight, cropWidth, START_FADE_X)
    [all...]
CropImage.java 595 int cropWidth = Math.min(width, height) * 4 / 5;
596 int cropHeight = cropWidth;
600 cropHeight = cropWidth * mAspectY / mAspectX;
602 cropWidth = cropHeight * mAspectX / mAspectY;
606 int x = (width - cropWidth) / 2;
609 RectF cropRect = new RectF(x, y, x + cropWidth, y + cropHeight);
    [all...]
  /packages/apps/Gallery/src/com/android/camera/
CropImage.java 478 int cropWidth = Math.min(width, height) * 4 / 5;
479 int cropHeight = cropWidth;
483 cropHeight = cropWidth * mAspectY / mAspectX;
485 cropWidth = cropHeight * mAspectX / mAspectY;
489 int x = (width - cropWidth) / 2;
492 RectF cropRect = new RectF(x, y, x + cropWidth, y + cropHeight);
  /packages/apps/Gallery3D/src/com/cooliris/cache/
CacheService.java 645 int cropWidth;
650 cropWidth = thumbnailWidth * height / thumbnailHeight;
651 cropX = Math.max(0, Math.min(focusX - cropWidth / 2, width - cropWidth));
660 cropWidth = width;
669 canvas.drawBitmap(bitmap, new Rect(cropX, cropY, cropX + cropWidth, cropY + cropHeight), new Rect(0, 0, thumbnailWidth,
    [all...]

Completed in 496 milliseconds