Home
last modified time | relevance | path

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

1234

/packages/apps/Gallery2/jni/filters/
Dgeometry.c20 static __inline__ void flipVertical(char * source, int srcWidth, int srcHeight, char * destination,… in flipVertical() argument
30 memcpy(destination + temp - i, source + i, bytes_to_copy); in flipVertical()
34 …void flipHorizontal(char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, … in flipHorizontal() argument
46 memcpy(destination + temp - j, source + i + j, cpy_bytes); in flipHorizontal()
51 … flip_fun(int flip, char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, … in flip_fun() argument
58 flipVertical(temp, dstWidth, dstHeight, destination, dstWidth, dstHeight); in flip_fun()
63 flipHorizontal(source, srcWidth, srcHeight, destination, dstWidth, dstHeight); in flip_fun()
67 flipVertical(source, srcWidth, srcHeight, destination, dstWidth, dstHeight); in flip_fun()
73 static __inline__ void rotate90(char * source, int srcWidth, int srcHeight, char * destination, int… in rotate90() argument
84 memcpy(destination + column_disp + row_disp , source + j * srcWidth + i, cpy_bytes); in rotate90()
[all …]
Dsaturated.c21 char* destination = 0; in JNIFUNCF() local
22 AndroidBitmap_lockPixels(env, bitmap, (void**) &destination); in JNIFUNCF()
36 int r = destination[RED]; in JNIFUNCF()
37 int g = destination[GREEN]; in JNIFUNCF()
38 int b = destination[BLUE]; in JNIFUNCF()
48 destination[RED] = CLAMP(Rc); in JNIFUNCF()
49 destination[GREEN] = CLAMP(Gc); in JNIFUNCF()
50 destination[BLUE] = CLAMP(Bc); in JNIFUNCF()
Dgradient.c22 char* destination = 0; in JNIFUNCF() local
33 AndroidBitmap_lockPixels(env, bitmap, (void**) &destination); in JNIFUNCF()
40 int r = destination[RED]; in JNIFUNCF()
42 destination[RED] = r; in JNIFUNCF()
46 int g = destination[GREEN]; in JNIFUNCF()
48 destination[GREEN] = g; in JNIFUNCF()
52 int b = destination[BLUE]; in JNIFUNCF()
54 destination[BLUE] = b; in JNIFUNCF()
Dvibrance.c22 char* destination = 0; in JNIFUNCF() local
23 AndroidBitmap_lockPixels(env, bitmap, (void**) &destination); in JNIFUNCF()
38 int r = destination[RED]; in JNIFUNCF()
39 int g = destination[GREEN]; in JNIFUNCF()
40 int b = destination[BLUE]; in JNIFUNCF()
57 destination[RED] = CLAMP(Rc); in JNIFUNCF()
58 destination[GREEN] = CLAMP(Gc); in JNIFUNCF()
59 destination[BLUE] = CLAMP(Bc); in JNIFUNCF()
Dedge.c22 char* destination = 0; in JNIFUNCF() local
23 AndroidBitmap_lockPixels(env, bitmap, (void**) &destination); in JNIFUNCF()
35 char * dst = destination; in JNIFUNCF()
38 char * ptr = destination; in JNIFUNCF()
Dredeye.c22 char* destination = 0; in JNIFUNCF() local
23 AndroidBitmap_lockPixels(env, bitmap, (void**) &destination); in JNIFUNCF()
24 unsigned char * rgb = (unsigned char * )destination; in JNIFUNCF()
/packages/apps/Messaging/src/com/android/messaging/util/
DContactUtil.java249 final String destination) { in lookupDestination() argument
250 if (MmsSmsUtils.isEmailAddress(destination)) { in lookupDestination()
251 return ContactUtil.lookupEmail(context, destination); in lookupDestination()
253 return ContactUtil.lookupPhone(context, destination); in lookupDestination()
268 final String destination) { in filterDestination() argument
269 if (shouldFilterForEmail(destination)) { in filterDestination()
270 return ContactUtil.filterEmails(context, destination); in filterDestination()
272 return ContactUtil.filterPhones(context, destination); in filterDestination()
280 final String destination) { in filterDestinationEnterprise() argument
281 if (shouldFilterForEmail(destination)) { in filterDestinationEnterprise()
[all …]
DContactRecipientEntryUtils.java50 public static RecipientEntry constructSendToDestinationEntry(final String destination) { in constructSendToDestinationEntry() argument
51 return constructSpecialRecipientEntry(destination, CONTACT_ID_SENDTO_DESTINATION); in constructSendToDestinationEntry()
57 public static RecipientEntry constructNumberWithAvatarEntry(final String destination) { in constructNumberWithAvatarEntry() argument
58 return constructSpecialRecipientEntry(destination, CONTACT_ID_NUMBER_WITH_AVATAR); in constructNumberWithAvatarEntry()
61 private static RecipientEntry constructSpecialRecipientEntry(final String destination, in constructSpecialRecipientEntry() argument
69 destination, RecipientEntry.INVALID_DESTINATION_TYPE, null, contactId, in constructSpecialRecipientEntry()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DAttachmentActionHandler.java92 public void showAttachment(int destination) { in showAttachment() argument
100 (destination == AttachmentDestination.CACHE || in showAttachment()
101 mAttachment.destination == destination)) { in showAttachment()
105 startDownloadingAttachment(destination); in showAttachment()
113 public void startDownloadingAttachment(int destination) { in startDownloadingAttachment() argument
114 startDownloadingAttachment(destination, UIProvider.AttachmentRendition.BEST, 0, false); in startDownloadingAttachment()
118 int destination, int rendition, int additionalPriority, boolean delayDownload) { in startDownloadingAttachment() argument
120 mAttachment, destination, rendition, additionalPriority, delayDownload); in startDownloadingAttachment()
124 Attachment attachment, int destination, int rendition, int additionalPriority, in startDownloadingAttachment() argument
128 params.put(AttachmentColumns.DESTINATION, destination); in startDownloadingAttachment()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/
DContactRequest.java115 public final ContactDrawableInterface destination; field in ContactRequest.ContactRequestHolder
118 final ContactDrawableInterface destination) { in ContactRequestHolder() argument
120 this.destination = destination; in ContactRequestHolder()
139 if (destination != null ? !destination.equals(that.destination) in equals()
140 : that.destination != null) { in equals()
150 result = 31 * result + (destination != null ? destination.hashCode() : 0); in hashCode()
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/
DUpdateDestinationBlockedAction.java34 final String destination); in onUpdateDestinationBlockedAction() argument
79 final String destination, final boolean blocked, final String conversationId, in updateDestinationBlocked() argument
85 new UpdateDestinationBlockedAction(destination, blocked, conversationId, in updateDestinationBlocked()
96 final String destination, final boolean blocked, final String conversationId, in UpdateDestinationBlockedAction() argument
99 Assert.isTrue(!TextUtils.isEmpty(destination)); in UpdateDestinationBlockedAction()
100 actionParameters.putString(KEY_DESTINATION, destination); in UpdateDestinationBlockedAction()
107 final String destination = actionParameters.getString(KEY_DESTINATION); in executeAction() local
111 BugleDatabaseOperations.updateDestination(db, destination, isBlocked); in executeAction()
114 .getConversationFromOtherParticipantDestination(db, destination); in executeAction()
/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DHelpers.java201 String contentDisposition, String contentLocation, String mimeType, int destination) in generateSaveFile() argument
208 if (destination == Downloads.Impl.DESTINATION_FILE_URI) { in generateSaveFile()
214 parent = getRunningDestinationDirectory(context, destination); in generateSaveFile()
217 getSuccessDestinationDirectory(context, destination) in generateSaveFile()
237 if (destination == Downloads.Impl.DESTINATION_FILE_URI) { in generateSaveFile()
254 suffix = chooseExtensionFromFilename(mimeType, destination, name, dotIndex); in generateSaveFile()
386 private static String chooseExtensionFromFilename(String mimeType, int destination, in chooseExtensionFromFilename() argument
537 public static File getRunningDestinationDirectory(Context context, int destination) in getRunningDestinationDirectory() argument
539 return getDestinationDirectory(context, destination, true); in getRunningDestinationDirectory()
542 public static File getSuccessDestinationDirectory(Context context, int destination) in getSuccessDestinationDirectory() argument
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/providers/
DAttachment.java109 public int destination; field in Attachment
180 destination = in.readInt(); in Attachment()
201 destination = cursor.getInt(cursor.getColumnIndex(AttachmentColumns.DESTINATION)); in Attachment()
222 destination = srcJson.optInt(AttachmentColumns.DESTINATION); in Attachment()
256 destination = AttachmentDestination.CACHE; in Attachment()
295 destination = values.getAsInteger(AttachmentColumns.DESTINATION); in Attachment()
320 values.put(AttachmentColumns.DESTINATION, destination); in toContentValues()
342 dest.writeInt(destination); in writeToParcel()
361 result.put(AttachmentColumns.DESTINATION, destination); in toJSON()
430 return state == AttachmentState.SAVED && destination == AttachmentDestination.EXTERNAL; in isSavedToExternal()
[all …]
DEmlAttachmentProvider.java266 .add(attachment.destination) // destination in addRow()
291 final int destination = newDestination != null ? in copyAttachment() local
294 destination == UIProvider.AttachmentDestination.EXTERNAL; in copyAttachment()
312 attachment.destination = UIProvider.AttachmentDestination.EXTERNAL; in copyAttachment()
473 attachment.destination == UIProvider.AttachmentDestination.EXTERNAL; in getFilePath()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexServerSession.java179 String destination; in onPut() local
181 destination = ((BluetoothObexTransport)mTransport).getRemoteAddress(); in onPut()
183 destination = "FF:FF:FF:00:00:00"; in onPut()
186 isWhitelisted(destination); in onPut()
270 values.put(BluetoothShare.DESTINATION, destination); in onPut()
548 String destination; in onConnect() local
550 destination = ((BluetoothObexTransport)mTransport).getRemoteAddress(); in onConnect()
552 destination = "FF:FF:FF:00:00:00"; in onConnect()
555 isWhitelisted(destination); in onConnect()
565 intent.putExtra(Constants.EXTRA_BT_OPP_ADDRESS, destination); in onConnect()
/packages/apps/Messaging/src/com/android/messaging/datamodel/
DBugleRecipientEntry.java31 final String destination, final int destinationType, final String destinationLabel, in BugleRecipientEntry() argument
35 super(entryType, displayName, destination, destinationType, destinationLabel, contactId, in BugleRecipientEntry()
40 final int displayNameSource, final String destination, final int destinationType, in constructTopLevelEntry() argument
44 return new BugleRecipientEntry(ENTRY_TYPE_PERSON, displayName, destination, destinationType, in constructTopLevelEntry()
50 final int displayNameSource, final String destination, final int destinationType, in constructSecondLevelEntry() argument
54 return new BugleRecipientEntry(ENTRY_TYPE_PERSON, displayName, destination, destinationType, in constructSecondLevelEntry()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/
DProcessingService.java108 Rect bounds, Rect destination, in postFullresRenderingRequest() argument
118 request.setDestination(destination); in postFullresRenderingRequest()
143 public static Intent getSaveIntent(Context context, ImagePreset preset, File destination, in getSaveIntent() argument
153 if (destination != null) { in getSaveIntent()
154 processIntent.putExtra(ProcessingService.DESTINATION_FILE, destination.toString()); in getSaveIntent()
198 String destination = intent.getStringExtra(DESTINATION_FILE); in onStartCommand() local
209 if (destination != null) { in onStartCommand()
210 destinationFile = new File(destination); in onStartCommand()
DRenderingRequest.java56 RenderingRequestCaller caller, Rect bounds, Rect destination) { in post() argument
85 request.setDestination(destination); in post()
186 public void setDestination(Rect destination) { in setDestination() argument
187 mDestination = destination; in setDestination()
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DPhotoCarousel.java186 ImageView destination = getBackface(); in changePhoto() local
191 destination.setImageBitmap(photo); in changePhoto()
192 destination.setTag(R.id.photo_orientation, Integer.valueOf(orientation)); in changePhoto()
193 destination.setTag(R.id.photo_width, Integer.valueOf(width)); in changePhoto()
194 destination.setTag(R.id.photo_height, Integer.valueOf(height)); in changePhoto()
195 setScaleType(destination); in changePhoto()
197 Bitmap old = mBitmapStore.put(destination, photo); in changePhoto()
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/
DAction.java161 private void drawCenteredImage(Bitmap source, Bitmap destination, boolean scale) { in drawCenteredImage() argument
162 int minSide = Math.min(destination.getWidth(), destination.getHeight()); in drawCenteredImage()
166 float dx = (destination.getWidth() - source.getWidth() * scaleFactor) / 2.0f; in drawCenteredImage()
167 float dy = (destination.getHeight() - source.getHeight() * scaleFactor) / 2.0f; in drawCenteredImage()
174 Canvas canvas = new Canvas(destination); in drawCenteredImage()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DContactListItemData.java61 final String destination = cursor.getString(ContactUtil.INDEX_PHONE_EMAIL); in bind() local
81 DisplayNameSources.STRUCTURED_NAME, destination, destinationType, destinationLabel, in bind()
115 final CharSequence destination = mStyledDestination != null ? in getDestination() local
117 return destination == null ? "" : destination; in getDestination()
/packages/apps/DeskClock/src/com/android/deskclock/
DDeskClockBackupAgent.java61 public void onRestoreFile(@NonNull ParcelFileDescriptor data, long size, File destination, in onRestoreFile() argument
65 if (destination.getName().endsWith("_preferences.xml")) { in onRestoreFile()
67 destination = new File(destination.getParentFile(), prefFileName); in onRestoreFile()
70 super.onRestoreFile(data, size, destination, type, mode, mtime); in onRestoreFile()
/packages/apps/Messaging/src/com/android/messaging/datamodel/media/
DVCardRequest.java288 String destination = null; in onEntryCreated() local
291 destination = PhoneUtils.getDefault().getCanonicalBySystemLocale( in onEntryCreated()
295 if (destination == null) { in onEntryCreated()
298 destination = emails.get(0).getAddress(); in onEntryCreated()
301 avatarUri = AvatarUriUtil.createAvatarUri(null, displayName, destination, null); in onEntryCreated()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DMoveAppStepFragment.java54 void onRequestMovePackageToVolume(String packageName, VolumeInfo destination); in onRequestMovePackageToVolume() argument
131 final VolumeInfo destination = mCandidateVolumes.get((int) action.getId()); in onGuidedActionClicked() local
132 if (destination.equals(mCurrentVolume)) { in onGuidedActionClicked()
137 callback.onRequestMovePackageToVolume(mPackageName, destination); in onGuidedActionClicked()
/packages/providers/DownloadProvider/tests/src/com/android/providers/downloads/
DPublicApiFunctionalTest.java351 Uri destination = getExternalUri(); in testDestination() local
352 Download download = enqueueRequest(getRequest().setDestinationUri(destination)); in testDestination()
356 assertEquals(destination, localUri); in testDestination()
358 InputStream stream = new FileInputStream(destination.getPath()); in testDestination()
708 Uri destination = getExternalUri(); in testExistingFile() local
709 new File(destination.getPath()).createNewFile(); in testExistingFile()
711 Download download = enqueueRequest(getRequest().setDestinationUri(destination)); in testExistingFile()

1234