Home
last modified time | relevance | path

Searched refs:WidgetsListBaseEntry (Results 1 – 20 of 20) sorted by relevance

/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsDiffCallback.java21 import com.android.launcher3.widget.model.WidgetsListBaseEntry;
30 private final List<WidgetsListBaseEntry> mOldEntries;
31 private final List<WidgetsListBaseEntry> mNewEntries;
34 List<WidgetsListBaseEntry> oldEntries, in WidgetsDiffCallback()
35 List<WidgetsListBaseEntry> newEntries) { in WidgetsDiffCallback()
53 WidgetsListBaseEntry oldItem = mOldEntries.get(oldItemPosition); in areItemsTheSame()
54 WidgetsListBaseEntry newItem = mNewEntries.get(newItemPosition); in areItemsTheSame()
DWidgetsListAdapter.java50 import com.android.launcher3.widget.model.WidgetsListBaseEntry;
92 private final List<WidgetsListBaseEntry> mAllEntries = new ArrayList<>();
93 private ArrayList<WidgetsListBaseEntry> mVisibleEntries = new ArrayList<>();
96 private Predicate<WidgetsListBaseEntry> mHeaderAndSelectedContentFilter = entry ->
100 @Nullable private Predicate<WidgetsListBaseEntry> mFilter = null;
143 public void setFilter(Predicate<WidgetsListBaseEntry> filter) { in setFilter()
161 public List<WidgetsListBaseEntry> getItems() { in getItems()
171 public void setWidgets(List<WidgetsListBaseEntry> tempEntries) { in setWidgets()
179 public void setWidgetsOnSearch(List<WidgetsListBaseEntry> searchResults) { in setWidgetsOnSearch()
193 List<WidgetsListBaseEntry> newVisibleEntries = mAllEntries.stream() in updateVisibleEntries()
[all …]
DWidgetsFullSheet.java70 import com.android.launcher3.widget.model.WidgetsListBaseEntry;
102 private final Predicate<WidgetsListBaseEntry> mPrimaryWidgetsFilter =
104 private final Predicate<WidgetsListBaseEntry> mWorkWidgetsFilter;
473 List<WidgetsListBaseEntry> allWidgets = in onWidgetsBound()
530 public void onSearchResults(List<WidgetsListBaseEntry> entries) { in onSearchResults()
DWidgetsTwoPaneSheet.java50 import com.android.launcher3.widget.model.WidgetsListBaseEntry;
345 public void onSearchResults(List<WidgetsListBaseEntry> entries) { in onSearchResults()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/search/
DSimpleWidgetsSearchAlgorithm.java28 import com.android.launcher3.widget.model.WidgetsListBaseEntry;
39 public final class SimpleWidgetsSearchAlgorithm implements SearchAlgorithm<WidgetsListBaseEntry> {
50 public void doSearch(String query, SearchCallback<WidgetsListBaseEntry> callback) { in doSearch()
51 ArrayList<WidgetsListBaseEntry> result = getFilteredWidgets(mDataProvider, query); in doSearch()
65 public static ArrayList<WidgetsListBaseEntry> getFilteredWidgets( in getFilteredWidgets()
67 ArrayList<WidgetsListBaseEntry> results = new ArrayList<>(); in getFilteredWidgets()
DWidgetsSearchBarController.java32 import com.android.launcher3.widget.model.WidgetsListBaseEntry;
40 SearchCallback<WidgetsListBaseEntry>, ExtendedEditText.OnBackKeyListener,
45 protected SearchAlgorithm<WidgetsListBaseEntry> mSearchAlgorithm;
52 SearchAlgorithm<WidgetsListBaseEntry> algo, ExtendedEditText editText, in WidgetsSearchBarController()
90 public void onSearchResult(String query, ArrayList<WidgetsListBaseEntry> items) { in onSearchResult()
DSearchModeListener.java18 import com.android.launcher3.widget.model.WidgetsListBaseEntry;
39 void onSearchResults(List<WidgetsListBaseEntry> entries); in onSearchResults()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/widget/picker/search/
DWidgetsSearchBarControllerTest.java36 import com.android.launcher3.widget.model.WidgetsListBaseEntry;
56 private SearchAlgorithm<WidgetsListBaseEntry> mSearchAlgorithm;
71 ArrayList<WidgetsListBaseEntry> entries = new ArrayList<>(); in onSearchResult_shouldInformSearchModeListener()
DSimpleWidgetsSearchAlgorithmTest.java51 import com.android.launcher3.widget.model.WidgetsListBaseEntry;
84 private SearchCallback<WidgetsListBaseEntry> mSearchCallback;
/packages/apps/Launcher3/src/com/android/launcher3/widget/model/
DWidgetsListBaseEntry.java28 public abstract class WidgetsListBaseEntry { class
39 public WidgetsListBaseEntry(PackageItemInfo pkgItem, String titleSectionName, in WidgetsListBaseEntry() method in WidgetsListBaseEntry
DWidgetListSpaceEntry.java28 public class WidgetListSpaceEntry extends WidgetsListBaseEntry {
DWidgetsListContentEntry.java29 public final class WidgetsListContentEntry extends WidgetsListBaseEntry {
DWidgetsListHeaderEntry.java33 public final class WidgetsListHeaderEntry extends WidgetsListBaseEntry {
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupDataProvider.java35 import com.android.launcher3.widget.model.WidgetsListBaseEntry;
66 private List<WidgetsListBaseEntry> mAllWidgets = List.of();
195 public void setAllWidgets(List<WidgetsListBaseEntry> allWidgets) {
204 public List<WidgetsListBaseEntry> getAllWidgets() {
/packages/apps/Launcher3/src/com/android/launcher3/
DModelCallbacks.kt30 import com.android.launcher3.widget.model.WidgetsListBaseEntry in <lambda>()
254 override fun bindAllWidgets(allWidgets: List<WidgetsListBaseEntry?>?) { in <lambda>()
303 val widgetsListBaseEntry: WidgetsListBaseEntry = in <lambda>()
304 launcher.popupDataProvider.allWidgets.firstOrNull { item: WidgetsListBaseEntry -> in <lambda>()
DLauncher.java266 import com.android.launcher3.widget.model.WidgetsListBaseEntry;
2636 public void bindAllWidgets(final List<WidgetsListBaseEntry> allWidgets) {
/packages/apps/Launcher3/src/com/android/launcher3/model/
DWidgetsModel.java42 import com.android.launcher3.widget.model.WidgetsListBaseEntry;
79 public synchronized ArrayList<WidgetsListBaseEntry> getFilteredWidgetsListForPicker( in getFilteredWidgetsListForPicker()
85 ArrayList<WidgetsListBaseEntry> result = new ArrayList<>(); in getFilteredWidgetsListForPicker()
110 public synchronized ArrayList<WidgetsListBaseEntry> getWidgetsListForPicker(Context context) { in getWidgetsListForPicker()
DBgDataModel.java64 import com.android.launcher3.widget.model.WidgetsListBaseEntry;
540 default void bindAllWidgets(List<WidgetsListBaseEntry> widgets) { } in bindAllWidgets()
DBaseLauncherBinder.java55 import com.android.launcher3.widget.model.WidgetsListBaseEntry;
198 final List<WidgetsListBaseEntry> widgets = in bindWidgets()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/
DWidgetPickerActivity.java49 import com.android.launcher3.widget.model.WidgetsListBaseEntry;
231 final List<WidgetsListBaseEntry> allWidgets =
256 private void bindWidgets(List<WidgetsListBaseEntry> widgets) {