/packages/apps/Settings/tests/robotests/src/com/android/settings/password/ |
D | ChooseLockPasswordTest.java | 165 policy.quality = PASSWORD_QUALITY_ALPHABETIC; in activity_shouldHaveSecureFlag() 180 policy.quality = PASSWORD_QUALITY_ALPHABETIC; in processAndValidatePasswordRequirements_noMinPasswordComplexity() 195 policy.quality = PASSWORD_QUALITY_SOMETHING; in processAndValidatePasswordRequirements_minPasswordComplexityStricter_pin() 208 policy.quality = PASSWORD_QUALITY_SOMETHING; in processAndValidatePasswordRequirements_minPasswordComplexityStricter_password() 221 policy.quality = PASSWORD_QUALITY_ALPHANUMERIC; in processAndValidatePasswordRequirements_dpmRestrictionsStricter_password() 237 policy.quality = PASSWORD_QUALITY_NUMERIC; in processAndValidatePasswordRequirements_dpmLengthLonger_pin() 251 policy.quality = PASSWORD_QUALITY_COMPLEX; in processAndValidatePasswordRequirements_dpmQualityComplex() 269 policy.quality = PASSWORD_QUALITY_NUMERIC_COMPLEX; in processAndValidatePasswordRequirements_numericComplexNoMinComplexity_pinRequested() 283 policy.quality = PASSWORD_QUALITY_NUMERIC_COMPLEX; in processAndValidatePasswordRequirements_numericComplexNoMinComplexity_passwordRequested() 297 policy.quality = PASSWORD_QUALITY_NUMERIC_COMPLEX; in processAndValidatePasswordRequirements_numericComplexHighComplexity_pinRequested() [all …]
|
D | ChooseLockGenericControllerTest.java | 361 private void setDevicePolicyPasswordQuality(int quality) { in setDevicePolicyPasswordQuality() argument 363 policy.quality = quality; in setDevicePolicyPasswordQuality() 369 .thenReturn(quality == PASSWORD_QUALITY_MANAGED); in setDevicePolicyPasswordQuality()
|
/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/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/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/Settings/src/com/android/settings/password/ |
D | ChooseLockGeneric.java | 463 private void maybeEnableEncryption(int quality, boolean disabled) { in maybeEnableEncryption() argument 472 Intent unlockMethodIntent = getIntentForUnlockMethod(quality); in maybeEnableEncryption() 482 Intent intent = getEncryptionInterstitialIntent(context, quality, required, in maybeEnableEncryption() 502 updateUnlockMethodAndFinish(quality, disabled, false /* chooseLockSkipped */); in maybeEnableEncryption() 533 int quality = getIntent().getIntExtra(LockPatternUtils.PASSWORD_TYPE_KEY, -1); in onActivityResult() local 534 if (quality != -1) { in onActivityResult() 593 int quality = -1; in updatePreferencesOrFinish() local 595 quality = intent.getIntExtra(LockPatternUtils.PASSWORD_TYPE_KEY, -1); in updatePreferencesOrFinish() 601 if (quality == -1) { in updatePreferencesOrFinish() 613 updateUnlockMethodAndFinish(quality, false, true /* chooseLockSkipped */); 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 | SetupChooseLockGeneric.java | 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() 288 protected Intent getLockPasswordIntent(int quality) { in getLockPasswordIntent() argument 290 getContext(), super.getLockPasswordIntent(quality)); in getLockPasswordIntent()
|
D | ChooseLockGenericController.java | 202 public int upgradeQuality(int quality) { in upgradeQuality() argument 203 return Math.max(quality, in upgradeQuality()
|
/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/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/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 | 96 policy.quality = mPasswordMinQuality; in getPasswordMinimumMetrics() 102 public void setPasswordQuality(int quality) { in setPasswordQuality() argument 103 mPasswordMinQuality = quality; in setPasswordQuality()
|
D | ShadowLockPatternUtils.java | 162 public static void setActivePasswordQuality(int quality) { in setActivePasswordQuality() argument 163 sUserToActivePasswordQualityMap.put(UserHandle.myUserId(), quality); in setActivePasswordQuality() local
|
/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/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()
|
D | jpegutil.h | 147 std::function<void(size_t)> flush, int quality); 165 int quality,
|
/packages/apps/Settings/tests/componenttests/src/com/android/settings/testutils/ |
D | CommonUtils.java | 72 int quality = 100; in takeScreenshot() local 73 bitmap.compress(Bitmap.CompressFormat.JPEG, quality, outputStream); in takeScreenshot()
|
/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()
|
/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/Settings/src/com/android/settings/security/ |
D | ScreenPinningSettings.java | 169 int quality = mLockPatternUtils.getKeyguardStoredPasswordQuality( in getCurrentSecurityTitle() local 171 switch (quality) { in getCurrentSecurityTitle()
|