Searched defs:resources (Results 51 - 71 of 71) sorted by relevance

123

/packages/apps/Messaging/src/com/android/messaging/datamodel/
H A DBitmapPool.java179 * @param resources Application resources. Cannot be null.
187 @NonNull final Resources resources, @NonNull final BitmapFactory.Options optionsTmp,
189 Assert.notNull(resources);
196 b = BitmapFactory.decodeResource(resources, resourceId, optionsTmp);
201 b = BitmapFactory.decodeResource(resources, resourceId, optionsTmp);
186 decodeSampledBitmapFromResource(final int resourceId, @NonNull final Resources resources, @NonNull final BitmapFactory.Options optionsTmp, final int width, final int height) argument
/packages/apps/Settings/src/com/android/settings/enterprise/
H A DEnterprisePrivacyFeatureProviderImpl.java53 Resources resources) {
59 mResources = resources;
51 EnterprisePrivacyFeatureProviderImpl(Context context, DevicePolicyManagerWrapper dpm, PackageManagerWrapper pm, UserManager um, ConnectivityManagerWrapper cm, Resources resources) argument
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
H A DInstalledAppDetailsTest.java548 public static boolean isSystemPackage(Resources resources, PackageManager pm, argument
/packages/apps/CellBroadcastReceiver/src/com/android/cellbroadcastreceiver/
H A DCellBroadcastAlertAudio.java468 private static void setDataSourceFromResource(Resources resources, argument
470 AssetFileDescriptor afd = resources.openRawResourceFd(res);
/packages/apps/Dialer/java/com/android/contacts/common/
H A DContactPhotoManager.java477 Resources resources, DefaultImageRequest defaultImageRequest) {
478 final LetterTileDrawable drawable = new LetterTileDrawable(resources);
476 getDefaultImageForContact( Resources resources, DefaultImageRequest defaultImageRequest) argument
H A DContactPhotoManagerImpl.java565 private Drawable getDrawableForBitmap(Resources resources, Bitmap bitmap, Request request) { argument
567 final RoundedBitmapDrawable drawable = RoundedBitmapDrawableFactory.create(resources, bitmap);
572 return new BitmapDrawable(resources, bitmap);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DWallpaperChooserDialogFragment.java196 final Resources resources = getResources();
201 final String packageName = resources.getResourcePackageName(R.array.wallpapers);
203 addWallpapers(resources, packageName, R.array.wallpapers);
204 addWallpapers(resources, packageName, R.array.extra_wallpapers);
207 private void addWallpapers(Resources resources, String packageName, int list) { argument
208 final String[] extras = resources.getStringArray(list);
210 int res = resources.getIdentifier(extra, "drawable", packageName);
212 int thumbRes = resources.getIdentifier(extra + "_small",
H A DCellLayout.java2994 public static int[] rectToCell(Resources resources, int width, int height, int[] result) { argument
2997 int actualWidth = resources.getDimensionPixelSize(R.dimen.workspace_cell_width);
2998 int actualHeight = resources.getDimensionPixelSize(R.dimen.workspace_cell_height);
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
H A DConversationListItemView.java163 final Resources resources = getContext().getResources();
164 mListItemReadColor = resources.getColor(R.color.conversation_list_item_read);
165 mListItemUnreadColor = resources.getColor(R.color.conversation_list_item_unread);
306 public static String buildContentDescription(final Resources resources, argument
335 String primaryContentDescription = resources.getString(resId, senderOrConvName,
349 resources.getString(sSecondaryContentDescription);
373 final Resources resources = getContext().getResources();
401 setContentDescription(buildContentDescription(resources, mData,
407 mTimestampTextView.setTextColor(resources.getColor(R.color.conversation_list_error));
414 mTimestampTextView.setText(resources
[all...]
/packages/apps/Settings/src/com/android/settings/fuelgauge/
H A DAppButtonsPreferenceController.java561 boolean isSystemPackage(Resources resources, PackageManager pm, PackageInfo packageInfo) { argument
562 return Utils.isSystemPackage(resources, pm, packageInfo);
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
H A DKeyboardLayoutSet.java151 public static int getScriptId(final Resources resources, argument
155 final int scriptId = Builder.readScriptId(resources, subtype);
341 static int readScriptId(final Resources resources, final InputMethodSubtype subtype) { argument
344 final int xmlId = getXmlId(resources, layoutSetName);
345 final XmlResourceParser parser = resources.getXml(xmlId);
353 return readScriptIdFromTagFeature(resources, parser);
365 private static int readScriptIdFromTagFeature(final Resources resources, argument
367 final TypedArray featureAttr = resources.obtainAttributes(Xml.asAttributeSet(parser),
393 private static int getXmlId(final Resources resources, final String keyboardLayoutSetName) { argument
394 final String packageName = resources
[all...]
/packages/providers/MediaProvider/src/com/android/providers/media/
H A DRingtonePickerActivity.java634 LocalizedCursor(Cursor cursor, Resources resources, String columnLabel) { argument
637 mResources = resources;
/packages/apps/Car/Media/src/com/android/car/media/
H A DMediaPlaybackFragment.java767 private void setActionDrawable(ImageButton button, int resId, Resources resources) { argument
768 if (resources == null) {
774 // the resources may be from another package. we need to update the configuration using
776 resources.updateConfiguration(
779 Drawable icon = resources.getDrawable(resId, null);
/packages/apps/Launcher3/src/com/android/launcher3/
H A DIconCache.java148 private Drawable getFullResIcon(Resources resources, int iconId) { argument
151 d = resources.getDrawableForDensity(iconId, mIconDpi);
160 Resources resources;
162 resources = mPackageManager.getResourcesForApplication(packageName);
164 resources = null;
166 if (resources != null) {
168 return getFullResIcon(resources, iconId);
175 Resources resources;
177 resources = mPackageManager.getResourcesForApplication(
180 resources
[all...]
/packages/apps/Calendar/src/com/android/calendar/
H A DUtils.java1415 Resources resources = context.getResources();
1426 datetimeString = resources.getString(R.string.today);
1428 datetimeString = resources.getString(R.string.tomorrow);
1449 datetimeString = resources.getString(R.string.today_at_time_fmt,
1453 datetimeString = resources.getString(R.string.tomorrow_at_time_fmt,
1459 datetimeString = resources.getString(R.string.date_time_fmt, dateString,
1510 // Using int constants as a return value instead of an enum to minimize resources.
1536 * @param resources The resources for translating strings.
1543 public static Intent createEmailAttendeesIntent(Resources resources, Strin argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/
H A DContactPhotoManager.java124 public static Drawable getDefaultAvatarDrawableForContact(Resources resources, boolean hires, argument
131 resources, null);
135 return LetterTileDefaultImageProvider.getDefaultImageForContact(resources,
394 public static Drawable getDefaultImageForContact(Resources resources, argument
396 final LetterTileDrawable drawable = new LetterTileDrawable(resources);
997 private Drawable getDrawableForBitmap(Resources resources, Bitmap bitmap, Request request) { argument
1000 RoundedBitmapDrawableFactory.create(resources, bitmap);
1005 return new BitmapDrawable(resources, bitmap);
/packages/apps/Messaging/src/com/android/messaging/sms/
H A DMmsUtils.java641 final Resources resources = context.getResources();
643 final String groupMmsKey = resources.getString(R.string.group_mms_pref_key);
644 final boolean groupMmsEnabledDefault = resources.getBoolean(R.bool.group_mms_pref_default);
1088 * @param resources So the function can grab string resources
1092 public static String cleanseMmsSubject(final Resources resources, final String subject) { argument
1098 resources.getStringArray(R.array.empty_subject_strings);
1158 final Resources resources = context.getResources();
1161 resources.getString(R.string.auto_retrieve_mms_pref_key),
1162 resources
[all...]
/packages/apps/Settings/src/com/android/settings/development/
H A DDevelopmentSettings.java1807 Resources resources = null;
1824 resources = getResources();
1828 if (resources == null) {
1855 summaries = resources.getStringArray(R.array.bluetooth_a2dp_codec_summaries);
1856 streaming = resources.getString(R.string.bluetooth_select_a2dp_codec_streaming_label, summaries[index]);
1882 summaries = resources.getStringArray(R.array.bluetooth_a2dp_codec_sample_rate_summaries);
1883 streaming = resources.getString(R.string.bluetooth_select_a2dp_codec_streaming_label, summaries[index]);
1904 summaries = resources.getStringArray(R.array.bluetooth_a2dp_codec_bits_per_sample_summaries);
1905 streaming = resources.getString(R.string.bluetooth_select_a2dp_codec_streaming_label, summaries[index]);
1923 summaries = resources
2523 showKeyguardConfirmation(Resources resources, int requestCode) argument
[all...]
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsProvider2.java3491 Resources resources = getContext().getResources();
3495 resources = pm.getResourcesForApplication(resPackage);
3505 String labelResource = getResourceName(resources, "string", labelResourceId);
3510 String iconResource = getResourceName(resources, "drawable", iconResourceId);
3584 private String getResourceName(Resources resources, String expectedType, Integer resourceId) { argument
3591 final String resourceEntryName = resources.getResourceEntryName(resourceId);
3592 final String resourceTypeName = resources.getResourceTypeName(resourceId);
/packages/apps/TV/libs/
H A Dexoplayer.jarMETA-INF/ META-INF/MANIFEST.MF com/ com/google/ com/google/android/ com/google/android/exoplayer/ ...
/packages/apps/Messaging/build/gcheckstyle/
H A Dgoogle-style-checker_deploy.jarMETA-INF/ META-INF/MANIFEST.MF build-data.properties com/ com/google/ com/google/ ...

Completed in 831 milliseconds

123