Searched defs:list (Results 101 - 125 of 141) sorted by relevance

123456

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DStringUtils.java445 public static String listToJsonStr(List<Object> list) { argument
446 if (list == null || list.isEmpty()) {
453 for (final Object o : list) {
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DGlobalSearchSupport.java99 ArrayList<Object> list = new ArrayList<Object>();
101 list.add(contactId); // _id
102 list.add(text1); // text1
103 list.add(text2); // text2
104 list.add(icon1); // icon1
105 list.add(icon2); // icon2
106 list.add(intentData == null ? buildUri() : intentData); // intent data
107 list.add(intentAction); // intentAction
108 list.add(lookupKey); // shortcut id
109 list
119 addColumnValue(ArrayList<Object> list, String column) argument
[all...]
/packages/apps/Contacts/src/com/android/contacts/group/
H A DSuggestedMemberListAdapter.java84 // TODO: Make this a Map for better performance when we check if a new contact is in the list
111 public void updateExistingMembersList(List<GroupEditorFragment.Member> list) { argument
113 for (GroupEditorFragment.Member member : list) {
178 // Create a list to store the suggested contacts (which will be alphabetically ordered),
227 // Store the member in the list of suggestions and add it to the hash map too.
/packages/apps/Contacts/src/com/android/contacts/list/
H A DContactsRequest.java17 package com.android.contacts.list;
H A DContactBrowseListFragment.java16 package com.android.contacts.list;
38 import com.android.contacts.common.list.AutoScrollListView;
39 import com.android.contacts.common.list.ContactEntryListFragment;
40 import com.android.contacts.common.list.ContactListAdapter;
41 import com.android.contacts.common.list.ContactListFilter;
42 import com.android.contacts.common.list.DirectoryPartition;
48 * Fragment containing a contact list used for browsing (as compared to
148 // before continuing. Null URIs should still be allowed so that the list can be
284 * Sets the new selection for the list.
299 * the list an
[all...]
/packages/apps/ContactsCommon/src/com/android/contacts/common/list/
H A DPhoneNumberPickerFragment.java16 package com.android.contacts.common.list;
33 import com.android.contacts.common.list.ShortcutIntentBuilder.OnShortcutIntentCreatedListener;
37 * Fragment containing a phone number list for picking.
H A DShortcutIntentBuilder.java16 package com.android.contacts.common.list;
H A DPinnedHeaderListView.java17 package com.android.contacts.common.list;
34 * A ListView that maintains a header pinned at the top of the list. The
41 * Adapter interface. The list adapter must implement this interface.
56 * Configures the pinned headers to match the visible list items. The
66 * Returns the list position to scroll to if the pinned header is touched.
67 * Return -1 if the list does not need to be scrolled.
393 * Returns the list item position at the specified y coordinate.
H A DContactEntryListAdapter.java16 package com.android.contacts.common.list;
39 import com.android.contacts.common.list.ContactListAdapter.ContactQuery;
45 * Common base class for various contact-related lists, e.g. contact list, phone number list
145 * list screens are asked to exit the search mode and thus need to remove all remote directory
575 // for eg number of unique contacts for a phone list.
H A DCustomContactListFilterActivity.java17 package com.android.contacts.common.list;
73 * Shows a list of all available {@link Groups} available, letting the user
94 mList = (ExpandableListView) findViewById(android.R.id.list);
/packages/apps/Dialer/src/com/android/dialer/interactions/
H A DPhoneNumberInteraction.java150 * A list adapter that populates the list of contact's phone numbers.
155 public PhoneItemAdapter(Context context, List<PhoneItem> list, argument
157 super(context, R.layout.phone_disambig_item, android.R.id.text2, list);
176 * {@link DialogFragment} used for displaying a dialog with a list of phone numbers of which
/packages/apps/Dialer/src/com/android/dialer/list/
H A DPhoneFavoriteListView.java18 package com.android.dialer.list;
36 import com.android.dialer.list.PhoneFavoritesTileAdapter.ContactTileRow;
37 import com.android.dialer.list.SwipeHelper.OnItemGestureListener;
38 import com.android.dialer.list.SwipeHelper.SwipeHelperCallback;
354 // and contact tile is relative to this list view.
H A DSwipeHelper.java18 package com.android.dialer.list;
H A DPhoneFavoritesTileAdapter.java16 package com.android.dialer.list;
43 import com.android.contacts.common.list.ContactEntry;
44 import com.android.contacts.common.list.ContactTileAdapter.DisplayType;
45 import com.android.contacts.common.list.ContactTileView;
46 import com.android.dialer.list.SwipeHelper.OnItemGestureListener;
47 import com.android.dialer.list.SwipeHelper.SwipeHelperCallback;
349 * Loads a contact from the cached list.
360 * Returns the number of frequents that will be displayed in the list.
563 * Temporarily removes a contact from the list for UI refresh. Stores data for this contact
605 * Drops the temporarily removed contact to the desired location in the list
776 configureRow(ArrayList<ContactEntry> list, int position, boolean isLastRow) argument
1162 getReflowedPinnedPositions(ArrayList<ContactEntry> list, ContactEntry entryToPin, int oldPos, int newPinPos) argument
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DDataManager.java212 // Maps a list of Paths to MediaItems, and invoke consumer.consume()
213 // for each MediaItem (may not be in the same order as the input list).
215 // the original position in the input list of the corresponding Path (plus
217 public void mapMediaItems(ArrayList<Path> list, ItemConsumer consumer, argument
223 int n = list.size();
225 Path path = list.get(i);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DWallpaperChooserDialogFragment.java206 private void addWallpapers(Resources resources, String packageName, int list) { argument
207 final String[] extras = resources.getStringArray(list);
H A DFolder.java306 // When the folder gets focus, we don't want to announce the list of items.
372 // If our folder has too many items we prune them from the list. This is an issue
735 ArrayList<View> list = getItemsInReadingOrder();
736 for (int i = 0; i < list.size(); i++) {
737 View v = list.get(i);
759 ArrayList<View> list = getItemsInReadingOrder();
784 arrangeChildren(list);
881 private void arrangeChildren(ArrayList<View> list) { argument
883 if (list == null) {
884 list
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/makedict/
H A DBinaryDictEncoderUtils.java106 * Compute the size of a shortcut list in bytes.
260 private static ArrayList<PtNodeArray> flattenTreeInner(final ArrayList<PtNodeArray> list, argument
264 // the code also depends on any node being only once in the list.
268 // to merge tails, and removing the node from the list would be necessary. However,
273 // If no nodes are ever merged, we can't have the same node twice in the list, hence
275 // since `list' is an ArrayList so it's an O(n) operation that runs on all nodes, making
276 // this simple list.remove operation O(n*n) overall. On Android this overhead is very
278 // For future reference, the code to remove duplicate is a simple : list.remove(node);
279 list.add(ptNodeArray);
282 if (null != ptNode.mChildren) flattenTreeInner(list, ptNod
[all...]
/packages/apps/Nfc/nci/jni/
H A DSecureElement.cpp386 ** Description: Get a list of ID's of all secure elements.
409 jintArray list = e->NewIntArray (mNumEePresent); //allocate array local
417 e->SetIntArrayRegion (list, cnt++, 1, &seId);
421 return list;
735 // Get a list of existing gates and pipes
737 ALOGD ("%s: get gate, pipe list", fn);
/packages/apps/Settings/src/com/android/settings/
H A DTrustedCredentialsSettings.java89 private Tab(String tag, int label, int view, int progress, int list, boolean checkbox) { argument
94 mList = list;
/packages/apps/Settings/src/com/android/settings/applications/
H A DAppOpsState.java311 private static void addOp(ArrayList<AppOpsManager.OpEntry> list, AppOpsManager.OpEntry op) { argument
312 for (int i=0; i<list.size(); i++) {
313 AppOpsManager.OpEntry pos = list.get(i);
316 list.add(i, op);
322 list.add(i, op);
326 list.add(op);
586 // Sort the list.
/packages/apps/Calendar/src/com/android/calendar/event/
H A DEditEventHelper.java573 public static LinkedHashSet<Rfc822Token> getAddressesFromList(String list, argument
576 Rfc822Tokenizer.tokenize(list, addresses);
693 * @param ops The list of operations to add the update to
719 * one just before endTimeMillis. The list should never be empty, because this method
1196 // the list of attendees and the status back to the server
/packages/apps/Gallery/src/com/android/camera/
H A DGalleryPicker.java232 // Slide show starts from the first image on the list.
390 // We want to add the "All" list only if it's different from
391 // the "Camera" list.
454 IImageList list = createImageList(
461 entry.getValue(), list);
761 IImageList list = ImageManager.makeImageList(
767 mAllLists.add(list);
768 return list;
772 for (IImageList list : mAllLists) {
773 list
802 Item(int type, String bucketId, String name, IImageList list) argument
[all...]
/packages/apps/Mms/src/com/android/mms/data/
H A DConversation.java164 * When called with an empty recipient list, equivalent to {@link #createNew}.
170 // If there are no recipients in the list, make a new conversation.
236 * Returns true if the recipient in the uri matches the recipient list in this
269 * The recipient list of this conversation can be empty if the results
491 * Sets the list of recipients associated with this conversation.
496 public synchronized void setRecipients(ContactList list) { argument
500 mRecipients = list;
607 private static long getOrCreateThreadId(Context context, ContactList list) { argument
610 for (Contact c : list) {
621 list
974 get(ContactList list) argument
[all...]
/packages/apps/Music/src/com/android/music/
H A DMusicUtils.java314 long [] list = new long[len];
323 list[i] = cursor.getLong(colidx);
326 return list;
338 long [] list = getSongListForCursor(cursor);
340 return list;
353 long [] list = getSongListForCursor(cursor);
355 return list;
366 long [] list = getSongListForCursor(cursor);
368 return list;
374 long [] list
456 deleteTracks(Context context, long [] list) argument
523 addToCurrentPlaylist(Context context, long [] list) argument
782 playAll(Context context, long [] list, int position) argument
792 playAll(Context context, long [] list, int position, boolean force_shuffle) argument
[all...]

Completed in 451 milliseconds

123456