/bionic/libc/stdio/ |
fread.c | 51 size_t resid; local 61 if ((resid = count * size) == 0) 65 total = resid; 122 while (resid > 0) { 123 int len = (*fp->_read)(fp->_cookie, p, resid ); 131 return ((total - resid) / size); 134 resid -= len; 141 while (resid > (size_t)(r = fp->_r)) { 146 resid -= r; 149 return ((total - resid) / size) [all...] |
/cts/tests/tests/content/src/android/content/res/cts/ |
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 | 187 private static void checkGetText1(final Resources res, final int resId, 189 final String actual = res.getText(resId).toString(); 191 + "got '" + actual + "' from resource 0x" + Integer.toHexString(resId), 194 + ", got '" + actual + "' from resource 0x" + Integer.toHexString(resId), 198 private static void checkGetText2(final Resources res, final int resId, 200 final String actual = res.getText(resId, null).toString(); 202 + "got '" + actual + "' from resource 0x" + Integer.toHexString(resId), 205 + ", got '" + actual + "' from resource 0x" + Integer.toHexString(resId), 596 int resid = mResources.getIdentifier(COM_ANDROID_CTS_STUB_IDENTIFIER, null, null); local 597 assertEquals(R.configVarying.simple, resid); [all...] |
/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/java/com/android/server/am/ |
AppNotRespondingDialog.java | 52 int resid; local 60 resid = com.android.internal.R.string.anr_activity_application; 64 resid = com.android.internal.R.string.anr_application_process; 69 resid = com.android.internal.R.string.anr_activity_process; 72 resid = com.android.internal.R.string.anr_process; 77 ? res.getString(resid, name1.toString(), name2.toString()) 78 : res.getString(resid, name1.toString()));
|
/frameworks/base/core/java/android/content/pm/ |
PackageItemInfo.java | 214 int resid = metaData.getInt(name); local 215 if (resid != 0) { 216 return pm.getXml(packageName, resid, getApplicationInfo());
|
/frameworks/base/core/java/android/content/res/ |
TypedArray.java | 571 final int resid = data[index+AssetManager.STYLE_RESOURCE_ID]; local 572 if (resid != 0) { 573 return resid;
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
RecentCallsListActivityTests.java | 196 int resid = r.getIdentifier(resName, "drawable", "com.android.contacts"); local 197 BitmapDrawable d = (BitmapDrawable) r.getDrawable(resid);
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaPlayerTest.java | 218 final int resid = R.raw.testmp3_2; local 220 MediaPlayer mp = MediaPlayer.create(mContext, resid); 250 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); 338 final int resid = R.raw.testvideo; 343 AssetFileDescriptor afd = mResources.openRawResourceFd(resid);
|
/frameworks/base/core/java/android/webkit/ |
BrowserFrame.java | 851 int resid; local 854 resid = com.android.internal.R.raw.nodomain; 858 resid = com.android.internal.R.raw.loaderror; [all...] |
/frameworks/base/core/jni/ |
android_util_AssetManager.cpp | 608 jint resid) 616 if (!am->getResources().getResourceName(resid, &name)) { 643 jint resid) 651 if (!am->getResources().getResourceName(resid, &name)) { 663 jint resid) 671 if (!am->getResources().getResourceName(resid, &name)) { 683 jint resid) 691 if (!am->getResources().getResourceName(resid, &name)) { 1080 uint32_t resid = 0; local 1241 uint32_t resid = 0; local 1354 uint32_t resid = 0; local [all...] |
/packages/apps/Settings/src/com/android/settings/applications/ |
RunningState.java | 461 int resid = R.string.running_processes_item_description_s_s; local 463 resid = numServices != 1 467 resid = R.string.running_processes_item_description_s_p; 469 mDescription = context.getResources().getString(resid, numProcesses, [all...] |
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
PhoneWindow.java | 890 public final void setFeatureDrawableResource(int featureId, int resId) { 891 if (resId != 0) { 893 if (st.resid != resId) { 894 st.resid = resId; 896 st.local = getContext().getResources().getDrawable(resId); 909 st.resid = 0; 922 st.resid = 0; 2557 int resid; field in class:PhoneWindow.DrawableFeatureState [all...] |
/packages/apps/Contacts/src/com/android/contacts/ |
ContactsListActivity.java | 1918 int resid; local [all...] |
/prebuilt/sdk/5/ |
android.jar | |
/prebuilt/sdk/6/ |
android.jar | |
/prebuilt/sdk/7/ |
android.jar | |
/prebuilt/sdk/4/ |
android.jar | |
/prebuilt/sdk/8/ |
android.jar | |