/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/UnifiedEmail/src/com/android/mail/ui/ |
D | AttachmentTileGrid.java | 158 final int imageSize = (widthMinusPadding) / mColumnCount; in onMeasureForTiles() local 159 final int remainder = widthMinusPadding - (imageSize * mColumnCount); in onMeasureForTiles() 164 final int childWidth = imageSize + (i < remainder ? 1 : 0); in onMeasureForTiles() 167 MeasureSpec.makeMeasureSpec(imageSize, MeasureSpec.EXACTLY) in onMeasureForTiles() 175 numRows * (imageSize + getChildAt(0).getPaddingBottom()) + in onMeasureForTiles()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | MessagePartData.java | 453 final Rect imageSize = ImageUtils.decodeImageBounds( in decodeAndSaveSizeIfImage() local 455 if (imageSize.width() != ImageRequest.UNSPECIFIED_SIZE && in decodeAndSaveSizeIfImage() 456 imageSize.height() != ImageRequest.UNSPECIFIED_SIZE) { in decodeAndSaveSizeIfImage() 457 mWidth = imageSize.width(); in decodeAndSaveSizeIfImage() 458 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/ContactsCommon/src/com/android/contacts/common/list/ |
D | ContactTileAdapter.java | 613 final int imageSize = (width - totalWhitespaceInPixels) / mColumnCount; 614 final int remainder = width - (imageSize * mColumnCount) - totalWhitespaceInPixels; 618 final int childWidth = imageSize + child.getPaddingRight() + child.getPaddingLeft()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | PagedViewWidget.java | 156 int[] imageSize = getPreviewSize(); in applyPreview() local 157 int centerAmount = (imageSize[0] - preview.getIntrinsicWidth()) / 2; in applyPreview()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/ |
D | ConversationListItemView.java | 483 final int imageSize = resources.getDimensionPixelSize( in bind() local 486 new UriImageRequestDescriptor(previewImageUri, imageSize, imageSize, in bind()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/info/ |
D | InfoPanel.java | 77 mImageSize = (TextView) mMainView.findViewById(R.id.imageSize); in onCreateView()
|
/packages/apps/Messaging/src/com/android/messaging/sms/ |
D | MmsUtils.java | 465 int imageSize = getDataLength(context, imageUri); in addPicturePart() local 466 if (imageSize <= 0) { in addPicturePart() 472 LogUtil.v(TAG, "addPicturePart size: " + imageSize + " width: " in addPicturePart() 484 if (imageSize <= maxPartSize && in addPicturePart() 503 imageSize = part.getData().length; in addPicturePart() 511 LogUtil.v(TAG, "addPicturePart size: " + imageSize); in addPicturePart() 514 return imageSize; in addPicturePart()
|