/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
D | ImageStraighten.java | 207 int imageHeight, int viewWidth, int viewHeight) { in updateCurrentCrop() argument 208 tmp.set(0, 0, imageHeight, imageWidth); in updateCurrentCrop() 217 tmp.set(0, 0, imageHeight, imageWidth); in updateCurrentCrop() 218 iw = imageHeight; in updateCurrentCrop() 221 tmp.set(0, 0, imageWidth, imageHeight); in updateCurrentCrop() 223 ih = imageHeight; in updateCurrentCrop() 232 imageHeight, viewWidth, viewHeight); in updateCurrentCrop() 237 FilterCropRepresentation.findNormalizedCrop(mCrop, imageWidth, imageHeight); in updateCurrentCrop() 252 int imageHeight = image.getHeight(); in onDraw() local 258 imageHeight, viewWidth, viewHeight); in onDraw() [all …]
|
D | ImageShow.java | 492 private Rect computeImageBounds(int imageWidth, int imageHeight) { in computeImageBounds() argument 493 float scale = GeometryMathUtils.scale(imageWidth, imageHeight, in computeImageBounds() 497 float h = imageHeight * scale; in computeImageBounds()
|
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/ |
D | CropView.java | 72 final float imageHeight = mRenderer.source.getImageHeight(); in getImageDims() local 75 imageDims[1] = imageHeight; in getImageDims() 87 final float imageHeight = imageDims[1]; in getEdgesHelper() local 97 rendererCenter[1] += imageHeight / 2; in getEdgesHelper() 102 float centerY = (height / 2f - rendererCenter[1] + (imageHeight - height) / 2f) in getEdgesHelper() 106 float topEdge = centerY - imageHeight / 2f * scale; in getEdgesHelper() 107 float bottomEdge = centerY + imageHeight / 2f * scale; in getEdgesHelper() 165 final float imageHeight = imageDims[1]; in updateMinScale() local 166 mMinScale = Math.max(w / imageWidth, h / imageHeight); in updateMinScale()
|
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/inc/ |
D | PCLmGenerator.h | 88 (int imageWidth, int imageHeight, int numStrips, colorSpaceDisposition destColorSpace); 98 int injectRLEStrip(ubyte *RLEBuffer, int numBytes, int imageWidth, int imageHeight, 104 int injectLZStrip(ubyte *LZBuffer, int numBytes, int imageWidth, int imageHeight, 110 int injectJPEG(char *jpeg_Buff, int imageWidth, int imageHeight, int numCompBytes, 136 void writePDFGrammarTrailer(int imageWidth, int imageHeight);
|
/packages/services/BuiltInPrintService/jni/plugins/ |
D | wprint_mupdf.c | 45 unsigned int imageHeight; in _mupdf_get_hdr() local 62 imageHeight = (unsigned int) (pageHeight * zoom); in _mupdf_get_hdr() 65 image_info->height = imageHeight; in _mupdf_get_hdr() 67 size = imageWidth * imageHeight * 3; in _mupdf_get_hdr() 78 imageHeight, zoom, rawBuffer); in _mupdf_get_hdr()
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | ImageUtils.java | 609 int imageHeight = mHeight; in canBeCompressed() local 625 boolean fits = (imageHeight < heightLimitWithSlop && in canBeCompressed() 627 imageHeight * imageWidth < pixelLimit); in canBeCompressed() 644 + " as h=" + imageHeight + " vs " + heightLimitWithSlop in canBeCompressed() 646 + " p=" + imageHeight * imageWidth + " vs " + pixelLimit); in canBeCompressed() 648 imageHeight = mHeight / sampleSize; in canBeCompressed() 650 fits = (imageHeight < heightLimitWithSlop && in canBeCompressed() 652 imageHeight * imageWidth < pixelLimit); in canBeCompressed() 658 + " for h=" + imageHeight + " vs " + heightLimitWithSlop in canBeCompressed() 660 + " p=" + imageHeight * imageWidth + " vs " + pixelLimit); in canBeCompressed()
|
/packages/services/Car/car-lib/src/android/car/navigation/ |
D | CarNavigationInstrumentCluster.java | 83 int imageWidth, int imageHeight, int imageColorDepthBits) { in createCustomImageCluster() argument 86 imageWidth, imageHeight, imageColorDepthBits); in createCustomImageCluster() 147 int imageHeight, in CarNavigationInstrumentCluster() argument 152 mImageHeight = imageHeight; in CarNavigationInstrumentCluster()
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | FilmstripItemUtils.java | 91 int imageHeight, int widthBound, int heightBound, int orientation, in loadImageThumbnailFromStream() argument 98 int dummy = imageHeight; in loadImageThumbnailFromStream() 99 imageHeight = imageWidth; in loadImageThumbnailFromStream() 106 int targetHeight = imageHeight; in loadImageThumbnailFromStream()
|
/packages/apps/Gallery/src/com/android/camera/ |
D | GalleryPicker.java | 621 int imageWidth, int widthPadding, int imageHeight, in placeImage() argument 628 int yPos = (row * (imageHeight + heightPadding)) - offsetY; in placeImage() 644 int imageHeight = height; in makeMiniThumbBitmap() local 650 imageHeight = (imageHeight - padding) / 2; // per row and column in makeMiniThumbBitmap() 705 imageHeight, true, Util.RECYCLE_INPUT); in makeMiniThumbBitmap() 708 Bitmap thumb = Bitmap.createBitmap(imageWidth, imageHeight, in makeMiniThumbBitmap() 714 mCellOutline.setBounds(0, 0, imageWidth, imageHeight); in makeMiniThumbBitmap() 717 placeImage(thumb, c, pdpaint, imageWidth, padding, imageHeight, in makeMiniThumbBitmap()
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | TaskCompressImageToJpeg.java | 176 final int imageHeight; in run() local 186 imageHeight = 0; in run() 193 imageHeight = exifPixelYDimension; in run() 195 safeCrop = guaranteedSafeCrop(imageWidth, imageHeight, in run() 204 imageHeight, in run()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | CameraUtil.java | 983 public static Point resizeToFill(int imageWidth, int imageHeight, int imageRotation, in resizeToFill() argument 988 imageWidth = imageHeight; in resizeToFill() 989 imageHeight = savedWidth; in resizeToFill() 998 if (imageWidth != 0 && imageHeight != 0) { in resizeToFill() 999 if (imageWidth * boundHeight > boundWidth * imageHeight) { in resizeToFill() 1000 p.y = imageHeight * p.x / imageWidth; in resizeToFill() 1002 p.x = imageWidth * p.y / imageHeight; in resizeToFill() 1006 + imageWidth + "|" + imageHeight + "|" + boundWidth + "|" in resizeToFill()
|
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/ |
D | genPCLm.cpp | 256 void PCLmGenerator::writePDFGrammarTrailer(int imageWidth, int imageHeight) { in writePDFGrammarTrailer() argument 438 int PCLmGenerator::injectRLEStrip(ubyte *RLEBuffer, int numBytes, int imageWidth, int imageHeight, in injectRLEStrip() argument 484 sprintf(pOutStr, "/Height %d\n", imageHeight); in injectRLEStrip() 527 int PCLmGenerator::injectLZStrip(ubyte *LZBuffer, int numBytes, int imageWidth, int imageHeight, in injectLZStrip() argument 573 sprintf(pOutStr, "/Height %d\n", imageHeight); in injectLZStrip() 651 int PCLmGenerator::injectJPEG(char *jpeg_Buff, int imageWidth, int imageHeight, int numCompBytes, in injectJPEG() argument 666 yPosition += imageHeight; in injectJPEG() 699 sprintf(pOutStr, "/Height %d\n", imageHeight); in injectJPEG() 765 void PCLmGenerator::writePDFGrammarPage(int imageWidth, int imageHeight, int numStrips, in writePDFGrammarPage() argument 992 static bool prepImageForBacksideDuplex(ubyte *imagePtr, sint32 imageHeight, sint32 imageWidth, in prepImageForBacksideDuplex() argument [all …]
|
/packages/services/Car/car-test-lib/src/android/car/testapi/ |
D | FakeInstrumentClusterNavigation.java | 63 int imageHeight, in setCustomImageClusterInfo() argument 68 minIntervalMillis, imageWidth, imageHeight, imageColorDepthBits); in setCustomImageClusterInfo()
|
D | CarNavigationStatusController.java | 33 int imageHeight, in setCustomImageClusterInfo() argument
|
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/ |
D | DvrDetailsFragment.java | 182 int imageHeight = in onLoadLogoAndBackgroundImages() local 188 imageHeight, in onLoadLogoAndBackgroundImages() local
|
D | RecordingCardView.java | 84 Context context, int imageWidth, int imageHeight, boolean expandTitleWhenFocused) { in RecordingCardView() argument 97 mImageHeight = imageHeight; in RecordingCardView()
|
/packages/apps/TV/src/com/android/tv/ui/ |
D | ProgramDetailsFragment.java | 276 int imageHeight = 282 imageHeight,
|
/packages/apps/Messaging/jni/ |
D | GifTranscoder.h | 70 int imageHeight,
|
D | GifTranscoder.cpp | 412 int imageHeight, in fillRect() argument 419 ASSERT(top + height <= imageHeight, "Rectangle is outside image bounds"); in fillRect()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | ToggleFeaturePreferenceFragment.java | 434 final int imageHeight = drawable.getIntrinsicHeight(); in getDrawableFromUri() local 437 || (imageHeight > screenHalfHeight)) { in getDrawableFromUri()
|