/packages/apps/Settings/src/com/android/settings/password/ |
D | ChooseLockGeneric.java | 349 private void maybeEnableEncryption(int quality, boolean disabled) { in maybeEnableEncryption() argument 358 Intent unlockMethodIntent = getIntentForUnlockMethod(quality); in maybeEnableEncryption() 368 Intent intent = getEncryptionInterstitialIntent(context, quality, required, in maybeEnableEncryption() 385 updateUnlockMethodAndFinish(quality, disabled, false /* chooseLockSkipped */); in maybeEnableEncryption() 416 int quality = getIntent().getIntExtra(LockPatternUtils.PASSWORD_TYPE_KEY, -1); in onActivityResult() local 417 if (quality != -1) { in onActivityResult() 470 int quality = -1; in updatePreferencesOrFinish() local 472 quality = intent.getIntExtra(LockPatternUtils.PASSWORD_TYPE_KEY, -1); in updatePreferencesOrFinish() 478 if (quality == -1) { in updatePreferencesOrFinish() 480 quality = intent.getIntExtra(MINIMUM_QUALITY_KEY, -1); in updatePreferencesOrFinish() [all …]
|
D | ScreenLockType.java | 64 ScreenLockType(int quality, String preferenceKey) { in ScreenLockType() argument 65 this(quality, quality, preferenceKey); in ScreenLockType() 80 public static ScreenLockType fromQuality(int quality) { in fromQuality() argument 81 switch (quality) { in fromQuality()
|
D | ChooseLockGenericController.java | 93 public int upgradeQuality(int quality) { in upgradeQuality() argument 95 int dpmUpgradedQuality = Math.max(quality, mDpm.getPasswordQuality(null, mUserId)); in upgradeQuality() 131 public boolean isScreenLockEnabled(ScreenLockType type, int quality) { in isScreenLockEnabled() argument 132 return type.maxQuality >= quality; in isScreenLockEnabled() 182 public List<ScreenLockType> getVisibleScreenLockTypes(int quality, boolean includeDisabled) { 183 int upgradedQuality = upgradeQuality(quality);
|
D | SetupChooseLockGeneric.java | 173 protected void disableUnusablePreferences(final int quality, boolean hideDisabled) { in disableUnusablePreferences() argument 179 final int newQuality = Math.max(quality, in disableUnusablePreferences() 213 protected Intent getLockPasswordIntent(int quality) { in getLockPasswordIntent() argument 215 getContext(), super.getLockPasswordIntent(quality)); in getLockPasswordIntent() 229 protected Intent getEncryptionInterstitialIntent(Context context, int quality, in getEncryptionInterstitialIntent() argument 231 Intent intent = SetupEncryptionInterstitial.createStartIntent(context, quality, in getEncryptionInterstitialIntent()
|
D | ChooseLockPassword.java | 111 public IntentBuilder setPasswordQuality(int quality) { in setPasswordQuality() argument 112 mIntent.putExtra(LockPatternUtils.PASSWORD_TYPE_KEY, quality); in setPasswordQuality() 674 && minMetrics.quality != PASSWORD_QUALITY_NUMERIC_COMPLEX; in mergeMinComplexityAndDpmRequirements() 683 if (minMetrics.quality == PASSWORD_QUALITY_ALPHABETIC) { in mergeMinComplexityAndDpmRequirements() 688 if (minMetrics.quality == PASSWORD_QUALITY_ALPHANUMERIC) { in mergeMinComplexityAndDpmRequirements() 721 mergeMinComplexityAndDpmRequirements(metrics.quality); in validatePassword()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | ChooseLockGeneric.java | 341 private void maybeEnableEncryption(int quality, boolean disabled) { in maybeEnableEncryption() argument 350 Intent unlockMethodIntent = getIntentForUnlockMethod(quality); in maybeEnableEncryption() 360 Intent intent = getEncryptionInterstitialIntent(context, quality, required, in maybeEnableEncryption() 377 updateUnlockMethodAndFinish(quality, disabled, false /* chooseLockSkipped */); in maybeEnableEncryption() 408 int quality = getIntent().getIntExtra(LockPatternUtils.PASSWORD_TYPE_KEY, -1); in onActivityResult() local 409 if (quality != -1) { in onActivityResult() 459 int quality = -1; in updatePreferencesOrFinish() local 461 quality = intent.getIntExtra(LockPatternUtils.PASSWORD_TYPE_KEY, -1); in updatePreferencesOrFinish() 467 if (quality == -1) { in updatePreferencesOrFinish() 469 quality = intent.getIntExtra(MINIMUM_QUALITY_KEY, -1); in updatePreferencesOrFinish() [all …]
|
D | ScreenLockType.java | 64 ScreenLockType(int quality, String preferenceKey) { in ScreenLockType() argument 65 this(quality, quality, preferenceKey); in ScreenLockType() 80 public static ScreenLockType fromQuality(int quality) { in fromQuality() argument 81 switch (quality) { in fromQuality()
|
D | ChooseLockGenericController.java | 93 public int upgradeQuality(int quality) { in upgradeQuality() argument 95 int dpmUpgradedQuality = Math.max(quality, mDpm.getPasswordQuality(null, mUserId)); in upgradeQuality() 131 public boolean isScreenLockEnabled(ScreenLockType type, int quality) { in isScreenLockEnabled() argument 132 return type.maxQuality >= quality; in isScreenLockEnabled() 182 public List<ScreenLockType> getVisibleScreenLockTypes(int quality, boolean includeDisabled) { 183 int upgradedQuality = upgradeQuality(quality);
|
D | SetupChooseLockGeneric.java | 173 protected void disableUnusablePreferences(final int quality, boolean hideDisabled) { in disableUnusablePreferences() argument 179 final int newQuality = Math.max(quality, in disableUnusablePreferences() 207 protected Intent getLockPasswordIntent(int quality) { in getLockPasswordIntent() argument 209 getContext(), super.getLockPasswordIntent(quality)); in getLockPasswordIntent() 223 protected Intent getEncryptionInterstitialIntent(Context context, int quality, in getEncryptionInterstitialIntent() argument 225 Intent intent = SetupEncryptionInterstitial.createStartIntent(context, quality, in getEncryptionInterstitialIntent()
|
D | ChooseLockPassword.java | 111 public IntentBuilder setPasswordQuality(int quality) { in setPasswordQuality() argument 112 mIntent.putExtra(LockPatternUtils.PASSWORD_TYPE_KEY, quality); in setPasswordQuality() 675 && minMetrics.quality != PASSWORD_QUALITY_NUMERIC_COMPLEX; in mergeMinComplexityAndDpmRequirements() 684 if (minMetrics.quality == PASSWORD_QUALITY_ALPHABETIC) { in mergeMinComplexityAndDpmRequirements() 689 if (minMetrics.quality == PASSWORD_QUALITY_ALPHANUMERIC) { in mergeMinComplexityAndDpmRequirements() 722 mergeMinComplexityAndDpmRequirements(metrics.quality); in validatePassword()
|
/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 …]
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | JpegUtilNative.java | 101 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/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/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()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
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 | 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 | FilterEnvironment.java | 94 public void setQuality(int quality) { in setQuality() argument 95 mQuality = quality; in setQuality()
|
/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/services/BuiltInPrintService/jni/plugins/genPCLm/src/ |
D | genJPEGStrips.cpp | 51 write_JPEG_Buff(ubyte *buffPtr, int quality, int image_width, int image_height, in write_JPEG_Buff() argument 92 jpeg_set_quality(&cinfo, quality, TRUE); // TRUE = limit to baseline-JPEG values in write_JPEG_Buff() 129 resolution, quality, *numCompBytes); in write_JPEG_Buff()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/shadow/ |
D | ShadowDevicePolicyManager.java | 84 public void setPasswordQuality(int quality) { in setPasswordQuality() argument 85 mPasswordMinQuality = quality; in setPasswordQuality() 107 public int getPasswordMaximumLength(int quality) { in getPasswordMaximumLength() argument
|
/packages/apps/Camera2/jni/ |
D | jpegutil.cpp | 145 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()
|
D | jpegutilnative.cpp | 82 jint quality, in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative() argument 98 quality, // in Java_com_android_camera_util_JpegUtilNative_compressJpegFromYUV420pNative()
|
/packages/apps/Settings/src/com/android/settings/ |
D | SetupEncryptionInterstitial.java | 31 public static Intent createStartIntent(Context ctx, int quality, in createStartIntent() argument 33 Intent startIntent = EncryptionInterstitial.createStartIntent(ctx, quality, in createStartIntent()
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/ |
D | SetupEncryptionInterstitial.java | 33 public static Intent createStartIntent(Context ctx, int quality, in createStartIntent() argument 35 Intent startIntent = EncryptionInterstitial.createStartIntent(ctx, quality, in createStartIntent()
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | PhotoProcessor.java | 245 private byte[] getCompressedBytes(Bitmap b, int quality) throws IOException { in getCompressedBytes() argument 247 final boolean compressed = b.compress(Bitmap.CompressFormat.JPEG, quality, baos); in getCompressedBytes()
|