Home
last modified time | relevance | path

Searched refs:desired (Results 1 – 25 of 114) 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.cpp2325 status_t Parcel::restartWrite(size_t desired) in restartWrite() argument
2327 if (desired > INT32_MAX) { in restartWrite()
2335 return continueWrite(desired); in restartWrite()
2338 uint8_t* data = (uint8_t*)realloc(mData, desired); in restartWrite()
2339 if (!data && desired > mDataCapacity) { in restartWrite()
2347 LOG_ALLOC("Parcel %p: restart from %zu to %zu capacity", this, mDataCapacity, desired); in restartWrite()
2349 gParcelGlobalAllocSize += desired; in restartWrite()
2356 mDataCapacity = desired; in restartWrite()
2374 status_t Parcel::continueWrite(size_t desired) in continueWrite() argument
2376 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/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.java6990 private static int desired(Layout layout) { in desired() method in TextView
7070 des = desired(mLayout); in onMeasure()
7102 hintDes = desired(mHintLayout); in onMeasure()
7189 int desired = getDesiredHeight(); in onMeasure() local
7191 height = desired; in onMeasure()
7192 mDesiredHeightAtMeasure = desired; in onMeasure()
7195 height = Math.min(desired, heightSize); in onMeasure()
7232 int desired = layout.getLineTop(linecount); in getDesiredHeight() local
7236 desired = Math.max(desired, dr.mDrawableHeightLeft); in getDesiredHeight()
7237 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/tv/playback/
Donboarding.jd336 OnboardingFragment's} parent activity to use the desired theme. The following
362 onProvideTheme()} and return the desired theme. Use this approach if
365 or if the parent activity can't use the desired theme.
/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.java642 private int resolveMeasured(int measureSpec, int desired) in resolveMeasured() argument
648 result = desired; in resolveMeasured()
651 result = Math.max(specSize, desired); in resolveMeasured()
/frameworks/base/docs/html/training/basics/firstapp/
Drunning-app.jd89 <li>In the <b>System Image</b> screen, choose the desired system image for the AVD and
/frameworks/native/include/binder/
DParcel.h370 status_t restartWrite(size_t desired);
371 status_t continueWrite(size_t desired);
/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
Ddisplay-contact-badge.jd156 // A content URI for the desired contact
163 * Insert code here to move to the desired cursor row
/frameworks/base/docs/html/guide/topics/ui/
Dhow-android-draws.jd114 used by a parent to determine the desired dimension
/frameworks/base/docs/html/training/gestures/
Dmulti.jd131 the desired action associated with that event.</p>
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
DStaggeredGridLayoutManager.java747 int desired = Math.round(maxSize * mSpanCount);
749 desired = Math.min(desired, mSecondaryOrientation.getTotalSpace());
751 updateMeasureSpecs(desired);
/frameworks/base/docs/html/guide/topics/ui/layout/
Dgridview.jd166 configured with desired properties for the image presentation:</p>
/frameworks/base/docs/html/training/tv/tif/
Dcontent-recording.jd95 desired channel by calling

12345