Searched refs:UNCONSTRAINED (Results 1 – 2 of 2) sorted by relevance
35 public static final int UNCONSTRAINED = -1; field in BitmapUtils70 if (maxNumOfPixels == UNCONSTRAINED in computeInitialSampleSize()71 && minSideLength == UNCONSTRAINED) return 1; in computeInitialSampleSize()73 int lowerBound = (maxNumOfPixels == UNCONSTRAINED) ? 1 : in computeInitialSampleSize()76 if (minSideLength == UNCONSTRAINED) { in computeInitialSampleSize()
46 private static final int UNCONSTRAINED = -1; field in ThumbnailUtils274 int lowerBound = (maxNumOfPixels == UNCONSTRAINED) ? 1 : in computeInitialSampleSize()276 int upperBound = (minSideLength == UNCONSTRAINED) ? 128 : in computeInitialSampleSize()285 if ((maxNumOfPixels == UNCONSTRAINED) && in computeInitialSampleSize()286 (minSideLength == UNCONSTRAINED)) { in computeInitialSampleSize()288 } else if (minSideLength == UNCONSTRAINED) { in computeInitialSampleSize()