/packages/apps/Settings/src/com/android/settings/ |
D | ChooseLockGeneric.java | 179 private void maybeEnableEncryption(int quality, boolean disabled) { in maybeEnableEncryption() argument 181 mEncryptionRequestQuality = quality; in maybeEnableEncryption() 189 Intent intent = getEncryptionInterstitialIntent(context, quality, required); in maybeEnableEncryption() 193 updateUnlockMethodAndFinish(quality, disabled); in maybeEnableEncryption() 247 int quality = intent.getIntExtra(LockPatternUtils.PASSWORD_TYPE_KEY, -1); in updatePreferencesOrFinish() local 248 if (quality == -1) { in updatePreferencesOrFinish() 250 quality = intent.getIntExtra(MINIMUM_QUALITY_KEY, -1); in updatePreferencesOrFinish() 252 quality = upgradeQuality(quality, allowBiometric); in updatePreferencesOrFinish() 258 disableUnusablePreferences(quality, allowBiometric); in updatePreferencesOrFinish() 261 updateUnlockMethodAndFinish(quality, false); in updatePreferencesOrFinish() [all …]
|
D | SetupChooseLockGeneric.java | 105 protected void disableUnusablePreferences(final int quality, in disableUnusablePreferences() argument 112 final int newQuality = Math.max(quality, in disableUnusablePreferences() 119 protected Intent getLockPasswordIntent(Context context, int quality, boolean isFallback, in getLockPasswordIntent() argument 122 final Intent intent = SetupChooseLockPassword.createIntent(context, quality, in getLockPasswordIntent() 138 protected Intent getEncryptionInterstitialIntent(Context context, int quality, in getEncryptionInterstitialIntent() argument 140 Intent intent = SetupEncryptionInterstitial.createStartIntent(context, quality, in getEncryptionInterstitialIntent()
|
D | EncryptionInterstitial.java | 59 public static Intent createStartIntent(Context ctx, int quality, in createStartIntent() argument 66 .putExtra(EXTRA_PASSWORD_QUALITY, quality) in createStartIntent() 91 int quality = getActivity().getIntent().getIntExtra(EXTRA_PASSWORD_QUALITY, 0); in onCreateView() local 95 switch (quality) { in onCreateView() 145 final int quality = new LockPatternUtils(getActivity()) in onCreateDialog() local 149 switch (quality) { in onCreateDialog()
|
D | SetupEncryptionInterstitial.java | 40 public static Intent createStartIntent(Context ctx, int quality, in createStartIntent() argument 42 Intent startIntent = EncryptionInterstitial.createStartIntent(ctx, quality, in createStartIntent() 98 final int quality = getActivity().getIntent().getIntExtra(EXTRA_PASSWORD_QUALITY, 0); in getHeaderTextResource() local 99 switch (quality) { in getHeaderTextResource()
|
D | SetupChooseLockPassword.java | 41 public static Intent createIntent(Context context, int quality, final boolean isFallback, in createIntent() argument 44 Intent intent = ChooseLockPassword.createIntent(context, quality, isFallback, minLength, in createIntent()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/ |
D | ImageFilterDraw.java | 92 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 …]
|
D | ImageFilterChanSat.java | 68 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()
|
D | ImageFilterGrad.java | 78 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()
|
D | ImageFilterVignette.java | 79 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()
|
D | ImageFilterRS.java | 42 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/ |
D | JPEGOutputStream.java | 37 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/Mms/src/com/android/mms/ui/ |
D | UriImage.java | 299 int quality = MessageUtils.IMAGE_COMPRESSION_QUALITY; in getResizedImageData() local 378 b.compress(CompressFormat.JPEG, quality, os); in getResizedImageData() 381 quality = (quality * byteLimit) / jpgFileSize; // watch for int division! in getResizedImageData() 382 if (quality < MessageUtils.MINIMUM_IMAGE_COMPRESSION_QUALITY) { in getResizedImageData() 383 quality = MessageUtils.MINIMUM_IMAGE_COMPRESSION_QUALITY; in getResizedImageData() 387 Log.v(TAG, "getResizedImageData: compress(2) w/ quality=" + quality); in getResizedImageData() 398 b.compress(CompressFormat.JPEG, quality, os); in getResizedImageData() 411 + " quality=" + quality); in getResizedImageData() 422 b.compress(CompressFormat.JPEG, quality, os); in getResizedImageData()
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
D | CameraSettings.java | 88 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()
|
D | VideoCamera.java | 723 int quality = Integer.valueOf(videoQuality); in readVideoPreferences() local 731 quality = CamcorderProfile.QUALITY_HIGH; in readVideoPreferences() 733 quality = CamcorderProfile.QUALITY_LOW; in readVideoPreferences() 753 quality = CamcorderProfile.QUALITY_480P; in readVideoPreferences() 779 if (mCaptureTimeLapse) quality += 1000; in readVideoPreferences() 780 mProfile = CamcorderProfile.get(mCameraId, quality); in readVideoPreferences()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | JpegUtilNative.java | 54 Object outBuf, int outBufCapacity, int quality); in compressJpegFromYUV420pNative() argument 65 ByteBuffer outBuf, int quality) { in compressJpegFromYUV420p() argument 67 … cbPStride, cbRStride, crBuf, crPStride, crRStride, outBuf, outBuf.capacity(), quality); in compressJpegFromYUV420p() 78 public static int compressJpegFromYUV420Image(Image img, ByteBuffer outBuf, int quality) { in compressJpegFromYUV420Image() argument 116 outBuf, quality); in compressJpegFromYUV420Image()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | ProcessingService.java | 144 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()
|
D | ImageSavingTask.java | 38 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()
|
D | FilterEnvironment.java | 94 public void setQuality(int quality) { in setQuality() argument 95 mQuality = quality; in setQuality()
|
/packages/apps/Camera/src/com/android/camera/ |
D | CameraSettings.java | 384 String quality = pref.getString(KEY_JPEG_QUALITY, "85"); in upgradeOldVersion() local 385 if (quality.equals("65")) { in upgradeOldVersion() 386 quality = "normal"; in upgradeOldVersion() 387 } else if (quality.equals("75")) { in upgradeOldVersion() 388 quality = "fine"; in upgradeOldVersion() 390 quality = "superfine"; in upgradeOldVersion() 392 editor.putString(KEY_JPEG_QUALITY, quality); in upgradeOldVersion()
|
D | VideoModule.java | 698 int quality = Integer.valueOf(videoQuality); in readVideoPreferences() local 706 quality = CamcorderProfile.QUALITY_HIGH; in readVideoPreferences() 708 quality = CamcorderProfile.QUALITY_LOW; in readVideoPreferences() 727 CamcorderProfile profile = CamcorderProfile.get(mCameraId, quality); in readVideoPreferences() 729 quality = getLowVideoQuality(); in readVideoPreferences() 743 if (mCaptureTimeLapse) quality += 1000; in readVideoPreferences() 744 mProfile = CamcorderProfile.get(mCameraId, quality); in readVideoPreferences()
|
/packages/apps/Gallery2/jni_jpegstream/src/ |
D | jpeg_writer.cpp | 45 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/src/com/android/camera/ |
D | VideoModule.java | 737 int quality = SettingsUtil.getVideoQuality(videoQuality, mCameraId); in readVideoPreferences() local 738 Log.d(TAG, "Selected video quality for '" + videoQuality + "' is " + quality); in readVideoPreferences() 746 quality = CamcorderProfile.QUALITY_HIGH; in readVideoPreferences() 748 quality = CamcorderProfile.QUALITY_LOW; in readVideoPreferences() 764 if (CamcorderProfile.hasProfile(mCameraId, quality) == false) { in readVideoPreferences() 765 quality = CamcorderProfile.QUALITY_HIGH; in readVideoPreferences() 767 mProfile = CamcorderProfile.get(mCameraId, quality); in readVideoPreferences()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/tools/ |
D | SaveImage.java | 329 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/Camera2/jni/ |
D | jpegutilnative.cpp | 40 jobject outBuf, jint outBufCapacity, jint quality) { in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative() argument 58 flush, quality); in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | PhotoProcessor.java | 252 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()
|