Lines Matching refs:quality
27 * capture (jpeg) quality levels (0-100) used for low, medium, and high
28 * quality settings in the Camera application.
34 * Define three quality levels for JPEG image encoding.
45 * Cache the Jpeg encoding quality parameters
50 * Returns a pre-defined still image capture (jpeg) quality level
51 * used for the given quality level in the Camera application for
55 * @param quality The target quality level
57 public static int getJpegEncodingQualityParameter(int quality) {
63 return getJpegEncodingQualityParameter(i, quality);
70 * Returns a pre-defined still image capture (jpeg) quality level
71 * used for the given quality level in the Camera application for
75 * @param quality The target quality level
77 public static int getJpegEncodingQualityParameter(int cameraId, int quality) {
78 if (quality < QUALITY_LOW || quality > QUALITY_HIGH) {
79 throw new IllegalArgumentException("Unsupported quality level: " + quality);
87 return levels[quality];
99 throw new RuntimeException("Unexpected Jpeg encoding quality levels " + nLevels);
106 Arrays.sort(levels); // Lower quality level ALWAYS comes before higher one