/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
D | UpdateHelper.java | 24 public int update(int original, int update) { in update() argument 25 if (original != update) { in update() 27 original = update; in update() 29 return original; in update() 32 public long update(long original, long update) { in update() argument 33 if (original != update) { in update() 35 original = update; in update() 37 return original; in update() 40 public double update(double original, double update) { in update() argument 41 if (original != update) { in update() [all …]
|
/packages/apps/Camera2/src/com/android/camera/data/ |
D | GlideFilmstripManager.java | 130 public final DrawableRequestBuilder<Uri> loadFull(Uri uri, Key key, Size original) { in loadFull() argument 131 Size size = clampSize(original, MAXIMUM_FULL_RES_PIXELS, getMaxImageDisplaySize()); in loadFull() 145 public DrawableRequestBuilder<Uri> loadScreen(Uri uri, Key key, Size original) { in loadScreen() argument 146 Size size = clampSize(original, MAXIMUM_SMOOTH_PIXELS, getMaxImageDisplaySize()); in loadScreen() 191 private static Size clampSize(Size original, double maxArea, Size maxSize) { in clampSize() argument 192 if (original.getWidth() * original.getHeight() < maxArea && in clampSize() 193 original.getWidth() < maxSize.getWidth() && in clampSize() 194 original.getHeight() < maxSize.getHeight()) { in clampSize() 197 return original; in clampSize() 202 double ratio = Math.min(Math.sqrt(maxArea / original.area()), 1.0f); in clampSize() [all …]
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
D | PhotoProcessor.java | 120 public PhotoProcessor(Bitmap original, int maxDisplayPhotoDim, int maxThumbnailPhotoDim) in PhotoProcessor() argument 122 this(original, maxDisplayPhotoDim, maxThumbnailPhotoDim, false); in PhotoProcessor() 149 public PhotoProcessor(Bitmap original, int maxDisplayPhotoDim, int maxThumbnailPhotoDim, in PhotoProcessor() argument 151 mOriginal = original; in PhotoProcessor() 202 static Bitmap getNormalizedBitmap(Bitmap original, int maxDim, boolean forceCropToSquare) in getNormalizedBitmap() argument 204 final boolean originalHasAlpha = original.hasAlpha(); in getNormalizedBitmap() 207 int cropWidth = original.getWidth(); in getNormalizedBitmap() 208 int cropHeight = original.getHeight(); in getNormalizedBitmap() 242 c.drawBitmap(original, src, dst, null); in getNormalizedBitmap() 245 return original; in getNormalizedBitmap()
|
D | ContactsProvider2.java | 6715 static Cursor rewriteCorpLookup(String[] projection, Cursor original, in rewriteCorpLookup() argument 6718 original.moveToPosition(-1); in rewriteCorpLookup() 6719 while (original.moveToNext()) { in rewriteCorpLookup() 6720 final int contactId = original.getInt(original.getColumnIndex(contactIdColumnName)); in rewriteCorpLookup() 6724 final int originalColumnIndex = original.getColumnIndex(outputColumnName); in rewriteCorpLookup() 6728 builder.add(getCorpThumbnailUri(contactId, original)); in rewriteCorpLookup() 6731 builder.add(getCorpDisplayPhotoUri(contactId, original)); in rewriteCorpLookup() 6738 String ringtoneUri = original.getString(originalColumnIndex); in rewriteCorpLookup() 6749 final String lookupKey = original.getString(originalColumnIndex); in rewriteCorpLookup() 6760 builder.add(original.getLong(originalColumnIndex) in rewriteCorpLookup() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | InstallShortcutReceiver.java | 412 PendingInstallShortcutInfo original) { in convertToLauncherActivityIfPossible() argument 413 if (original.isLuncherActivity()) { in convertToLauncherActivityIfPossible() 415 return original; in convertToLauncherActivityIfPossible() 417 if (!Utilities.isLauncherAppTarget(original.launchIntent) in convertToLauncherActivityIfPossible() 418 || !original.user.equals(UserHandleCompat.myUserHandle())) { in convertToLauncherActivityIfPossible() 420 return original; in convertToLauncherActivityIfPossible() 423 PackageManager pm = original.mContext.getPackageManager(); in convertToLauncherActivityIfPossible() 424 ResolveInfo info = pm.resolveActivity(original.launchIntent, 0); in convertToLauncherActivityIfPossible() 427 return original; in convertToLauncherActivityIfPossible() 432 .fromResolveInfo(info, original.mContext); in convertToLauncherActivityIfPossible() [all …]
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/ |
D | HtmlParser.java | 981 String original = html.substring(startPos, endPos); 983 lookupUnknownAttribute(name), value, original)); 991 StringBuilder original = new StringBuilder(); 1003 original.append(originalPrefix); 1010 original.append(CharEscapers.asciiHtmlEscaper().escape(nameEtc)); 1014 original.append(CharEscapers.asciiHtmlEscaper().escape(name)); 1020 original.append(html.substring(scanner.endNamePos, scanner.startValuePos)); 1026 original.append(value.replaceAll("<", "<")); 1031 original.append('"'); 1032 original.append(value.replaceAll("\"", """)); [all …]
|
D | HtmlDocument.java | 176 public static Text createText(String text, String original) { in createText() argument 177 return new UnescapedText(text, original); in createText() 184 public static Text createEscapedText(String htmlText, String original) { in createEscapedText() argument 185 return new EscapedText(htmlText, original); in createEscapedText()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/util/ |
D | BitmapUtil.java | 104 Bitmap original = BitmapFactory.decodeResource(resources, resourceId); in getRotatedDrawable() local 106 original.getWidth(), original.getHeight(), Bitmap.Config.ARGB_8888); in getRotatedDrawable() 110 tempCanvas.rotate(angle, original.getWidth()/2, original.getHeight()/2); in getRotatedDrawable() 111 tempCanvas.drawBitmap(original, 0, 0, null); in getRotatedDrawable()
|
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/base/ |
D | CharMatcher.java | 542 final CharMatcher original = this; 545 return !original.matches(c); 549 return original.matchesNoneOf(sequence); 552 return original.matchesAllOf(sequence); 555 return sequence.length() - original.countIn(sequence); 558 return original;
|
/packages/services/Telephony/src/com/android/services/telephony/ |
D | PstnIncomingCallNotifier.java | 334 Connection original = telephonyConnection.getOriginalConnection(); in maybeSwapWithUnknownConnection() local 335 if (original != null && !original.isIncoming() in maybeSwapWithUnknownConnection() 336 && Objects.equals(original.getAddress(), unknown.getAddress())) { in maybeSwapWithUnknownConnection()
|
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | FileCache.java | 115 FileEntry original = queryDatabase(downloadUrl); in store() local 116 if (original != null) { in store() 118 entry.filename = original.filename; in store() 119 entry.size = original.size; in store()
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
D | PhotoLoadingTestCase.java | 45 public PhotoEntry(byte[] original) { in PhotoEntry() argument 47 PhotoProcessor processor = newPhotoProcessor(original, false); in PhotoEntry() 48 photoMap.put(PhotoSize.ORIGINAL, original); in PhotoEntry()
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
D | Utility.java | 550 /* package */ static Uri buildLimitOneUri(Uri original) { 551 if ("content".equals(original.getScheme()) && 552 EmailContent.AUTHORITY.equals(original.getAuthority())) { 553 return EmailContent.uriWithLimit(original, 1); 555 return original;
|
/packages/apps/Camera2/src/com/android/camera/ |
D | PhotoModule.java | 826 Bitmap original = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length); in cropJpegDataToAspectRatio() local 827 int originalWidth = original.getWidth(); in cropJpegDataToAspectRatio() 828 int originalHeight = original.getHeight(); in cropJpegDataToAspectRatio() 846 Bitmap resized = Bitmap.createBitmap(original,xOffset,yOffset,newWidth, newHeight); in cropJpegDataToAspectRatio() 2002 Size original = new Size(mCameraSettings.getCurrentPreviewSize()); in updateParametersPictureSize() local 2003 if (!optimalSize.equals(original)) { in updateParametersPictureSize() 2004 Log.v(TAG, "setting preview size. optimal: " + optimalSize + "original: " + original); in updateParametersPictureSize()
|
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/ |
D | PhoneAccountRegistrarTest.java | 252 private static void roundTripPhoneAccount(PhoneAccount original) throws Exception { in roundTripPhoneAccount() argument 257 parcel.writeParcelable(original, 0); in roundTripPhoneAccount() 263 assertPhoneAccountEquals(original, copy); in roundTripPhoneAccount()
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | HolographicViewHelper.java | 46 Bitmap original = createOriginalImage(v, mTempCanvas); in generatePressedFocusedStates() local 48 FastBitmapDrawable originalD = new FastBitmapDrawable(original); in generatePressedFocusedStates()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | AspectRatio.java | 173 AspectRatio original = of(area); in getLargestCenterCrop() local 175 if (this.isWiderThan(original)) { in getLargestCenterCrop()
|
/packages/apps/Camera2/src/com/android/camera/processing/imagebackend/ |
D | TaskJpegEncode.java | 191 Bitmap original = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length); in decompressCropAndRecompressJpegData() local 193 final Bitmap croppedResult = Bitmap.createBitmap(original, crop.left, crop.top, in decompressCropAndRecompressJpegData()
|
/packages/apps/Email/tests/src/com/android/emailcommon/provider/ |
D | MailboxTests.java | 493 Mailbox original = buildTestMailbox("serverId", "display name for mailbox"); in testParcelling() local 496 original.writeToParcel(p, 0 /* flags */); in testParcelling() 502 MoreAsserts.assertEquals(original.getHashes(), unparcelled.getHashes()); in testParcelling()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ |
D | FilterShowActivity.java | 1296 ImagePreset original = null; in resetHistory() local 1298 original = new ImagePreset(historyItem.getImagePreset()); in resetHistory() 1300 original = new ImagePreset(); in resetHistory() 1306 mMasterImage.setPreset(original, rep, true); in resetHistory()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | ImagePreset.java | 439 public Bitmap apply(Bitmap original, FilterEnvironment environment) { in apply() argument 440 Bitmap bitmap = original; in apply()
|
/packages/providers/TelephonyProvider/ |
D | NOTICE | 56 represent, as a whole, an original work of authorship. For the purposes 62 the original version of the Work and any modifications or additions
|
/packages/apps/Camera2/jni/ |
D | NOTICE | 56 represent, as a whole, an original work of authorship. For the purposes 62 the original version of the Work and any modifications or additions
|
/packages/wallpapers/LivePicker/ |
D | NOTICE | 56 represent, as a whole, an original work of authorship. For the purposes 62 the original version of the Work and any modifications or additions
|
/packages/services/Telephony/ |
D | NOTICE | 56 represent, as a whole, an original work of authorship. For the purposes 62 the original version of the Work and any modifications or additions
|