/packages/apps/Gallery2/src/com/android/gallery3d/util/ |
H A D | UpdateHelper.java | 24 public int update(int original, int update) { argument 25 if (original != update) { 27 original = update; 29 return original; 32 public long update(long original, long update) { argument 33 if (original != update) { 35 original = update; 37 return original; 40 public double update(double original, double update) { argument 41 if (original ! 48 update(T original, T update) argument [all...] |
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | HtmlUtils.java | 69 static Spanned postprocess(Context context, Spanned original) { argument 70 if (original == null) { 73 final int length = original.length(); 75 return original; // Bail early. 81 if (original instanceof SpannableStringBuilder) { 82 builder = (SpannableStringBuilder) original; 84 builder = new SpannableStringBuilder(original); 121 // Otherwise, Return a substring of the original {@link Spanned} text
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/ |
H A D | BitmapCache.java | 39 public void setOriginalBitmap(Bitmap original) { argument 40 if (original == null) { 43 mOriginalBitmap = original.copy(mConfig, true); 44 int size = 4 * original.getWidth() * original.getHeight();
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | PhotoLoadingTestCase.java | 45 public PhotoEntry(byte[] original) { argument 47 PhotoProcessor processor = newPhotoProcessor(original, false); 48 photoMap.put(PhotoSize.ORIGINAL, original);
|
/packages/apps/Email/src/com/android/email/activity/ |
H A D | MessageOrderManager.java | 99 private PostingCallback(Callback original) { argument 100 mOriginal = original;
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/ |
H A D | ImagePreset.java | 280 public Bitmap apply(Bitmap original) { argument 282 Bitmap bitmap = original; 285 bitmap = mGeoData.apply(original, mScaleFactor, mIsHighQuality);
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | PhotoProcessor.java | 115 * @param original The bitmap to process. 120 public PhotoProcessor(Bitmap original, int maxDisplayPhotoDim, int maxThumbnailPhotoDim) argument 122 this(original, maxDisplayPhotoDim, maxThumbnailPhotoDim, false); 140 * @param original The bitmap to process. 146 * dimensions, retaining its original aspect ratio. 149 public PhotoProcessor(Bitmap original, int maxDisplayPhotoDim, int maxThumbnailPhotoDim, argument 151 mOriginal = original; 166 * dimensions, retaining its original aspect ratio. 176 * Processes the original image, producing a scaled-down display photo and thumbnail photo. 188 * Scales down the original bitma 201 getNormalizedBitmap(Bitmap original, int maxDim, boolean forceCropToSquare) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/imageshow/ |
H A D | GeometryMetadata.java | 73 public Bitmap apply(Bitmap original, float scaleFactor, boolean highQuality) { argument 75 return original; 78 Bitmap m = mImageFilter.apply(original, scaleFactor, highQuality);
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | Utility.java | 639 * @return if {@code original} is to the EmailProvider, add "?limit=1". Otherwise just returns 640 * {@code original}. 645 /* package */ static Uri buildLimitOneUri(Uri original) { argument 646 if ("content".equals(original.getScheme()) && 647 EmailContent.AUTHORITY.equals(original.getAuthority())) { 648 return EmailContent.uriWithLimit(original, 1); 650 return original; 1099 public static Cursor get(Cursor original) { argument 1100 return TRACE_ENABLED ? new CloseTraceCursorWrapper(original) : original; 1103 alwaysCreateForTest(Cursor original) argument [all...] |
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | PhotoView.java | 925 private static int getRotated(int degree, int original, int theother) { argument 926 return (degree % 180 == 0) ? original : theother;
|