Home
last modified time | relevance | path

Searched refs:iter (Results 1 – 25 of 47) sorted by relevance

12

/packages/apps/Gallery2/jni_jpegstream/src/
Djpeg_reader.cpp180 uint8_t *iter = buf; in formatPixels() local
202 *iter++ = r; in formatPixels()
203 *iter++ = g; in formatPixels()
204 *iter++ = b; in formatPixels()
208 iter += (len * 3 / 4); in formatPixels()
220 buf[i - 1] = *--iter; in formatPixels()
221 buf[i - 2] = *--iter; in formatPixels()
222 buf[i - 3] = *--iter; in formatPixels()
228 b = *--iter; in formatPixels()
229 g = *--iter; in formatPixels()
[all …]
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/
DTestTimer.java76 Iterator<Task> iter = mTaskList.iterator(); in purge() local
77 while (iter.hasNext()) { in purge()
78 Task task = iter.next(); in purge()
80 iter.remove(); in purge()
126 ListIterator<Task> iter = mTaskList.listIterator(0); in scheduleAtTime() local
127 while (iter.hasNext()) { in scheduleAtTime()
128 if (iter.next().mExecuteTime >= executeTime) { in scheduleAtTime()
132 iter.add(testTimerTask); in scheduleAtTime()
/packages/apps/Email/src/com/beetstra/jutf7/
DCharsetProvider.java71 for (Iterator<Charset> iter = charsets.iterator(); iter.hasNext();) { in charsetForName()
72 Charset charset = iter.next(); in charsetForName()
76 for (Iterator<Charset> iter = charsets.iterator(); iter.hasNext();) { in charsetForName()
77 Charset charset = iter.next(); in charsetForName()
/packages/apps/UnifiedEmail/src/org/apache/commons/io/filefilter/
DOrFileFilter.java118 for (Iterator<IOFileFilter> iter = this.fileFilters.iterator(); iter.hasNext();) { in accept()
119 IOFileFilter fileFilter = iter.next(); in accept()
132 for (Iterator<IOFileFilter> iter = this.fileFilters.iterator(); iter.hasNext();) { in accept()
133 IOFileFilter fileFilter = iter.next(); in accept()
DAndFileFilter.java122 for (Iterator<IOFileFilter> iter = this.fileFilters.iterator(); iter.hasNext();) { in accept()
123 IOFileFilter fileFilter = iter.next(); in accept()
139 for (Iterator<IOFileFilter> iter = this.fileFilters.iterator(); iter.hasNext();) { in accept()
140 IOFileFilter fileFilter = iter.next(); in accept()
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DSeriesRecordingScheduler.java109 for (Iterator<SeriesRecordingUpdateTask> iter = mScheduleTasks.iterator();
110 iter.hasNext(); ) {
111 SeriesRecordingUpdateTask task = iter.next();
118 iter.remove();
335 for (Iterator<SeriesRecordingUpdateTask> iter = mScheduleTasks.iterator(); in updateSchedules()
336 iter.hasNext(); ) { in updateSchedules()
337 SeriesRecordingUpdateTask task = iter.next(); in updateSchedules()
343 iter.remove(); in updateSchedules()
349 for (Iterator<SeriesRecording> iter = seriesRecordingsToUpdate.iterator(); in updateSchedules()
350 iter.hasNext(); ) { in updateSchedules()
[all …]
DInputTaskScheduler.java276 for (Iterator<ScheduledRecording> iter = mWaitingSchedules.values().iterator(); in handleBuildSchedule()
277 iter.hasNext(); ) { in handleBuildSchedule()
278 ScheduledRecording schedule = iter.next(); in handleBuildSchedule()
285 iter.remove(); in handleBuildSchedule()
/packages/apps/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppManager.java162 for (Iterator<Pair<String, Long>> iter = mWhitelist.iterator(); iter.hasNext(); ) { in cleanupWhitelist()
163 Pair<String, Long> entry = iter.next(); in cleanupWhitelist()
168 iter.remove(); in cleanupWhitelist()
178 for (Iterator<Pair<String, Long>> iter = mWhitelist.iterator(); iter.hasNext(); ) { in addToWhitelist()
179 Pair<String, Long> entry = iter.next(); in addToWhitelist()
181 iter.remove(); in addToWhitelist()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrScheduleManager.java779 for (Iterator<ScheduledRecording> iter = schedulesToCheck.iterator(); iter.hasNext(); ) { in getConflictingSchedules()
780 ScheduledRecording schedule = iter.next(); in getConflictingSchedules()
784 iter.remove(); in getConflictingSchedules()
791 iter.remove(); in getConflictingSchedules()
908 for (Iterator<ScheduledRecording> iter = conflicts.keySet().iterator(); in getConflictingSchedulesInfo()
909 iter.hasNext(); ) { in getConflictingSchedulesInfo()
911 ScheduledRecording schedule = iter.next(); in getConflictingSchedulesInfo()
919 iter.remove(); in getConflictingSchedulesInfo()
933 for (Iterator<ScheduledRecording> iter = recordings.iterator(); iter.hasNext(); ) { in removeFinishedRecordings()
934 if (iter.next().getEndTimeMs() <= currentTimeMs) { in removeFinishedRecordings()
[all …]
DDvrDataManagerImpl.java178 Iterator<Entry<Long, T>> iter = from.entrySet().iterator(); in moveElements() local
179 while (iter.hasNext()) { in moveElements()
180 Entry<Long, T> entry = iter.next(); in moveElements()
183 iter.remove(); in moveElements()
894 Iterator<Entry<Long, ScheduledRecording>> iter = in removeDeletedSchedules() local
896 while (iter.hasNext()) { in removeDeletedSchedules()
897 Entry<Long, ScheduledRecording> entry = iter.next(); in removeDeletedSchedules()
900 iter.remove(); in removeDeletedSchedules()
1076 Iterator<SeriesRecording> iter = mSeriesRecordings.values().iterator(); in validateSeriesRecordings() local
1078 while (iter.hasNext()) { in validateSeriesRecordings()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/network/
DSubscriptionUtil.java65 for (Iterator<SubscriptionInfo> iter = subscriptions.iterator(); iter.hasNext(); ) { in getAvailableSubscriptions()
66 SubscriptionInfo info = iter.next(); in getAvailableSubscriptions()
68 iter.remove(); in getAvailableSubscriptions()
/packages/apps/Calendar/src/com/android/calendar/
DEvent.java498 private static long removeAlldayActiveEvents(Event event, Iterator<Event> iter, long colMask) { in removeAlldayActiveEvents() argument
502 while (iter.hasNext()) { in removeAlldayActiveEvents()
503 final Event active = iter.next(); in removeAlldayActiveEvents()
506 iter.remove(); in removeAlldayActiveEvents()
513 Event event, Iterator<Event> iter, long minDurationMillis, long colMask) { in removeNonAlldayActiveEvents() argument
518 while (iter.hasNext()) { in removeNonAlldayActiveEvents()
519 final Event active = iter.next(); in removeNonAlldayActiveEvents()
525 iter.remove(); in removeNonAlldayActiveEvents()
/packages/apps/Car/Settings/src/com/android/car/settings/network/
DSubscriptionUtils.java80 for (Iterator<SubscriptionInfo> iter = subscriptions.iterator(); iter.hasNext(); ) { in getAvailableSubscriptions()
81 SubscriptionInfo info = iter.next(); in getAvailableSubscriptions()
83 iter.remove(); in getAvailableSubscriptions()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DLiveWallpaperInfo.java214 Iterator<ResolveInfo> iter = resolveInfos.iterator(); in getAllOnDevice() local
215 while (iter.hasNext()) { in getAllOnDevice()
216 ResolveInfo resolveInfo = iter.next(); in getAllOnDevice()
218 iter.remove(); in getAllOnDevice()
221 iter.remove(); in getAllOnDevice()
/packages/apps/SecureElement/src/com/android/se/security/
DAccessRuleCache.java415 Iterator<REF_DO> iter = keySet.iterator(); in searchForRulesWithSpecificAidButOtherHash() local
416 while (iter.hasNext()) { in searchForRulesWithSpecificAidButOtherHash()
417 REF_DO ref_do = iter.next(); in searchForRulesWithSpecificAidButOtherHash()
448 Iterator<REF_DO> iter = keySet.iterator(); in searchForRulesWithAllAidButOtherHash() local
449 while (iter.hasNext()) { in searchForRulesWithAllAidButOtherHash()
450 REF_DO ref_do = iter.next(); in searchForRulesWithAllAidButOtherHash()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/clipping/
DClipStorageTest.java127 Iterator<Uri> iter = reader.iterator(); in testReadConcurrently() local
130 while (iter.hasNext() && iter2.hasNext()) { in testReadConcurrently()
131 uris.add(iter.next()); in testReadConcurrently()
135 assertFalse(iter.hasNext()); in testReadConcurrently()
/packages/apps/Test/connectivity/sl4n/utils/
Dcommand_receiver.cpp56 function_map::const_iterator iter = _funcMap->find(cmd); in Call() local
57 if (iter != _funcMap->end()) { in Call()
58 iter->second(doc); in Call()
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DSeriesScheduleRowAdapter.java249 for (Iterator<Program> iter = mPrograms.values().iterator(); iter.hasNext(); ) { in handleUpdateRow()
250 Program program = iter.next(); in handleUpdateRow()
254 iter.remove(); in handleUpdateRow()
/packages/apps/SecureElement/src/com/android/se/security/ara/
DAraController.java149 Iterator<REF_AR_DO> iter = array.iterator(); in readAllAccessRules() local
150 while (iter.hasNext()) { in readAllAccessRules()
151 REF_AR_DO refArDo = iter.next(); in readAllAccessRules()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DBaseLoaderResults.java180 Iterator<T> iter = allWorkspaceItems.iterator(); in filterCurrentWorkspaceItems() local
181 while (iter.hasNext()) { in filterCurrentWorkspaceItems()
182 ItemInfo i = iter.next(); in filterCurrentWorkspaceItems()
184 iter.remove(); in filterCurrentWorkspaceItems()
/packages/apps/Calendar/src/com/android/calendar/month/
DMonthWeekEventsView.java745 Iterator<Event> iter = eventDay.iterator(); in drawEvents() local
747 while (iter.hasNext()) { in drawEvents()
748 Event event = iter.next(); in drawEvents()
749 int newY = drawEvent(canvas, event, xSquare, yTest, rightEdge, iter.hasNext(), in drawEvents()
759 iter = eventDay.iterator(); in drawEvents()
760 while (iter.hasNext()) { in drawEvents()
761 Event event = iter.next(); in drawEvents()
762 int newY = drawEvent(canvas, event, xSquare, ySquare, rightEdge, iter.hasNext(), in drawEvents()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DCustomizeChannelListFragment.java173 Iterator<Item> iter = items.iterator(); in cleanUpOneChannelGroupItem() local
174 while (iter.hasNext()) { in cleanUpOneChannelGroupItem()
175 Item item = iter.next(); in cleanUpOneChannelGroupItem()
180 iter.remove(); in cleanUpOneChannelGroupItem()
/packages/apps/Nfc/nci/jni/
DRouteDataSet.cpp497 for (Database::iterator iter = db->begin(); iter != db->end(); iter++) { in printDiagnostic() local
498 RouteData* routeData = *iter; in printDiagnostic()
/packages/apps/Gallery/src/com/android/camera/
DImageManager.java320 Iterator<BaseImageList> iter = l.iterator(); in makeImageList() local
321 while (iter.hasNext()) { in makeImageList()
322 BaseImageList sublist = iter.next(); in makeImageList()
325 iter.remove(); in makeImageList()
/packages/apps/UnifiedEmail/src/com/google/android/mail/common/html/parser/
DHtmlParser.java805 ListIterator<HtmlWhitelist> iter = whitelists.listIterator(whitelists.size());
806 while (iter.hasPrevious()) {
807 HTML.Element elem = iter.previous().lookupElement(name);
824 ListIterator<HtmlWhitelist> iter = whitelists.listIterator(whitelists.size());
825 while (iter.hasPrevious()) {
826 HTML.Attribute attr = iter.previous().lookupAttribute(name);

12