Searched defs:desired (Results 1 - 10 of 10) sorted by relevance
/frameworks/base/core/java/com/android/internal/inputmethod/ |
H A D | LocaleUtils.java | 43 * Calculates a matching score for the single desired locale. 48 * @param desired The locale preferred by user. 53 @NonNull final ULocale desired) { 54 // Assuming supported/desired is fully expanded. 55 if (supported.equals(desired)) { 62 if (supportedScript.isEmpty() || !supportedScript.equals(desired.getScript())) { 68 if (supportedCountry.isEmpty() || !supportedCountry.equals(desired.getCountry())) { 52 calculateMatchingSubScore(@onNull final ULocale supported, @NonNull final ULocale desired) argument
|
/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/compat/java/android/support/v4/os/ |
H A D | LocaleListHelper.java | 313 private static int matchScore(Locale supported, Locale desired) { argument 314 if (supported.equals(desired)) { 317 if (!supported.getLanguage().equals(desired.getLanguage())) { 320 if (isPseudoLocale(supported) || isPseudoLocale(desired)) { 331 return (supportedRegion.isEmpty() || supportedRegion.equals(desired.getCountry())) 335 final String desiredScr = getLikelyScript(desired);
|
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | TestedFrameLayout.java | 90 public static int chooseSize(int spec, int desired, int min) { argument 97 return Math.min(size, desired); 100 return Math.max(desired, min);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | LockPatternView.java | 640 private int resolveMeasured(int measureSpec, int desired) argument 646 result = desired; 649 result = Math.max(specSize, desired);
|
H A D | RecyclerView.java | 2237 * is not in the focus direction is still valid focus target which may not be the desired 7004 * Chooses a size from the given specs and parameters that is closest to the desired size 7008 * @param desired The preferred measurement 7013 public static int chooseSize(int spec, int desired, int min) { argument 7020 return Math.min(size, Math.max(desired, min)); 7023 return Math.max(desired, min); 7052 * {@link RecyclerView#onMeasure(int, int)} call, then calculating desired dimensions based 7765 * any of the affected views; the LayoutManager is responsible for doing so if desired.
|
/frameworks/base/core/tests/coretests/src/android/content/pm/ |
H A D | PackageManagerTests.java | 1165 boolean checkMediaState(String desired) { argument 1167 if (desired.equals(actual)) {
|
/frameworks/native/libs/binder/ |
H A D | Parcel.cpp | 2485 status_t Parcel::restartWrite(size_t desired) argument 2487 if (desired > INT32_MAX) { 2495 return continueWrite(desired); 2498 uint8_t* data = (uint8_t*)realloc(mData, desired); 2499 if (!data && desired > mDataCapacity) { 2507 LOG_ALLOC("Parcel %p: restart from %zu to %zu capacity", this, mDataCapacity, desired); 2509 gParcelGlobalAllocSize += desired; 2516 mDataCapacity = desired; 2534 status_t Parcel::continueWrite(size_t desired) argument 2536 if (desired > INT32_MA [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | TextView.java | 1784 * @param unit the desired dimension unit for all sizes above. See {@link TypedValue} for the 1829 * @param unit the desired dimension unit for the preset sizes above. See {@link TypedValue} for 3623 * @param unit The desired dimension unit. 3624 * @param size The desired size in the given units. 7662 * this to do their desired behavior. 7811 * The width passed in is now the desired layout width, 8040 private static int desired(Layout layout) { method in class:TextView 8121 des = desired(mLayout); 8154 hintDes = desired(mHintLayout); 8241 int desired [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | RecyclerView.java | 1495 * @param index The index position of the desired ItemDecoration. 2376 * is not in the focus direction is still valid focus target which may not be the desired 7312 * Chooses a size from the given specs and parameters that is closest to the desired size 7316 * @param desired The preferred measurement 7321 public static int chooseSize(int spec, int desired, int min) { argument 7328 return Math.min(size, Math.max(desired, min)); 7331 return Math.max(desired, min); 7360 * {@link RecyclerView#onMeasure(int, int)} call, then calculating desired dimensions based 8073 * any of the affected views; the LayoutManager is responsible for doing so if desired.
|
Completed in 444 milliseconds