/frameworks/base/core/tests/coretests/src/android/pim/vcard/ |
H A D | ContentValuesVerifier.java | 46 public void verify(int resId, int vCardType) throws IOException, VCardException { argument 47 verify(mTestCase.getContext().getResources().openRawResource(resId), vCardType); 50 public void verify(int resId, int vCardType, final VCardParser vCardParser) argument 52 verify(mTestCase.getContext().getResources().openRawResource(resId),
|
H A D | ContentValuesVerifierElem.java | 52 public void verify(int resId, int vCardType) argument 54 verify(mTestCase.getContext().getResources().openRawResource(resId), vCardType);
|
H A D | PropertyNodesVerifier.java | 52 public void verify(int resId, int vCardType) argument 54 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId), vCardType); 57 public void verify(int resId, int vCardType, final VCardParser vCardParser) argument 59 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId),
|
H A D | VCardImporterTests.java | 735 private void testV21Japanese1Common(int resId, int vcardType, boolean japanese) { argument 736 mVerifier.initForImportTest(vcardType, resId);
|
H A D | VCardVerifier.java | 104 public void initForImportTest(int vcardType, int resId) { argument 111 setInputResourceId(resId); 115 private void setInputResourceId(int resId) { argument 116 InputStream inputStream = mTestCase.getContext().getResources().openRawResource(resId); 118 mTestCase.fail("Wrong resId: " + resId);
|
/frameworks/base/services/java/com/android/server/ |
H A D | AttributeCache.java | 97 public Entry get(String packageName, int resId, int[] styleable) { argument 103 map = pkg.mMap.get(resId); 126 pkg.mMap.put(resId, map); 131 pkg.context.obtainStyledAttributes(resId, styleable));
|
/frameworks/base/telephony/tests/telephonytests/src/com/android/telephonytest/unit/ |
H A D | CallerInfoUnitTest.java | 128 public String getString(int resId) throws Resources.NotFoundException { argument 129 switch (resId) { 133 throw new UnsupportedOperationException("Missing handling for resid " + resId);
|
/frameworks/base/core/java/android/preference/ |
H A D | PreferenceGroupAdapter.java | 92 private int resId; field in class:PreferenceGroupAdapter.PreferenceLayout 99 if (resId == other.resId) { 106 return resId - other.resId; 179 pl.resId = preference.getLayoutResource();
|
H A D | PreferenceManager.java | 238 * @param resId The resource ID of the XML to inflate. 245 public PreferenceScreen inflateFromResource(Context context, int resId, argument 251 rootPreferences = (PreferenceScreen) inflater.inflate(resId, rootPreferences, true); 410 * @param resId The resource ID of the preference hierarchy XML file. 419 public static void setDefaultValues(Context context, int resId, boolean readAgain) { argument 423 getDefaultSharedPreferencesMode(), resId, readAgain); 436 int sharedPreferencesMode, int resId, boolean readAgain) { 444 pm.inflateFromResource(context, resId, null); 435 setDefaultValues(Context context, String sharedPreferencesName, int sharedPreferencesMode, int resId, boolean readAgain) argument
|
/frameworks/base/core/java/android/view/ |
H A D | VolumePanel.java | 346 * @param resId The icon to display. 348 private void setLargeIcon(int resId) { argument 351 mLargeStreamIcon.setImageResource(resId);
|
H A D | Window.java | 568 public void setWindowAnimations(int resId) { argument 570 attrs.windowAnimations = resId; 857 * @param resId Resource identifier of the desired image. 859 public abstract void setFeatureDrawableResource(int featureId, int resId); argument
|
/frameworks/base/core/java/android/widget/ |
H A D | TabWidget.java | 186 * @param resId the resource identifier of the drawable to use as a 189 public void setDividerDrawable(int resId) { argument 190 mDividerDrawable = mContext.getResources().getDrawable(resId); 209 * @param resId the resource identifier of the drawable to use as the 212 public void setLeftStripDrawable(int resId) { argument 213 mLeftStrip = mContext.getResources().getDrawable(resId); 231 * @param resId the resource identifier of the drawable to use as the 234 public void setRightStripDrawable(int resId) { argument 235 mRightStrip = mContext.getResources().getDrawable(resId);
|
H A D | Toast.java | 250 * @param resId The resource id of the string resource to use. Can be formatted text. 256 public static Toast makeText(Context context, int resId, int duration) argument 258 return makeText(context, context.getResources().getText(resId), duration); 263 * @param resId The new text for the Toast. 265 public void setText(int resId) { argument 266 setText(mContext.getText(resId));
|
H A D | ImageView.java | 264 * @param resId the resource identifier of the the drawable 269 public void setImageResource(int resId) { argument 270 if (mUri != null || mResource != resId) { 272 mResource = resId;
|
/frameworks/base/core/tests/coretests/src/com/android/internal/net/ |
H A D | DomainNameValidatorTest.java | 228 private void checkWithActualCert(String message, int resId, String domain, argument 231 InputStream certStream = getContext().getResources().openRawResource(resId);
|
/frameworks/base/media/java/android/media/ |
H A D | SoundPool.java | 198 * @param resId the resource ID 203 public int load(Context context, int resId, int priority) { argument 204 AssetFileDescriptor afd = context.getResources().openRawResourceFd(resId);
|
/frameworks/base/media/tests/SoundPoolTest/src/com/android/ |
H A D | SoundPoolTest.java | 96 private int loadSound(int resId, int priority) { argument 97 int id = mSoundPool.load(getApplicationContext(), resId, priority);
|
/frameworks/base/core/java/android/app/ |
H A D | AlertDialog.java | 232 * Set resId to 0 if you don't want an icon. 233 * @param resId the resourceId of the drawable to use as the icon or 0 236 public void setIcon(int resId) { argument 237 mAlert.setIcon(resId);
|
H A D | Dialog.java | 885 public final void setFeatureDrawableResource(int featureId, int resId) { argument 886 getWindow().setFeatureDrawableResource(featureId, resId);
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | RotarySelector.java | 205 private Bitmap getBitmapFor(int resId) { argument 206 return BitmapFactory.decodeResource(getContext().getResources(), resId); 242 * @param resId the resource ID. 244 public void setLeftHandleResource(int resId) { argument 245 if (resId != 0) { 246 mLeftHandleIcon = getBitmapFor(resId); 257 * @param resId the resource ID. 259 public void setRightHandleResource(int resId) { argument 260 if (resId != 0) { 261 mRightHandleIcon = getBitmapFor(resId); [all...] |
H A D | LockPatternView.java | 308 private Bitmap getBitmapFor(int resId) { argument 309 return BitmapFactory.decodeResource(getContext().getResources(), resId);
|
H A D | SlidingTab.java | 230 void setHintText(int resId) { argument 231 text.setText(resId); 761 * @param resId 763 public void setLeftHintText(int resId) { argument 765 mLeftSlider.setHintText(resId); 791 * @param resId 793 public void setRightHintText(int resId) { argument 795 mRightSlider.setHintText(resId);
|
/frameworks/base/packages/TtsService/src/android/tts/ |
H A D | TtsService.java | 439 * @param resId 442 private void addSpeech(String callingApp, String text, String packageName, int resId) { argument 443 mUtterances.put(text, new SoundResource(packageName, resId)); 466 * @param resId 469 private void addEarcon(String callingApp, String earcon, String packageName, int resId) { argument 470 mEarcons.put(earcon, new SoundResource(packageName, resId)); 1321 * @param resId 1324 public void addSpeech(String callingApp, String text, String packageName, int resId) { 1325 mSelf.addSpeech(callingApp, text, packageName, resId); 1348 * @param resId [all...] |
/frameworks/base/core/java/android/content/ |
H A D | Context.java | 169 * @param resId Resource id for the CharSequence text 171 public final CharSequence getText(int resId) { argument 172 return getResources().getText(resId); 179 * @param resId Resource id for the string 181 public final String getString(int resId) { argument 182 return getResources().getString(resId); 190 * @param resId Resource id for the format string 194 public final String getString(int resId, Object... formatArgs) { argument 195 return getResources().getString(resId, formatArgs);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | AlertController.java | 292 * Set resId to 0 if you don't want an icon. 293 * @param resId the resourceId of the drawable to use as the icon or 0 296 public void setIcon(int resId) { argument 297 mIconId = resId; 299 if (resId > 0) { 301 } else if (resId == 0) {
|