HomeSort by relevance Sort by last modified time
    Searched refs:resid (Results 1 - 25 of 139) sorted by null

1 2 3 4 5 6

  /bionic/libc/upstream-openbsd/lib/libc/stdio/
fread.c 45 size_t resid; local
63 if ((resid = count * size) == 0)
69 total = resid;
71 while (resid > (r = fp->_r)) {
76 resid -= r;
80 return ((total - resid) / size);
83 (void)memcpy((void *)p, (void *)fp->_p, resid);
84 fp->_r -= resid;
85 fp->_p += resid;
  /cts/tests/tests/content/src/android/content/res/cts/
ArrayTest.java 34 private void checkEntry(final int resid, final int index, final Object res,
36 assertEquals("in resource 0x" + Integer.toHexString(resid)
40 private void checkStringArray(final int resid, final String[] expected) {
41 final String[] res = mResources.getStringArray(resid);
44 checkEntry(resid, i, res[i], expected[i]);
48 private void checkTextArray(final int resid, final String[] expected) {
49 final CharSequence[] res = mResources.getTextArray(resid);
52 checkEntry(resid, i, res[i], expected[i]);
56 private void checkIntArray(final int resid, final int[] expected) {
57 final int[] res = mResources.getIntArray(resid);
    [all...]
PrimitiveTest.java 35 private void tryEnum(final int resid, final int expected) {
36 final TypedArray sa = mContext.obtainStyledAttributes(resid, R.styleable.EnumStyle);
41 + ": in resource 0x" + Integer.toHexString(resid), expected, value);
52 private void tryFlag(final int resid, final int expected) {
53 final TypedArray sa = mContext.obtainStyledAttributes(resid, R.styleable.FlagStyle);
58 + ": in resource 0x" + Integer.toHexString(resid), expected, value);
70 private void tryBoolean(final int resid, final boolean expected) {
72 mContext.getResources().getValue(resid, v, true);
75 + " from TypedValue: in resource 0x" + Integer.toHexString(resid),
78 + " from getBoolean(): in resource 0x" + Integer.toHexString(resid),
    [all...]
ResourceNameTest.java 47 int resid = res.getIdentifier( local
50 assertEquals(R.configVarying.simple, resid);
52 resid = res.getIdentifier("configVarying/simple", null,
54 assertEquals(R.configVarying.simple, resid);
56 resid = res.getIdentifier("simple", "configVarying",
58 assertEquals(R.configVarying.simple, resid);
ResourcesTest.java 137 private static void checkGetText1(final Resources res, final int resId,
139 final String actual = res.getText(resId).toString();
141 + "got '" + actual + "' from resource 0x" + Integer.toHexString(resId),
144 + ", got '" + actual + "' from resource 0x" + Integer.toHexString(resId),
148 private static void checkGetText2(final Resources res, final int resId,
150 final String actual = res.getText(resId, null).toString();
152 + "got '" + actual + "' from resource 0x" + Integer.toHexString(resId),
155 + ", got '" + actual + "' from resource 0x" + Integer.toHexString(resId),
395 int resid = mResources.getIdentifier(COM_ANDROID_CTS_STUB_IDENTIFIER, null, null); local
396 assertEquals(R.configVarying.simple, resid);
    [all...]
  /external/chromium_org/android_webview/java/src/org/chromium/android_webview/
AwResource.java 85 private static String getResource(int resid, int type) {
86 assert resid != 0; local
90 SoftReference<String> stringRef = sResourceCache.get(resid);
95 result = sResources.getString(resid);
98 result = getRawFileResourceContent(resid);
104 sResourceCache.put(resid, new SoftReference<String>(result));
109 private static String getRawFileResourceContent(int resid) {
110 assert resid != 0; local
118 sResources.openRawResource(resid));
  /packages/apps/Launcher2/src/com/android/launcher2/
UserInitializeReceiver.java 49 int resid = list.get(i); local
50 if (!wpm.hasResourceWallpaper(resid)) {
52 wpm.setResource(resid);
60 private void addWallpapers(Resources resources, String packageName, int resid,
62 final String[] extras = resources.getStringArray(resid);
  /packages/apps/LegacyCamera/src/com/android/camera/ui/
FocusIndicatorView.java 31 private void setDrawable(int resid) {
32 setBackgroundDrawable(getResources().getDrawable(resid));
  /frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
TintCheckBox.java 56 public void setButtonDrawable(int resid) {
57 setButtonDrawable(mTintManager.getDrawable(resid));
TintCheckedTextView.java 57 public void setCheckMarkDrawable(int resid) {
58 setCheckMarkDrawable(mTintManager.getDrawable(resid));
TintRadioButton.java 57 public void setButtonDrawable(int resid) {
58 setButtonDrawable(mTintManager.getDrawable(resid));
  /frameworks/base/core/java/android/view/
ContextThemeWrapper.java 83 @Override public void setTheme(int resid) {
84 mThemeResource = resid;
123 * @param resid The theme style resource being applied to <var>theme</var>.
127 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) {
128 theme.applyStyle(resid, true);
  /frameworks/base/core/java/com/google/android/util/
SmileyParser.java 71 int resid = mRes.getSmileyRes(token.getRawText()); local
72 if (resid != -1) {
73 builder.setSpan(new ImageSpan(context, resid),
  /frameworks/base/services/core/java/com/android/server/am/
AppNotRespondingDialog.java 50 int resid; local
58 resid = com.android.internal.R.string.anr_activity_application;
62 resid = com.android.internal.R.string.anr_application_process;
67 resid = com.android.internal.R.string.anr_activity_process;
70 resid = com.android.internal.R.string.anr_process;
75 ? res.getString(resid, name1.toString(), name2.toString())
76 : res.getString(resid, name1.toString()));
  /prebuilts/python/darwin-x86/2.7.5/lib/python2.7/plat-mac/
macresource.py 15 def need(restype, resid, filename=None, modname=None):
16 """Open a resource file, if needed. restype and resid
27 if type(resid) is type(1):
29 h = Res.GetResource(restype, resid)
36 h = Res.GetNamedResource(restype, resid)
71 if type(resid) is type(1):
72 h = Res.GetResource(restype, resid)
74 h = Res.GetNamedResource(restype, resid)
  /packages/apps/Calendar/src/com/android/calendar/
MultiStateButton.java 121 * @param resid the resource id of the drawable to use as the background
123 public void setButtonDrawable(int resid) {
124 if (resid != 0 && resid == mButtonResource) {
128 mButtonResource = resid;
  /packages/apps/ContactsCommon/TestCommon/src/com/android/contacts/common/test/mocks/
ContactsMockPackageManager.java 41 public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) {
  /frameworks/base/core/java/android/widget/
ImageSwitcher.java 38 public void setImageResource(int resid)
41 image.setImageResource(resid);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
AnimatedImageView.java 63 public void setImageResource(int resid) {
64 super.setImageResource(resid);
  /packages/apps/Settings/src/com/android/settings/widget/
AnimatedImageView.java 73 public void setImageResource(int resid) {
74 super.setImageResource(resid);
  /external/eigen/unsupported/Eigen/src/Eigenvalues/
ArpackSelfAdjointEigenSolver.h 427 Scalar *resid = new Scalar[n]; local
456 // residual vector is used, any other values means resid contains the initial residual
509 internal::arpack_wrapper<Scalar, RealScalar>::saupd(&ido, bmat, &n, whch, &nev, &tol, resid,
603 &sigma, bmat, &n, whch, &nev, &tol, resid, &ncv,
639 delete resid;
650 int *nev, float *tol, float *resid, int *ncv,
658 float *tol, float *resid, int *ncv, float *v,
665 int *nev, double *tol, double *resid, int *ncv,
673 double *tol, double *resid, int *ncv, double *v,
683 int *nev, RealScalar *tol, Scalar *resid, int *ncv
    [all...]
  /frameworks/base/test-runner/src/android/test/mock/
MockResources.java 204 public String getResourceName(int resid) throws NotFoundException {
209 public String getResourcePackageName(int resid) throws NotFoundException {
214 public String getResourceTypeName(int resid) throws NotFoundException {
219 public String getResourceEntryName(int resid) throws NotFoundException {
  /frameworks/base/tools/layoutlib/bridge/src/android/content/res/
Resources_Theme_Delegate.java 69 int resid, int[] attrs)
72 TypedArray ta = RenderSessionImpl.getCurrentContext().obtainStyledAttributes(resid, attrs);
91 int resid, TypedValue outValue,
95 resid, outValue, resolveRefs);
  /packages/services/Telecomm/src/com/android/server/telecom/
ErrorDialogActivity.java 61 private void showGenericErrorDialog(int resid) {
62 final CharSequence msg = getResources().getText(resid);
  /packages/services/Telephony/src/com/android/phone/
ErrorDialogActivity.java 54 private void showGenericErrorDialog(int resid) {
55 final CharSequence msg = getResources().getText(resid);

Completed in 394 milliseconds

1 2 3 4 5 6