/frameworks/av/drm/libmediadrm/ |
D | PluginMetricsReporting.cpp | 55 char candidate = input[i]; in sanitize() local 56 if ((candidate >= 'a' && candidate <= 'z') || in sanitize() 57 (candidate >= 'A' && candidate <= 'Z') || in sanitize() 58 (candidate >= '0' && candidate <= '9')) { in sanitize() 59 output.append(&candidate, 1); in sanitize()
|
/frameworks/base/core/java/com/android/internal/colorextraction/types/ |
D | Tonal.java | 357 final TonalPalette candidate = mTonalPalettes.get(i); in findTonalPalette() local 359 if (h >= candidate.minHue && h <= candidate.maxHue) { in findTonalPalette() 360 best = candidate; in findTonalPalette() 364 if (candidate.maxHue > 1.0f && h >= 0.0f && h <= fract(candidate.maxHue)) { in findTonalPalette() 365 best = candidate; in findTonalPalette() 369 if (candidate.minHue < 0.0f && h >= fract(candidate.minHue) && h <= 1.0f) { in findTonalPalette() 370 best = candidate; in findTonalPalette() 374 if (h <= candidate.minHue && candidate.minHue - h < error) { in findTonalPalette() 375 best = candidate; in findTonalPalette() 376 error = candidate.minHue - h; in findTonalPalette() [all …]
|
/frameworks/base/telephony/java/android/telephony/mbms/vendor/ |
D | VendorUtils.java | 146 ComponentName candidate = new ComponentName(packageName, in getAppReceiverFromPackageName() local 149 queryIntent.setComponent(candidate); in getAppReceiverFromPackageName() 153 return candidate; in getAppReceiverFromPackageName()
|
/frameworks/base/core/java/android/app/slice/ |
D | SliceSpec.java | 95 public boolean canRender(@NonNull SliceSpec candidate) { in canRender() argument 96 if (!mType.equals(candidate.mType)) return false; in canRender() 97 return mRevision >= candidate.mRevision; in canRender()
|
/frameworks/compile/mclinker/lib/LD/ |
D | IdenticalCodeFolding.cpp | 166 CandidateMap::iterator candidate, candidateEnd = candidate_map.end(); in findCandidates() local 167 for (candidate = candidate_map.begin(); candidate != candidateEnd; in findCandidates() 168 ++candidate) { in findCandidates() 170 (funcptr_access_set.count(candidate->first) == 0)) { in findCandidates() 172 m_KeptSections[candidate->first] = ObjectAndId(*obj, index); in findCandidates() 174 FoldingCandidate(candidate->first, candidate->second, *obj)); in findCandidates()
|
/frameworks/av/services/oboeservice/ |
D | AAudioStreamTracker.cpp | 60 auto candidate = it->second; in findStreamByPortHandle() local 61 if (candidate->getPortHandle() == portHandle) { in findStreamByPortHandle() 62 serviceStream = candidate; in findStreamByPortHandle()
|
/frameworks/base/core/java/android/app/ |
D | ApplicationErrorReport.java | 173 String candidate = null; in getErrorReportReceiver() local 177 candidate = pm.getInstallerPackageName(packageName); in getErrorReportReceiver() 182 if (candidate != null) { in getErrorReportReceiver() 183 result = getErrorReportReceiver(pm, packageName, candidate); in getErrorReportReceiver() 192 candidate = SystemProperties.get(SYSTEM_APPS_ERROR_RECEIVER_PROPERTY); in getErrorReportReceiver() 193 result = getErrorReportReceiver(pm, packageName, candidate); in getErrorReportReceiver() 200 candidate = SystemProperties.get(DEFAULT_ERROR_RECEIVER_PROPERTY); in getErrorReportReceiver() 201 return getErrorReportReceiver(pm, packageName, candidate); in getErrorReportReceiver()
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/ |
D | DisplayColorProfile.cpp | 160 for (auto candidate : candidates) { in getHwcColorMode() local 161 auto iter = hwcColorModes.find(candidate); in getHwcColorMode() 163 return candidate; in getHwcColorMode() 173 for (auto candidate : candidates) { in getHwcRenderIntent() local 175 if (candidate == hwcIntent) { in getHwcRenderIntent() 176 return candidate; in getHwcRenderIntent()
|
/frameworks/base/services/core/java/com/android/server/wm/ |
D | DisplayAreaGroup.java | 56 int getOrientation(int candidate) { in getOrientation() argument 57 int orientation = super.getOrientation(candidate); in getOrientation()
|
D | DisplayArea.java | 141 int getOrientation(int candidate) { in getOrientation() argument 147 return super.getOrientation(candidate); in getOrientation() 591 int getOrientation(int candidate) { in getOrientation() argument 601 return candidate; in getOrientation()
|
D | TaskDisplayArea.java | 744 int getOrientation(int candidate) { 755 return taskDisplayArea.getOrientation(candidate); 792 final int orientation = super.getOrientation(candidate); 1327 Task candidate = null; 1348 && candidate == null && rootTask.inSplitScreenPrimaryWindowingMode()) { 1357 candidate = rootTask; 1360 if (candidate != null && rootTask.inSplitScreenSecondaryWindowingMode()) { 1362 return candidate; 1366 return candidate;
|
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/apppairs/ |
D | AppPairsController.java | 115 final AppPair candidate = mActiveAppPairs.valueAt(i); in unpair() local 116 if (candidate.contains(taskId)) { in unpair() 117 pair = candidate; in unpair()
|
/frameworks/base/tools/aapt2/util/ |
D | ImmutableMap.h | 54 auto cmp = [](const std::pair<TKey, TValue>& candidate, in find() 56 return candidate.first < target; in find()
|
/frameworks/base/services/tests/wmtests/src/com/android/server/wm/ |
D | TaskStackChangedListenerTest.java | 354 candidate -> candidate[0] == activity.getTaskId()); in testNotifyTaskRequestedOrientationChanged() 360 candidate -> candidate[0] == activity.getTaskId()); in testNotifyTaskRequestedOrientationChanged() 366 candidate -> candidate[0] == activity.getTaskId()); in testNotifyTaskRequestedOrientationChanged()
|
D | DisplayAreaPolicyBuilderTest.java | 780 WindowContainer candidate = actual; in descendantOfOneOf() 781 while (candidate != null && candidate.getParent() != candidate) { in descendantOfOneOf() 782 if (candidate.getParent() == expected) { in descendantOfOneOf() 785 candidate = candidate.getParent(); in descendantOfOneOf()
|
/frameworks/opt/telephony/tests/telephonytests/src/android/telephony/ims/ |
D | SipTransportImplBaseTest.java | 91 mDelegates.removeIf(candidate -> { in destroySipDelegate() 92 if (delegate.equals(candidate.sipDelegate)) { in destroySipDelegate() 93 candidate.delegateStateCallback.onDestroyed(reason); in destroySipDelegate()
|
/frameworks/base/core/java/android/widget/ |
D | SelectionActionModeHelper.java | 407 final RectF candidate, final Function<T, RectF> extractor, in mergeRectangleIntoList() argument 409 if (candidate.isEmpty()) { in mergeRectangleIntoList() 416 if (existingRectangle.contains(candidate)) { in mergeRectangleIntoList() 419 if (candidate.contains(existingRectangle)) { in mergeRectangleIntoList() 424 final boolean rectanglesContinueEachOther = candidate.left == existingRectangle.right in mergeRectangleIntoList() 425 || candidate.right == existingRectangle.left; in mergeRectangleIntoList() 426 final boolean canMerge = candidate.top == existingRectangle.top in mergeRectangleIntoList() 427 && candidate.bottom == existingRectangle.bottom in mergeRectangleIntoList() 428 && (RectF.intersects(candidate, existingRectangle) in mergeRectangleIntoList() 432 candidate.union(existingRectangle); in mergeRectangleIntoList() [all …]
|
/frameworks/opt/car/services/src/com/android/server/wm/ |
D | CarLaunchParamsModifier.java | 414 TaskDisplayArea candidate = controller.getTopActivityDisplayArea(); in sourceDisplayArea() local 415 int displayId = candidate != null ? candidate.getDisplayId() : Display.INVALID_DISPLAY; in sourceDisplayArea() 418 return candidate; in sourceDisplayArea()
|
/frameworks/base/core/tests/coretests/src/android/view/ |
D | FocusFinderTest.java | 251 Rect candidate = new Rect(src); in testSomeCandidateBetterThanNonCandidate() local 252 candidate.offset(-(4 * src.width()), 0); in testSomeCandidateBetterThanNonCandidate() 253 assertDirectionIsCandidate(View.FOCUS_LEFT, src, candidate); in testSomeCandidateBetterThanNonCandidate() 255 assertBetterCandidate(View.FOCUS_LEFT, src, candidate, nonCandidate); in testSomeCandidateBetterThanNonCandidate()
|
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/ |
D | AudioProfileVectorHelper.cpp | 205 uint32_t candidate = *(--desiredRate); in checkCompatibleSamplingRate() local 206 if (candidate * AUDIO_RESAMPLER_UP_RATIO_MAX >= samplingRate) { in checkCompatibleSamplingRate() 207 updatedSamplingRate = candidate; in checkCompatibleSamplingRate()
|
/frameworks/rs/tests/java_api/HealingBrush/src/rs/example/android/com/healingbrush/ |
D | healing.rscript | 149 float3 candidate = rsGetElementAt_float3(border, i).xyz; 150 sum += distance(orig, candidate);
|
D | find_region.rscript | 147 float3 candidate = rsGetElementAt_float3(border_values, i).xyz; 148 sum += distance(orig, candidate);
|
/frameworks/rs/tests/java_api/SSHealingBrush/src/rs/example/android/com/healingbrush/ |
D | healing.rscript | 102 float3 candidate = rsGetElementAt_float3(border, i).xyz; 103 sum += distance(orig, candidate);
|
/frameworks/native/services/surfaceflinger/CompositionEngine/src/planner/ |
D | Predictor.cpp | 325 const auto candidateMatches = [&](const PromotionCandidate& candidate) { in getApproximateMatch() argument 326 ALOGV("[getApproximateMatch] checking against %zx", candidate.hash); in getApproximateMatch() 327 return candidate.prediction.getExampleLayerStack().getApproximateMatch(layers) != in getApproximateMatch()
|
/frameworks/base/services/core/java/com/android/server/inputmethod/ |
D | InputMethodSubtypeSwitchingController.java | 290 final ImeSubtypeListItem candidate = mImeSubtypeList.get(candidateIndex); in getNextInputMethodLocked() local 293 if (onlyCurrentIme && !imi.equals(candidate.mImi)) { in getNextInputMethodLocked() 296 return candidate; in getNextInputMethodLocked()
|