HomeSort by relevance Sort by last modified time
    Searched refs:maxNumOfPixels (Results 1 - 5 of 5) sorted by null

  /packages/apps/Gallery/src/com/android/camera/
Util.java 85 * and maxNumOfPixels.
88 * maxNumOfPixels is used to specify the maximal size in pixels that is
103 int minSideLength, int maxNumOfPixels) {
105 maxNumOfPixels);
121 int minSideLength, int maxNumOfPixels) {
125 int lowerBound = (maxNumOfPixels == IImage.UNCONSTRAINED) ? 1 :
126 (int) Math.ceil(Math.sqrt(w * h / maxNumOfPixels));
136 if ((maxNumOfPixels == IImage.UNCONSTRAINED) &&
275 public static Bitmap makeBitmap(int minSideLength, int maxNumOfPixels,
284 return makeBitmap(minSideLength, maxNumOfPixels, uri, cr, input
    [all...]
  /packages/apps/Camera/src/com/android/camera/
Util.java 93 * and maxNumOfPixels.
96 * maxNumOfPixels is used to specify the maximal size in pixels that is
111 int minSideLength, int maxNumOfPixels) {
113 maxNumOfPixels);
129 int minSideLength, int maxNumOfPixels) {
133 int lowerBound = (maxNumOfPixels == IImage.UNCONSTRAINED) ? 1 :
134 (int) Math.ceil(Math.sqrt(w * h / maxNumOfPixels));
144 if ((maxNumOfPixels == IImage.UNCONSTRAINED) &&
172 public static Bitmap makeBitmap(byte[] jpegData, int maxNumOfPixels) {
183 options, IImage.UNCONSTRAINED, maxNumOfPixels);
    [all...]
  /packages/apps/Gallery3D/src/com/cooliris/media/
Utils.java 258 * and maxNumOfPixels.
261 * maxNumOfPixels is used to specify the maximal size in pixels that is
276 int minSideLength, int maxNumOfPixels) {
278 maxNumOfPixels);
294 int minSideLength, int maxNumOfPixels) {
298 int lowerBound = (maxNumOfPixels == UNCONSTRAINED) ? 1 :
299 (int) Math.ceil(Math.sqrt(w * h / maxNumOfPixels));
309 if ((maxNumOfPixels == UNCONSTRAINED) &&
UriTexture.java 104 int maxNumOfPixels = maxResolutionX * maxResolutionY;
106 return Utils.computeSampleSize(options, minSideLength, maxNumOfPixels);
  /frameworks/base/media/java/android/media/
ThumbnailUtils.java 212 * and maxNumOfPixels.
215 * maxNumOfPixels is used to specify the maximal size in pixels that is
230 int minSideLength, int maxNumOfPixels) {
232 maxNumOfPixels);
248 int minSideLength, int maxNumOfPixels) {
252 int lowerBound = (maxNumOfPixels == UNCONSTRAINED) ? 1 :
253 (int) Math.ceil(Math.sqrt(w * h / maxNumOfPixels));
263 if ((maxNumOfPixels == UNCONSTRAINED) &&
281 private static Bitmap makeBitmap(int minSideLength, int maxNumOfPixels,
299 options, minSideLength, maxNumOfPixels);
    [all...]

Completed in 646 milliseconds