/packages/apps/Gallery2/jni/filters/ |
D | geometry.c | 22 static __inline__ void flipVertical(char * source, int srcWidth, int srcHeight, char * destination, in flipVertical() argument 33 memcpy(destination + temp - i, source + i, bytes_to_copy); in flipVertical() 38 char * destination, int dstWidth __unused, int dstHeight __unused) { in flipHorizontal() argument 50 memcpy(destination + temp - j, source + i + j, cpy_bytes); in flipHorizontal() 55 … flip_fun(int flip, char * source, int srcWidth, int srcHeight, char * destination, int dstWidth, … in flip_fun() argument 62 flipVertical(temp, dstWidth, dstHeight, destination, dstWidth, dstHeight); in flip_fun() 67 flipHorizontal(source, srcWidth, srcHeight, destination, dstWidth, dstHeight); in flip_fun() 71 flipVertical(source, srcWidth, srcHeight, destination, dstWidth, dstHeight); in flip_fun() 77 static __inline__ void rotate90(char * source, int srcWidth, int srcHeight, char * destination, in rotate90() argument 86 memcpy(destination + column_disp + row_disp , source + j * srcWidth + i, cpy_bytes); in rotate90() [all …]
|
D | saturated.c | 21 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() 47 destination[RED] = CLAMP(Rc); in JNIFUNCF() 48 destination[GREEN] = CLAMP(Gc); in JNIFUNCF() 49 destination[BLUE] = CLAMP(Bc); in JNIFUNCF()
|
D | gradient.c | 22 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()
|
D | vibrance.c | 22 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() 56 destination[RED] = CLAMP(Rc); in JNIFUNCF() 57 destination[GREEN] = CLAMP(Gc); in JNIFUNCF() 58 destination[BLUE] = CLAMP(Bc); in JNIFUNCF()
|
/packages/apps/UnifiedEmail/src/com/android/mail/bitmap/ |
D | ContactRequest.java | 115 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/util/ |
D | ContactUtil.java | 249 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 …]
|
D | ContactRecipientEntryUtils.java | 50 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/DocumentsUI/src/com/android/documentsui/services/ |
D | FileOperation.java | 60 FileOperation(@OpType int opType, UrisSupplier srcs, DocumentStack destination) { in FileOperation() argument 66 mDestination = destination; in FileOperation() 90 public void setDestination(DocumentStack destination) { in setDestination() argument 91 mDestination = destination; in setDestination() 122 private CopyOperation(UrisSupplier srcs, DocumentStack destination) { in CopyOperation() argument 123 super(OPERATION_COPY, srcs, destination); in CopyOperation() 163 private CompressOperation(UrisSupplier srcs, DocumentStack destination) { in CompressOperation() argument 164 super(OPERATION_COMPRESS, srcs, destination); in CompressOperation() 204 private ExtractOperation(UrisSupplier srcs, DocumentStack destination) { in ExtractOperation() argument 205 super(OPERATION_EXTRACT, srcs, destination); in ExtractOperation() [all …]
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
D | AttachmentActionHandler.java | 92 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/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | Helpers.java | 231 String contentDisposition, String contentLocation, String mimeType, int destination) in generateSaveFile() argument 238 if (destination == Downloads.Impl.DESTINATION_FILE_URI) { in generateSaveFile() 244 parent = getRunningDestinationDirectory(context, destination); in generateSaveFile() 247 getSuccessDestinationDirectory(context, destination) in generateSaveFile() 267 if (destination == Downloads.Impl.DESTINATION_FILE_URI) { in generateSaveFile() 284 suffix = chooseExtensionFromFilename(mimeType, destination, name, dotIndex); in generateSaveFile() 416 private static String chooseExtensionFromFilename(String mimeType, int destination, in chooseExtensionFromFilename() argument 595 public static File getRunningDestinationDirectory(Context context, int destination) in getRunningDestinationDirectory() argument 597 return getDestinationDirectory(context, destination, true); in getRunningDestinationDirectory() 600 public static File getSuccessDestinationDirectory(Context context, int destination) in getSuccessDestinationDirectory() argument [all …]
|
/packages/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/ |
D | DownloadCompletionReceiver.java | 51 Path destination = FileSystems.getDefault() in getDestinationFile() local 54 if (!Files.isDirectory(destination.getParent())) { in getDestinationFile() 55 Files.createDirectory(destination.getParent()); in getDestinationFile() 57 return destination; in getDestinationFile() 59 Path destination = FileSystems.getDefault() in getDestinationFile() local 62 if (!Files.isDirectory(destination.getParent())) { in getDestinationFile() 63 Files.createDirectory(destination.getParent()); in getDestinationFile() 65 return destination; in getDestinationFile()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/action/ |
D | UpdateDestinationBlockedAction.java | 34 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/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | DefaultWallpaperPersister.java | 99 … @Nullable Rect cropRect, float scale, @Destination final int destination, in setIndividualWallpaper() argument 111 setIndividualWallpaper(wallpaper, inputStream, destination, callback); in setIndividualWallpaper() 130 setIndividualWallpaper(wallpaper, bitmap, destination, callback); in setIndividualWallpaper() 140 setIndividualWallpaper(wallpaper, croppedBitmap, destination, callback); in setIndividualWallpaper() 279 … @Destination int destination, SetWallpaperCallback callback) { in setIndividualWallpaper() argument 281 new SetWallpaperTask(wallpaper, croppedBitmap, destination, callback); in setIndividualWallpaper() 298 … Point fillSize, @Destination int destination, SetWallpaperCallback callback) { in setIndividualWallpaperFill() argument 300 new SetWallpaperTask(wallpaper, croppedBitmap, destination, callback); in setIndividualWallpaperFill() 317 … Point stretchSize, @Destination int destination, SetWallpaperCallback callback) { in setIndividualWallpaperStretch() argument 319 new SetWallpaperTask(wallpaper, croppedBitmap, destination, callback); in setIndividualWallpaperStretch() [all …]
|
D | WallpaperSetter.java | 75 Asset wallpaperAsset, @Destination final int destination, float wallpaperScale, in setCurrentWallpaper() argument 78 setCurrentLiveWallpaper(containerActivity, (LiveWallpaperInfo) wallpaper, destination, in setCurrentWallpaper() 109 wallpaperScale, destination, new SetWallpaperCallback() { in setCurrentWallpaper() 129 @Destination final int destination, @Nullable SetWallpaperCallback callback) { in setCurrentLiveWallpaper() argument 135 if (destination == WallpaperPersister.DEST_LOCK_SCREEN) { in setCurrentLiveWallpaper() 146 if (destination == WallpaperPersister.DEST_BOTH) { in setCurrentLiveWallpaper()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/ |
D | BugleRecipientEntry.java | 31 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/UnifiedEmail/src/com/android/mail/providers/ |
D | Attachment.java | 109 public int destination; field in Attachment 188 destination = in.readInt(); in Attachment() 210 destination = cursor.getInt(cursor.getColumnIndex(AttachmentColumns.DESTINATION)); in Attachment() 232 destination = srcJson.optInt(AttachmentColumns.DESTINATION); in Attachment() 272 destination = AttachmentDestination.CACHE; in Attachment() 312 destination = values.getAsInteger(AttachmentColumns.DESTINATION); in Attachment() 338 values.put(AttachmentColumns.DESTINATION, destination); in toContentValues() 361 dest.writeInt(destination); in writeToParcel() 381 result.put(AttachmentColumns.DESTINATION, destination); in toJSON() 451 return state == AttachmentState.SAVED && destination == AttachmentDestination.EXTERNAL; in isSavedToExternal() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/pipeline/ |
D | ProcessingService.java | 108 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()
|
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/ |
D | BluetoothOppObexServerSession.java | 195 String destination; in onPut() local 197 destination = ((BluetoothObexTransport) mTransport).getRemoteAddress(); in onPut() 199 destination = "FF:FF:FF:00:00:00"; in onPut() 202 BluetoothOppManager.getInstance(mContext).isWhitelisted(destination); in onPut() 275 values.put(BluetoothShare.DESTINATION, destination); in onPut() 589 String destination; in onConnect() local 591 destination = ((BluetoothObexTransport) mTransport).getRemoteAddress(); in onConnect() 593 destination = "FF:FF:FF:00:00:00"; in onConnect() 595 boolean isHandover = BluetoothOppManager.getInstance(mContext).isWhitelisted(destination); in onConnect() 605 intent.putExtra(Constants.EXTRA_BT_OPP_ADDRESS, destination); in onConnect()
|
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/ |
D | PhotoCarousel.java | 186 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/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/ |
D | Transition.java | 26 public State destination; field in Transition 28 public Transition(State source, @StateMachine.Event int event, State destination) { in Transition() argument 31 this.destination = destination; in Transition()
|
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/ |
D | ContactListItemData.java | 61 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/ |
D | DeskClockBackupAgent.java | 57 public void onRestoreFile(@NonNull ParcelFileDescriptor data, long size, File destination, in onRestoreFile() argument 61 if (destination.getName().endsWith("_preferences.xml")) { in onRestoreFile() 63 destination = new File(destination.getParentFile(), prefFileName); in onRestoreFile() 66 super.onRestoreFile(data, size, destination, type, mode, mtime); in onRestoreFile()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/category/ |
D | Action.java | 161 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/Car/Cluster/src/android/car/cluster/ |
D | NavStateController.java | 88 Destination destination = state != null && state.getDestinationsCount() > 0 in update() local 90 Traffic traffic = destination != null ? destination.getTraffic() : null; in update() 91 String eta = destination != null in update() 92 ? destination.getFormattedDurationUntilArrival().isEmpty() in update() 93 ? formatEta(destination.getEstimatedTimeAtArrival()) in update() 94 : destination.getFormattedDurationUntilArrival() in update()
|
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/task/ |
D | MigrateSystemAppsSnapshotTask.java | 75 File destination; in migrateIfNecessary() local 77 destination = SystemAppsSnapshot.getSystemAppsFile(mContext, userId); in migrateIfNecessary() 84 "Moving " + file.getAbsolutePath() + " to " + destination.getAbsolutePath()); in migrateIfNecessary() 85 boolean success = file.renameTo(destination); in migrateIfNecessary()
|