Searched defs:desired (Results 1 - 9 of 9) sorted by relevance
/frameworks/base/core/java/com/android/internal/inputmethod/ |
H A D | LocaleUtils.java | 42 * Calculates a matching score for the single desired locale. 47 * @param desired The locale preferred by user. 52 @NonNull final ULocale desired) { 53 // Assuming supported/desired is fully expanded. 54 if (supported.equals(desired)) { 61 if (supportedScript.isEmpty() || !supportedScript.equals(desired.getScript())) { 67 if (supportedCountry.isEmpty() || !supportedCountry.equals(desired.getCountry())) { 76 * Calculates a matching score for the desired locale list. 79 * supported locale matches with the desired locale. The supported locale gets a matching 80 * score of 2 if the language and script of the supported locale matches with the desired 51 calculateMatchingSubScore(@onNull final ULocale supported, @NonNull final ULocale desired) argument 92 calculateMatchingScore(@onNull final ULocale supported, @NonNull final LocaleList desired, @NonNull byte[] out) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | LocaleList.java | 303 private static int matchScore(Locale supported, Locale desired) { argument 304 if (supported.equals(desired)) { 307 if (!supported.getLanguage().equals(desired.getLanguage())) { 310 if (isPseudoLocale(supported) || isPseudoLocale(desired)) { 322 supportedRegion.equals(desired.getCountry())) 325 final String desiredScr = getLikelyScript(desired);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | TestedFrameLayout.java | 94 public static int chooseSize(int spec, int desired, int min) { argument 101 return Math.min(size, desired); 104 return Math.max(desired, min);
|
/frameworks/wilhelm/src/itf/ |
H A D | IOutputMixExt.c | 210 unsigned desired = size; local 228 while (desired > 0) { 229 unsigned actual = desired; 269 desired -= actual; 311 // we need more data: desired > 0 but actual == 0
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternView.java | 642 private int resolveMeasured(int measureSpec, int desired) argument 648 result = desired; 651 result = Math.max(specSize, desired);
|
/frameworks/native/libs/binder/ |
H A D | Parcel.cpp | 2325 status_t Parcel::restartWrite(size_t desired) argument 2327 if (desired > INT32_MAX) { 2335 return continueWrite(desired); 2338 uint8_t* data = (uint8_t*)realloc(mData, desired); 2339 if (!data && desired > mDataCapacity) { 2347 LOG_ALLOC("Parcel %p: restart from %zu to %zu capacity", this, mDataCapacity, desired); 2349 gParcelGlobalAllocSize += desired; 2356 mDataCapacity = desired; 2374 status_t Parcel::continueWrite(size_t desired) argument 2376 if (desired > INT32_MA [all...] |
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageManagerTests.java | 1162 boolean checkMediaState(String desired) { argument 1164 if (desired.equals(actual)) {
|
/frameworks/base/core/java/android/widget/ |
H A D | TextView.java | 2985 * @param unit The desired dimension unit. 2986 * @param size The desired size in the given units. 6613 * this to do their desired behavior. 6761 * The width passed in is now the desired layout width, 6990 private static int desired(Layout layout) { method in class:TextView 7070 des = desired(mLayout); 7102 hintDes = desired(mHintLayout); 7189 int desired = getDesiredHeight(); 7191 height = desired; 7192 mDesiredHeightAtMeasure = desired; [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | RecyclerView.java | 2194 * is not in the focus direction is still valid focus target which may not be the desired 6734 * Chooses a size from the given specs and parameters that is closest to the desired size 6738 * @param desired The preferred measurement 6743 public static int chooseSize(int spec, int desired, int min) { argument 6750 return Math.min(size, Math.max(desired, min)); 6753 return Math.max(desired, min); 6782 * {@link RecyclerView#onMeasure(int, int)} call, then calculating desired dimensions based 7449 * any of the affected views; the LayoutManager is responsible for doing so if desired.
|
Completed in 558 milliseconds