/packages/apps/Gallery2/src/com/android/gallery3d/app/ |
H A D | SlideshowPage.java | 220 ArrayList<MediaItem> list = mediaSet.getMediaItem(index, 1); 221 return list.isEmpty() ? null : list.get(0);
|
/packages/apps/Gallery2/src/com/android/gallery3d/data/ |
H A D | DataManager.java | 191 // Maps a list of Paths to MediaItems, and invoke consumer.consume() 192 // for each MediaItem (may not be in the same order as the input list). 194 // the original position in the input list of the corresponding Path (plus 196 public void mapMediaItems(ArrayList<Path> list, ItemConsumer consumer, argument 202 int n = list.size(); 204 Path path = list.get(i);
|
/packages/apps/Mms/src/com/android/mms/ui/ |
H A D | DeliveryReportActivity.java | 104 // Add the header for the list view. 127 ListView list = getListView(); 128 list.invalidateViews(); 129 list.requestFocus();
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/ |
H A D | InstallAppProgress.java | 99 List<ResolveInfo> list = getPackageManager(). 101 if (list != null && list.size() > 0) {
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/deprecated/languageswitcher/ |
H A D | InputLanguageSelection.java | 98 // Add this locale to the supported list if: 101 // will be added to the supported list. 148 private boolean isLocaleIn(Locale locale, String[] list) { argument 150 for (int i = 0; i < list.length; i++) { 151 if (lang.equalsIgnoreCase(list[i])) return true;
|
/packages/apps/Contacts/src/com/android/contacts/ |
H A D | ContactsApplication.java | 19 import com.android.contacts.list.ContactListFilterController;
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | GroupMembershipView.java | 49 * An editor for group membership. Displays the current group membership list and 180 // Exclude favorites from the list - they are handled with special UI (star) 278 ListView list = (ListView) parent; 281 if (list.isItemChecked(count - 1)) { 282 list.setItemChecked(count - 1, false); 288 mAdapter.getItem(i).setChecked(list.isItemChecked(i));
|
H A D | AggregationSuggestionEngine.java | 374 ArrayList<Suggestion> list = Lists.newArrayList(); 387 list.add(suggestion); 430 return list;
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
H A D | ContactListFilterController.java | 16 package com.android.contacts.list;
|
H A D | ContactListFilterView.java | 17 package com.android.contacts.list; 30 * Contact list filter parameters.
|
H A D | LegacyPhoneNumberListAdapter.java | 16 package com.android.contacts.list;
|
H A D | LegacyPostalAddressListAdapter.java | 16 package com.android.contacts.list;
|
H A D | AccountFilterActivity.java | 17 package com.android.contacts.list; 48 * Shows a list of all available accounts, letting the user select under which account to view 69 mListView = (ListView) findViewById(com.android.internal.R.id.list);
|
H A D | PhoneNumberPickerFragment.java | 16 package com.android.contacts.list; 19 import com.android.contacts.list.ShortcutIntentBuilder.OnShortcutIntentCreatedListener; 33 * Fragment containing a phone number list for picking.
|
H A D | ContactTileAdapter.java | 16 package com.android.contacts.list; 26 import com.android.contacts.list.ContactTileAdapter.DisplayType; 231 // In that case, show an empty list of contacts. 505 public void configureRow(ArrayList<ContactEntry> list, boolean isLastRow) { argument 511 columnCounter < list.size() ? list.get(columnCounter) : null;
|
/packages/apps/Contacts/tests/src/com/android/contacts/list/ |
H A D | ContactListItemViewTest.java | 17 package com.android.contacts.list;
|
/packages/apps/Gallery/src/com/android/camera/ |
H A D | MenuHelper.java | 731 ArrayList<MenuItem> list; 733 list = image.isReadonly() ? disableList : enableList; 734 list.addAll(requiresWriteAccessItems); 736 list = image.isDrm() ? disableList : enableList; 737 list.addAll(requiresNoDrmAccessItems); 739 list = ImageManager.isImage(image) ? enableList : disableList; 740 list.addAll(requiresImageItems); 742 list = ImageManager.isVideo(image) ? enableList : disableList; 743 list.addAll(requiresVideoItems);
|
/packages/apps/Settings/src/com/android/settings/ |
H A D | ActivityPicker.java | 55 * Displays a list of all activities matching the incoming 67 * Base {@link Intent} used when building list. 98 // Build list adapter of pickable items 125 * Build the specific {@link Intent} for a given list position. Convenience 134 * Build and return list of items to be shown in dialog. Default 180 * Fill the given list with any activities matching the base {@link Intent}. 184 List<ResolveInfo> list = packageManager.queryIntentActivities(baseIntent, 186 Collections.sort(list, new ResolveInfo.DisplayNameComparator(packageManager)); 188 final int listSize = list.size(); 190 ResolveInfo resolveInfo = list [all...] |
/packages/apps/Settings/src/com/android/settings/wifi/ |
H A D | WifiStatusTest.java | 266 List<ScanResult> list = mWifiManager.getScanResults(); 269 if (list != null) { 270 for (int i = list.size() - 1; i >= 0; i--) { 271 final ScanResult scanResult = list.get(i);
|
/packages/apps/Tag/src/com/android/apps/tag/ |
H A D | TagViewer.java | 53 mTagContent = (LinearLayout) findViewById(R.id.list); 90 // Parse the first message in the list
|
/packages/apps/Email/emailcommon/src/com/android/emailcommon/internet/ |
H A D | MimeMessage.java | 214 * Returns a list of the given recipient type from this message. If no addresses are 290 String list = MimeUtility.unfold(getFirstHeader("From")); 291 if (list == null || list.length() == 0) { 292 list = MimeUtility.unfold(getFirstHeader("Sender")); 294 mFrom = Address.parse(list);
|
/packages/apps/Mms/src/com/android/mms/data/ |
H A D | Conversation.java | 154 * When called with an empty recipient list, equivalent to {@link #createNew}. 160 // If there are no recipients in the list, make a new conversation. 225 * Returns true if the recipient in the uri matches the recipient list in this 258 * The recipient list of this conversation can be empty if the results 426 * Sets the list of recipients associated with this conversation. 431 public synchronized void setRecipients(ContactList list) { argument 435 mRecipients = list; 542 private static long getOrCreateThreadId(Context context, ContactList list) { argument 545 for (Contact c : list) { 669 * @param threadIds A list o 789 get(ContactList list) argument [all...] |
/packages/apps/Music/src/com/android/music/ |
H A D | MediaPlaybackActivity.java | 599 long [] list = new long[1]; 600 list[0] = MusicUtils.getCurrentAudioId(); 602 MusicUtils.addToPlaylist(this, list, playlist); 608 long [] list = new long[1]; 609 list[0] = MusicUtils.getCurrentAudioId(); 618 b.putLongArray("items", list); 648 long [] list = new long[1]; 649 list[0] = MusicUtils.getCurrentAudioId(); 651 MusicUtils.addToPlaylist(this, list, playlist);
|
/packages/apps/Contacts/src/com/android/contacts/group/ |
H A D | GroupDetailFragment.java | 24 import com.android.contacts.list.ContactTileAdapter; 25 import com.android.contacts.list.ContactTileAdapter.DisplayType; 58 * Displays the details of a group and shows a list of actions possible for the group. 155 mMemberListView = (ListView) mRootView.findViewById(android.R.id.list); 200 * Start the loader to retrieve the list of group members. 234 // Retrieve the list of members 248 * The listener for the group members list loader
|
/packages/apps/Email/emailcommon/src/org/apache/commons/io/ |
H A D | IOUtils.java | 443 * Get the contents of an <code>InputStream</code> as a list of Strings,
450 * @return the list of Strings, never null
461 * Get the contents of an <code>InputStream</code> as a list of Strings,
472 * @return the list of Strings, never null
487 * Get the contents of a <code>Reader</code> as a list of Strings,
494 * @return the list of Strings, never null
501 List<String> list = new ArrayList<String>();
504 list.add(line);
507 return list;
|