Home
last modified time | relevance | path

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

/packages/modules/Connectivity/staticlibs/framework/com/android/net/module/util/
DLinkPropertiesUtils.java49 public CompareResult(@Nullable Collection<T> oldItems, @Nullable Collection<T> newItems) { in CompareResult() argument
53 if (newItems != null) { in CompareResult()
54 for (T newItem : newItems) { in CompareResult()
91 public CompareOrUpdateResult(Collection<T> oldItems, Collection<T> newItems, in CompareOrUpdateResult() argument
101 if (newItems != null) { in CompareOrUpdateResult()
102 for (T newItem : newItems) { in CompareOrUpdateResult()
/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/WallpaperPicker2/src/com/android/wallpaper/picker/option/ui/adapter/
DOptionItemAdapter.kt51 val newItems = items in setItems() constant
61 return newItems.size in setItems()
69 val newItem = newItems[newItemPosition] in setItems()
78 val newItem = newItems[newItemPosition] in setItems()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DPreviewItemManager.java383 public void onDrop(List<ItemInfo> oldItems, List<ItemInfo> newItems, ItemInfo dropped) {
384 int numItems = newItems.size();
390 for (ItemInfo newItem : newItems) {
396 int prevIndex = newItems.indexOf(moveIn.get(i));
399 updateTransitionParam(p, moveIn.get(i), ENTER_INDEX, newItems.indexOf(moveIn.get(i)),
404 for (int newIndex = 0; newIndex < newItems.size(); ++newIndex) {
405 int oldIndex = oldItems.indexOf(newItems.get(newIndex));
408 updateTransitionParam(p, newItems.get(newIndex), oldIndex, newIndex, numItems);
414 moveOut.removeAll(newItems);
/packages/modules/Connectivity/staticlibs/tests/unit/src/com/android/net/module/util/
DLinkPropertiesUtilsTest.java189 private <T> void compareResult(List<T> oldItems, List<T> newItems, List<T> expectRemoved, in compareResult() argument
191 CompareResult<T> result = new CompareResult<>(oldItems, newItems); in compareResult()
288 List<String> newItems = strArray("hello123", "goodbye000", "verywell"); in testCompareOrUpdateResult() local
299 result = new CompareOrUpdateResult<String, String>(emptyList, newItems, extractPrefix); in testCompareOrUpdateResult()
304 result = new CompareOrUpdateResult<String, String>(newItems, newItems, extractPrefix); in testCompareOrUpdateResult()
308 result = new CompareOrUpdateResult<>(oldItems, newItems, extractPrefix); in testCompareOrUpdateResult()
313 result = new CompareOrUpdateResult<String, String>(null, newItems, extractPrefix); in testCompareOrUpdateResult()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/input/
DDisplayInputLockListAdapter.java80 public void setListItems(@NonNull ArrayList<DisplayInputLockItem> newItems) { in setListItems() argument
81 mDisplayInputLockList = newItems; in setListItems()
/packages/services/Car/tests/CustomizationTool/src/com/android/car/customization/tool/domain/menu/
DMenuUtils.kt105 val newItems = it.items.map { item -> in modifyDropDown() constant
112 it.copy(items = newItems) in modifyDropDown()
/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/Launcher3/quickstep/src/com/android/launcher3/hybridhotseat/
DHotseatPredictionController.java199 ArrayList<WorkspaceItemInfo> newItems = new ArrayList<>(); in fillGapsWithPrediction() local
239 newItems.add(predictedItem); in fillGapsWithPrediction()
243 bindItems(newItems, animate); in fillGapsWithPrediction()
/packages/apps/TV/libs/m2/
Ddagger-compiler-2.23.jarjava/dagger/internal/codegen/META-INF/gradle/incremental.annotation.processors ...
/packages/apps/ManagedProvisioning/studio-dev/StubGenerator/
DStubGenerator.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/jf/ org/ ...