Searched defs:items (Results 1 - 25 of 32) sorted by relevance

12

/packages/apps/Mms/src/com/android/mms/ui/
H A DDeliveryReportAdapter.java36 public DeliveryReportAdapter(Context context, List<DeliveryReportItem> items) { argument
37 super(context, R.layout.delivery_report_list_item, R.id.recipient, items);
H A DIconListAdapter.java66 List<IconListItem> items) {
67 super(context, mResource, items);
65 IconListAdapter(Context context, List<IconListItem> items) argument
/packages/apps/Stk/src/com/android/stk/
H A DStkMenuAdapter.java32 * Icon list view adapter to show the list of STK items.
38 public StkMenuAdapter(Context context, List<Item> items, argument
40 super(context, 0, items);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/picker/
H A DPickerColumn.java29 public PickerColumn(String[] items) { argument
30 if (items == null) {
31 throw new IllegalArgumentException("items for PickerColumn cannot be null");
33 mItems = items;
/packages/apps/Settings/src/com/android/settings/
H A DAppWidgetLoader.java56 void putCustomAppWidgets(List<Item> items, Intent intent) { argument
105 if (LOGD) Log.d(TAG, "Using " + customInfo.size() + " custom items");
106 putAppWidgetItems(customInfo, customExtras, items, 0, true);
115 List<Bundle> customExtras, List<Item> items, int categoryFilter,
130 items.add(item);
140 * Build and return list of items to be shown in dialog. This will mix both
148 List<Item> items = new ArrayList<Item>();
154 putInstalledAppWidgets(items, categoryFilter);
156 // Sort all items together by label
158 putCustomAppWidgets(items, inten
114 putAppWidgetItems(List<AppWidgetProviderInfo> appWidgets, List<Bundle> customExtras, List<Item> items, int categoryFilter, boolean ignoreFilter) argument
178 putInstalledAppWidgets(List<Item> items, int categoryFilter) argument
[all...]
H A DActivityPicker.java56 * {@link Intent#EXTRA_INTENT} query, along with any injected items.
62 * Adapter of items that are displayed in this dialog.
98 // Build list adapter of pickable items
99 List<PickAdapter.Item> items = getItems();
100 mAdapter = new PickAdapter(this, items);
134 * Build and return list of items to be shown in dialog. Default
136 * {@link #putIntentItems(Intent, List)} with any injected items from
138 * change the items shown.
142 List<PickAdapter.Item> items = new ArrayList<PickAdapter.Item>();
144 // Add any injected pick items
182 putIntentItems(Intent baseIntent, List<PickAdapter.Item> items) argument
277 PickAdapter(Context context, List<Item> items) argument
[all...]
/packages/providers/CalendarProvider/src/com/android/providers/calendar/
H A DCalendarDebug.java81 // items is the list of items to display in the list.
82 List<Map<String, String>> items = new ArrayList<Map<String, String>>();
89 addItem(items, mActivity.getString(R.string.calendar_info_error), "");
131 addItem(items, displayName, text);
137 addItem(items, mActivity.getString(R.string.calendar_info_error), e.toString());
144 if (items.size() == 0) {
145 addItem(items, mActivity.getString(R.string.calendar_info_no_calendars), "");
147 return items;
153 * @param items Th
158 onPostExecute(List<Map<String, String>> items) argument
186 addItem(List<Map<String, String>> items, String title, String text) argument
[all...]
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEventViewUtils.java225 ArrayList<LinearLayout> items, ArrayList<Integer> minuteValues,
230 if (items.size() >= maxReminders) {
274 items.add(reminderItem);
224 addReminder(Activity activity, View view, View.OnClickListener listener, ArrayList<LinearLayout> items, ArrayList<Integer> minuteValues, ArrayList<String> minuteLabels, ArrayList<Integer> methodValues, ArrayList<String> methodLabels, ReminderEntry newReminder, int maxReminders, OnItemSelectedListener onItemSelected) argument
/packages/apps/Camera2/src/com/android/camera/data/
H A DAbstractLocalDataAdapterWrapper.java120 public List<AsyncTask> preloadItems(List<Integer> items) { argument
121 return mAdapter.preloadItems(items);
H A DCameraDataAdapter.java291 public List<AsyncTask> preloadItems(List<Integer> items) { argument
293 for (Integer id : items) {
356 // addData does not dedupe session items, so we ignore them here
/packages/apps/Camera2/src/com/android/camera/widget/
H A DPreloader.java15 * @param <T> The type of items this class preload.
16 * @param <Y> The type of load tokens that can be used to cancel loads for the items this class
23 * Implemented by the source for items that should be preloaded.
32 * Returns the total number of items in the source.
38 * Responsible for the loading of items.
42 * Initiates a load for the specified items and returns a list of 0 or more load tokens that
43 * can be used to cancel the loads for the given items. Should preload the items in the list
46 public List<Y> preloadItems(List<T> items); argument
58 * we don't preload the same items repeatedl
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DLocationClustering.java71 // Separate items to two sets: with or without lat-long.
104 // cluster the items with lat-long
151 private static String generateName(ArrayList<SmallItem> items, argument
155 int n = items.size();
157 SmallItem item = items.get(i);
189 ArrayList<SmallItem> items = mClusters.get(index);
190 ArrayList<Path> result = new ArrayList<Path>(items.size());
191 for (int i = 0, n = items.size(); i < n; i++) {
192 result.add(items.get(i).path);
/packages/apps/UnifiedEmail/src/com/android/mail/
H A DSenderInfoLoader.java266 private static String[] toStringArray(Collection<String> items) { argument
267 return items.toArray(new String[items.size()]);
270 private static void appendQuestionMarks(StringBuilder query, Iterable<?> items) { argument
272 for (Object item : items) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/spellcheck/
H A DSentenceLevelAdapter.java69 public SentenceTextInfoParams(TextInfo ti, ArrayList<SentenceWordItem> items) { argument
71 mItems = items;
72 mSize = items.size();
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DSelectionManager.java60 // selected items is down to zero.
150 private static boolean expandMediaSet(ArrayList<Path> items, MediaSet set, int maxSelection) { argument
153 if (!expandMediaSet(items, set.getSubMediaSet(i), maxSelection)) {
167 && list.size() > (maxSelection - items.size())) {
171 items.add(item.getPath());
H A DMenuExecutor.java418 public MediaOperation(int operation, ArrayList<Path> items, argument
421 mItems = items;
/packages/apps/Launcher2/src/com/android/launcher2/
H A DInstallShortcutReceiver.java241 // Lock on the app so that we don't try and get the items while apps are being added
250 final ArrayList<ItemInfo> items = LauncherModel.getItemsInLocalCoordinates(context);
259 found = installShortcut(context, data, items, name, intent, si, exists, sp,
278 private static boolean installShortcut(Context context, Intent data, ArrayList<ItemInfo> items, argument
282 if (findEmptyCell(context, items, tmpCoordinates, screen)) {
336 private static boolean findEmptyCell(Context context, ArrayList<ItemInfo> items, int[] xy, argument
344 for (int i = 0; i < items.size(); ++i) {
345 item = items.get(i);
H A DFolder.java306 // When the folder gets focus, we don't want to announce the list of items.
331 private void placeInReadingOrder(ArrayList<ShortcutInfo> items) { argument
333 int count = items.size();
335 ShortcutInfo item = items.get(i);
342 Collections.sort(items, gridComparator);
347 ShortcutInfo item = items.get(i);
369 // We rearrange the items in case there are any empty gaps
372 // If our folder has too many items we prune them from the list. This is an issue
374 // number of items.
/packages/apps/Browser/src/com/android/browser/
H A DPieControl.java108 protected void setClickListener(OnClickListener listener, PieItem... items) { argument
109 for (PieItem item : items) {
H A DSuggestionsAdapter.java138 return mMixedResults.items.get(position);
220 protected void onPostExecute(List<SuggestItem> items) { argument
221 mSuggestResults = items;
333 ArrayList<SuggestItem> items; field in class:SuggestionsAdapter.SuggestionResults
338 items = new ArrayList<SuggestItem>(24);
349 while ((ix < items.size()) && (item.type >= items.get(ix).type))
351 items.add(ix, item);
356 return Math.min((mLandscapeMode ? mLinesLandscape : mLinesPortrait), items.size());
361 if (items
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DAlbumDataLoader.java241 public ArrayList<MediaItem> items; field in class:AlbumDataLoader.UpdateInfo
293 ArrayList<MediaItem> items = info.items;
296 if ((items == null) || items.isEmpty()) {
304 int end = Math.min(info.reloadStart + items.size(), mContentEnd);
309 MediaItem updateItem = items.get(i - info.reloadStart);
380 info.items = mSource.getMediaItem(info.reloadStart, info.reloadCount);
H A DPhotoDataAdapter.java934 public ArrayList<MediaItem> items; field in class:PhotoDataAdapter.UpdateInfo
983 if (info.items != null) {
985 int end = Math.min(info.contentStart + info.items.size(), mContentEnd);
988 mData[dataIndex] = info.items.get(i - info.contentStart);
1041 info.items = mSource.getMediaItem(
1103 ArrayList<MediaItem> items = info.items;
1105 return index < 0 || index >= items.size() ? null : items.get(index);
1110 ArrayList<MediaItem> items
[all...]
/packages/apps/Music/src/com/android/music/
H A DVerticalTextSpinner.java91 VerticalTextSpinner spinner, int oldPos, int newPos, String[] items);
411 * Called every time the text items or current position
90 onChanged( VerticalTextSpinner spinner, int oldPos, int newPos, String[] items) argument
/packages/apps/Settings/src/com/android/settings/applications/
H A DAppOpsState.java363 CharSequence[] items) {
365 return items[ops.get(0).getOp()];
372 builder.append(items[ops.get(i).getOp()]);
362 getCombinedText(ArrayList<AppOpsManager.OpEntry> ops, CharSequence[] items) argument
/packages/apps/Camera/src/com/android/camera/ui/
H A DPieRenderer.java287 private void layoutItems(List<PieItem> items, float centerAngle, int inner, argument
290 float sweep = (float) (PIE_SWEEP - 2 * emptyangle) / items.size();
295 for (PieItem item : items) {
303 for (PieItem item : items) {
304 // shared between items
574 List<PieItem> items = (mOpenItem != null) ? mOpenItem.getItems() : mItems;
575 for (PieItem item : items) {

Completed in 951 milliseconds

12