Home
last modified time | relevance | path

Searched refs:iter (Results 1 – 25 of 49) 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.java73 Iterator<Task> iter = mTaskList.iterator(); in purge() local
74 while (iter.hasNext()) { in purge()
75 Task task = iter.next(); in purge()
77 iter.remove(); in purge()
120 ListIterator<Task> iter = mTaskList.listIterator(0); in scheduleAtTime() local
121 while (iter.hasNext()) { in scheduleAtTime()
122 if (iter.next().mExecuteTime >= executeTime) { in scheduleAtTime()
126 iter.add(testTimerTask); in scheduleAtTime()
/packages/apps/TV/src/com/android/tv/dvr/recorder/
DSeriesRecordingScheduler.java114 for (Iterator<SeriesRecordingUpdateTask> iter = mScheduleTasks.iterator();
115 iter.hasNext(); ) {
116 SeriesRecordingUpdateTask task = iter.next();
120 iter.remove();
338 for (Iterator<SeriesRecordingUpdateTask> iter = mScheduleTasks.iterator(); in updateSchedules()
339 iter.hasNext(); ) { in updateSchedules()
340 SeriesRecordingUpdateTask task = iter.next(); in updateSchedules()
346 iter.remove(); in updateSchedules()
351 for (Iterator<SeriesRecording> iter = seriesRecordingsToUpdate.iterator(); in updateSchedules()
352 iter.hasNext(); ) { in updateSchedules()
[all …]
DInputTaskScheduler.java260 for (Iterator<ScheduledRecording> iter = mWaitingSchedules.values().iterator(); in handleBuildSchedule()
261 iter.hasNext(); ) { in handleBuildSchedule()
262 ScheduledRecording schedule = iter.next(); in handleBuildSchedule()
266 iter.remove(); in handleBuildSchedule()
/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/Bluetooth/src/com/android/bluetooth/opp/
DBluetoothOppManager.java159 for (Iterator<Pair<String,Long>> iter = mWhitelist.iterator(); iter.hasNext(); ) { in cleanupWhitelist()
160 Pair<String,Long> entry = iter.next(); in cleanupWhitelist()
163 iter.remove(); in cleanupWhitelist()
171 for (Iterator<Pair<String,Long>> iter = mWhitelist.iterator(); iter.hasNext(); ) { in addToWhitelist()
172 Pair<String,Long> entry = iter.next(); in addToWhitelist()
174 iter.remove(); in addToWhitelist()
/packages/apps/TV/src/com/android/tv/dvr/
DDvrScheduleManager.java782 for (Iterator<ScheduledRecording> iter = schedulesToCheck.iterator(); iter.hasNext(); ) { in getConflictingSchedules()
783 ScheduledRecording schedule = iter.next(); in getConflictingSchedules()
787 iter.remove(); in getConflictingSchedules()
794 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()
935 for (Iterator<ScheduledRecording> iter = recordings.iterator(); iter.hasNext(); ) { in removeFinishedRecordings()
936 if (iter.next().getEndTimeMs() <= currentTimeMs) { in removeFinishedRecordings()
[all …]
DDvrDataManagerImpl.java160 Iterator<Entry<Long, T>> iter = from.entrySet().iterator(); in moveElements() local
161 while (iter.hasNext()) { in moveElements()
162 Entry<Long, T> entry = iter.next(); in moveElements()
165 iter.remove(); in moveElements()
798 Iterator<Entry<Long, ScheduledRecording>> iter = in removeDeletedSchedules() local
800 while (iter.hasNext()) { in removeDeletedSchedules()
801 Entry<Long, ScheduledRecording> entry = iter.next(); in removeDeletedSchedules()
804 iter.remove(); in removeDeletedSchedules()
977 Iterator<SeriesRecording> iter = mSeriesRecordings.values().iterator(); in validateSeriesRecordings() local
979 while (iter.hasNext()) { in validateSeriesRecordings()
[all …]
/packages/apps/Launcher2/src/com/android/launcher2/
DAppsCustomizePagedView.java931 Iterator<AppsCustomizeAsyncTask> iter = mRunningTasks.iterator(); in cancelAllTasks() local
932 while (iter.hasNext()) { in cancelAllTasks()
933 AppsCustomizeAsyncTask task = (AppsCustomizeAsyncTask) iter.next(); in cancelAllTasks()
935 iter.remove(); in cancelAllTasks()
961 Iterator<AppsCustomizeAsyncTask> iter = mRunningTasks.iterator(); in snapToPage() local
962 while (iter.hasNext()) { in snapToPage()
963 AppsCustomizeAsyncTask task = (AppsCustomizeAsyncTask) iter.next(); in snapToPage()
1066 Iterator<AppsCustomizeAsyncTask> iter = mRunningTasks.iterator(); in getWidgetPageLoadPriority() local
1068 while (iter.hasNext()) { in getWidgetPageLoadPriority()
1069 AppsCustomizeAsyncTask task = (AppsCustomizeAsyncTask) iter.next(); in getWidgetPageLoadPriority()
[all …]
DDeferredHandler.java105 ListIterator<Pair<Runnable, Integer>> iter = mQueue.listIterator(); in cancelAllRunnablesOfType() local
107 while (iter.hasNext()) { in cancelAllRunnablesOfType()
108 p = iter.next(); in cancelAllRunnablesOfType()
110 iter.remove(); in cancelAllRunnablesOfType()
DUninstallShortcutReceiver.java75 Iterator<PendingUninstallShortcutInfo> iter = mUninstallQueue.iterator(); in disableAndFlushUninstallQueue() local
76 while (iter.hasNext()) { in disableAndFlushUninstallQueue()
77 processUninstallShortcut(context, iter.next()); in disableAndFlushUninstallQueue()
78 iter.remove(); in disableAndFlushUninstallQueue()
/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/Calendar/src/com/android/calendar/agenda/
DAgendaByDayAdapter.java338 Iterator<MultipleDayInfo> iter = multipleDayList.iterator(); in calculateDays() local
339 while (iter.hasNext()) { in calculateDays()
340 MultipleDayInfo info = iter.next(); in calculateDays()
344 iter.remove(); in calculateDays()
403 Iterator<MultipleDayInfo> iter = multipleDayList.iterator(); in calculateDays() local
404 while (iter.hasNext()) { in calculateDays()
405 MultipleDayInfo info = iter.next(); in calculateDays()
409 iter.remove(); in calculateDays()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/
DStatusFragment.java269 Iterator<InetAddress> iter = prop.getAllAddresses().iterator(); in formatIpAddresses()
271 if (!iter.hasNext()) return null; in formatIpAddresses()
274 while (iter.hasNext()) { in formatIpAddresses()
275 addresses += iter.next().getHostAddress(); in formatIpAddresses()
276 if (iter.hasNext()) addresses += "\n"; in formatIpAddresses()
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/clipping/
DClipStorageTest.java122 Iterator<Uri> iter = reader.iterator(); in testReadConcurrently() local
125 while (iter.hasNext() && iter2.hasNext()) { in testReadConcurrently()
126 uris.add(iter.next()); in testReadConcurrently()
130 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.java243 for (Iterator<Program> iter = mPrograms.values().iterator(); iter.hasNext(); ) { in handleUpdateRow()
244 Program program = iter.next(); in handleUpdateRow()
248 iter.remove(); in handleUpdateRow()
/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/Launcher3/src/com/android/launcher3/model/
DLoaderResults.java216 Iterator<T> iter = allWorkspaceItems.iterator(); in filterCurrentWorkspaceItems() local
217 while (iter.hasNext()) { in filterCurrentWorkspaceItems()
218 ItemInfo i = iter.next(); in filterCurrentWorkspaceItems()
220 iter.remove(); in filterCurrentWorkspaceItems()
/packages/apps/Nfc/nci/jni/
DRouteDataSet.cpp520 for (Database::iterator iter = db->begin(); iter != db->end(); iter++) in printDiagnostic() local
522 RouteData* routeData = *iter; in printDiagnostic()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DCustomizeChannelListFragment.java167 Iterator<Item> iter = items.iterator(); in cleanUpOneChannelGroupItem() local
168 while (iter.hasNext()) { in cleanUpOneChannelGroupItem()
169 Item item = iter.next(); in cleanUpOneChannelGroupItem()
174 iter.remove(); in cleanUpOneChannelGroupItem()
/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);
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationCursor.java667 final Iterator<Map.Entry<String, ContentValues>> iter = in resetCursor() local
670 while (iter.hasNext()) { in resetCursor()
671 Map.Entry<String, ContentValues> entry = iter.next(); in resetCursor()
703 iter.remove(); in resetCursor()
742 final Iterator<Map.Entry<String, ContentValues>> iter = in getDeletedItems() local
745 while (iter.hasNext()) { in getDeletedItems()
746 final Map.Entry<String, ContentValues> entry = iter.next(); in getDeletedItems()
784 final Iterator<Map.Entry<String, ContentValues>> iter = in getConversationPosition() local
786 while (iter.hasNext()) { in getConversationPosition()
787 final Map.Entry<String, ContentValues> entry = iter.next(); in getConversationPosition()

12