Home
last modified time | relevance | path

Searched refs:original (Results 1 – 25 of 87) sorted by relevance

1234

/packages/apps/Gallery2/src/com/android/gallery3d/util/
DUpdateHelper.java24 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/providers/ContactsProvider/src/com/android/providers/contacts/
DPhotoProcessor.java120 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()
DContactsProvider2.java6566 static Cursor rewriteCorpPhoneLookup(Cursor original) { in rewriteCorpPhoneLookup() argument
6567 final String[] columns = original.getColumnNames(); in rewriteCorpPhoneLookup()
6570 original.moveToPosition(-1); in rewriteCorpPhoneLookup()
6571 while (original.moveToNext()) { in rewriteCorpPhoneLookup()
6572 final int contactId = original.getInt(original.getColumnIndex(PhoneLookup._ID)); in rewriteCorpPhoneLookup()
6580 builder.add(getCorpThumbnailUri(contactId, original)); in rewriteCorpPhoneLookup()
6583 builder.add(getCorpDisplayPhotoUri(contactId, original)); in rewriteCorpPhoneLookup()
6586 builder.add(original.getLong(i) + Contacts.ENTERPRISE_CONTACT_ID_BASE); in rewriteCorpPhoneLookup()
6598 switch (original.getType(i)) { in rewriteCorpPhoneLookup()
6603 builder.add(original.getLong(i)); in rewriteCorpPhoneLookup()
[all …]
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHtmlParser.java981 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("<", "&lt;"));
1031 original.append('"');
1032 original.append(value.replaceAll("\"", "&quot;"));
[all …]
DHtmlDocument.java176 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/
DBitmapUtil.java104 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/
DCharMatcher.java542 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/
DPstnIncomingCallNotifier.java277 Connection original = telephonyConnection.getOriginalConnection(); in maybeSwapWithUnknownConnection() local
278 if (original != null && !original.isIncoming() in maybeSwapWithUnknownConnection()
279 && Objects.equals(original.getAddress(), unknown.getAddress())) { in maybeSwapWithUnknownConnection()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DFileCache.java115 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/apps/Email/emailcommon/src/com/android/emailcommon/utility/
DUtility.java550 /* 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/providers/ContactsProvider/tests/src/com/android/providers/contacts/
DPhotoLoadingTestCase.java45 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/Exchange/src/com/android/exchange/utility/
DCurlLogger.java74 HttpRequest original = ((RequestWrapper) request).getOriginal(); in toCurl() local
75 if (original instanceof HttpUriRequest) { in toCurl()
76 uri = ((HttpUriRequest) original).getURI(); in toCurl()
/packages/apps/Camera2/src/com/android/camera/
DPhotoModule.java985 Bitmap original = BitmapFactory.decodeByteArray(jpegData, 0, jpegData.length);
986 int originalWidth = original.getWidth();
987 int originalHeight = original.getHeight();
1005 Bitmap resized = Bitmap.createBitmap(original,xOffset,yOffset,newWidth, newHeight);
2158 Size original = mCameraSettings.getCurrentPreviewSize();
2159 if (!optimalSize.equals(original)) {
2160 Log.v(TAG, "setting preview size. optimal: " + optimalSize + "original: " + original);
/packages/services/Telecomm/tests/src/com/android/server/telecom/tests/unit/
DPhoneAccountRegistrarTest.java250 private static void roundTripPhoneAccount(PhoneAccount original) throws Exception { in roundTripPhoneAccount() argument
255 parcel.writeParcelable(original, 0); in roundTripPhoneAccount()
261 assertPhoneAccountEquals(original, copy); in roundTripPhoneAccount()
/packages/apps/Launcher2/src/com/android/launcher2/
DHolographicViewHelper.java46 Bitmap original = createOriginalImage(v, mTempCanvas); in generatePressedFocusedStates() local
48 FastBitmapDrawable originalD = new FastBitmapDrawable(original); in generatePressedFocusedStates()
/packages/apps/Email/tests/src/com/android/emailcommon/provider/
DMailboxTests.java493 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/
DFilterShowActivity.java1296 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/
DImagePreset.java439 public Bitmap apply(Bitmap original, FilterEnvironment environment) { in apply() argument
440 Bitmap bitmap = original; in apply()
/packages/wallpapers/LivePicker/
DNOTICE56 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/LegacyCamera/
DNOTICE56 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/BasicSmsReceiver/
DNOTICE56 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/providers/MediaProvider/
DNOTICE56 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/CellBroadcastReceiver/
DNOTICE56 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/SoundRecorder/
DNOTICE56 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/DeskClock/
DNOTICE56 represent, as a whole, an original work of authorship. For the purposes
62 the original version of the Work and any modifications or additions

1234