Home
last modified time | relevance | path

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

123456789

/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/modules/Connectivity/framework/src/android/net/
DRouteInfo.java146 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/module/
DDefaultWallpaperPersister.java105 @Nullable Rect cropRect, float scale, @Destination final int destination, in setIndividualWallpaper() argument
116 setIndividualWallpaper(wallpaper, bitmap, cropRect, destination, callback); in setIndividualWallpaper()
130 setIndividualWallpaper(wallpaper, inputStream, cropRect, destination, callback); in setIndividualWallpaper()
149 setIndividualWallpaper(wallpaper, bitmap, null, destination, callback); in setIndividualWallpaper()
158 setIndividualWallpaper(wallpaper, croppedBitmap, destination, callback); in setIndividualWallpaper()
177 @Destination int destination, SetWallpaperCallback callback) { in setIndividualWallpaper() argument
179 new SetWallpaperTask(wallpaper, croppedBitmap, null, destination, callback); in setIndividualWallpaper()
184 @Destination int destination, SetWallpaperCallback callback) { in setIndividualWallpaper() argument
186 new SetWallpaperTask(wallpaper, fullBitmap, cropHint, destination, callback); in setIndividualWallpaper()
199 Rect cropHint, @Destination int destination, SetWallpaperCallback callback) { in setIndividualWallpaper() argument
[all …]
DWallpaperSetter.java89 @Destination final int destination, in setCurrentWallpaper() argument
107 setCurrentWallpaper(containerActivity, wallpaper, wallpaperAsset, destination, in setCurrentWallpaper()
127 @Nullable Asset wallpaperAsset, @Destination final int destination, in setCurrentWallpaper() argument
131 setCurrentLiveWallpaper(containerActivity, (LiveWallpaperInfo) wallpaper, destination, in setCurrentWallpaper()
177 wallpaperScale, destination, new SetWallpaperCallback() { in setCurrentWallpaper()
180 @Destination int destination) { in setCurrentWallpaper()
183 callback.onSuccess(wallpaper, destination); in setCurrentWallpaper()
199 @Destination final int destination, WallpaperColors colors, in setCurrentLiveWallpaper() argument
207 if (destination == WallpaperPersister.DEST_LOCK_SCREEN in setCurrentLiveWallpaper()
214 activity.getApplicationContext(), destination); in setCurrentLiveWallpaper()
[all …]
DWallpaperPersister.java58 … float scale, @Destination int destination, SetWallpaperCallback callback); in setIndividualWallpaper() argument
133 @Destination int destination in saveStaticWallpaperMetadata() argument
139 boolean saveStaticWallpaperToPreferences(int destination, in saveStaticWallpaperToPreferences() argument
181 void onLiveWallpaperSet(@Destination int destination); in onLiveWallpaperSet() argument
191 @Destination int destination); in setLiveWallpaperMetadata() argument
197 void onSuccess(WallpaperInfo wallpaperInfo, @Destination int destination); in onSuccess() argument
216 static int destinationToFlags(@Destination int destination) { in destinationToFlags() argument
217 switch (destination) { in destinationToFlags()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/repository/
DWallpaperRepository.kt51 destination: WallpaperDestination, in <lambda>()
54 .recentWallpapers(destination = destination, limit = 1) in <lambda>()
55 .map { previews -> currentWallpaperKey(destination, previews) } in <lambda>()
60 initialValue = currentWallpaperKey(destination, null) in <lambda>()
65 destination: WallpaperDestination, in <lambda>()
69 when (destination) { in <lambda>()
90 destination: WallpaperDestination, in <lambda>()
94 .recentWallpapers(destination = destination, limit = limit) in <lambda>()
113 destination: WallpaperDestination, in <lambda>()
117 _selectingWallpaperId.value.toMutableMap().apply { this[destination] = wallpaperId } in <lambda>()
[all …]
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/domain/interactor/
DWallpaperInteractor.kt55 destination: WallpaperDestination, in selectedWallpaperId()
57 return repository.selectedWallpaperId(destination = destination) in selectedWallpaperId()
65 destination: WallpaperDestination, in selectingWallpaperId()
67 return repository.selectingWallpaperId.map { it[destination] } in selectingWallpaperId()
72 destination: WallpaperDestination, in isSelectingWallpaper()
74 return selectingWallpaperId(destination).distinctUntilChanged().map { it != null } in isSelectingWallpaper()
83 destination: WallpaperDestination, in previews()
88 destination = destination, in previews()
102 destination: WallpaperDestination, in setWallpaper()
106 destination = destination, in setWallpaper()
DWallpaperSnapshotRestorer.kt51 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/common/src/com/android/wallpaper/testing/
DFakeWallpaperClient.kt59 destination: WallpaperDestination, in <lambda>()
64 wallpapersByScreen[destination] ?: error("No wallpapers for screen $destination") in <lambda>()
74 destination: WallpaperDestination, in <lambda>()
76 return _recentWallpapers.value[destination]?.get(0) in <lambda>()
77 ?: error("No wallpapers for screen $destination") in <lambda>()
81 destination: WallpaperDestination, in <lambda>()
86 deferred.add { setWallpaper(destination, wallpaperId, onDone) } in <lambda>()
90 this[destination] = in <lambda>()
91 _recentWallpapers.value[destination]?.sortedBy { in <lambda>()
94 ?: error("No wallpapers for screen $destination") in <lambda>()
DTestWallpaperPersister.java75 @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()
191 public void onLiveWallpaperSet(@Destination int destination) { in onLiveWallpaperSet() argument
196 @Destination int destination) { in setLiveWallpaperMetadata() argument
212 String remoteId, @Destination int destination) { in saveStaticWallpaperMetadata() argument
217 public boolean saveStaticWallpaperToPreferences(int destination, in saveStaticWallpaperToPreferences() argument
219 if (destination == DEST_HOME_SCREEN || destination == DEST_BOTH) { in saveStaticWallpaperToPreferences()
223 if (destination == DEST_LOCK_SCREEN || destination == DEST_BOTH) { in saveStaticWallpaperToPreferences()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/customization/data/content/
DWallpaperClientImpl.kt68 destination: WallpaperDestination, in <lambda>()
77 send(queryRecentWallpapers(destination = destination, limit = limit)) in <lambda>()
108 destination: WallpaperDestination, in <lambda>()
114 updateValues.put(KEY_SCREEN, destination.asString()) in <lambda>()
123 destination: WallpaperDestination, in <lambda>()
127 cachedRecents[destination] in <lambda>()
129 listOf(getCurrentWallpaperFromFactory(destination)) in <lambda>()
131 queryAllRecentWallpapers(destination) in <lambda>()
134 cachedRecents[destination] = recentWallpapers in <lambda>()
139 destination: WallpaperDestination in <lambda>()
[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/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/DocumentsUI/src/com/android/documentsui/services/
DFileOperation.java63 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/
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/apps/WallpaperPicker2/tests/robotests/src/com/android/wallpaper/picker/customization/domain/interactor/
DWallpaperSnapshotRestorerTest.kt101 destination = WallpaperDestination.HOME, in <lambda>()
108 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>()
128 assertThat(wallpaperClient.getCurrentWallpaper(destination = WallpaperDestination.HOME)) in <lambda>()
130 assertThat(wallpaperClient.getCurrentWallpaper(destination = WallpaperDestination.LOCK)) in <lambda>()
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/opp/
DBluetoothOppNotificationTest.java94 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/
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/WallpaperPicker2/src/com/android/wallpaper/picker/customization/ui/viewmodel/
DWallpaperQuickSwitchViewModel.kt38 private val destination: WallpaperDestination, in <lambda>() constant in com.android.wallpaper.picker.customization.ui.viewmodel.WallpaperQuickSwitchViewModel
45 .selectedWallpaperId(destination) in <lambda>()
53 .selectingWallpaperId(destination) in <lambda>()
63 destination = destination, in <lambda>()
158 destination = destination, in <lambda>()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityDetailsSettingsFragment.java106 final String destination = ToggleScreenMagnificationPreferenceFragment.class.getName(); in getSystemAccessibilitySettingsLaunchArguments() local
110 return new LaunchFragmentArguments(destination, arguments); in getSystemAccessibilitySettingsLaunchArguments()
114 final String destination = AccessibilityButtonFragment.class.getName(); in getSystemAccessibilitySettingsLaunchArguments() local
115 return new LaunchFragmentArguments(destination, /* arguments= */ null); in getSystemAccessibilitySettingsLaunchArguments()
121 final String destination = AccessibilityHearingAidsFragment.class.getName(); in getSystemAccessibilitySettingsLaunchArguments() local
122 return new LaunchFragmentArguments(destination, /* arguments= */ null); in getSystemAccessibilitySettingsLaunchArguments()
157 private void openSubSettings(@NonNull String destination, @Nullable Bundle arguments) { in openSubSettings() argument
159 .setDestination(destination) in openSubSettings()
274 LaunchFragmentArguments(@NonNull String destination, @Nullable Bundle arguments) { in LaunchFragmentArguments() argument
275 mDestination = Objects.requireNonNull(destination); in LaunchFragmentArguments()
/packages/modules/adb/fastdeploy/deployagent/src/com/android/fastdeploy/
DPatchUtils.java49 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()

123456789