Home
last modified time | relevance | path

Searched refs:oldItems (Results 1 – 3 of 3) sorted by relevance

/packages/apps/TV/tuner/src/com/android/tv/tuner/tvinput/datamanager/
DChannelDataManager.java405 List<EitItem> oldItems = in handleEvents() local
411 for (EitItem item : oldItems) { in handleEvents()
424 int oldItemCount = oldItems.size(); in handleEvents()
431 if (newItemStartTime < oldItems.get(0).getStartTimeUtcMillis()) { in handleEvents()
433 if (newItemEndTime > oldItems.get(0).getStartTimeUtcMillis()) continue; in handleEvents()
435 > oldItems.get(oldItemCount - 1).getStartTimeUtcMillis()) { in handleEvents()
437 if (newItemStartTime < oldItems.get(oldItemCount - 1).getEndTimeUtcMillis()) in handleEvents()
442 oldItems, in handleEvents()
454 if (newItemStartTime < oldItems.get(insertPoint - 1).getEndTimeUtcMillis() in handleEvents()
455 || newItemEndTime > oldItems.get(insertPoint).getStartTimeUtcMillis()) { in handleEvents()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/history/
DHistoryManager.java137 Vector<HistoryItem> oldItems = new Vector<HistoryItem>(); in insert() local
139 oldItems.add(getItem(i)); in insert()
142 for (int i = 0; i < oldItems.size(); i++) { in insert()
143 add(oldItems.elementAt(i)); in insert()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DPreviewItemManager.java336 public void onDrop(List<WorkspaceItemInfo> oldItems, List<WorkspaceItemInfo> newItems,
345 if (!oldItems.contains(newItem) && !newItem.equals(dropped)) {
359 int oldIndex = oldItems.indexOf(newItems.get(newIndex));
367 List<WorkspaceItemInfo> moveOut = new ArrayList<>(oldItems);
371 int oldIndex = oldItems.indexOf(item);