/packages/apps/Browser/src/com/android/browser/widget/ |
H A D | BookmarkThumbnailWidgetProvider.java | 53 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 D | BookmarkThumbnailWidgetService.java | 141 StateFilter(int[] ids) { argument 143 for (int id : ids) {
|
/packages/apps/Contacts/tests/src/com/android/contacts/ |
H A D | PhoneCallDetailsHelperTest.java | 262 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 D | LocalAlbum.java | 160 GalleryApp application, boolean isImage, ArrayList<Integer> ids) { 162 MediaItem[] result = new MediaItem[ids.size()]; 163 if (ids.isEmpty()) return result; 164 int idLow = ids.get(0); 165 int idHigh = ids.get(ids.size() - 1); 191 int n = ids.size(); 197 // Match id with the one on the ids list. 198 if (ids.get(i) > id) { 202 while (ids 159 getMediaItemById( GalleryApp application, boolean isImage, ArrayList<Integer> ids) argument [all...] |
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/ |
H A D | ContactFragment.java | 537 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/DeskClock/src/com/android/deskclock/ |
H A D | AlarmClock.java | 1053 final int[] ids = new int[mExpanded.size()]; 1056 ids[index] = id; 1059 return ids; 1063 final int[] ids = new int[mSelectedAlarms.size()]; 1066 ids[index] = id; 1069 return ids; 1073 final int[] ids = new int[mRepeatChecked.size()]; 1076 ids[index] = id; 1079 return ids; 1086 private void buildHashSetFromArray(int[] ids, HashSe argument [all...] |
/packages/apps/Email/emailcommon/src/com/android/emailcommon/utility/ |
H A D | Utility.java | 858 ArrayList<Long> ids = new ArrayList<Long>(); 863 ids.add(c.getLong(Account.ID_PROJECTION_COLUMN)); 868 return ids.toArray(EMPTY_LONGS); 872 protected final void onPostExecute(Long[] ids) { argument 873 if (ids != null && !isCancelled()) { 874 for (long id : ids) {
|
/packages/apps/Music/src/com/android/music/ |
H A D | MusicUtils.java | 539 * @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 D | ContactDetailFragment.java | 1198 public ArrayList<Long> ids = new ArrayList<Long>(); field in class:ContactDetailFragment.DetailViewEntry 1230 sb.append(" ids: " + Iterables.toString(ids) + "\n"); 1326 // Keep track of all the ids that have been collapsed with this one. 1327 ids.add(entry.getId());
|
/packages/providers/ContactsProvider/tests/src/com/android/providers/contacts/ |
H A D | ContactsProvider2Test.java | 7210 private int updateDataUsageFeedback(String usageType, long... ids) { argument 7212 for (long id : ids) {
|
/packages/providers/ContactsProvider/src/com/android/providers/contacts/ |
H A D | ContactsProvider2.java | 1140 /** "*" is in CSV form with data ids ("123,456,789") */ 2234 * Appends comma separated ids. 2235 * @param ids Should not be empty 2237 private void appendIds(StringBuilder sb, Set<Long> ids) { argument 2238 for (long id : ids) { 8098 final String[] ids = uri.getLastPathSegment().trim().split(","); 8099 final ArrayList<Long> dataIds = new ArrayList<Long>(ids.length); 8101 for (String id : ids) { 8116 for (int i = 0; i < ids.length; i++) { 8118 rawContactIdSelect.append(ids[ [all...] |