Home
last modified time | relevance | path

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

12345

/frameworks/base/core/java/com/android/internal/inputmethod/
DLocaleUtils.java52 @NonNull final ULocale desired) { in calculateMatchingSubScore() argument
54 if (supported.equals(desired)) { in calculateMatchingSubScore()
61 if (supportedScript.isEmpty() || !supportedScript.equals(desired.getScript())) { in calculateMatchingSubScore()
67 if (supportedCountry.isEmpty() || !supportedCountry.equals(desired.getCountry())) { in calculateMatchingSubScore()
93 @NonNull final LocaleList desired, @NonNull byte[] out) { in calculateMatchingScore() argument
94 if (desired.isEmpty()) { in calculateMatchingScore()
99 final int N = desired.size(); in calculateMatchingScore()
101 final Locale locale = desired.get(i); in calculateMatchingScore()
/frameworks/native/libs/binder/
DParcel.cpp2324 status_t Parcel::restartWrite(size_t desired) in restartWrite() argument
2326 if (desired > INT32_MAX) { in restartWrite()
2334 return continueWrite(desired); in restartWrite()
2337 uint8_t* data = (uint8_t*)realloc(mData, desired); in restartWrite()
2338 if (!data && desired > mDataCapacity) { in restartWrite()
2346 LOG_ALLOC("Parcel %p: restart from %zu to %zu capacity", this, mDataCapacity, desired); in restartWrite()
2348 gParcelGlobalAllocSize += desired; in restartWrite()
2355 mDataCapacity = desired; in restartWrite()
2373 status_t Parcel::continueWrite(size_t desired) in continueWrite() argument
2375 if (desired > INT32_MAX) { in continueWrite()
[all …]
/frameworks/base/core/java/android/os/
DLocaleList.java303 private static int matchScore(Locale supported, Locale desired) { in matchScore() argument
304 if (supported.equals(desired)) { in matchScore()
307 if (!supported.getLanguage().equals(desired.getLanguage())) { in matchScore()
310 if (isPseudoLocale(supported) || isPseudoLocale(desired)) { in matchScore()
322 supportedRegion.equals(desired.getCountry())) in matchScore()
325 final String desiredScr = getLikelyScript(desired); in matchScore()
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
DTestedFrameLayout.java94 public static int chooseSize(int spec, int desired, int min) { in chooseSize() argument
101 return Math.min(size, desired); in chooseSize()
104 return Math.max(desired, min); in chooseSize()
/frameworks/wilhelm/src/itf/
DIOutputMixExt.c210 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/base/docs/html/training/system-ui/
Dvisibility.jd63 // TODO: The system bars are visible. Make any desired
67 // TODO: The system bars are NOT visible. Make any desired
Dstatus.jd186 <p>In some cases, however, you may need to modify the default padding to get the desired
/frameworks/base/docs/html/ndk/guides/graphics/
Dvalidation-layer.jd202 // Make sure the desired instance validation layers are available
231 // Pass desired instance layers into vkCreateInstance
271 // Make sure the desired device validation layers are available
299 // Pass desired device layers into vkCreateDevice
361 // Create the debug callback with desired settings
/frameworks/compile/libbcc/tests/debuginfo/target-tests/driver-common/SRC/
DDriverView.java.template38 // Initialize renderscript with desired surface characteristics.
/frameworks/base/tools/aapt/
DBundle.h254 bool isMinSdkAtLeast(int desired) const { in isMinSdkAtLeast() argument
272 if (minSdkNum < desired) { in isMinSdkAtLeast()
/frameworks/base/core/java/android/widget/
DTextView.java6985 private static int desired(Layout layout) { in desired() method in TextView
7065 des = desired(mLayout); in onMeasure()
7097 hintDes = desired(mHintLayout); in onMeasure()
7184 int desired = getDesiredHeight(); in onMeasure() local
7186 height = desired; in onMeasure()
7187 mDesiredHeightAtMeasure = desired; in onMeasure()
7190 height = Math.min(desired, heightSize); in onMeasure()
7227 int desired = layout.getLineTop(linecount); in getDesiredHeight() local
7231 desired = Math.max(desired, dr.mDrawableHeightLeft); in getDesiredHeight()
7232 desired = Math.max(desired, dr.mDrawableHeightRight); in getDesiredHeight()
[all …]
/frameworks/base/docs/html/guide/topics/connectivity/usb/
Dhost.jd109 android.hardware.usb.UsbManager} to retrieve the desired {@link android.hardware.usb.UsbDevice}.
198 communication with the device if desired. To do this, your application has to:</p>
215 desired device. Enumerating connected USB devices is useful if you want to get a list of all
271 <p>If desired, you can also just obtain an iterator from the hash map and process each device one
/frameworks/base/docs/html/training/design-navigation/
Dindex.jd47 …hic mockups) representing the screens in a news application based on the desired information model…
/frameworks/native/opengl/specs/
DEGL_ANDROID_presentation_time.txt41 this desired presentation time to be specified for each frame rendered to
/frameworks/base/docs/html/training/wearables/data-layer/
Dassets.jd30 assets can be as large as desired. However, transferring large assets affects the
/frameworks/base/core/java/com/android/internal/widget/
DLockPatternView.java626 private int resolveMeasured(int measureSpec, int desired) in resolveMeasured() argument
632 result = desired; in resolveMeasured()
635 result = Math.max(specSize, desired); in resolveMeasured()
/frameworks/native/include/binder/
DParcel.h370 status_t restartWrite(size_t desired);
371 status_t continueWrite(size_t desired);
/frameworks/base/docs/html/training/basics/firstapp/
Drunning-app.jd109 <li>Select the desired system version for the AVD and click <strong>Next</strong>.
/frameworks/base/docs/html/training/contacts-provider/
Dmodify-data.jd263 {@link android.content.Intent#putExtra putExtra()} as desired.
301 // Add code here to insert extended data, if desired
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DStaggeredGridLayoutManager.java734 int desired = Math.round(maxSize * mSpanCount);
736 desired = Math.min(desired, mSecondaryOrientation.getTotalSpace());
738 updateMeasureSpecs(desired);
/frameworks/base/docs/html/guide/topics/ui/
Dhow-android-draws.jd114 used by a parent to determine the desired dimension
/frameworks/base/docs/html/preview/features/
Dtv-recording-api.jd85 your app has tuned to the desired channel by calling <code>notifyTuned()</code>,
/frameworks/base/docs/html/training/gestures/
Dmulti.jd131 the desired action associated with that event.</p>
/frameworks/base/docs/html/guide/topics/ui/layout/
Dgridview.jd166 configured with desired properties for the image presentation:</p>
/frameworks/base/docs/html/ndk/guides/audio/
Dsample-rates.jd38 quality determination and the sampling ratios desired. Based on the

12345