Home
last modified time | relevance | path

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

12345

/packages/apps/Gallery2/jni/filters/
Dgeometry.c22 … __inline__ void flipVertical(uint8_t * source, int srcWidth, int srcHeight, uint8_t * destination, in flipVertical() argument
33 memcpy(destination + temp - i, source + i, bytes_to_copy); in flipVertical()
38 uint8_t * destination, int dstWidth __unused, int dstHeight __unused) { in flipHorizontal() argument
50 memcpy(destination + temp - j, source + i + j, cpy_bytes); in flipHorizontal()
55 …fun(int flip, uint8_t * source, int srcWidth, int srcHeight, uint8_t * 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 …atic __inline__ void rotate90(uint8_t * source, int srcWidth, int srcHeight, uint8_t * destination, in rotate90() argument
86 memcpy(destination + column_disp + row_disp , source + j * srcWidth + i, cpy_bytes); in rotate90()
[all …]
Dsaturated.c21 uint8_t* 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()
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 uint8_t* 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/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/WallpaperPicker2/src/com/android/wallpaper/module/
DDefaultWallpaperPersister.java88 @Nullable Rect cropRect, float scale, @Destination final int destination, in setIndividualWallpaper() argument
100 setIndividualWallpaper(wallpaper, inputStream, destination, callback); in setIndividualWallpaper()
119 setIndividualWallpaper(wallpaper, bitmap, destination, callback); in setIndividualWallpaper()
129 setIndividualWallpaper(wallpaper, croppedBitmap, destination, callback); in setIndividualWallpaper()
273 @Destination int destination, SetWallpaperCallback callback) { in setIndividualWallpaper() argument
275 new SetWallpaperTask(wallpaper, croppedBitmap, destination, callback); in setIndividualWallpaper()
293 Point fillSize, @Destination int destination, SetWallpaperCallback callback) { in setIndividualWallpaperFill() argument
295 new SetWallpaperTask(wallpaper, croppedBitmap, destination, callback); in setIndividualWallpaperFill()
313 Point stretchSize, @Destination int destination, SetWallpaperCallback callback) { in setIndividualWallpaperStretch() argument
315 new SetWallpaperTask(wallpaper, croppedBitmap, destination, callback); in setIndividualWallpaperStretch()
[all …]
DWallpaperSetter.java75 @Nullable Asset wallpaperAsset, @Destination final int destination, in setCurrentWallpaper() argument
79 setCurrentLiveWallpaper(containerActivity, (LiveWallpaperInfo) wallpaper, destination, in setCurrentWallpaper()
110 wallpaperScale, destination, new SetWallpaperCallback() { in setCurrentWallpaper()
130 @Destination final int destination, @Nullable SetWallpaperCallback callback) { in setCurrentLiveWallpaper() argument
136 if (destination == WallpaperPersister.DEST_LOCK_SCREEN) { in setCurrentLiveWallpaper()
147 if (destination == WallpaperPersister.DEST_BOTH) { in setCurrentLiveWallpaper()
/packages/apps/DocumentsUI/src/com/android/documentsui/services/
DFileOperation.java60 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/services/Telephony/testapps/EmbmsTestDownloadApp/src/com/android/phone/testapps/embmsdownload/
DDownloadCompletionReceiver.java51 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/
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.java235 String contentDisposition, String contentLocation, String mimeType, int destination) in generateSaveFile() argument
242 if (destination == Downloads.Impl.DESTINATION_FILE_URI) { in generateSaveFile()
248 parent = getRunningDestinationDirectory(context, destination); in generateSaveFile()
251 getSuccessDestinationDirectory(context, destination) in generateSaveFile()
271 if (destination == Downloads.Impl.DESTINATION_FILE_URI) { in generateSaveFile()
288 suffix = chooseExtensionFromFilename(mimeType, destination, name, dotIndex); in generateSaveFile()
420 private static String chooseExtensionFromFilename(String mimeType, int destination, in chooseExtensionFromFilename() argument
619 public static File getRunningDestinationDirectory(Context context, int destination) in getRunningDestinationDirectory() argument
621 return getDestinationDirectory(context, destination, true); in getRunningDestinationDirectory()
624 public static File getSuccessDestinationDirectory(Context context, int destination) in getSuccessDestinationDirectory() argument
[all …]
/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()
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/testing/
DTestWallpaperPersister.java73 @Nullable final Rect cropRect, final float scale, final @Destination int destination, in setIndividualWallpaper() argument
76 if (destination == DEST_HOME_SCREEN || destination == DEST_BOTH) { in setIndividualWallpaper()
83 if (destination == DEST_LOCK_SCREEN || destination == DEST_BOTH) { in setIndividualWallpaper()
87 mDestination = destination; in setIndividualWallpaper()
/packages/modules/NetworkStack/tests/unit/src/android/net/netlink/
DRtNetlinkNeighborMessageTest.java102 final InetAddress destination = neighMsg.getDestination(); in testParseRtmDelNeigh() local
103 assertNotNull(destination); in testParseRtmDelNeigh()
104 assertEquals(InetAddress.parseNumericAddress("192.168.159.254"), destination); in testParseRtmDelNeigh()
129 final InetAddress destination = neighMsg.getDestination(); in testParseRtmNewNeigh() local
130 assertNotNull(destination); in testParseRtmNewNeigh()
131 assertEquals(InetAddress.parseNumericAddress("fe80::86c9:b2ff:fe6a:ed4b"), destination); in testParseRtmNewNeigh()
/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/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppObexServerSession.java195 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()
591 String destination; in onConnect() local
593 destination = ((BluetoothObexTransport) mTransport).getRemoteAddress(); in onConnect()
595 destination = "FF:FF:FF:00:00:00"; in onConnect()
597 boolean isHandover = BluetoothOppManager.getInstance(mContext).isWhitelisted(destination); in onConnect()
607 intent.putExtra(Constants.EXTRA_BT_OPP_ADDRESS, destination); in onConnect()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DTransition.java26 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/DeskClock/src/com/android/deskclock/
DDeskClockBackupAgent.java57 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/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/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/ManagedProvisioning/src/com/android/managedprovisioning/task/
DMigrateSystemAppsSnapshotTask.java75 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()
/packages/apps/Car/Cluster/src/android/car/cluster/
DNavStateController.java113 Destination destination = state.getDestinationsCount() > 0 in update() local
115 Traffic traffic = destination != null ? destination.getTraffic() : null; in update()
116 String eta = destination != null in update()
117 ? destination.getFormattedDurationUntilArrival().isEmpty() in update()
118 ? formatEta(destination.getEstimatedTimeAtArrival()) in update()
119 : destination.getFormattedDurationUntilArrival() in update()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DThemeManager.java95 destination -> applyWallpaper( in apply()
97 destination, in apply()
125 private void applyWallpaper(ThemeBundle theme, int destination,
142 destination,
149 destination,

12345