Home
last modified time | relevance | path

Searched refs:imageHeight (Results 1 – 23 of 23) sorted by relevance

/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/
DImageStraighten.java207 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 …]
DImageShow.java493 private Rect computeImageBounds(int imageWidth, int imageHeight) { in computeImageBounds() argument
494 float scale = GeometryMathUtils.scale(imageWidth, imageHeight, in computeImageBounds()
498 float h = imageHeight * scale; in computeImageBounds()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/
DCropView.java72 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/
DPCLmGenerator.h88 (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/
Dwprint_mupdf.c45 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/services/Car/car-lib/src/android/car/navigation/
DCarNavigationInstrumentCluster.java93 int imageWidth, int imageHeight, int imageColorDepthBits) { in createCustomImageCluster() argument
96 imageWidth, imageHeight, imageColorDepthBits); in createCustomImageCluster()
164 int imageHeight, in CarNavigationInstrumentCluster() argument
169 mImageHeight = imageHeight; in CarNavigationInstrumentCluster()
/packages/apps/Camera2/src/com/android/camera/data/
DFilmstripItemUtils.java92 int imageHeight, int widthBound, int heightBound, int orientation, in loadImageThumbnailFromStream() argument
99 int temp = imageHeight; in loadImageThumbnailFromStream()
100 imageHeight = imageWidth; in loadImageThumbnailFromStream()
107 int targetHeight = imageHeight; in loadImageThumbnailFromStream()
/packages/apps/Messaging/src/com/android/messaging/util/
DImageUtils.java609 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/apps/Gallery/src/com/android/camera/
DGalleryPicker.java622 int imageWidth, int widthPadding, int imageHeight, in placeImage() argument
629 int yPos = (row * (imageHeight + heightPadding)) - offsetY; in placeImage()
645 int imageHeight = height; in makeMiniThumbBitmap() local
651 imageHeight = (imageHeight - padding) / 2; // per row and column in makeMiniThumbBitmap()
706 imageHeight, true, Util.RECYCLE_INPUT); in makeMiniThumbBitmap()
709 Bitmap thumb = Bitmap.createBitmap(imageWidth, imageHeight, in makeMiniThumbBitmap()
715 mCellOutline.setBounds(0, 0, imageWidth, imageHeight); in makeMiniThumbBitmap()
718 placeImage(thumb, c, pdpaint, imageWidth, padding, imageHeight, in makeMiniThumbBitmap()
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/
DTaskCompressImageToJpeg.java175 final int imageHeight; in run() local
185 imageHeight = 0; in run()
192 imageHeight = exifPixelYDimension; in run()
194 safeCrop = guaranteedSafeCrop(imageWidth, imageHeight, in run()
203 imageHeight, in run()
/packages/services/Car/car-test-lib/src/android/car/testapi/
DFakeInstrumentClusterNavigation.java63 int imageHeight, in setCustomImageClusterInfo() argument
68 minIntervalMillis, imageWidth, imageHeight, imageColorDepthBits); in setCustomImageClusterInfo()
DCarNavigationStatusController.java33 int imageHeight, in setCustomImageClusterInfo() argument
/packages/apps/Camera2/src/com/android/camera/util/
DCameraUtil.java988 public static Point resizeToFill(int imageWidth, int imageHeight, int imageRotation, in resizeToFill() argument
993 imageWidth = imageHeight; in resizeToFill()
994 imageHeight = savedWidth; in resizeToFill()
1003 if (imageWidth != 0 && imageHeight != 0) { in resizeToFill()
1004 if (imageWidth * boundHeight > boundWidth * imageHeight) { in resizeToFill()
1005 p.y = imageHeight * p.x / imageWidth; in resizeToFill()
1007 p.x = imageWidth * p.y / imageHeight; in resizeToFill()
1011 + imageWidth + "|" + imageHeight + "|" + boundWidth + "|" in resizeToFill()
/packages/services/BuiltInPrintService/jni/plugins/genPCLm/src/
DgenPCLm.cpp255 void PCLmGenerator::writePDFGrammarTrailer(int imageWidth, int imageHeight) { in writePDFGrammarTrailer() argument
437 int PCLmGenerator::injectRLEStrip(ubyte *RLEBuffer, int numBytes, int imageWidth, int imageHeight, in injectRLEStrip() argument
483 sprintf(pOutStr, "/Height %d\n", imageHeight); in injectRLEStrip()
526 int PCLmGenerator::injectLZStrip(ubyte *LZBuffer, int numBytes, int imageWidth, int imageHeight, in injectLZStrip() argument
572 sprintf(pOutStr, "/Height %d\n", imageHeight); in injectLZStrip()
650 int PCLmGenerator::injectJPEG(char *jpeg_Buff, int imageWidth, int imageHeight, int numCompBytes, in injectJPEG() argument
665 yPosition += imageHeight; in injectJPEG()
698 sprintf(pOutStr, "/Height %d\n", imageHeight); in injectJPEG()
764 void PCLmGenerator::writePDFGrammarPage(int imageWidth, int imageHeight, int numStrips, in writePDFGrammarPage() argument
991 static bool prepImageForBacksideDuplex(ubyte *imagePtr, sint32 imageHeight, sint32 imageWidth, in prepImageForBacksideDuplex() argument
[all …]
/packages/modules/IntentResolver/java/src/com/android/intentresolver/widget/
DRoundedRectImageView.java75 int imageHeight = height - getPaddingBottom() - getPaddingTop(); in updatePath() local
76 mPath.addRoundRect(getPaddingLeft(), getPaddingTop(), imageWidth, imageHeight, mRadius, in updatePath() local
/packages/apps/TV/src/com/android/tv/dvr/ui/browse/
DRecordingCardView.java84 Context context, int imageWidth, int imageHeight, boolean expandTitleWhenFocused) { in RecordingCardView() argument
97 mImageHeight = imageHeight; in RecordingCardView()
DDvrDetailsFragment.java182 int imageHeight = in onLoadLogoAndBackgroundImages() local
188 imageHeight, in onLoadLogoAndBackgroundImages() local
/packages/apps/TV/src/com/android/tv/ui/
DProgramDetailsFragment.java276 int imageHeight =
282 imageHeight,
/packages/apps/Messaging/jni/
DGifTranscoder.h70 int imageHeight,
DGifTranscoder.cpp412 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/
DToggleFeaturePreferenceFragment.java450 final int imageHeight = drawable.getIntrinsicHeight(); in getDrawableFromUri() local
453 || (imageHeight > screenHalfHeight)) { in getDrawableFromUri()
/packages/modules/NeuralNetworks/common/cpu_operations/
DGenerateProposals.cpp88 float imageHeight = imageInfoBase[0]; in bboxTransformFloat32() local
98 .y1 = std::min(std::max(roiAfter.y1, 0.0f), imageHeight), in bboxTransformFloat32()
100 .y2 = std::min(std::max(roiAfter.y2, 0.0f), imageHeight)}; in bboxTransformFloat32()
/packages/services/Car/tools/GenericCarApiBuilder/
Dcomplete_car_api_list.txt997 …er createCustomImageCluster(int minIntervalMillis, int imageWidth, int imageHeight, int imageColor…