/packages/apps/Gallery2/jni/filters/ |
D | geometry.c | 22 … __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 …]
|
D | saturated.c | 21 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()
|
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 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/modules/Connectivity/framework/src/android/net/ |
D | RouteInfo.java | 146 public RouteInfo(@Nullable IpPrefix destination, @Nullable InetAddress gateway, in RouteInfo() argument 148 this(destination, gateway, iface, type, 0); in RouteInfo() 171 public RouteInfo(@Nullable IpPrefix destination, @Nullable InetAddress gateway, in RouteInfo() argument 192 if (destination == null) { in RouteInfo() 195 destination = new IpPrefix(NetworkStackConstants.IPV4_ADDR_ANY, 0); in RouteInfo() 197 destination = new IpPrefix(NetworkStackConstants.IPV6_ADDR_ANY, 0); in RouteInfo() 202 destination); in RouteInfo() 209 if (destination.getAddress() instanceof Inet4Address) { in RouteInfo() 217 if ((destination.getAddress() instanceof Inet4Address in RouteInfo() 219 || (destination.getAddress() instanceof Inet6Address in RouteInfo() [all …]
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/repository/ |
D | WallpaperRepository.kt | 45 destination: WallpaperDestination, in <lambda>() 48 .recentWallpapers(destination = destination, limit = 1) in <lambda>() 55 client.getCurrentWallpaper(destination = destination).wallpaperId in <lambda>() 71 destination: WallpaperDestination, in <lambda>() 75 .recentWallpapers(destination = destination, limit = limit) in <lambda>() 86 destination: WallpaperDestination, in <lambda>() 90 _selectingWallpaperId.value.toMutableMap().apply { this[destination] = wallpaperId } in <lambda>() 93 destination = destination, in <lambda>() 97 _selectingWallpaperId.value.toMutableMap().apply { this[destination] = null } in <lambda>()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/module/ |
D | WallpaperSetter.java | 86 @Destination final int destination, in setCurrentWallpaper() argument 104 setCurrentWallpaper(containerActivity, wallpaper, wallpaperAsset, destination, in setCurrentWallpaper() 123 @Nullable Asset wallpaperAsset, @Destination final int destination, in setCurrentWallpaper() argument 127 setCurrentLiveWallpaper(containerActivity, (LiveWallpaperInfo) wallpaper, destination, in setCurrentWallpaper() 173 wallpaperScale, destination, new SetWallpaperCallback() { in setCurrentWallpaper() 176 @Destination int destination) { in setCurrentWallpaper() 179 callback.onSuccess(wallpaper, destination); in setCurrentWallpaper() 194 @Destination final int destination, WallpaperColors colors, in setCurrentLiveWallpaper() argument 202 if (destination == WallpaperPersister.DEST_LOCK_SCREEN in setCurrentLiveWallpaper() 208 setWallpaperComponent(wallpaperManager, wallpaper, destination); in setCurrentLiveWallpaper() [all …]
|
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() 280 @Destination int destination, SetWallpaperCallback callback) { in setIndividualWallpaper() argument 282 new SetWallpaperTask(wallpaper, croppedBitmap, destination, callback); in setIndividualWallpaper() 300 Point fillSize, @Destination int destination, SetWallpaperCallback callback) { in setIndividualWallpaperFill() argument 302 new SetWallpaperTask(wallpaper, croppedBitmap, destination, callback); in setIndividualWallpaperFill() 320 Point stretchSize, @Destination int destination, SetWallpaperCallback callback) { in setIndividualWallpaperStretch() argument 322 new SetWallpaperTask(wallpaper, croppedBitmap, destination, callback); in setIndividualWallpaperStretch() [all …]
|
D | WallpaperPersister.java | 61 … float scale, @Destination int destination, SetWallpaperCallback callback); in setIndividualWallpaper() argument 173 void onLiveWallpaperSet(@Destination int destination); in onLiveWallpaperSet() argument 183 @Destination int destination); in setLiveWallpaperMetadata() argument 189 void onSuccess(WallpaperInfo wallpaperInfo, @Destination int destination); in onSuccess() argument 218 static int destinationToFlags(@Destination int destination) { in destinationToFlags() argument 219 switch (destination) { in destinationToFlags()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/domain/interactor/ |
D | WallpaperInteractor.kt | 51 destination: WallpaperDestination, in selectedWallpaperId() 53 return repository.selectedWallpaperId(destination = destination) in selectedWallpaperId() 61 destination: WallpaperDestination, in selectingWallpaperId() 63 return repository.selectingWallpaperId.map { it[destination] } in selectingWallpaperId() 72 destination: WallpaperDestination, in previews() 77 destination = destination, in previews() 91 destination: WallpaperDestination, in setWallpaper() 95 destination = destination, in setWallpaper()
|
D | WallpaperSnapshotRestorer.kt | 51 destination = WallpaperDestination.HOME, in <lambda>() 59 destination = WallpaperDestination.LOCK, in <lambda>() 68 interactor.selectedWallpaperId(destination = WallpaperDestination.HOME), in <lambda>() 69 interactor.selectedWallpaperId(destination = WallpaperDestination.LOCK), in <lambda>() 85 homeWallpaperId: String = querySelectedWallpaperId(destination = WallpaperDestination.HOME), in <lambda>() 86 lockWallpaperId: String = querySelectedWallpaperId(destination = WallpaperDestination.LOCK), in <lambda>() 103 private fun querySelectedWallpaperId(destination: WallpaperDestination): String { in <lambda>() 104 return interactor.selectedWallpaperId(destination = destination).value in <lambda>()
|
/packages/apps/WallpaperPicker2/tests/src/com/android/wallpaper/picker/customization/data/content/ |
D | FakeWallpaperClient.kt | 58 destination: WallpaperDestination, in <lambda>() 63 wallpapersByScreen[destination] ?: error("No wallpapers for screen $destination") in <lambda>() 73 destination: WallpaperDestination, in <lambda>() 75 return _recentWallpapers.value[destination]?.get(0) in <lambda>() 76 ?: error("No wallpapers for screen $destination") in <lambda>() 80 destination: WallpaperDestination, in <lambda>() 85 deferred.add { setWallpaper(destination, wallpaperId, onDone) } in <lambda>() 89 this[destination] = in <lambda>() 90 _recentWallpapers.value[destination]?.sortedBy { in <lambda>() 93 ?: error("No wallpapers for screen $destination") in <lambda>()
|
/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/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/content/ |
D | WallpaperClientImpl.kt | 41 destination: WallpaperDestination, in <lambda>() 46 send(queryRecentWallpapers(destination = destination, limit = limit)) in <lambda>() 68 destination: WallpaperDestination, in <lambda>() 70 return queryRecentWallpapers(destination = destination, limit = 1).first() in <lambda>() 74 destination: WallpaperDestination, in <lambda>() 80 updateValues.put(KEY_SCREEN, destination.asString()) in <lambda>() 89 destination: WallpaperDestination, in <lambda>() 94 LIST_RECENTS_URI.buildUpon().appendPath(destination.asString()).build(), in <lambda>()
|
/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 | 63 FileOperation(@OpType int opType, UrisSupplier srcs, DocumentStack destination) { in FileOperation() argument 69 mDestination = destination; in FileOperation() 93 public void setDestination(DocumentStack destination) { in setDestination() argument 94 mDestination = destination; in setDestination() 125 private CopyOperation(UrisSupplier srcs, DocumentStack destination) { in CopyOperation() argument 126 super(OPERATION_COPY, srcs, destination); in CopyOperation() 166 private CompressOperation(UrisSupplier srcs, DocumentStack destination) { in CompressOperation() argument 167 super(OPERATION_COMPRESS, srcs, destination); in CompressOperation() 207 private ExtractOperation(UrisSupplier srcs, DocumentStack destination) { in ExtractOperation() argument 208 super(OPERATION_EXTRACT, srcs, destination); in ExtractOperation() [all …]
|
/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/tests/src/com/android/wallpaper/picker/customization/domain/interactor/ |
D | WallpaperSnapshotRestorerTest.kt | 95 destination = WallpaperDestination.HOME, in <lambda>() 102 destination = WallpaperDestination.LOCK, in <lambda>() 110 assertThat(wallpaperClient.getCurrentWallpaper(destination = WallpaperDestination.HOME)) in <lambda>() 112 assertThat(wallpaperClient.getCurrentWallpaper(destination = WallpaperDestination.LOCK)) in <lambda>() 116 assertThat(wallpaperClient.getCurrentWallpaper(destination = WallpaperDestination.HOME)) in <lambda>() 118 assertThat(wallpaperClient.getCurrentWallpaper(destination = WallpaperDestination.LOCK)) in <lambda>() 122 assertThat(wallpaperClient.getCurrentWallpaper(destination = WallpaperDestination.HOME)) in <lambda>() 124 assertThat(wallpaperClient.getCurrentWallpaper(destination = WallpaperDestination.LOCK)) in <lambda>()
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/ |
D | BluetoothOppNotificationTest.java | 94 String destination = "AA:BB:CC:DD:EE:FF"; in updateActiveNotification() local 104 timestamp, dir, id, total, current, null, null, confirmation, destination, status in updateActiveNotification() 108 destination, status in updateActiveNotification() 136 String destination = "AA:BB:CC:DD:EE:FF"; in updateCompletedNotification_withOutBoundShare_showsNoti() local 146 timestamp, dir, id, total, current, null, null, confirmation, destination, status in updateCompletedNotification_withOutBoundShare_showsNoti() 150 destination, statusError in updateCompletedNotification_withOutBoundShare_showsNoti() 175 String destination = "AA:BB:CC:DD:EE:FF"; in updateCompletedNotification_withInBoundShare_showsNoti() local 185 timestamp, dir, id, total, current, null, null, confirmation, destination, status in updateCompletedNotification_withInBoundShare_showsNoti() 189 destination, statusError in updateCompletedNotification_withInBoundShare_showsNoti() 214 String destination = "AA:BB:CC:DD:EE:FF"; in updateIncomingFileConfirmationNotification() local [all …]
|
/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/WallpaperPicker2/tests/src/com/android/wallpaper/testing/ |
D | TestWallpaperPersister.java | 75 @Nullable final Rect cropRect, final float scale, final @Destination int destination, in setIndividualWallpaper() argument 78 if (destination == DEST_HOME_SCREEN || destination == DEST_BOTH) { in setIndividualWallpaper() 85 if (destination == DEST_LOCK_SCREEN || destination == DEST_BOTH) { in setIndividualWallpaper() 90 mDestination = destination; in setIndividualWallpaper() 214 public void onLiveWallpaperSet(@Destination int destination) { in onLiveWallpaperSet() argument 219 @Destination int destination) { in setLiveWallpaperMetadata() argument
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | Helpers.java | 243 String contentDisposition, String contentLocation, String mimeType, int destination) in generateSaveFile() argument 250 if (destination == Downloads.Impl.DESTINATION_FILE_URI) { in generateSaveFile() 256 parent = getRunningDestinationDirectory(context, destination); in generateSaveFile() 259 getSuccessDestinationDirectory(context, destination) in generateSaveFile() 279 if (destination == Downloads.Impl.DESTINATION_FILE_URI) { in generateSaveFile() 296 suffix = chooseExtensionFromFilename(mimeType, destination, name, dotIndex); in generateSaveFile() 428 private static String chooseExtensionFromFilename(String mimeType, int destination, in chooseExtensionFromFilename() argument 777 public static File getRunningDestinationDirectory(Context context, int destination) in getRunningDestinationDirectory() argument 779 return getDestinationDirectory(context, destination, true); in getRunningDestinationDirectory() 782 public static File getSuccessDestinationDirectory(Context context, int destination) in getSuccessDestinationDirectory() argument [all …]
|
/packages/modules/adb/fastdeploy/deployagent/src/com/android/fastdeploy/ |
D | PatchUtils.java | 49 static void readFully(final InputStream in, final byte[] destination, final int startAt, in readFully() argument 53 int readNow = in.read(destination, startAt + numRead, numBytes - numRead); in readFully() 61 static void readFully(final InputStream in, final byte[] destination) throws IOException { in readFully() argument 62 readFully(in, destination, 0, destination.length); in readFully()
|
/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()
|