OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:cropHeight
(Results
1 - 4
of
4
) sorted by null
/packages/apps/Gallery3D/src/com/cooliris/media/
AdaptiveBackgroundTexture.java
102
int
cropHeight
;
106
cropHeight
= (int) (destHeight * fitX);
108
cropY = (sourceHeight -
cropHeight
) / 2;
113
cropHeight
= sourceHeight;
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);
138
Bitmap filtered = Bitmap.createBitmap(in, cropWidth,
cropHeight
, Bitmap.Config.ARGB_8888);
CropImage.java
596
int
cropHeight
= cropWidth;
600
cropHeight
= cropWidth * mAspectY / mAspectX;
602
cropWidth =
cropHeight
* mAspectX / mAspectY;
607
int y = (height -
cropHeight
) / 2;
609
RectF cropRect = new RectF(x, y, x + cropWidth, y +
cropHeight
);
[
all
...]
/packages/apps/Gallery/src/com/android/camera/
CropImage.java
479
int
cropHeight
= cropWidth;
483
cropHeight
= cropWidth * mAspectY / mAspectX;
485
cropWidth =
cropHeight
* mAspectX / mAspectY;
490
int y = (height -
cropHeight
) / 2;
492
RectF cropRect = new RectF(x, y, x + cropWidth, y +
cropHeight
);
/packages/apps/Gallery3D/src/com/cooliris/cache/
CacheService.java
646
int
cropHeight
;
653
cropHeight
= height;
657
cropHeight
= thumbnailHeight * width / thumbnailWidth;
658
cropY = Math.max(0, Math.min(focusY -
cropHeight
/ 2, height -
cropHeight
));
669
canvas.drawBitmap(bitmap, new Rect(cropX, cropY, cropX + cropWidth, cropY +
cropHeight
), new Rect(0, 0, thumbnailWidth,
[
all
...]
Completed in 126 milliseconds