/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
ContactsMockResources.java | 30 public void addResource(int resId, String packageName, String typeName, String entryName) { 31 mPackages.put(resId, packageName); 32 mTypes.put(resId, typeName); 33 mEntries.put(resId, entryName); 37 public String getResourceName(int resId) throws NotFoundException { 38 if (!mPackages.containsKey(resId)) { 39 throw new NotFoundException("Resource " + resId + " not found"); 41 return mPackages.get(resId) + ":" + mTypes.get(resId) + "/" + mEntries.get(resId); [all...] |
/development/samples/SoftKeyboard/src/com/android/inputmethodcommon/ |
InputMethodSettingsInterface.java | 34 * @param resId The resource ID of the title. 36 public void setInputMethodSettingsCategoryTitle(int resId); 47 * @param resId The resource ID of the title. 49 public void setSubtypeEnablerTitle(int resId); 60 * @param resId The resource id of an optional icon for the preference. 62 public void setSubtypeEnablerIcon(int resId);
|
InputMethodSettingsFragment.java | 49 public void setInputMethodSettingsCategoryTitle(int resId) { 50 mSettings.setInputMethodSettingsCategoryTitle(resId); 65 public void setSubtypeEnablerTitle(int resId) { 66 mSettings.setSubtypeEnablerTitle(resId); 81 public void setSubtypeEnablerIcon(int resId) { 82 mSettings.setSubtypeEnablerIcon(resId);
|
/frameworks/opt/inputmethodcommon/java/com/android/inputmethodcommon/ |
InputMethodSettingsInterface.java | 28 * @param resId The resource ID of the title. 30 public void setInputMethodSettingsCategoryTitle(int resId); 41 * @param resId The resource ID of the title. 43 public void setSubtypeEnablerTitle(int resId); 54 * @param resId The resource id of an optional icon for the preference. 56 public void setSubtypeEnablerIcon(int resId);
|
InputMethodSettingsActivity.java | 42 public void setInputMethodSettingsCategoryTitle(int resId) { 43 mSettings.setInputMethodSettingsCategoryTitle(resId); 58 public void setSubtypeEnablerTitle(int resId) { 59 mSettings.setSubtypeEnablerTitle(resId); 74 public void setSubtypeEnablerIcon(int resId) { 75 mSettings.setSubtypeEnablerIcon(resId);
|
InputMethodSettingsFragment.java | 43 public void setInputMethodSettingsCategoryTitle(int resId) { 44 mSettings.setInputMethodSettingsCategoryTitle(resId); 59 public void setSubtypeEnablerTitle(int resId) { 60 mSettings.setSubtypeEnablerTitle(resId); 75 public void setSubtypeEnablerIcon(int resId) { 76 mSettings.setSubtypeEnablerIcon(resId);
|
/frameworks/base/core/tests/overlaytests/OverlayTest/src/com/android/overlaytest/ |
OverlayBaseTest.java | 17 private int calculateRawResourceChecksum(int resId) throws Throwable { 20 input = mResources.openRawResource(resId); 39 private void assertResource(int resId, boolean ewo, boolean ew) throws Throwable { 41 boolean actual = mResources.getBoolean(resId); 45 private void assertResource(int resId, String ewo, String ew) throws Throwable { 47 String actual = mResources.getString(resId); 51 private void assertResource(int resId, int[] ewo, int[] ew) throws Throwable { 53 int[] actual = mResources.getIntArray(resId); 62 final int resId = com.android.internal.R.bool.config_automatic_brightness_available; 63 assertResource(resId, false, true) [all...] |
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
SecurityMessageDisplay.java | 22 public void setMessage(int resId, boolean important); 24 public void setMessage(int resId, boolean important, Object... formatArgs);
|
/packages/apps/UnifiedEmail/src/com/android/mail/ui/ |
ToastBarOperation.java | 124 final int resId; 126 resId = R.plurals.conversation_deleted; 130 resId = R.plurals.conversation_folder_changed; 134 resId = R.plurals.conversation_archived; 136 resId = R.plurals.conversation_spammed; 138 resId = R.plurals.conversation_not_spam; 140 resId = R.plurals.conversation_not_important; 142 resId = R.plurals.conversation_muted; 144 resId = R.plurals.conversation_unstarred; 146 resId = R.plurals.conversation_phished [all...] |
/frameworks/support/v4/honeycomb/android/support/v4/view/ |
MenuItemCompatHoneycomb.java | 34 public static MenuItem setActionView(MenuItem item, int resId) { 35 return item.setActionView(resId);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/ |
KeyCodeDescriptionMapper.java | 148 final int resId; 156 resId = R.string.spoken_description_to_symbol; 160 resId = R.string.spoken_description_to_alpha; 163 resId = R.string.spoken_description_to_symbol; 166 resId = R.string.spoken_description_to_numeric; 172 return context.getString(resId); 185 final int resId; 190 resId = R.string.spoken_description_caps_lock; 195 resId = R.string.spoken_description_shift_shifted; 198 resId = R.string.spoken_description_shift [all...] |
/cts/libs/deviceutil/src/android/provider/cts/ |
FileCopyHelper.java | 56 * @param resId the res id 62 public String copy(int resId, String fileName) throws IOException { 63 InputStream source = mContext.getResources().openRawResource(resId); 70 public void copyToExternalStorage(int resId, File path) throws IOException { 71 InputStream source = mContext.getResources().openRawResource(resId);
|
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/ |
CompatTabEclair.java | 37 public CompatTab setText(int resId) { 38 mText = mActivity.getResources().getText(resId); 43 public CompatTab setIcon(int resId) { 44 mIcon = mActivity.getResources().getDrawable(resId);
|
CompatTab.java | 37 public abstract CompatTab setText(int resId); 38 public abstract CompatTab setIcon(int resId);
|
CompatTabHoneycomb.java | 44 public CompatTab setText(int resId) { 45 mTab.setText(resId); 50 public CompatTab setIcon(int resId) { 51 mTab.setIcon(resId);
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
SelectAccountActivity.java | 59 final int resId = R.string.import_from_sdcard; 82 this, accountList, resId) { 95 showDialog(resId); 100 protected Dialog onCreateDialog(int resId, Bundle bundle) { 101 switch (resId) { 107 return AccountSelectionUtil.getSelectAccountDialog(this, resId, 112 return super.onCreateDialog(resId, bundle);
|
/packages/apps/Settings/src/com/android/settings/ |
RegulatoryInfoDisplayActivity.java | 63 int resId = getResourceId(); 64 if (resId != 0) { 66 Drawable d = resources.getDrawable(resId); 81 image.setImageResource(resId); 98 int resId = getResources().getIdentifier( 108 resId = id; 111 return resId;
|
/packages/apps/Email/src/com/android/email/activity/ |
UiUtilities.java | 39 int resId; 43 resId = R.plurals.message_view_attachment_bytes; 46 resId = R.plurals.message_view_attachment_kilobytes; 49 resId = R.plurals.message_view_attachment_megabytes; 52 resId = R.plurals.message_view_attachment_gigabytes; 55 return res.getQuantityString(resId, value, value);
|
/frameworks/base/core/java/android/view/ |
ActionMode.java | 78 * @param resId Resource ID of a string to set as the title 83 public abstract void setTitle(int resId); 100 * @param resId Resource ID of a string to set as the subtitle 105 public abstract void setSubtitle(int resId);
|
/frameworks/support/v7/appcompat/src/android/support/v7/view/ |
ActionMode.java | 89 * @param resId Resource ID of a string to set as the title 93 public abstract void setTitle(int resId); 109 * @param resId Resource ID of a string to set as the subtitle 113 public abstract void setSubtitle(int resId);
|
/packages/apps/Gallery2/src/com/android/gallery3d/glrenderer/ |
ResourceTexture.java | 32 public ResourceTexture(Context context, int resId) { 35 mResId = resId;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
QuickSettingsBasicTile.java | 74 public void setImageResource(int resId) { 75 mImageView.setImageResource(resId); 82 public void setTextResource(int resId) { 83 mTextView.setText(resId);
|
/frameworks/base/tools/aapt/ |
ResourceIdCache.h | 23 uint32_t resId);
|
/frameworks/opt/vcard/tests/src/com/android/vcard/tests/testutils/ |
PropertyNodesVerifier.java | 46 public void verify(int resId, int vcardType) throws IOException, VCardException { 47 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId), vcardType); 50 public void verify(int resId, int vcardType, final VCardParser parser) 52 verify(mAndroidTestCase.getContext().getResources().openRawResource(resId),
|
/external/chromium_org/ui/android/java/src/org/chromium/ui/gfx/ |
BitmapHelper.java | 34 int resId = res.getIdentifier(name, null, null); 38 BitmapFactory.decodeResource(res, resId, options); 43 return BitmapFactory.decodeResource(res, resId, options);
|