/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | DeliveryReportAdapter.java | 35 public DeliveryReportAdapter(Context context, List<DeliveryReportItem> items) { argument 36 super(context, R.layout.delivery_report_list_item, R.id.recipient, items);
|
H A D | IconListAdapter.java | 66 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 D | StkMenuAdapter.java | 32 * 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/Settings/src/com/android/settings/ |
H A D | AppWidgetLoader.java | 56 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 D | ActivityPicker.java | 56 * {@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...] |
H A D | KeyguardAppWidgetPickActivity.java | 451 * Create an adapter for the given items. 453 public AppWidgetAdapter(Context context, List<Item> items) { argument 455 mItems = items;
|
/packages/providers/CalendarProvider/src/com/android/providers/calendar/ |
H A D | CalendarDebug.java | 81 // 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 D | EventViewUtils.java | 225 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/Gallery2/src/com/android/gallery3d/data/ |
H A D | LocationClustering.java | 71 // 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 D | SenderInfoLoader.java | 225 private static String[] toStringArray(Collection<String> items) { argument 226 return items.toArray(new String[items.size()]); 229 static void appendQuestionMarks(StringBuilder query, Iterable<?> items) { argument 231 for (Object item : items) {
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | SelectionManager.java | 60 // 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 D | MenuExecutor.java | 418 public MediaOperation(int operation, ArrayList<Path> items, argument 421 mItems = items;
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
H A D | InstallShortcutReceiver.java | 241 // 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 D | Folder.java | 306 // 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.
|
H A D | AppsCustomizePagedView.java | 80 items = l; 93 widgetPreviewLoader.recycleBitmap(items.get(i), generatedImages.get(i)); 100 ArrayList<Object> items; field in class:AsyncTaskPageData 423 // Note we have to shift the items up now that Launcher sits under the status bar 1023 // ensure that we have the right number of items on the pages 1031 ArrayList<Object> items = new ArrayList<Object>(); 1051 items.add(info); 1175 final ArrayList<Object> items = new ArrayList<Object>(); 1186 items.add(mWidgets.get(i)); 1192 for (int i = 0; i < items [all...] |
/packages/apps/Browser/src/com/android/browser/ |
H A D | PieControl.java | 107 protected void setClickListener(OnClickListener listener, PieItem... items) { argument 108 for (PieItem item : items) {
|
H A D | SuggestionsAdapter.java | 138 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 D | AlbumDataLoader.java | 241 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 D | PhotoDataAdapter.java | 934 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 D | VerticalTextSpinner.java | 91 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 D | AppOpsState.java | 358 CharSequence[] items) { 360 return items[ops.get(0).getOp()]; 367 builder.append(items[ops.get(i).getOp()]); 357 getCombinedText(ArrayList<AppOpsManager.OpEntry> ops, CharSequence[] items) argument
|
/packages/apps/Camera/src/com/android/camera/ui/ |
H A D | PieRenderer.java | 287 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) {
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
H A D | PieRenderer.java | 390 private void layoutItems(int level, List<PieItem> items) { argument 395 final int count = items.size(); 397 for (PieItem item : items) { 398 // shared between items 555 List<PieItem> items = getParent().getItems(); 556 final int count = items.size(); 567 List<PieItem> items = getOpenItem().getItems(); 568 final int count = items.size(); 570 for (PieItem inner : items) { 808 List<PieItem> items [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
H A D | AppsCustomizePagedView.java | 77 items = l; 90 widgetPreviewLoader.recycleBitmap(items.get(i), generatedImages.get(i)); 97 ArrayList<Object> items; field in class:AsyncTaskPageData 410 // Note we have to shift the items up now that Launcher sits under the status bar 992 // ensure that we have the right number of items on the pages 1000 ArrayList<Object> items = new ArrayList<Object>(); 1020 items.add(info); 1141 final ArrayList<Object> items = new ArrayList<Object>(); 1152 items.add(mWidgets.get(i)); 1158 for (int i = 0; i < items [all...] |
H A D | Folder.java | 322 // When the folder gets focus, we don't want to announce the list of items. 347 private void placeInReadingOrder(ArrayList<ShortcutInfo> items) { argument 349 int count = items.size(); 351 ShortcutInfo item = items.get(i); 358 Collections.sort(items, gridComparator); 363 ShortcutInfo item = items.get(i); 385 // We rearrange the items in case there are any empty gaps 388 // If our folder has too many items we prune them from the list. This is an issue 390 // number of items. 812 ArrayList<ItemInfo> items [all...] |