Home
last modified time | relevance | path

Searched refs:quality (Results 1 – 25 of 65) sorted by relevance

123

/packages/apps/Settings/src/com/android/settings/
DChooseLockGeneric.java248 private void maybeEnableEncryption(int quality, boolean disabled) { in maybeEnableEncryption() argument
255 mEncryptionRequestQuality = quality; in maybeEnableEncryption()
259 Intent unlockMethodIntent = getIntentForUnlockMethod(quality, disabled); in maybeEnableEncryption()
269 Intent intent = getEncryptionInterstitialIntent(context, quality, required, in maybeEnableEncryption()
282 updateUnlockMethodAndFinish(quality, disabled); in maybeEnableEncryption()
329 int quality = intent.getIntExtra(LockPatternUtils.PASSWORD_TYPE_KEY, -1); in updatePreferencesOrFinish() local
330 if (quality == -1) { in updatePreferencesOrFinish()
332 quality = intent.getIntExtra(MINIMUM_QUALITY_KEY, -1); in updatePreferencesOrFinish()
333 quality = upgradeQuality(quality); in updatePreferencesOrFinish()
341 disableUnusablePreferences(quality, hideDisabledPrefs); in updatePreferencesOrFinish()
[all …]
DSetupChooseLockGeneric.java157 protected void disableUnusablePreferences(final int quality, boolean hideDisabled) { in disableUnusablePreferences() argument
163 final int newQuality = Math.max(quality, in disableUnusablePreferences()
191 protected Intent getLockPasswordIntent(Context context, int quality, in getLockPasswordIntent() argument
194 final Intent intent = SetupChooseLockPassword.createIntent(context, quality, minLength, in getLockPasswordIntent()
201 protected Intent getLockPasswordIntent(Context context, int quality, in getLockPasswordIntent() argument
204 final Intent intent = SetupChooseLockPassword.createIntent(context, quality, minLength, in getLockPasswordIntent()
211 protected Intent getLockPasswordIntent(Context context, int quality, int minLength, in getLockPasswordIntent() argument
213 final Intent intent = SetupChooseLockPassword.createIntent(context, quality, minLength, in getLockPasswordIntent()
247 protected Intent getEncryptionInterstitialIntent(Context context, int quality, in getEncryptionInterstitialIntent() argument
249 Intent intent = SetupEncryptionInterstitial.createStartIntent(context, quality, in getEncryptionInterstitialIntent()
DSetupChooseLockPassword.java43 public static Intent createIntent(Context context, int quality, in createIntent() argument
46 Intent intent = ChooseLockPassword.createIntent(context, quality, minLength, in createIntent()
53 public static Intent createIntent(Context context, int quality, in createIntent() argument
55 Intent intent = ChooseLockPassword.createIntent(context, quality, minLength, maxLength, in createIntent()
62 public static Intent createIntent(Context context, int quality, in createIntent() argument
64 Intent intent = ChooseLockPassword.createIntent(context, quality, minLength, maxLength, in createIntent()
DChooseLockPassword.java73 public static Intent createIntent(Context context, int quality, in createIntent() argument
77 intent.putExtra(LockPatternUtils.PASSWORD_TYPE_KEY, quality); in createIntent()
85 public static Intent createIntent(Context context, int quality, in createIntent() argument
88 Intent intent = createIntent(context, quality, minLength, maxLength, in createIntent()
94 public static Intent createIntent(Context context, int quality, in createIntent() argument
96 Intent intent = createIntent(context, quality, minLength, maxLength, in createIntent()
102 public static Intent createIntent(Context context, int quality, int minLength, in createIntent() argument
104 Intent intent = createIntent(context, quality, minLength, maxLength, in createIntent()
110 public static Intent createIntent(Context context, int quality, in createIntent() argument
112 Intent intent = createIntent(context, quality, minLength, maxLength, in createIntent()
[all …]
DSetupEncryptionInterstitial.java45 public static Intent createStartIntent(Context ctx, int quality, in createStartIntent() argument
47 Intent startIntent = EncryptionInterstitial.createStartIntent(ctx, quality, in createStartIntent()
DEncryptionInterstitial.java57 public static Intent createStartIntent(Context ctx, int quality, in createStartIntent() argument
60 .putExtra(EXTRA_PASSWORD_QUALITY, quality) in createStartIntent()
DScreenPinningSettings.java152 int quality = mLockPatternUtils.getKeyguardStoredPasswordQuality( in getCurrentSecurityTitle() local
154 switch (quality) { in getCurrentSecurityTitle()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
DImageFilterDraw.java92 int quality); in paint() argument
110 int quality) { in paint() argument
160 int quality) { in paint() argument
219 int quality) { in paint() argument
220 mDrawingsTypes[sd.mType].paint(sd, canvas, toScrMatrix, quality); in paint()
223 public void drawData(Canvas canvas, Matrix originalRotateToScreen, int quality) { in drawData() argument
225 if (quality == FilterEnvironment.QUALITY_FINAL) { in drawData()
237 if (quality == FilterEnvironment.QUALITY_FINAL) { in drawData()
240 paint(strokeData, canvas, originalRotateToScreen, quality); in drawData()
262 paint(stroke, canvas, originalRotateToScreen, quality); in drawData()
[all …]
DImageFilterChanSat.java68 int quality) { in createFilter() argument
69 createFilter(res, scaleFactor, quality, getInPixelsAllocation()); in createFilter()
74 int quality, Allocation in) { in createFilter() argument
90 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply() argument
91 if (SIMPLE_ICONS && FilterEnvironment.QUALITY_ICON == quality) { in apply()
96 Bitmap ret = super.apply(bitmap, scaleFactor, quality); in apply()
DImageFilterGrad.java78 int quality) { in createFilter() argument
79 createFilter(res, scaleFactor, quality, getInPixelsAllocation()); in createFilter()
84 int quality, Allocation in) { in createFilter() argument
100 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply() argument
101 if (SIMPLE_ICONS && FilterEnvironment.QUALITY_ICON == quality) { in apply()
106 Bitmap ret = super.apply(bitmap, scaleFactor, quality); in apply()
DImageFilterVignette.java79 protected void createFilter(Resources res, float scaleFactor, int quality) { in createFilter() argument
130 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply() argument
131 if (SIMPLE_ICONS && FilterEnvironment.QUALITY_ICON == quality) { in apply()
144 Bitmap ret = super.apply(bitmap, scaleFactor, quality); in apply()
DImageFilterRS.java42 float scaleFactor, int quality); in createFilter() argument
45 float scaleFactor, int quality, Allocation in) {} in createFilter() argument
111 public Bitmap apply(Bitmap bitmap, float scaleFactor, int quality) { in apply() argument
130 createFilter(rsc, scaleFactor, quality); in apply()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/jpegstream/
DJPEGOutputStream.java37 public JPEGOutputStream(OutputStream out, int width, int height, int quality, in JPEGOutputStream() argument
40 setConfig(width, height, quality, format); in JPEGOutputStream()
43 public boolean setConfig(int width, int height, int quality, int format) { in setConfig() argument
45 quality = Math.max(Math.min(quality, 100), 1); in setConfig()
63 mQuality = quality; in setConfig()
135 native private int setup(OutputStream out, int width, int height, int format, int quality); in setup() argument
/packages/apps/Camera2/src/com/android/camera/util/
DJpegUtilNative.java101 int quality, in compressJpegFromYUV420pNative() argument
144 ByteBuffer outBuf, int quality, in compressJpegFromYUV420p() argument
160 quality, cropLeft, cropTop, cropRight, cropBottom, rot90); in compressJpegFromYUV420p()
173 public static int compressJpegFromYUV420Image(ImageProxy img, ByteBuffer outBuf, int quality) { in compressJpegFromYUV420Image() argument
174 return compressJpegFromYUV420Image(img, outBuf, quality, 0); in compressJpegFromYUV420Image()
188 public static int compressJpegFromYUV420Image(ImageProxy img, ByteBuffer outBuf, int quality, in compressJpegFromYUV420Image() argument
190 return compressJpegFromYUV420Image(img, outBuf, quality, new Rect(0, 0, img.getWidth(), in compressJpegFromYUV420Image()
210 public static int compressJpegFromYUV420Image(ImageProxy img, ByteBuffer outBuf, int quality, in compressJpegFromYUV420Image() argument
268 outBuf, quality, cropLeft, cropTop, cropRight, cropBot, in compressJpegFromYUV420Image()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DImageSavingTask.java38 int quality; field in ImageSavingTask.SaveRequest
70 int quality, float sizeFactor, boolean exit) { in saveImage() argument
77 request.quality = quality; in saveImage()
118 request.quality, request.sizeFactor, request.exit); in doInBackground()
DProcessingService.java144 Uri selectedImageUri, Uri sourceImageUri, boolean doFlatten, int quality, in getSaveIntent() argument
151 processIntent.putExtra(ProcessingService.QUALITY, quality); in getSaveIntent()
199 int quality = intent.getIntExtra(QUALITY, 100); in onStartCommand() local
218 flatten, quality, sizeFactor, exit); in onStartCommand()
237 boolean flatten, int quality, float sizeFactor, boolean exit) { in handleSaveRequest() argument
254 preset, previewImage, flatten, quality, sizeFactor, exit); in handleSaveRequest()
DFilterEnvironment.java94 public void setQuality(int quality) { in setQuality() argument
95 mQuality = quality; in setQuality()
/packages/apps/LegacyCamera/src/com/android/camera/
DCameraSettings.java88 int quality = Integer.valueOf(defaultQuality); in getDefaultVideoQuality() local
89 if (CamcorderProfile.hasProfile(cameraId, quality)) { in getDefaultVideoQuality()
323 String quality = pref.getString(KEY_JPEG_QUALITY, "85"); in upgradeGlobalPreferences() local
324 if (quality.equals("65")) { in upgradeGlobalPreferences()
325 quality = "normal"; in upgradeGlobalPreferences()
326 } else if (quality.equals("75")) { in upgradeGlobalPreferences()
327 quality = "fine"; in upgradeGlobalPreferences()
329 quality = "superfine"; in upgradeGlobalPreferences()
331 editor.putString(KEY_JPEG_QUALITY, quality); in upgradeGlobalPreferences()
/packages/apps/Gallery2/jni_jpegstream/src/
Djpeg_writer.cpp45 Jpeg_Config::Format format, int32_t quality) { in setup() argument
52 if (height <= 0 || width <= 0 || quality <= 0 || quality > 100) { in setup()
98 jpeg_set_quality(&mInfo, quality, TRUE); in setup()
/packages/apps/Camera2/jni/
Djpegutil.cpp145 std::function<void(size_t)> flush, int quality) { in Compress() argument
247 jpeg_set_quality(&cinfo, quality, true); in Compress()
317 int quality, in Compress() argument
362 outBufCapacity, flush, quality); in Compress()
Djpegutilnative.cpp82 jint quality, in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative() argument
98 quality, // in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative()
Djpegutil.h147 std::function<void(size_t)> flush, int quality);
165 int quality,
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoProcessor.java252 private byte[] getCompressedBytes(Bitmap b, int quality) throws IOException { in getCompressedBytes() argument
254 final boolean compressed = b.compress(Bitmap.CompressFormat.JPEG, quality, baos); in getCompressedBytes()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/
DSaveImage.java329 int quality, float sizeFactor, boolean exit) { in processAndSaveImage() argument
360 if (putExifData(mDestinationFile, exif, mPreviewImage, quality)) { in processAndSaveImage()
373 if (putExifData(mDestinationFile, exif, mPreviewImage, quality)) { in processAndSaveImage()
427 if (putExifData(mDestinationFile, exif, bitmap, quality)) { in processAndSaveImage()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DBitmapUtils.java241 public static byte[] compressToBytes(Bitmap bitmap, int quality) { in compressToBytes() argument
243 bitmap.compress(CompressFormat.JPEG, quality, baos); in compressToBytes()

123