HomeSort by relevance Sort by last modified time
    Searched refs:PopupPopulator (Results 1 - 4 of 4) sorted by null

  /packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
ShortcutsItemView.java 41 import com.android.launcher3.popup.PopupPopulator;
123 public void addShortcutView(View shortcutView, PopupPopulator.Item shortcutType) {
127 private void addShortcutView(View shortcutView, PopupPopulator.Item shortcutType, int index) {
128 if (shortcutType == PopupPopulator.Item.SHORTCUT) {
133 if (shortcutType == PopupPopulator.Item.SYSTEM_SHORTCUT_ICON) {
182 final PopupPopulator.Item widgetsItem = mSystemShortcutIcons == null
183 ? PopupPopulator.Item.SYSTEM_SHORTCUT
184 : PopupPopulator.Item.SYSTEM_SHORTCUT_ICON;
188 PopupPopulator.initializeSystemShortcut(getContext(), widgetsView, widgetInfo);
190 if (widgetsItem == PopupPopulator.Item.SYSTEM_SHORTCUT_ICON)
    [all...]
  /packages/apps/Launcher3/tests/src/com/android/launcher3/popup/
PopupPopulatorTest.java 31 import static com.android.launcher3.popup.PopupPopulator.MAX_ITEMS;
32 import static com.android.launcher3.popup.PopupPopulator.NUM_DYNAMIC;
38 * Tests the sorting and filtering of shortcuts in {@link PopupPopulator}.
87 List<ShortcutInfoCompat> filteredShortcuts = PopupPopulator.sortAndFilterShortcuts(
  /packages/apps/Launcher3/src/com/android/launcher3/popup/
PopupContainerWithArrow.java 175 PopupPopulator.Item[] itemsToPopulate = PopupPopulator
187 itemsToPopulate = PopupPopulator.reverseItems(itemsToPopulate);
231 new Handler(workerLooper).postAtFrontOfQueue(PopupPopulator.createUpdateRunnable(
237 private void addDummyViews(PopupPopulator.Item[] itemTypesToPopulate,
245 PopupPopulator.Item itemTypeToPopulate = itemTypesToPopulate[i];
246 PopupPopulator.Item nextItemTypeToPopulate =
250 if (itemTypeToPopulate == PopupPopulator.Item.NOTIFICATION) {
256 } else if (itemTypeToPopulate == PopupPopulator.Item.SHORTCUT) {
    [all...]
PopupPopulator.java 53 public class PopupPopulator {
208 shortcuts = PopupPopulator.sortAndFilterShortcuts(shortcuts, shortcutIdToDeDupe);

Completed in 134 milliseconds