Home
last modified time | relevance | path

Searched refs:ItemOperator (Results 1 – 7 of 7) sorted by relevance

/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/widget/
DRequestPinItemTest.java36 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()
DAddWidgetTest.java29 import com.android.launcher3.Workspace.ItemOperator;
81 assertTrue(mActivityMonitor.itemExists(new ItemOperator() { in performTest()
DAddConfigWidgetTest.java149 private class WidgetSearchCondition implements Condition, Workspace.ItemOperator {
/packages/apps/Launcher3/src/com/android/launcher3/
DWorkspace.java2804 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/
DLauncherActivityRule.java30 import com.android.launcher3.Workspace.ItemOperator;
54 public Callable<Boolean> itemExists(final ItemOperator op) { in itemExists()
/packages/apps/Launcher3/src/com/android/launcher3/folder/
DFolderPagedView.java43 import com.android.launcher3.Workspace.ItemOperator;
447 public View iterateOverItems(ItemOperator op) { in iterateOverItems()
DFolder.java67 import com.android.launcher3.Workspace.ItemOperator;
1267 return mContent.iterateOverItems(new ItemOperator() { in getViewForInfo()
1292 mContent.iterateOverItems(new ItemOperator() {