Searched defs:ids (Results 1 - 9 of 9) sorted by relevance

/packages/apps/Browser/src/com/android/browser/widget/
H A DBookmarkThumbnailWidgetProvider.java53 public void onUpdate(Context context, AppWidgetManager mngr, int[] ids) { argument
54 performUpdate(context, mngr, ids);
77 int[] ids = wm.getAppWidgetIds(getComponentName(context));
78 BookmarkThumbnailWidgetService.removeOrphanedStates(context, ids);
H A DBookmarkThumbnailWidgetService.java141 StateFilter(int[] ids) { argument
143 for (int id : ids) {
/packages/apps/Contacts/tests/src/com/android/contacts/
H A DPhoneCallDetailsHelperTest.java262 private void assertCallTypeIconsEquals(int... ids) { argument
263 assertEquals(ids.length, mViews.callTypeIcons.getCount());
264 for (int index = 0; index < ids.length; ++index) {
265 int id = ids[index];
276 private void assertCallTypeIconsEqualsPlusOverflow(String overflowText, int... ids) { argument
277 assertEquals(ids.length, mViews.callTypeIcons.getCount());
278 for (int index = 0; index < ids.length; ++index) {
279 int id = ids[index];
/packages/apps/Gallery2/src/com/android/gallery3d/data/
H A DLocalAlbum.java136 GalleryApp application, boolean isImage, ArrayList<Integer> ids) {
138 MediaItem[] result = new MediaItem[ids.size()];
139 if (ids.isEmpty()) return result;
140 int idLow = ids.get(0);
141 int idHigh = ids.get(ids.size() - 1);
167 int n = ids.size();
173 // Match id with the one on the ids list.
174 if (ids.get(i) > id) {
178 while (ids
135 getMediaItemById( GalleryApp application, boolean isImage, ArrayList<Integer> ids) argument
[all...]
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
H A DContactFragment.java537 public ArrayList<Long> ids = new ArrayList<Long>(); field in class:ContactFragment.ViewEntry
617 // Keep track of all the ids that have been collapsed with this one.
618 ids.add(entry.id);
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/
H A DUtility.java859 ArrayList<Long> ids = new ArrayList<Long>();
864 ids.add(c.getLong(Account.ID_PROJECTION_COLUMN));
869 return ids.toArray(EMPTY_LONGS);
873 protected final void onPostExecute(Long[] ids) { argument
874 if (ids != null && !isCancelled()) {
875 for (long id : ids) {
/packages/apps/Music/src/com/android/music/
H A DMusicUtils.java539 * @param ids The source array containing all the ids to be added to the playlist
540 * @param offset Where in the 'ids' array we start reading
544 private static void makeInsertItems(long[] ids, int offset, int len, int base) { argument
546 if (offset + len > ids.length) {
547 len = ids.length - offset;
560 sContentValuesCache[i].put(MediaStore.Audio.Playlists.Members.AUDIO_ID, ids[offset + i]);
564 public static void addToPlaylist(Context context, long [] ids, long playlistid) { argument
565 if (ids == null) {
570 int size = ids
[all...]
/packages/apps/Contacts/src/com/android/contacts/detail/
H A DContactDetailFragment.java1226 public ArrayList<Long> ids = new ArrayList<Long>(); field in class:ContactDetailFragment.DetailViewEntry
1338 // Keep track of all the ids that have been collapsed with this one.
1339 ids.add(entry.getId());
/packages/providers/ContactsProvider/src/com/android/providers/contacts/
H A DContactsProvider2.java1157 /** "*" is in CSV form with data ids ("123,456,789") */
2327 * Appends comma separated ids.
2328 * @param ids Should not be empty
2330 private void appendIds(StringBuilder sb, Set<Long> ids) { argument
2331 for (long id : ids) {
7878 final String[] ids = uri.getLastPathSegment().trim().split(",");
7881 for (String id : ids) {
7893 final String[] questionMarks = new String[ids.length];
7899 where, ids, null, null, null);

Completed in 395 milliseconds