Searched defs:sample (Results 1 - 2 of 2) sorted by relevance
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | BoxBlurFilter.java | 50 private static int sample(int x, int width, int mode) { method in class:BoxBlurFilter 78 int argb = in[read + sample(i, width, mode)]; 92 int prev = in[read + sample(x - RADIUS, width, mode)]; 93 int next = in[read + sample(x + RADIUS + 1, width, mode)];
|
/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | CropImage.java | 603 int sample = BitmapUtils.computeSampleSizeLarger( 605 options.inSampleSize = sample; 606 if ((rect.width() / sample) == dest.width() 607 && (rect.height() / sample) == dest.height() 618 drawInTiles(canvas, mRegionDecoder, rect, dest, sample); 678 BitmapRegionDecoder decoder, Rect rect, Rect dest, int sample) { 679 int tileSize = TILE_SIZE * sample; 683 options.inSampleSize = sample; 685 canvas.scale((float) sample * dest.width() / rect.width(), 686 (float) sample * des 677 drawInTiles(Canvas canvas, BitmapRegionDecoder decoder, Rect rect, Rect dest, int sample) argument [all...] |
Completed in 68 milliseconds