Searched refs:imageWidth (Results 1 - 6 of 6) sorted by relevance
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | CropView.java | 72 final float imageWidth = mRenderer.source.getImageWidth(); 75 imageDims[0] = imageWidth; 87 final float imageWidth = imageDims[0]; 97 rendererCenter[0] += imageWidth / 2; 101 float centerX = (width / 2f - rendererCenter[0] + (imageWidth - width) / 2f) 105 float leftEdge = centerX - imageWidth / 2f * scale; 106 float rightEdge = centerX + imageWidth / 2f * scale; 165 final float imageWidth = imageDims[0]; 167 mMinScale = Math.max(w / imageWidth, h / imageHeight);
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | ImageStraighten.java | 206 private void updateCurrentCrop(Matrix m, GeometryHolder h, RectF tmp, int imageWidth, argument 208 tmp.set(0, 0, imageHeight, imageWidth); 217 tmp.set(0, 0, imageHeight, imageWidth); 219 ih = imageWidth; 221 tmp.set(0, 0, imageWidth, imageHeight); 222 iw = imageWidth; 231 Matrix m1 = GeometryMathUtils.getFullGeometryToScreenMatrix(h, imageWidth, 237 FilterCropRepresentation.findNormalizedCrop(mCrop, imageWidth, imageHeight); 251 int imageWidth = image.getWidth(); 257 Matrix m = GeometryMathUtils.getFullGeometryToScreenMatrix(mDrawHolder, imageWidth, [all...] |
H A D | ImageShow.java | 491 private Rect computeImageBounds(int imageWidth, int imageHeight) { argument 492 float scale = GeometryMathUtils.scale(imageWidth, imageHeight, 495 float w = imageWidth * scale;
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | GalleryPicker.java | 621 int imageWidth, int widthPadding, int imageHeight, 627 int xPos = (col * (imageWidth + widthPadding)) - offsetX; 643 int imageWidth = width; 648 imageWidth = (imageWidth - padding) / 2; // 2 here because we show two 704 temp = Util.transform(m, temp, imageWidth, 708 Bitmap thumb = Bitmap.createBitmap(imageWidth, imageHeight, 714 mCellOutline.setBounds(0, 0, imageWidth, imageHeight); 717 placeImage(thumb, c, pdpaint, imageWidth, padding, imageHeight, 620 placeImage(Bitmap image, Canvas c, Paint paint, int imageWidth, int widthPadding, int imageHeight, int heightPadding, int offsetX, int offsetY, int pos) argument
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | FilmStripView.java | 758 int imageWidth, int imageHeight, int imageOrientation, 762 int savedWidth = imageWidth; 763 imageWidth = imageHeight; 766 if (imageWidth == ImageData.SIZE_FULL 768 imageWidth = boundWidth; 776 if (imageWidth * ret[1] > ret[0] * imageHeight) { 777 ret[1] = imageHeight * ret[0] / imageWidth; 779 ret[0] = imageWidth * ret[1] / imageHeight; 2414 float imageWidth = imageData.getWidth(); 2416 imageWidth 757 calculateChildDimension( int imageWidth, int imageHeight, int imageOrientation, int boundWidth, int boundHeight) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | PhotoView.java | 1616 private static int gapToSide(int imageWidth, int viewWidth) { argument 1617 return Math.max(0, (viewWidth - imageWidth) / 2);
|
Completed in 140 milliseconds