Home
last modified time | relevance | path

Searched refs:newItems (Results 1 – 9 of 9) sorted by relevance

/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DBaseTimeZoneAdapter.java240 final List<T> newItems; in performFiltering() local
242 newItems = mOriginalItems; in performFiltering()
245 newItems = new ArrayList<>(); in performFiltering()
253 newItems.add(item); in performFiltering()
263 newItems.add(item); in performFiltering()
273 results.values = newItems; in performFiltering()
274 results.count = newItems.size(); in performFiltering()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DPreviewItemManager.java336 public void onDrop(List<WorkspaceItemInfo> oldItems, List<WorkspaceItemInfo> newItems,
338 int numItems = newItems.size();
344 for (WorkspaceItemInfo newItem : newItems) {
350 int prevIndex = newItems.indexOf(moveIn.get(i));
353 updateTransitionParam(p, moveIn.get(i), ENTER_INDEX, newItems.indexOf(moveIn.get(i)),
358 for (int newIndex = 0; newIndex < newItems.size(); ++newIndex) {
359 int oldIndex = oldItems.indexOf(newItems.get(newIndex));
362 updateTransitionParam(p, newItems.get(newIndex), oldIndex, newIndex, numItems);
368 moveOut.removeAll(newItems);
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/
DBaseTimeZoneAdapter.java240 final List<T> newItems; in performFiltering() local
242 newItems = mOriginalItems; in performFiltering()
245 newItems = new ArrayList<>(); in performFiltering()
253 newItems.add(item); in performFiltering()
263 newItems.add(item); in performFiltering()
273 results.values = newItems; in performFiltering()
274 results.count = newItems.size(); in performFiltering()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningProcessesView.java238 ArrayList<RunningState.MergedItem> newItems = in refreshItems() local
241 if (mOrigItems != newItems) { in refreshItems()
242 mOrigItems = newItems; in refreshItems()
243 if (newItems == null) { in refreshItems()
247 mItems.addAll(newItems); in refreshItems()
DRunningServiceDetails.java201 ArrayList<RunningState.MergedItem> newItems = mShowBackground in findMergedItem() local
203 if (newItems != null) { in findMergedItem()
204 for (int i=0; i<newItems.size(); i++) { in findMergedItem()
205 RunningState.MergedItem mi = newItems.get(i); in findMergedItem()
DRunningState.java1186 ArrayList<BaseItem> newItems = new ArrayList<BaseItem>(); in update() local
1195 pi.addDependentProcesses(newItems, mProcessItems); in update()
1197 newItems.add(pi); in update()
1209 newItems.add(si); in update()
1275 mItems = newItems; in update()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/
DRunningProcessesView.java238 ArrayList<RunningState.MergedItem> newItems = in refreshItems() local
241 if (mOrigItems != newItems) { in refreshItems()
242 mOrigItems = newItems; in refreshItems()
243 if (newItems == null) { in refreshItems()
247 mItems.addAll(newItems); in refreshItems()
DRunningServiceDetails.java201 ArrayList<RunningState.MergedItem> newItems = mShowBackground in findMergedItem() local
203 if (newItems != null) { in findMergedItem()
204 for (int i=0; i<newItems.size(); i++) { in findMergedItem()
205 RunningState.MergedItem mi = newItems.get(i); in findMergedItem()
DRunningState.java1186 ArrayList<BaseItem> newItems = new ArrayList<BaseItem>(); in update() local
1195 pi.addDependentProcesses(newItems, mProcessItems); in update()
1197 newItems.add(pi); in update()
1209 newItems.add(si); in update()
1275 mItems = newItems; in update()