Searched refs:list (Results 1 - 25 of 303) sorted by relevance

1234567891011>>

/packages/apps/Email/tests/src/com/android/email/mail/store/imap/
H A DImapListTest.java37 ImapList list = new ImapList();
39 assertTrue(list.isList());
40 assertFalse(list.isString());
42 assertTrue(list.isEmpty());
43 assertEquals(0, list.size());
45 list.add(STRING_1);
46 assertFalse(list.isEmpty());
47 assertEquals(1, list.size());
49 list.add(STRING_2);
50 assertEquals(2, list
[all...]
/packages/inputmethods/LatinIME/native/jni/src/suggest/core/dicnode/
H A Ddic_nodes_cache.cpp17 #include <list>
/packages/apps/Bluetooth/src/com/android/bluetooth/map/
H A DBluetoothMapMessageListing.java35 private List<BluetoothMapMessageListingElement> list; field in class:BluetoothMapMessageListing
38 list = new ArrayList<BluetoothMapMessageListingElement>();
41 list.add(element);
42 /* update info regarding whether the list contains unread messages */
50 * Used to fetch the number of BluetoothMapMessageListingElement elements in the list.
51 * @return the number of elements in the list.
54 if(list != null)
56 return list.size();
62 * does the list contain any unread messages
63 * @return true if unread messages have been added to the list, els
[all...]
/packages/apps/Contacts/src/com/android/contacts/list/
H A DOnContactsUnavailableActionListener.java16 package com.android.contacts.list;
H A DOnEmailAddressPickerActionListener.java16 package com.android.contacts.list;
H A DOnMultiplePhoneNumberPickerActionListener.java16 package com.android.contacts.list;
H A DOnPostalAddressPickerActionListener.java16 package com.android.contacts.list;
H A DLegacyPhoneNumberPickerFragment.java17 package com.android.contacts.list;
22 import com.android.contacts.common.list.ContactEntryListAdapter;
23 import com.android.contacts.common.list.ContactListItemView;
24 import com.android.contacts.common.list.PhoneNumberPickerFragment;
H A DOnContactBrowserActionListener.java16 package com.android.contacts.list;
21 * Action callbacks that can be sent by a contact list.
49 * Invoked if the requested selected contact is not found in the list.
/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
H A DCollapser.java25 * function that takes an ArrayList of items and returns a list of the same items collapsed into
45 * Collapses a list of Collapsible items into a list of collapsed items. Items are collapsed
49 * @param list ArrayList of Objects of type <T extends Collapsible<T>> to be collapsed.
51 public static <T extends Collapsible<T>> void collapseList(ArrayList<T> list) { argument
53 int listSize = list.size();
56 T iItem = list.get(i);
59 T jItem = list.get(j);
63 list.set(j, null);
71 Iterator<T> itr = list
[all...]
/packages/apps/Dialer/src/com/android/dialer/list/
H A DOnListFragmentScrolledListener.java17 package com.android.dialer.list;
H A DOnDragDropListener.java1 package com.android.dialer.list;
/packages/apps/Email/src/com/android/email/mail/store/imap/
H A DImapUtility.java60 * list of individual numbers. If the set is invalid, an empty array is returned.
68 ArrayList<String> list = new ArrayList<String>();
76 list.add(item);
83 list.add(rangeItem);
88 String[] stringList = new String[list.size()];
89 return list.toArray(stringList);
93 * Expand the given number range into a list of individual numbers. If the range is not valid,
102 ArrayList<String> list = new ArrayList<String>();
111 list.add(Integer.toString(i));
115 list
[all...]
/packages/apps/Camera/src/com/android/camera/
H A DPreferenceGroup.java29 private ArrayList<CameraPreference> list = field in class:PreferenceGroup
37 list.add(child);
41 list.remove(index);
45 return list.get(index);
49 return list.size();
54 for (CameraPreference pref : list) {
67 for (CameraPreference pref : list) {
/packages/apps/ContactsCommon/src/com/android/contacts/common/
H A DCollapser.java27 * function that takes an ArrayList of items and returns a list of the same items collapsed into
54 * Collapses a list of Collapsible items into a list of collapsed items. Items are collapsed
58 * @param list List of Objects of type <T extends Collapsible<T>> to be collapsed.
60 public static <T extends Collapsible<T>> void collapseList(List<T> list, Context context) { argument
62 int listSize = list.size();
69 T iItem = list.get(i);
72 T jItem = list.get(j);
76 list.set(j, null);
79 list
[all...]
/packages/apps/LegacyCamera/src/com/android/camera/
H A DPreferenceGroup.java29 private ArrayList<CameraPreference> list = field in class:PreferenceGroup
37 list.add(child);
41 list.remove(index);
45 return list.get(index);
49 return list.size();
54 for (CameraPreference pref : list) {
67 for (CameraPreference pref : list) {
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/
H A DCollectionUtils.java37 final ArrayList<E> list = new ArrayList<>(end - start);
39 list.add(array[i]);
41 return list;
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
H A DRecurrenceSetTest.java113 List<ICalendar.Property> list = component.getProperties("DTSTART");
114 assertTrue(list.size() == 1);
115 assertEquals("19700101T000000Z", list.get(0).getValue());
117 list = component.getProperties("RRULE");
118 assertTrue(list.size() == 1);
119 assertEquals(RRULE_LESS_THAN_75_CHARS,list.get(0).getValue());
130 list = component.getProperties("RRULE");
131 assertTrue(list.size() == 1);
132 assertEquals(RRULE_MORE_THAN_75_CHARS_FOLDED, list.get(0).getValue());
143 list
[all...]
/packages/apps/Nfc/nci/jni/
H A DDataQueue.h25 #include <list>
101 typedef std::list<tHeader*> Queue;
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DBitmapTileProvider.java40 ArrayList<Bitmap> list = new ArrayList<Bitmap>();
41 list.add(bitmap);
45 list.add(bitmap);
48 mScreenNail = new BitmapScreenNail(list.remove(list.size() - 1));
49 mMipmaps = list.toArray(new Bitmap[list.size()]);
/packages/apps/Mms/src/com/android/mms/data/
H A DContactList.java18 ContactList list = new ContactList();
21 list.add(Contact.get(number, canBlock));
24 return list;
30 ContactList list = new ContactList();
37 list.add(contact);
40 return list;
51 ContactList list = new ContactList();
57 list.add(contact);
62 list.addAll(contacts);
65 return list;
[all...]
/packages/apps/Launcher2/src/com/android/launcher2/
H A DUserInitializeReceiver.java43 ArrayList<Integer> list = new ArrayList<Integer>();
44 addWallpapers(resources, packageName, R.array.wallpapers, list);
45 addWallpapers(resources, packageName, R.array.extra_wallpapers, list);
48 for (int i=1; i<list.size(); i++) {
49 int resid = list.get(i);
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/cache/
H A DBitmapCache.java145 ArrayList<WeakReference<Bitmap>> list = mBitmapCache.get(key);
146 if (list == null) {
147 list = new ArrayList<WeakReference<Bitmap>>();
148 mBitmapCache.put(key, list);
151 while (i < list.size()) {
152 if (list.get(i).get() == null) {
153 list.remove(i);
158 for (i = 0; i < list.size(); i++) {
159 if (list.get(i).get() == null) {
160 list
[all...]
/packages/apps/Dialer/src/com/android/dialer/dialpad/
H A DSmartDialMatchPosition.java62 * @param list ArrayList of SmartDialMatchPositions to print out in a human readable fashion.
64 public static void print(ArrayList<SmartDialMatchPosition> list) { argument
65 for (int i = 0; i < list.size(); i ++) {
66 SmartDialMatchPosition m = list.get(i);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/widget/
H A DRecycleBitmapPool.java94 ArrayList<SoftReference<Bitmap>> list = mRecycled8888.get(key);
95 if (list == null) {
96 list = new ArrayList<SoftReference<Bitmap>>();
97 mRecycled8888.put(key, list);
99 list.add(new SoftReference<Bitmap>(bitmap));
101 Log.d(TAG, list.size() + " add bitmap " + bitmap.getWidth() + " "
137 private static Bitmap getRecycledBitmap(ArrayList<SoftReference<Bitmap>> list) { argument
138 if (list != null && !list.isEmpty()) {
139 while (!list
[all...]

Completed in 520 milliseconds

1234567891011>>