Home
last modified time | relevance | path

Searched refs:desired (Results 1 – 25 of 33) sorted by relevance

12

/frameworks/base/services/core/java/com/android/server/inputmethod/
DLocaleUtils.java51 @NonNull final ULocale desired) { in calculateMatchingSubScore() argument
53 if (supported.equals(desired)) { in calculateMatchingSubScore()
59 ULocale maxDesired = ULocale.addLikelySubtags(desired); in calculateMatchingSubScore()
79 String desiredScript = desired.getScript(); in calculateMatchingSubScore()
80 String desiredCountry = desired.getCountry(); in calculateMatchingSubScore()
/frameworks/native/libs/binder/
DParcel.cpp2967 status_t Parcel::restartWrite(size_t desired) in restartWrite() argument
2969 if (desired > INT32_MAX) { in restartWrite()
2977 return continueWrite(desired); in restartWrite()
2982 uint8_t* data = reallocZeroFree(mData, mDataCapacity, desired, mDeallocZero); in restartWrite()
2983 if (!data && desired > mDataCapacity) { in restartWrite()
2989 if (data || desired == 0) { in restartWrite()
2990 LOG_ALLOC("Parcel %p: restart from %zu to %zu capacity", this, mDataCapacity, desired); in restartWrite()
2991 if (mDataCapacity > desired) { in restartWrite()
2992 gParcelGlobalAllocSize -= (mDataCapacity - desired); in restartWrite()
2994 gParcelGlobalAllocSize += (desired - mDataCapacity); in restartWrite()
[all …]
/frameworks/base/core/java/android/os/
DLocaleList.java349 Locale supported, @SuppressLint("UseIcu") @NonNull Locale desired) { in matchesLanguageAndScript() argument
350 if (supported.equals(desired)) { in matchesLanguageAndScript()
353 if (!supported.getLanguage().equals(desired.getLanguage())) { in matchesLanguageAndScript()
356 if (isPseudoLocale(supported) || isPseudoLocale(desired)) { in matchesLanguageAndScript()
367 return supportedRegion.isEmpty() || supportedRegion.equals(desired.getCountry()); in matchesLanguageAndScript()
369 final String desiredScr = getLikelyScript(desired); in matchesLanguageAndScript()
/frameworks/av/media/libheadtracking/
DREADME.md32 - Actual operational mode. May deviate from the desired one in cases where the
33 desired mode cannot be calculated (for example, as result of dropped messages
165 the “desired mode” signal that indicates whether the preference is to be in
168 The actual mode may diverge from the desired mode. It is determined as follows:
170 - If the desired mode is static, the actual mode is static.
171 - If the desired mode is world-relative:
175 - If the desired mode is screen-relative:
178 - Otherwise, apply the same rules as the desired mode being world-relative.
/frameworks/hardware/interfaces/automotive/telemetry/aidl/
DAndroid.bp21 // Depend on "android.frameworks.automotive.telemetry-V1-ndk". Change "V1" to desired version (it
22 // must be always provided), and "ndk" to a desired AIDL back-end.
/frameworks/wilhelm/src/itf/
DIOutputMixExt.cpp210 unsigned desired = size; in IOutputMixExt_FillBuffer() local
228 while (desired > 0) { in IOutputMixExt_FillBuffer()
229 unsigned actual = desired; in IOutputMixExt_FillBuffer()
269 desired -= actual; in IOutputMixExt_FillBuffer()
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-common/SRC/
DDriverView.java.template38 // Initialize renderscript with desired surface characteristics.
/frameworks/base/core/java/android/window/flags/
Dwindow_surfaces.aconfig59 description: "Feature flag for the new SDK API to set desired present time"
/frameworks/base/tools/aapt/
DBundle.h262 bool isMinSdkAtLeast(int desired) const { in isMinSdkAtLeast() argument
280 if (minSdkNum < desired) { in isMinSdkAtLeast()
/frameworks/av/media/module/extractors/ogg/
DOggExtractor.cpp426 ssize_t desired = sizeof(signatureBuffer); in findPrevGranulePosition() local
427 if (firstAfter >= desired) { in findPrevGranulePosition()
428 nextOffset = firstAfter - desired; in findPrevGranulePosition()
431 desired = firstAfter; in findPrevGranulePosition()
433 ssize_t n = mSource->readAt(nextOffset, &signatureBuffer, desired); in findPrevGranulePosition()
/frameworks/base/packages/SystemUI/accessibility/accessibilitymenu/
DREADME.md34 the displayed name of the shortcut and the desired text-to-speech output.
/frameworks/native/services/surfaceflinger/TimeStats/timestatsatomsproto/
Dtimestats_atoms.proto208 // Set of timings measured from the desired presentation to the actual
216 // Frames latched early because the desired present time was bad
262 // The desired frame rate the application wishes to run on.
/frameworks/native/opengl/specs/
DEGL_ANDROID_presentation_time.txt41 this desired presentation time to be specified for each frame rendered to
/frameworks/base/tools/protologtool/
DREADME.md110 To add a new ProtoLogGroup simple create a new enum ProtoLogGroup member with desired parameters.
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java744 private int resolveMeasured(int measureSpec, int desired) in resolveMeasured() argument
750 result = desired; in resolveMeasured()
753 result = Math.max(specSize, desired); in resolveMeasured()
/frameworks/base/graphics/java/android/graphics/
DColorSpace.java1430 float[] desired = ILLUMINANT_D50; in adaptToIlluminantD50() local
1431 if (compare(origWhitePoint, desired)) return origTransform; in adaptToIlluminantD50()
1433 float[] xyz = xyYToXyz(desired); in adaptToIlluminantD50()
/frameworks/proto_logging/stats/enums/stats/dnsresolver/
Ddns_resolver.proto259 SYS_ENOMSG = 42; // No message of desired type
/frameworks/native/services/surfaceflinger/tests/unittests/
DRefreshRateSelectorTest.cpp2278 for (auto [desired, expected] : testCases) { in TEST_P()
2280 lr.desiredRefreshRate = desired; in TEST_P()
2283 ss << "ExplicitDefault " << desired; in TEST_P()
2288 << "expected " << expected << " for " << desired << " but got " in TEST_P()
2359 for (auto desired : {23.976_Hz, 24_Hz, 25_Hz, 29.97_Hz, 30_Hz, 50_Hz, 59.94_Hz, 60_Hz}) { in TEST_P()
2361 lr.desiredRefreshRate = desired; in TEST_P()
2363 ss << "ExplicitExact " << desired; in TEST_P()
/frameworks/base/core/java/android/window/
DSurfaceSyncGroup.md37 …cGroup has completed. The Executor is used to invoke the callback on the desired thread. You can a…
/frameworks/native/include/binder/
DParcel.h678 status_t restartWrite(size_t desired);
680 status_t continueWrite(size_t desired);
/frameworks/native/libs/binder/include/binder/
DParcel.h678 status_t restartWrite(size_t desired);
680 status_t continueWrite(size_t desired);
/frameworks/native/services/surfaceflinger/sysprop/
DSurfaceFlingerProperties.sysprop500 # desired frame rate via setFrameRate() API. However, to cover the scenario when the game didn't
/frameworks/layoutlib/create/
DREADME.txt133 The ClassAdapters are chained together to achieve the desired output. (Look at section 2.2.7
/frameworks/base/services/core/java/com/android/server/rollback/
DREADME.md176 desired.
/frameworks/av/services/audioflinger/
DThreads.h1051 const int32_t desired = suspended - 1; in restore() local
1052 if (mSuspended.compare_exchange_weak(suspended, desired)) return; in restore()

12