/cts/tests/tests/media/src/android/media/cts/ |
MediaPlayerTestBase.java | 145 protected void loadResource(int resid) throws Exception { 146 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); 164 protected void loadSubtitleSource(int resid) throws Exception { 165 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); 199 protected void playVideoTest(int resid, int width, int height) throws Exception { 200 loadResource(resid);
|
MediaRandomTest.java | 164 private void loadSource(int resid) throws Exception { 165 AssetFileDescriptor afd = mResources.openRawResourceFd(resid); 179 private void testPlayerRandomAction(int resid) throws Exception { 193 loadSource(resid);
|
/cts/tests/tests/content/src/android/content/res/cts/ |
FractionTest.java | 76 private void tryFraction(final int resid, final float base, final float pbase, 78 mResources.getValue(resid, mValue, true); 87 + Integer.toHexString(resid) + " " + mValue, diff > prec);
|
/frameworks/base/core/java/android/app/ |
DatePickerDialog.java | 85 static int resolveDialogTheme(Context context, int resid) { 86 if (resid == 0) { 91 return resid;
|
TimePickerDialog.java | 80 static int resolveDialogTheme(Context context, int resid) { 81 if (resid == 0) { 86 return resid;
|
AlertDialog.java | 139 static int resolveDialogTheme(Context context, int resid) { 140 if (resid == THEME_TRADITIONAL) { 142 } else if (resid == THEME_HOLO_DARK) { 144 } else if (resid == THEME_HOLO_LIGHT) { 146 } else if (resid == THEME_DEVICE_DEFAULT_DARK) { 148 } else if (resid == THEME_DEVICE_DEFAULT_LIGHT) { 150 } else if (resid >= 0x01000000) { // start of real resource IDs. 151 return resid; 326 * Set resId to 0 if you don't want an icon. 327 * @param resId the resourceId of the drawable to use as the icon or [all...] |
/cts/tests/app/src/android/app/cts/ |
AppStubActivity.java | 138 int resid, 140 super.onApplyThemeResource(theme,resid,first);
|
/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);
|
/packages/apps/Settings/src/com/android/settings/wifi/ |
WifiSetupActivity.java | 170 protected void onApplyThemeResource(Resources.Theme theme, int resid, boolean first) { 174 resid = R.style.SetupWizardWifiTheme_Light; 177 resid = R.style.SetupWizardWifiTheme; 179 super.onApplyThemeResource(theme, resid, first);
|
/cts/tests/tests/view/src/android/view/cts/ |
ContextThemeWrapperTest.java | 39 protected void onApplyThemeResource(Theme theme, int resid, boolean first) { 41 super.onApplyThemeResource(theme, resid, first);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/shadows/ |
ShadowContext.java | 45 public String getString(int resId) { 46 return realContext.getResources().getString(resId); 50 public CharSequence getText(int resId) { 51 return realContext.getResources().getText(resId); 55 public String getString(int resId, Object... formatArgs) { 56 return realContext.getResources().getString(resId, formatArgs); 70 int resid, int[] attrs) throws Resources.NotFoundException { 71 return getTheme().obtainStyledAttributes(resid, attrs);
|
ShadowResources.java | 223 public TypedArray obtainStyledAttributes(int resid, int[] attrs) throws android.content.res.Resources.NotFoundException { 233 public boolean resolveAttribute (int resid, TypedValue outValue, boolean resolveRefs) { 234 TypedValue foundValue = attrMap.get(resid);
|
/frameworks/base/core/java/android/widget/ |
CheckedTextView.java | 137 * @param resid The Drawable to use for the checkmark. 144 public void setCheckMarkDrawable(int resid) { 145 if (resid != 0 && resid == mCheckMarkResource) { 149 mCheckMarkResource = resid;
|
CompoundButton.java | 201 * @param resid the resource id of the drawable to use as the button 204 public void setButtonDrawable(int resid) { 205 if (resid != 0 && resid == mButtonResource) { 209 mButtonResource = resid;
|
/prebuilts/gcc/linux-x86/host/x86_64-linux-glibc2.11-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.11-4.8/sysroot/usr/include/scsi/ |
sg.h | 65 int resid; /* [o] dxfer_len - actual_transferred */ member in struct:sg_io_hdr
|
/frameworks/base/core/java/android/content/pm/ |
PackageItemInfo.java | 260 int resid = metaData.getInt(name); local 261 if (resid != 0) { 262 return pm.getXml(packageName, resid, getApplicationInfo());
|
/frameworks/base/services/tests/servicestests/src/com/android/server/search/ |
SearchablesTest.java | 364 * @param resid The resource identifier of the desired xml. Can not be 0. 375 public XmlResourceParser getXml(String packageName, int resid, ApplicationInfo appInfo) { 378 MoreAsserts.assertNotEqual(resid, 0); 381 return mRealPackageManager.getXml(packageName, resid, appInfo);
|
/packages/apps/Settings/src/com/android/settings/ |
SecuritySettings.java | 151 int resid = 0; local 159 resid = R.xml.security_settings_lockscreen; 161 resid = R.xml.security_settings_chooser; 165 resid = R.xml.security_settings_biometric_weak; 169 resid = R.xml.security_settings_pattern; 173 resid = R.xml.security_settings_pin; 178 resid = R.xml.security_settings_password; 182 return resid; 200 final int resid = getResIdForLockUnlockScreen(getActivity(), mLockPatternUtils); local 201 addPreferencesFromResource(resid); [all...] |
/frameworks/base/core/java/android/content/res/ |
Resources.java | [all...] |
AssetManager.java | 690 /*package*/ native final String getResourceName(int resid); 691 /*package*/ native final String getResourcePackageName(int resid); 692 /*package*/ native final String getResourceTypeName(int resid); 693 /*package*/ native final String getResourceEntryName(int resid);
|
/external/robolectric/src/main/java/com/xtremelabs/robolectric/tester/android/content/pm/ |
StubPackageManager.java | 182 @Override public Drawable getDrawable(String packageName, int resid, ApplicationInfo appInfo) { 222 @Override public CharSequence getText(String packageName, int resid, ApplicationInfo appInfo) { 226 @Override public XmlResourceParser getXml(String packageName, int resid, ApplicationInfo appInfo) {
|
/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/fio/engines/ |
windowsaio.c | 344 io_u->resid = io_u->xfer_buflen; 356 io_u->resid = io_u->xfer_buflen; 384 io_u->resid = io_u->xfer_buflen - ovl->InternalHigh; 387 io_u->resid = io_u->xfer_buflen;
|
/external/strace/ |
scsi.c | 101 tprintf("resid=%d, ", sg_io->resid);
|