Searched refs:UNCONSTRAINED (Results 1 - 7 of 7) sorted by relevance

/packages/apps/Gallery2/tests/src/com/android/gallery3d/common/
H A DUtilsTest.java28 1, 1, BitmapUtils.UNCONSTRAINED, BitmapUtils.UNCONSTRAINED, 1,
58 640, 480, 480, BitmapUtils.UNCONSTRAINED, 1, // 1
59 640, 480, 240, BitmapUtils.UNCONSTRAINED, 2, // 2
60 640, 480, 160, BitmapUtils.UNCONSTRAINED, 4, // 3->4
61 640, 480, 120, BitmapUtils.UNCONSTRAINED, 4, // 4
62 640, 480, 96, BitmapUtils.UNCONSTRAINED, 8, // 5->8
63 640, 480, 80, BitmapUtils.UNCONSTRAINED, 8, // 6->8
64 640, 480, 60, BitmapUtils.UNCONSTRAINED, 8, // 8
65 640, 480, 48, BitmapUtils.UNCONSTRAINED, 1
[all...]
/packages/apps/Gallery/src/com/android/camera/gallery/
H A DIImage.java32 static final int UNCONSTRAINED = -1; field in interface:IImage
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
H A DBitmapUtils.java36 public static final int UNCONSTRAINED = -1; field in class:BitmapUtils
49 * Both size and minSideLength can be passed in as UNCONSTRAINED,
52 * generates a smaller bitmap, unless minSideLength = UNCONSTRAINED.
71 if (maxNumOfPixels == UNCONSTRAINED
72 && minSideLength == UNCONSTRAINED) return 1;
74 int lowerBound = (maxNumOfPixels == UNCONSTRAINED) ? 1 :
77 if (minSideLength == UNCONSTRAINED) {
/packages/apps/Gallery/src/com/android/camera/
H A DUtil.java92 * Both size and minSideLength can be passed in as IImage.UNCONSTRAINED,
95 * generates a smaller bitmap, unless minSideLength = IImage.UNCONSTRAINED.
125 int lowerBound = (maxNumOfPixels == IImage.UNCONSTRAINED) ? 1 :
127 int upperBound = (minSideLength == IImage.UNCONSTRAINED) ? 128 :
136 if ((maxNumOfPixels == IImage.UNCONSTRAINED) &&
137 (minSideLength == IImage.UNCONSTRAINED)) {
139 } else if (minSideLength == IImage.UNCONSTRAINED) {
H A DCropImage.java186 ? mImage.fullSizeBitmap(IImage.UNCONSTRAINED,
H A DImageGallery.java322 IImage.UNCONSTRAINED, 100 * 1024);
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DCropImage.java738 BitmapUtils.UNCONSTRAINED, BACKUP_PIXEL_COUNT);

Completed in 9246 milliseconds