/bionic/libc/stdio/ |
fread.c | 50 size_t resid; local 60 if ((resid = count * size) == 0) 65 total = resid; 135 while (resid > 0) { 136 int len = (*fp->_read)(fp->_cookie, p, resid ); 145 return ((total - resid) / size); 148 resid -= len; 156 while (resid > (size_t)(r = fp->_r)) { 161 resid -= r; 165 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 | 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...] |
/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);
|
/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),
|
/external/chromium_org/android_webview/java/src/org/chromium/android_webview/ |
AwResource.java | 65 private static String getResource(int resid, int type) { 66 assert resid != 0; local 70 String result = sResourceCache.get(resid) == null ? 71 null : sResourceCache.get(resid).get(); 75 result = sResources.getString(resid); 78 result = getRawFileResourceContent(resid); 84 sResourceCache.put(resid, new SoftReference<String>(result)); 89 private static String getRawFileResourceContent(int resid) { 90 assert resid != 0; local 98 sResources.openRawResource(resid)); [all...] |
/frameworks/base/services/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()));
|
/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 | 572 final int resid = data[index+AssetManager.STYLE_RESOURCE_ID]; local 573 if (resid != 0) { 574 return resid;
|
/packages/apps/Camera/src/com/android/camera/ |
PieController.java | 76 protected PieItem makeItem(int resId) { 78 Drawable d = mActivity.getResources().getDrawable(resId).mutate(); 92 int resid = -1; local 96 resid = iconIds[index]; 99 resid = pref.getSingleIcon(); 101 PieItem item = makeItem(resid);
|
/cts/tests/tests/media/src/android/media/cts/ |
MediaPlayerTest.java | 92 final int resid = R.raw.testmp3_2; local 94 MediaPlayer mp = MediaPlayer.create(mContext, resid); 125 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); [all...] |
/packages/apps/Camera2/src/com/android/camera/ |
PieController.java | 81 protected PieItem makeItem(int resId) { 83 Drawable d = mActivity.getResources().getDrawable(resId).mutate(); 97 int resid = -1; local 101 resid = iconIds[index]; 104 resid = pref.getSingleIcon(); 106 PieItem item = makeItem(resid); 140 int resid = -1; local 144 resid = iconIds[index]; 147 resid = pref.getSingleIcon(); 149 PieItem item = makeItem(resid); [all...] |
/packages/apps/Browser/src/com/android/browser/ |
BreadCrumbView.java | 176 int resid = outValue.resourceId; local 177 mBackButton.setBackgroundResource(resid);
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/scsi/ |
sg.h | 65 int resid; /* [o] dxfer_len - actual_transferred */ member in struct:sg_io_hdr
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/scsi/ |
sg.h | 65 int resid; /* [o] dxfer_len - actual_transferred */ member in struct:sg_io_hdr
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/scsi/ |
sg.h | 65 int resid; /* [o] dxfer_len - actual_transferred */ member in struct:sg_io_hdr
|
/frameworks/base/core/jni/ |
android_util_AssetManager.cpp | 581 jint resid) 589 if (!am->getResources().getResourceName(resid, true, &name)) { 624 jint resid) 632 if (!am->getResources().getResourceName(resid, true, &name)) { 644 jint resid) 652 if (!am->getResources().getResourceName(resid, true, &name)) { 668 jint resid) 676 if (!am->getResources().getResourceName(resid, true, &name)) { 1056 uint32_t resid = 0; local 1216 uint32_t resid = 0; local 1329 uint32_t resid = 0; local [all...] |
/packages/apps/Dialer/tests/src/com/android/dialer/calllog/ |
CallLogFragmentTest.java | 408 int resid = r.getIdentifier(resName, "drawable", "com.android.dialer"); local 409 BitmapDrawable d = (BitmapDrawable) r.getDrawable(resid);
|
/packages/apps/Settings/src/com/android/settings/ |
SecuritySettings.java | 138 int resid = 0; local 146 resid = R.xml.security_settings_lockscreen; 148 resid = R.xml.security_settings_chooser; 152 resid = R.xml.security_settings_biometric_weak; 156 resid = R.xml.security_settings_pattern; 159 resid = R.xml.security_settings_pin; 164 resid = R.xml.security_settings_password; 168 addPreferencesFromResource(resid); 218 if (resid == R.xml.security_settings_biometric_weak &&
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.4.3/sysroot/usr/include/linux/ |
nubus.h | 269 unsigned char resid; member in struct:nubus_dev
|
/prebuilts/gcc/linux-x86/host/i686-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
nubus.h | 269 unsigned char resid; member in struct:nubus_dev
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.7-4.6/sysroot/usr/include/linux/ |
nubus.h | 269 unsigned char resid; member in struct:nubus_dev
|
/packages/apps/Settings/src/com/android/settings/applications/ |
RunningState.java | 581 int resid = R.string.running_processes_item_description_s_s; local 583 resid = numServices != 1 587 resid = R.string.running_processes_item_description_s_p; 589 mDescription = context.getResources().getString(resid, numProcesses, [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
TextCandidatesViewManager.java | 474 int resid = 0; 478 resid = R.drawable.cand_up_press; 480 resid = R.drawable.cand_down_press; 485 resid = R.drawable.cand_up; 487 resid = R.drawable.cand_down; 494 if (resid != 0) { 495 mReadMoreButton.setImageResource(resid); 1117 int resid = 0; local [all...] |
/external/valgrind/main/include/vki/ |
vki-linux.h | 1742 int resid; \/* [o] dxfer_len - actual_transferred *\/ member in struct:vki_sg_io_hdr [all...] |