Searched refs:imageSize (Results 1 – 8 of 8) sorted by relevance
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ZoomView.java | 72 Point imageSize = FilmstripItemUtils.decodeBitmapDimension(isForDimensions); in doInBackground() local 78 if (imageSize == null) { in doInBackground() 82 RectF fullResRect = new RectF(0, 0, imageSize.x - 1, imageSize.y - 1); in doInBackground() 89 rotationMatrix.mapRect(fullResRect, new RectF(0, 0, imageSize.x - 1, in doInBackground() 90 imageSize.y - 1)); in doInBackground() 116 region.intersect(0, 0, imageSize.x - 1, imageSize.y - 1); in doInBackground()
|
/packages/apps/LegacyCamera/jni/ |
D | feature_mos_jni.cpp | 577 int imageSize = width * height; in Java_com_android_camera_panorama_Mosaic_getFinalMosaic() local 584 LOGV("MosBytes: %d, W = %d, H = %d", imageSize, width, height); in Java_com_android_camera_panorama_Mosaic_getFinalMosaic() 586 int* image = new int[imageSize]; in Java_com_android_camera_panorama_Mosaic_getFinalMosaic() 603 jintArray bytes = env->NewIntArray(imageSize+2); in Java_com_android_camera_panorama_Mosaic_getFinalMosaic() 609 env->SetIntArrayRegion(bytes, 0, imageSize, (jint*) image); in Java_com_android_camera_panorama_Mosaic_getFinalMosaic() 610 env->SetIntArrayRegion(bytes, imageSize, 2, (jint*) dims); in Java_com_android_camera_panorama_Mosaic_getFinalMosaic() 626 int imageSize = 1.5*width * height; in Java_com_android_camera_panorama_Mosaic_getFinalMosaicNV21() local 640 LOGV("MosBytes: %d, W = %d, H = %d", imageSize, width, height); in Java_com_android_camera_panorama_Mosaic_getFinalMosaicNV21() 654 jbyteArray bytes = env->NewByteArray(imageSize+8); in Java_com_android_camera_panorama_Mosaic_getFinalMosaicNV21() 660 env->SetByteArrayRegion(bytes, 0, imageSize, (jbyte*) resultYVU); in Java_com_android_camera_panorama_Mosaic_getFinalMosaicNV21() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | MessagePartData.java | 471 final Rect imageSize = ImageUtils.decodeImageBounds( in decodeAndSaveSizeIfImage() local 473 if (imageSize.width() != ImageRequest.UNSPECIFIED_SIZE && in decodeAndSaveSizeIfImage() 474 imageSize.height() != ImageRequest.UNSPECIFIED_SIZE) { in decodeAndSaveSizeIfImage() 475 mWidth = imageSize.width(); in decodeAndSaveSizeIfImage() 476 mHeight = imageSize.height(); in decodeAndSaveSizeIfImage()
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | TaskConvertImageToRGBPreview.java | 138 protected int calculateBestSubsampleFactor(Size imageSize, Size targetSize) { in calculateBestSubsampleFactor() argument 139 int maxSubsample = Math.min(imageSize.getWidth() / targetSize.getWidth(), in calculateBestSubsampleFactor() 140 imageSize.getHeight() / targetSize.getHeight()); in calculateBestSubsampleFactor() 149 if (((imageSize.getWidth() % (2 * i) == 0) in calculateBestSubsampleFactor() 150 && (imageSize.getHeight() % (2 * i) == 0))) { in calculateBestSubsampleFactor()
|
/packages/apps/Dialer/java/com/android/incallui/incall/impl/ |
D | CheckableLabeledButton.java | 86 int imageSize = getResources().getDimensionPixelSize(R.dimen.incall_labeled_button_icon_size); in init() local 87 int iconPadding = (iconSize - imageSize) / 2; in init()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListItemView.java | 490 final int imageSize = resources.getDimensionPixelSize( in bind() local 493 new UriImageRequestDescriptor(previewImageUri, imageSize, imageSize, in bind()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsUtils.java | 470 int imageSize = getDataLength(context, imageUri); in addPicturePart() local 471 if (imageSize <= 0) { in addPicturePart() 477 LogUtil.v(TAG, "addPicturePart size: " + imageSize + " width: " in addPicturePart() 489 if (imageSize <= maxPartSize && in addPicturePart() 508 imageSize = part.getData().length; in addPicturePart() 516 LogUtil.v(TAG, "addPicturePart size: " + imageSize); in addPicturePart() 519 return imageSize; in addPicturePart()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/ |
D | InfoPanel.java | 77 mImageSize = (TextView) mMainView.findViewById(R.id.imageSize); in onCreateView()
|