Searched refs:imageSize (Results 1 - 10 of 10) sorted by relevance

/packages/apps/Gallery2/src/com/android/photos/data/
H A DFileRetriever.java60 public boolean getMedia(Uri contentUri, MediaSize imageSize, File tempFile) { argument
61 if (imageSize == MediaSize.Original) {
64 if (imageSize == MediaSize.Thumbnail) {
68 return MediaCacheUtils.downsample(preview, imageSize, tempFile);
74 success = MediaCacheUtils.downsample(highRes, imageSize, tempFile);
80 } else if (imageSize == MediaSize.Thumbnail
88 success = MediaCacheUtils.downsample(bitmap, imageSize, tempFile);
H A DMediaRetriever.java104 boolean getMedia(Uri contentUri, MediaSize imageSize, File tempFile); argument
/packages/apps/Camera/jni/
H A Dfeature_mos_jni.cpp577 int imageSize = width * height; local
584 LOGV("MosBytes: %d, W = %d, H = %d", imageSize, width, height);
586 int* image = new int[imageSize];
603 jintArray bytes = env->NewIntArray(imageSize+2);
609 env->SetIntArrayRegion(bytes, 0, imageSize, (jint*) image);
610 env->SetIntArrayRegion(bytes, imageSize, 2, (jint*) dims);
626 int imageSize = 1.5*width * height; local
640 LOGV("MosBytes: %d, W = %d, H = %d", imageSize, width, height);
654 jbyteArray bytes = env->NewByteArray(imageSize+8);
660 env->SetByteArrayRegion(bytes, 0, imageSize, (jbyt
[all...]
/packages/apps/Gallery2/jni_mosaic/
H A Dfeature_mos_jni.cpp577 int imageSize = width * height; local
584 LOGV("MosBytes: %d, W = %d, H = %d", imageSize, width, height);
586 int* image = new int[imageSize];
603 jintArray bytes = env->NewIntArray(imageSize+2);
609 env->SetIntArrayRegion(bytes, 0, imageSize, (jint*) image);
610 env->SetIntArrayRegion(bytes, imageSize, 2, (jint*) dims);
626 int imageSize = 1.5*width * height; local
640 LOGV("MosBytes: %d, W = %d, H = %d", imageSize, width, height);
654 jbyteArray bytes = env->NewByteArray(imageSize+8);
660 env->SetByteArrayRegion(bytes, 0, imageSize, (jbyt
[all...]
/packages/apps/LegacyCamera/jni/
H A Dfeature_mos_jni.cpp577 int imageSize = width * height; local
584 LOGV("MosBytes: %d, W = %d, H = %d", imageSize, width, height);
586 int* image = new int[imageSize];
603 jintArray bytes = env->NewIntArray(imageSize+2);
609 env->SetIntArrayRegion(bytes, 0, imageSize, (jint*) image);
610 env->SetIntArrayRegion(bytes, imageSize, 2, (jint*) dims);
626 int imageSize = 1.5*width * height; local
640 LOGV("MosBytes: %d, W = %d, H = %d", imageSize, width, height);
654 jbyteArray bytes = env->NewByteArray(imageSize+8);
660 env->SetByteArrayRegion(bytes, 0, imageSize, (jbyt
[all...]
/packages/apps/Gallery2/tests/src/com/android/gallery3d/exif/
H A DExifParserTest.java219 int imageSize = parser.getCompressedImageSize();
220 byte buf[] = new byte[imageSize];
222 bmp = BitmapFactory.decodeByteArray(buf, 0, imageSize);
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DContactTileAdapter.java637 final int imageSize = (width - totalPaddingsInPixels) / mColumnCount;
638 final int remainder = width - (imageSize * mColumnCount) - totalPaddingsInPixels;
642 final int childWidth = imageSize + child.getPaddingRight()
645 final int childHeight = imageSize + child.getPaddingBottom();
651 setMeasuredDimension(width, imageSize + getChildAt(0).getPaddingBottom());
/packages/apps/Launcher2/src/com/android/launcher2/
H A DPagedViewWidget.java157 int[] imageSize = getPreviewSize();
158 int centerAmount = (imageSize[0] - preview.getIntrinsicWidth()) / 2;
/packages/apps/Gallery2/tests/src/com/android/gallery3d/glrenderer/
H A DGLStub.java122 int imageSize,
134 int imageSize,
115 glCompressedTexImage2D( int target, int level, int internalformat, int width, int height, int border, int imageSize, java.nio.Buffer data ) argument
126 glCompressedTexSubImage2D( int target, int level, int xoffset, int yoffset, int width, int height, int format, int imageSize, java.nio.Buffer data ) argument
/packages/apps/Gallery2/tests/src/com/android/photos/data/
H A DMediaCacheTest.java99 public boolean getMedia(Uri contentUri, MediaSize imageSize, File tempFile) { argument

Completed in 197 milliseconds