Home
last modified time | relevance | path

Searched refs:current (Results 1 – 25 of 615) sorted by relevance

12345678910>>...25

/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
DCursorPhotoSource.java41 protected ImageData naturalNext(ImageData current) { in naturalNext() argument
42 if (current.cursor == null || current.cursor.isClosed()) { in naturalNext()
43 openCursor(current); in naturalNext()
45 findPosition(current); in naturalNext()
46 current.cursor.moveToPosition(current.position); in naturalNext()
47 current.cursor.moveToNext(); in naturalNext()
49 if (!current.cursor.isAfterLast()) { in naturalNext()
50 data = unpackImageData(current.cursor, null); in naturalNext()
51 data.cursor = current.cursor; in naturalNext()
52 data.uri = current.uri; in naturalNext()
[all …]
DPhotoSourcePlexor.java75 protected ImageData naturalNext(ImageData current) { in naturalNext() argument
76 return current.naturalNext(); in naturalNext()
80 protected ImageData naturalPrevious(ImageData current) { in naturalPrevious() argument
81 return current.naturalPrevious(); in naturalPrevious()
85 protected void donePaging(ImageData current) { in donePaging() argument
86 current.donePaging(); in donePaging()
DPhotoSource.java283 public Bitmap naturalNext(Bitmap current, BitmapFactory.Options options, in naturalNext() argument
286 ImageData data = mImageMap.get(current); in naturalNext()
297 public Bitmap naturalPrevious(Bitmap current, BitmapFactory.Options options, in naturalPrevious() argument
300 ImageData data = mImageMap.get(current); in naturalPrevious()
301 if (current != null) { in naturalPrevious()
311 public void donePaging(Bitmap current) { in donePaging() argument
312 ImageData data = mImageMap.get(current); in donePaging()
327 protected abstract ImageData naturalNext(ImageData current); in naturalNext() argument
328 protected abstract ImageData naturalPrevious(ImageData current); in naturalPrevious() argument
329 protected abstract void donePaging(ImageData current); in donePaging() argument
/packages/modules/Connectivity/staticlibs/native/ip_checksum/
Dchecksum.c34 uint32_t ip_checksum_add(uint32_t current, const void* data, int len) { in ip_checksum_add() argument
38 current += *data_16; in ip_checksum_add()
42 if (len) current += *(uint8_t*)data_16; // assumes little endian! in ip_checksum_add()
44 return current; in ip_checksum_add()
85 uint32_t current = 0; in ipv6_pseudo_header_checksum() local
87 current = ip_checksum_add(current, &(ip6->ip6_src), sizeof(struct in6_addr)); in ipv6_pseudo_header_checksum()
88 current = ip_checksum_add(current, &(ip6->ip6_dst), sizeof(struct in6_addr)); in ipv6_pseudo_header_checksum()
89 current = ip_checksum_add(current, &checksum_len, sizeof(checksum_len)); in ipv6_pseudo_header_checksum()
90 current = ip_checksum_add(current, &checksum_next, sizeof(checksum_next)); in ipv6_pseudo_header_checksum()
92 return current; in ipv6_pseudo_header_checksum()
[all …]
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DAbstractSuggestionWrapper.kt23 protected abstract fun current(): Suggestion? method in com.android.quicksearchbox.AbstractSuggestionWrapper
25 get() = current()?.shortcutId
27 get() = current()?.suggestionFormat
29 get() = current()?.suggestionIcon1
31 get() = current()?.suggestionIcon2
33 get() = current()?.suggestionIntentAction
35 get() = current()?.suggestionIntentComponent
37 get() = current()?.suggestionIntentDataString
39 get() = current()?.suggestionIntentExtraData
41 get() = current()?.suggestionLogType
[all …]
/packages/modules/Connectivity/tests/cts/net/jni/
DNativeDnsJni.c48 struct addrinfo *current = answer; in Java_android_net_cts_DnsTest_testNativeDns() local
49 while (current != NULL) { in Java_android_net_cts_DnsTest_testNativeDns()
51 if (current->ai_addr->sa_family == AF_INET) { in Java_android_net_cts_DnsTest_testNativeDns()
52 inet_ntop(current->ai_family, &((struct sockaddr_in *)current->ai_addr)->sin_addr, in Java_android_net_cts_DnsTest_testNativeDns()
56 } else if (current->ai_addr->sa_family == AF_INET6) { in Java_android_net_cts_DnsTest_testNativeDns()
57 inet_ntop(current->ai_family, &((struct sockaddr_in6 *)current->ai_addr)->sin6_addr, in Java_android_net_cts_DnsTest_testNativeDns()
62 current = current->ai_next; in Java_android_net_cts_DnsTest_testNativeDns()
81 struct addrinfo *current = answer; in Java_android_net_cts_DnsTest_testNativeDns() local
82 while (current != NULL) { in Java_android_net_cts_DnsTest_testNativeDns()
84 if (current->ai_addr->sa_family == AF_INET) { in Java_android_net_cts_DnsTest_testNativeDns()
[all …]
/packages/apps/Car/DebuggingRestrictionController/libs/
DAndroid.bp8 sdk_version: "current",
14 sdk_version: "current",
21 sdk_version: "current",
28 sdk_version: "current",
35 sdk_version: "current",
42 sdk_version: "current",
49 sdk_version: "current",
56 sdk_version: "current",
63 sdk_version: "current",
70 sdk_version: "current",
[all …]
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/
DOtherFragment.java174 int current = 0; in recalculateSpans() local
175 while (current < mOthers.size()) { in recalculateSpans()
176 int orientation = getOrientation(current); in recalculateSpans()
178 orientation = getOrientation(current + 1); in recalculateSpans()
181 mSpanSize.append(current++, SPAN_COUNT / 2); in recalculateSpans()
182 mSpanSize.append(current++, SPAN_COUNT / 2); in recalculateSpans()
185 mSpanSize.append(current++, SPAN_COUNT * 2 / 3); in recalculateSpans()
186 mSpanSize.append(current++, SPAN_COUNT * 1 / 3); in recalculateSpans()
189 mSpanSize.append(current++, SPAN_COUNT); in recalculateSpans()
192 orientation = getOrientation(current + 1); in recalculateSpans()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
DPathMatcher.java34 Node current = mRoot; in add() local
36 current = current.addChild(segments[i]); in add()
38 current.setKind(kind); in add()
44 Node current = mRoot; in match() local
46 Node next = current.getChild(segments[i]); in match()
48 next = current.getChild("*"); in match()
55 current = next; in match()
57 return current.getKind(); in match()
DPath.java103 Path current = sRoot; in fromString() local
105 current = current.getChild(segments[i]); in fromString()
107 return current; in fromString()
190 Path current = this; in getPrefixPath() local
191 if (current == sRoot) { in getPrefixPath()
194 while (current.mParent != sRoot) { in getPrefixPath()
195 current = current.mParent; in getPrefixPath()
197 return current; in getPrefixPath()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/
DUpdateChooserRequestInteractor.kt38 repository.chooserRequest.update { current -> in <lambda>() method
39 current.copy( in <lambda>()
42 update.callerTargets.getOrDefault(current.callerChooserTargets), in <lambda>()
44 update.modifyShareAction.getOrDefault(current.modifyShareAction), in <lambda>()
45 additionalTargets = update.alternateIntents.getOrDefault(current.additionalTargets), in <lambda>()
47 update.resultIntentSender.getOrDefault(current.chosenComponentSender), in <lambda>()
49 update.refinementIntentSender.getOrDefault(current.refinementIntentSender), in <lambda>()
50 metadataText = update.metadataText.getOrDefault(current.metadataText), in <lambda>()
51 chooserActions = update.customActions.getOrDefault(current.chooserActions), in <lambda>()
/packages/services/Car/tests/BugReportApp/libs/
DAndroid.bp22 sdk_version: "current",
28 sdk_version: "current",
34 sdk_version: "current",
40 sdk_version: "current",
46 sdk_version: "current",
52 sdk_version: "current",
58 sdk_version: "current",
64 sdk_version: "current",
70 sdk_version: "current",
76 sdk_version: "current",
[all …]
/packages/apps/TV/libs/
DAndroid.bp23 sdk_version: "current",
30 sdk_version: "current",
53 sdk_version: "current",
68 sdk_version: "current",
75 sdk_version: "current",
81 sdk_version: "current",
88 sdk_version: "current",
95 sdk_version: "current",
107 sdk_version: "current",
113 sdk_version: "current",
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/util/
DFlagDebugUtils.kt31 fun formatFlagChange(current: Int, previous: Int, flagSerializer: IntFunction<String>): String { in formatFlagChange()
33 result.add("[" + flagSerializer.apply(current) + "]") in formatFlagChange()
34 val changed = current xor previous in formatFlagChange()
35 val added = current and changed in formatFlagChange()
54 current: Long, in formatFlagChange()
59 result.add("[" + flagSerializer.apply(current) + "]") in formatFlagChange()
60 val changed = current xor previous in formatFlagChange()
61 val added = current and changed in formatFlagChange()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/wear/elements/
DIcon.kt42 tint: Color = LocalContentColor.current.copy(alpha = LocalContentAlpha.current), in Icon()
46 rtlMode == IconRtlMode.Mirrored && LocalLayoutDirection.current == LayoutDirection.Rtl in Icon()
64 tint: Color = LocalContentColor.current.copy(alpha = LocalContentAlpha.current), in Icon()
68 rtlMode == IconRtlMode.Mirrored && LocalLayoutDirection.current == LayoutDirection.Rtl in Icon()
88 tint: Color = LocalContentColor.current.copy(alpha = LocalContentAlpha.current), in Icon()
92 rtlMode == IconRtlMode.Mirrored && LocalLayoutDirection.current == LayoutDirection.Rtl in Icon()
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dictionary/
Ddictionary_utils.cpp33 std::vector<DicNode> current; in getMaxProbabilityOfExactMatches() local
41 current.emplace_back(); in getMaxProbabilityOfExactMatches()
42 DicNodeUtils::initAsRoot(dictionaryStructurePolicy, prevWordIds, &current.front()); in getMaxProbabilityOfExactMatches()
46 for (const DicNode &dicNode : current) { in getMaxProbabilityOfExactMatches()
54 current.clear(); in getMaxProbabilityOfExactMatches()
55 current.swap(next); in getMaxProbabilityOfExactMatches()
59 for (const DicNode &dicNode : current) { in getMaxProbabilityOfExactMatches()
/packages/apps/ManagedProvisioning/studio-dev/ManagedProvisioningGradleProject/buildSrc/src/main/java/
DRepoDependencyMapper.java36 private void checkEndPoint(File current, List<File> parents, String prefix) { in checkEndPoint() argument
37 if (!current.isDirectory()) { in checkEndPoint()
41 parents.add(current); in checkEndPoint()
42 for (File child : current.listFiles()) { in checkEndPoint()
45 parents.remove(current); in checkEndPoint()
50 String versionName = current.getName(); in checkEndPoint()
52 if (new File(current, moduleName + "-" + versionName + ".pom").exists()) { in checkEndPoint()
/packages/apps/Launcher3/
DAndroid.bp96 sdk_version: "current",
112 sdk_version: "current",
132 sdk_version: "current",
170 sdk_version: "current",
198 sdk_version: "current",
200 target_sdk_version: "current",
238 min_sdk_version: "current",
267 min_sdk_version: "current",
294 min_sdk_version: "current",
309 min_sdk_version: "current",
[all …]
/packages/modules/NeuralNetworks/common/cpu_operations/
DSqueeze.cpp64 int32_t current = in prepare() local
66 NN_OPS_CHECK(current >= 0 && current < numInputDims && in prepare()
67 getSizeOfDimension(inputShape, current) == 1); in prepare()
68 if (!shouldSqueeze[current]) ++numDimsSqueezed; in prepare()
69 shouldSqueeze[current] = true; in prepare()
/packages/modules/AdServices/adservices/service-core/java/com/android/adservices/service/signals/updateprocessors/
DAppend.java62 Object updates, Map<ByteBuffer, Set<DBProtectedSignal>> current) throws JSONException { in processUpdates() argument
70 processKey(key, update, current, toReturn); in processUpdates()
79 Map<ByteBuffer, Set<DBProtectedSignal>> current, in processKey() argument
91 deleteSignals(key, maxSignals, values, current, toReturn); in processKey()
102 Map<ByteBuffer, Set<DBProtectedSignal>> current, in deleteSignals() argument
105 if (current.containsKey(key)) { in deleteSignals()
106 List<DBProtectedSignal> timeSeries = new ArrayList<>(current.get(key)); in deleteSignals()
DPut.java46 Object updates, Map<ByteBuffer, Set<DBProtectedSignal>> current) throws JSONException { in processUpdates() argument
52 processKey(key, updatesObject.getString(stringKey), current, toReturn); in processUpdates()
61 Map<ByteBuffer, Set<DBProtectedSignal>> current, in processKey() argument
65 if (current.containsKey(key)) { in processKey()
66 toReturn.getToRemove().addAll(current.get(key)); in processKey()
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DRoundedCornerEnforcement.java142 private static View findUndefinedBackground(View current) { in findUndefinedBackground() argument
143 if (current.getVisibility() != View.VISIBLE) { in findUndefinedBackground()
146 if (isViewVisible(current)) { in findUndefinedBackground()
147 return current; in findUndefinedBackground()
152 if (current instanceof ViewGroup) { in findUndefinedBackground()
153 ViewGroup vg = (ViewGroup) current; in findUndefinedBackground()
158 return current; // At least two visible children in findUndefinedBackground()
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
DCellBroadcastReceiverMetrics.java238 public void onChangedAlertDuringCall(boolean current) { in onChangedAlertDuringCall() argument
239 mAlertDuringCall = current; in onChangedAlertDuringCall()
272 public void onChangedRoamingSupport(boolean current) { in onChangedRoamingSupport() argument
273 mRoamingSupport = current; in onChangedRoamingSupport()
282 public void onChangedStoreSms(boolean current) { in onChangedStoreSms() argument
283 mStoreSms = current; in onChangedStoreSms()
292 public void onChangedTestMode(boolean current) { in onChangedTestMode() argument
293 mTestMode = current; in onChangedTestMode()
302 public void onChangedEnableAlertSpeech(boolean current) { in onChangedEnableAlertSpeech() argument
303 mEnableAlertSpeech = current; in onChangedEnableAlertSpeech()
[all …]
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/preview/
DPreview.kt122 val selection by LocalSelection.current.flow.collectAsStateWithLifecycle() in PreviewMedia()
167 val selectionLimit = LocalPhotopickerConfiguration.current.selectionLimit in PreviewMedia()
209 val currentSelection by LocalSelection.current.flow.collectAsStateWithLifecycle() in Preview()
210 val events = LocalEvents.current in Preview()
253 val selectionLimit = LocalPhotopickerConfiguration.current.selectionLimit in Preview()
283 CustomAccentColorScheme.current.getAccentColorIfDefinedOrElse( in Preview()
298 CustomAccentColorScheme.current.getAccentColorIfDefinedOrElse( in Preview()
302 CustomAccentColorScheme.current in Preview()
344 val navController = LocalNavController.current in PreviewSelectionButton()
353 CustomAccentColorScheme.current.getAccentColorIfDefinedOrElse( in PreviewSelectionButton()
/packages/providers/MediaProvider/photopicker/src/com/android/photopicker/features/navigationbar/
DNavigationBar.kt57 val navController = LocalNavController.current in NavigationBar()
68 LocalFeatureManager.current.composeLocation( in NavigationBar()
96 val navController = LocalNavController.current in NavigationBarButton()
106 containerColor = CustomAccentColorScheme.current in NavigationBarButton()
110 contentColor = CustomAccentColorScheme.current in NavigationBarButton()

12345678910>>...25