/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | ThemeUtils.java | 32 return outValue.resourceId;
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | PhotoLoadingTestCase.java | 80 protected byte[] loadPhotoFromResource(int resourceId, PhotoSize size) { argument 81 PhotoEntry entry = photoResourceCache.get(resourceId); 84 InputStream is = resources.openRawResource(resourceId); 87 photoResourceCache.put(resourceId, entry);
|
H A D | PhotoStoreTest.java | 101 * @param resourceId The resource ID of the photo file to test. 103 public void runStorageTestForResource(int resourceId) throws IOException { argument 104 byte[] photo = loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL); 108 byte[] expectedStoredVersion = loadPhotoFromResource(resourceId, PhotoSize.DISPLAY_PHOTO); 159 for (int resourceId : resourceIds) { 161 new PhotoProcessor(loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL), 163 resourceIdToPhotoMap.put(resourceId, photoFileId);
|
H A D | BaseContactsProvider2Test.java | 376 protected Uri insertPhoto(long rawContactId, int resourceId) { argument 380 values.put(Photo.PHOTO, loadPhotoFromResource(resourceId, PhotoSize.ORIGINAL));
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/ |
H A D | Flag.java | 32 public Flag(int resourceId, int mask) { argument 34 mResource = resourceId;
|
H A D | DictionaryFactory.java | 167 final int resourceId = Utils.getMainDictionaryResourceId(res); 168 final AssetFileDescriptor afd = res.openRawResourceFd(resourceId); 185 final int resourceId = Utils.getMainDictionaryResourceId(res); 186 final AssetFileDescriptor afd = res.openRawResourceFd(resourceId);
|
/packages/apps/Email/src/com/android/email/mail/ |
H A D | Sender.java | 71 private static Sender findSender(Context context, int resourceId, Account account) argument 75 XmlResourceParser xml = context.getResources().getXml(resourceId);
|
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/ |
H A D | PackageIconLoader.java | 103 int resourceId = Integer.parseInt(drawableId); 105 Drawable icon = mPackageContext.getResources().getDrawable(resourceId); 130 int resourceId = Integer.parseInt(drawableId); 131 return Util.getResourceUri(mPackageContext, resourceId);
|
H A D | SearchableSource.java | 227 int resourceId = getSourceIconResource(); 228 if (resourceId == 0) { 231 return Util.getResourceUri(getContext(), mActivityInfo.applicationInfo, resourceId);
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | ScrollBarView.java | 51 context, outValue.resourceId);
|
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
H A D | XmlKeyboardLoader.java | 327 public SkbTemplate loadSkbTemplate(int resourceId) { argument 328 if (null == mContext || 0 == resourceId) { 332 XmlResourceParser xrp = r.getXml(resourceId); 337 mSkbTemplate = new SkbTemplate(resourceId); 429 public SoftKeyboard loadKeyboard(int resourceId, int skbWidth, int skbHeight) { argument 433 XmlResourceParser xrp = mContext.getResources().getXml(resourceId); 486 softKeyboard = new SoftKeyboard(resourceId,
|
/packages/apps/Email/src/com/android/email/activity/setup/ |
H A D | AccountSettingsEditQuickResponsesFragment.java | 102 private static final int resourceId = R.layout.quick_response_item; field in class:AccountSettingsEditQuickResponsesFragment.ArrayAdapterWithButtons 116 super(context, resourceId, textViewId, quickResponses);
|
H A D | AccountSettingsUtils.java | 106 * @param resourceId Id of the provider resource to scan 110 Context context, String domain, int resourceId) { 112 XmlResourceParser xml = context.getResources().getXml(resourceId); 109 findProviderForDomain( Context context, String domain, int resourceId) argument
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | ContactDirectoryManager.java | 142 int resourceId = cursor.getInt(0); 143 if (resourceId != 0) { 146 String resourceName = getResourceNameById(packageName, resourceId); 163 private String getResourceNameById(String packageName, int resourceId) { argument 166 return resources.getResourceName(resourceId);
|
H A D | ContactsProvider2.java | 3436 private String getResourceName(Resources resources, String expectedType, Integer resourceId) { argument 3438 if (resourceId == null || resourceId == 0) return null; 3441 final String resourceEntryName = resources.getResourceEntryName(resourceId); 3442 final String resourceTypeName = resources.getResourceTypeName(resourceId); 3444 Log.w(TAG, "Resource " + resourceId + " (" + resourceEntryName + ") is of type " +
|
/packages/apps/Contacts/tests/src/com/android/contacts/tests/streamitems/ |
H A D | StreamItemPopulatorActivity.java | 196 protected byte[] loadPhotoFromResource(int resourceId) { argument 197 InputStream is = getResources().openRawResource(resourceId);
|
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | IndicatorControlWheel.java | 189 private ImageView addImageButton(Context context, int resourceId, boolean rotatable) { argument 196 view.setImageResource(resourceId);
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | ContactEntryListFragment.java | 890 protected void setEmptyText(int resourceId) { argument 892 empty.setText(mContext.getText(resourceId));
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | BreadCrumbView.java | 176 int resid = outValue.resourceId;
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/ |
H A D | KeyboardBuilder.java | 258 final int resourceId = a.getResourceId(R.styleable.Keyboard_touchPositionCorrectionData, 0); 260 if (resourceId == 0) { 266 final String[] data = context.getResources().getStringArray(resourceId);
|