Searched refs:resource (Results 1 - 25 of 37) sorted by relevance

12

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
H A DScrollArrayAdapter.java36 public ScrollArrayAdapter(Context context, int resource, int textViewResourceId) { argument
37 super(context, resource, textViewResourceId);
38 mLayoutResource = resource;
45 public ScrollArrayAdapter(Context context, int resource, int textViewResourceId, argument
47 super(context, resource, textViewResourceId, objects);
48 mLayoutResource = resource;
55 public ScrollArrayAdapter(Context context, int resource, int textViewResourceId, argument
57 super(context, resource, textViewResourceId, objects);
58 mLayoutResource = resource;
H A DBitmapWorkerOptions.java105 public Builder resource(String packageName, String resourceName) { method in class:BitmapWorkerOptions.Builder
111 public Builder resource(ShortcutIconResource iconResource) { method in class:BitmapWorkerOptions.Builder
117 public Builder resource(Uri resourceUri) { method in class:BitmapWorkerOptions.Builder
H A DSettingsToast.java96 bitmapDownloader.getBitmap(new BitmapWorkerOptions.Builder(mContext).resource(
/packages/apps/Mms/src/com/android/mms/ui/
H A DLayoutSelectorAdapter.java45 protected static void addItem(List<IconListItem> data, String title, int resource) { argument
46 IconListItem temp = new IconListItem(title, resource);
H A DAttachmentTypeSelectorAdapter.java83 int resource, int command) {
84 AttachmentListItem temp = new AttachmentListItem(title, resource, command);
91 public AttachmentListItem(String title, int resource, int command) { argument
92 super(title, resource);
82 addItem(List<IconListItem> data, String title, int resource, int command) argument
H A DIconListAdapter.java87 // Set resource icon
98 public IconListItem(String title, int resource) { argument
99 mResource = resource;
H A DRecipientListActivity.java119 public RecipientListAdapter(Context context, int resource, argument
121 super(context, resource, recipients);
123 mResourceId = resource;
H A DSlideshowEditActivity.java361 public SlideListAdapter(Context context, int resource, argument
363 super(context, resource, slideshow);
366 mResource = resource;
376 private View createViewFromResource(int position, View convertView, int resource) { argument
379 resource, null);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
H A DStorageContentFragment.java70 private int getColor(int resource) { argument
71 return getActivity().getResources().getColor(resource);
74 private int getPixelSize(int resource) { argument
75 return getActivity().getResources().getDimensionPixelSize(resource);
/packages/apps/Browser/src/com/android/browser/
H A DPermissionsPrompt.java86 for (String resource : resources) {
87 if (resource.equals(PermissionRequest.RESOURCE_VIDEO_CAPTURE))
89 else if (resource.equals(PermissionRequest.RESOURCE_AUDIO_CAPTURE))
91 else if (resource.equals(PermissionRequest.RESOURCE_PROTECTED_MEDIA_ID))
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/filters/
H A DIconUtilities.java47 public static Bitmap loadBitmap(Resources res, int resource) { argument
53 resource, options);
H A DImageFilterRS.java184 public Allocation loadScaledResourceAlpha(int resource, int inSampleSize) { argument
190 resource, options);
196 public Allocation loadScaledResourceAlpha(int resource, int w, int h, int inSampleSize) { argument
202 resource, options);
210 public Allocation loadResourceAlpha(int resource) { argument
211 return loadScaledResourceAlpha(resource, 1);
214 public Allocation loadResource(int resource) { argument
220 resource, options);
/packages/apps/InCallUI/src/com/android/incallui/
H A DSelectPhoneAccountDialogFragment.java102 Context context, int resource, List<PhoneAccountHandle> accountHandles) {
103 super(context, resource, accountHandles);
105 mResId = resource;
101 SelectAccountListAdapter( Context context, int resource, List<PhoneAccountHandle> accountHandles) argument
/packages/apps/UnifiedEmail/src/com/android/mail/adapter/
H A DDrawerItem.java41 * or a header (a resource string). A {@link DrawerItem} can only be one type and can never
133 * @param resource either the string resource for a header, or the unread
138 Account account, int resource, boolean isCurrentAccount, BitmapCache cache,
144 mResource = resource;
204 * Create a header item with a string resource.
207 * @param resource the string resource: R.string.all_folders_heading
210 public static DrawerItem ofHeader(ControllableActivity activity, int resource) { argument
211 return new DrawerItem(VIEW_HEADER, activity, null, INERT_HEADER, null, resource, fals
137 DrawerItem(int type, ControllableActivity activity, Folder folder, int folderType, Account account, int resource, boolean isCurrentAccount, BitmapCache cache, ContactResolver contactResolver) argument
[all...]
/packages/apps/Camera/src/com/android/camera/ui/
H A DListPrefSettingPopup.java58 int resource, String[] from, int[] to) {
59 super(context, data, resource, from, to);
57 ListPrefSettingAdapter(Context context, List<? extends Map<String, ?>> data, int resource, String[] from, int[] to) argument
/packages/apps/Camera2/src/com/android/camera/ui/
H A DModeSelectorItem.java142 * Sets image resource as the icon for the mode. By default, all drawables instances
143 * loaded from the same resource share a common state; if you modify the state
149 * @param resource resource id of the asset to be used as icon
151 public void setImageResource(int resource) { argument
152 Drawable drawableIcon = getResources().getDrawable(resource);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
H A DAccountSettingsActivity.java70 .resource(imageUri).build();
/packages/screensavers/PhotoTable/src/com/android/dreams/phototable/
H A DAlbumDataAdapter.java49 int resource, List<PhotoSource.AlbumData> objects) {
50 super(context, resource, objects);
52 mLayout = resource;
48 AlbumDataAdapter(Context context, SharedPreferences settings, int resource, List<PhotoSource.AlbumData> objects) argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/
H A DPicker.java467 PickerScrollArrayAdapter(Context context, int resource, argument
469 super(context, resource, objects);
474 PickerScrollArrayAdapter(Context context, int resource, int textViewResourceId, argument
476 super(context, resource, textViewResourceId, objects);
/packages/apps/Calendar/src/com/android/calendar/alerts/
H A DAlertAdapter.java44 public AlertAdapter(AlertActivity activity, int resource) { argument
45 super(activity, resource, null);
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEventViewUtils.java207 int resource = android.R.layout.simple_spinner_item;
208 ArrayAdapter<String> adapter = new ArrayAdapter<String>(activity, resource, labels);
245 * The spinner has the default set of labels from the string resource file, but we
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DKeyboardTextsSet.java49 protected Void job(final Resources resource) {
/packages/apps/Calendar/src/com/android/calendar/agenda/
H A DAgendaAdapter.java83 public AgendaAdapter(Context context, int resource) { argument
84 super(context, resource, null);
/packages/apps/LegacyCamera/src/com/android/camera/ui/
H A DSharePopup.java77 int resource, String[] from, int[] to) {
78 super(context, data, resource, from, to);
76 MySimpleAdapter(Context context, List<? extends Map<String, ?>> data, int resource, String[] from, int[] to) argument
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
H A DStorageResetActivity.java261 private int getPixelSize(int resource) { argument
262 return mRes.getDimensionPixelSize(resource);

Completed in 1399 milliseconds

12