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.java365 public void onDrop(List<WorkspaceItemInfo> oldItems, List<WorkspaceItemInfo> newItems,
367 int numItems = newItems.size();
373 for (WorkspaceItemInfo newItem : newItems) {
379 int prevIndex = newItems.indexOf(moveIn.get(i));
382 updateTransitionParam(p, moveIn.get(i), ENTER_INDEX, newItems.indexOf(moveIn.get(i)),
387 for (int newIndex = 0; newIndex < newItems.size(); ++newIndex) {
388 int oldIndex = oldItems.indexOf(newItems.get(newIndex));
391 updateTransitionParam(p, newItems.get(newIndex), oldIndex, newIndex, numItems);
397 moveOut.removeAll(newItems);
/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.java1191 ArrayList<BaseItem> newItems = new ArrayList<BaseItem>(); in update() local
1200 pi.addDependentProcesses(newItems, mProcessItems); in update()
1202 newItems.add(pi); in update()
1214 newItems.add(si); in update()
1280 mItems = newItems; in update()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/recyclerview/
DTestDelegatingContentLimitingAdapter.java98 public void changeList(List<String> newItems) { in changeList() argument
100 mItems.addAll(newItems); in changeList()
DDelegatingContentLimitingAdapterTest.java248 ArrayList<String> newItems = new ArrayList<>(); in testChangeDataSet_callsObservers() local
250 newItems.add("New Item " + i); in testChangeDataSet_callsObservers()
252 mDelegateAdapter.changeList(newItems); in testChangeDataSet_callsObservers()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatPredictionController.java203 ArrayList<WorkspaceItemInfo> newItems = new ArrayList<>(); in fillGapsWithPrediction() local
239 newItems.add(predictedItem); in fillGapsWithPrediction()
243 bindItems(newItems, animate); in fillGapsWithPrediction()
/packages/apps/Launcher3/src/com/android/launcher3/model/
DBgDataModel.java430 public void setItems(List<ItemInfo> newItems) { in setItems() argument
432 newItems.forEach(item -> { in setItems()