Searched refs:ItemOperator (Results 1 – 7 of 7) sorted by relevance
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/ |
D | RequestPinItemTest.java | 36 import com.android.launcher3.Workspace.ItemOperator; 116 runTest("pinShortcut", false, new ItemOperator() { in testPinShortcut() 126 private void runTest(String activityMethod, boolean isWidget, ItemOperator itemMatcher, in runTest() 182 private final ItemOperator mOp; 184 ItemSearchCondition(ItemOperator op) { in ItemSearchCondition()
|
D | AddWidgetTest.java | 29 import com.android.launcher3.Workspace.ItemOperator; 81 assertTrue(mActivityMonitor.itemExists(new ItemOperator() { in performTest()
|
D | AddConfigWidgetTest.java | 149 private class WidgetSearchCondition implements Condition, Workspace.ItemOperator {
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | Workspace.java | 2804 mapOverItems(false, new ItemOperator() { 2914 final Workspace.ItemOperator packageAndUser = (ItemInfo info, View view) -> info != null 2918 final Workspace.ItemOperator packageAndUserAndApp = (ItemInfo info, View view) -> 2920 final Workspace.ItemOperator packageAndUserAndAppInFolder = (info, view) -> { 2954 public View getFirstMatch(final ItemOperator operator) { in getFirstMatch() 2956 mapOverItems(MAP_NO_RECURSE, new ItemOperator() { in getFirstMatch() 2974 private View getFirstMatch(CellLayout[] cellLayouts, final ItemOperator... operators) { in getFirstMatch() 3004 mapOverItems(MAP_NO_RECURSE, new ItemOperator() { in clearDropTargets() 3062 public interface ItemOperator { interface 3079 public void mapOverItems(boolean recurse, ItemOperator op) { in mapOverItems() [all …]
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/util/rule/ |
D | LauncherActivityRule.java | 30 import com.android.launcher3.Workspace.ItemOperator; 54 public Callable<Boolean> itemExists(final ItemOperator op) { in itemExists()
|
/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | FolderPagedView.java | 43 import com.android.launcher3.Workspace.ItemOperator; 447 public View iterateOverItems(ItemOperator op) { in iterateOverItems()
|
D | Folder.java | 67 import com.android.launcher3.Workspace.ItemOperator; 1267 return mContent.iterateOverItems(new ItemOperator() { in getViewForInfo() 1292 mContent.iterateOverItems(new ItemOperator() {
|