Home
last modified time | relevance | path

Searched refs:popup (Results 1 – 25 of 71) sorted by relevance

123

/packages/apps/Settings/protos/
Dnetwork_mode_choices.proto8 // EnabledNetworks is a list which tries to categorized the entries of popup menu
73 // A request for popup menu.
77 // Mapping to popup menu categories.
80 // Resource which provides a list of network type values for this popup menu.
92 // Append a CDMA 1x network option into popup menu.
95 // Append a 2G network option into popup menu.
98 // Append a 3G network option into popup menu.
101 // Append a global mode option into popup menu.
104 // Append a CDMA/LTE global mode option into popup menu.
107 // Append a GSM/LTE global mode option into popup menu.
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPopupList.java139 PopupWindow popup = mPopupWindow; in updatePopupLayoutParams() local
142 popup.getBackground().getPadding(p); in updatePopupLayoutParams()
155 PopupWindow popup = new PopupWindow(mContext); in createPopupWindow() local
156 popup.setOnDismissListener(mOnDismissListener); in createPopupWindow()
158 popup.setBackgroundDrawable(mContext.getResources().getDrawable( in createPopupWindow()
165 popup.setContentView(mContentList); in createPopupWindow()
166 popup.setFocusable(true); in createPopupWindow()
167 popup.setOutsideTouchable(true); in createPopupWindow()
169 return popup; in createPopupWindow()
/packages/apps/Contacts/src/com/android/contacts/editor/
DAccountHeaderPresenter.java176 final ListPopupWindow popup = new ListPopupWindow(mContext); in showPopup() local
179 popup.setWidth(mAccountHeaderContainer.getWidth()); in showPopup()
180 popup.setAnchorView(mAccountHeaderContainer); in showPopup()
181 popup.setAdapter(adapter); in showPopup()
182 popup.setModal(true); in showPopup()
183 popup.setInputMethodMode(ListPopupWindow.INPUT_METHOD_NOT_NEEDED); in showPopup()
184 popup.setOnItemClickListener(new AdapterView.OnItemClickListener() { in showPopup()
188 UiClosables.closeQuietly(popup); in showPopup()
199 popup.show(); in showPopup()
DRawContactEditorView.java824 final ListPopupWindow popup = new ListPopupWindow(getContext(), null); in addAccountSelector()
827 popup.setWidth(mAccountHeaderContainer.getWidth()); in addAccountSelector()
828 popup.setAnchorView(mAccountHeaderContainer); in addAccountSelector()
829 popup.setAdapter(adapter); in addAccountSelector()
830 popup.setModal(true); in addAccountSelector()
831 popup.setInputMethodMode(ListPopupWindow.INPUT_METHOD_NOT_NEEDED); in addAccountSelector()
832 popup.setOnItemClickListener(new AdapterView.OnItemClickListener() { in addAccountSelector()
836 UiClosables.closeQuietly(popup); in addAccountSelector()
847 popup.show(); in addAccountSelector()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DOtherSettingIndicatorButton.java58 OtherSettingsPopup popup = (OtherSettingsPopup) inflater.inflate( in initializePopup() local
60 popup.setSettingChangedListener(mListener); in initializePopup()
61 popup.initialize(mPreferenceGroup, mPrefKeys); in initializePopup()
62 root.addView(popup); in initializePopup()
63 mPopup = popup; in initializePopup()
/packages/apps/Contacts/src/com/android/contacts/util/
DUiClosables.java32 public static boolean closeQuietly(ListPopupWindow popup) { in closeQuietly() argument
33 if (popup != null && popup.isShowing()) { in closeQuietly()
34 popup.dismiss(); in closeQuietly()
/packages/apps/Launcher3/src/com/android/launcher3/views/
DOptionsPopupView.java52 import com.android.launcher3.popup.ArrowPopup;
179 OptionsPopupView<T> popup = (OptionsPopupView<T>) activityContext.getLayoutInflater() in show() local
181 popup.mTargetRect = targetRect; in show()
182 popup.setShouldAddArrow(shouldAddArrow); in show()
185 DeepShortcutView view = popup.inflateAndAdd(R.layout.system_shortcut, popup); in show()
191 view.setOnClickListener(popup); in show()
192 view.setOnLongClickListener(popup); in show()
193 popup.mItemMap.put(view, item); in show()
196 popup.show(); in show()
197 return popup; in show()
/packages/apps/Launcher3/tests/src/com/android/launcher3/appiconmenu/
DTaplAppIconMenuTest.java26 import com.android.launcher3.popup.ArrowPopup;
44 final ArrowPopup<?> popup = launcher.getOptionsPopup(); in isOptionsPopupVisible() local
45 return popup != null && popup.isShown(); in isOptionsPopupVisible()
/packages/services/Car/tests/ThemePlayground/src/com/android/car/themeplayground/
DAbstractSampleActivity.java89 PopupMenu popup = new PopupMenu(this, v); in showPopupMenu() local
90 popup.setOnMenuItemClickListener(this); in showPopupMenu()
91 popup.inflate(R.menu.menu_main); in showPopupMenu()
92 popup.show(); in showPopupMenu()
/packages/apps/Launcher3/tests/multivalentTests/src/com/android/launcher3/popup/
DPopupPopulatorTest.java17 package com.android.launcher3.popup;
21 import static com.android.launcher3.popup.PopupPopulator.MAX_SHORTCUTS;
22 import static com.android.launcher3.popup.PopupPopulator.NUM_DYNAMIC;
/packages/apps/Launcher3/src/com/android/launcher3/secondarydisplay/
DSecondaryDragLayer.java21 import static com.android.launcher3.popup.SystemShortcut.APP_INFO;
39 import com.android.launcher3.popup.PopupContainerWithArrow;
40 import com.android.launcher3.popup.PopupDataProvider;
41 import com.android.launcher3.popup.SystemShortcut;
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java17 package com.android.launcher3.popup;
23 import static com.android.launcher3.popup.PopupPopulator.MAX_SHORTCUTS;
583 PopupContainerWithArrow popup = getOpen(activity);
584 if (popup != null && (!popup.mOriginalIcon.isAttachedToWindow()
585 || !ShortcutUtil.supportsShortcuts((ItemInfo) popup.mOriginalIcon.getTag()))) {
586 popup.animateClose();
DPopupLiveUpdateHandler.java16 package com.android.launcher3.popup;
/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/
DLauncherActivity.java209 PopupMenu popup = new PopupMenu(this, v); in onCreate() local
210 popup.setOnMenuItemClickListener(this); in onCreate()
211 MenuInflater inflater = popup.getMenuInflater(); in onCreate()
212 inflater.inflate(R.menu.context_menu, popup.getMenu()); in onCreate()
214 popup.getMenu().findItem(R.id.set_wallpaper).setEnabled(false); in onCreate()
216 popup.show(); in onCreate()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/splitscreen/
DSplitShortcut.kt27 import com.android.launcher3.popup.QuickstepSystemShortcut
28 import com.android.launcher3.popup.SystemShortcut
/packages/apps/Launcher3/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java49 import com.android.launcher3.popup.ArrowPopup;
50 import com.android.launcher3.popup.PopupContainerWithArrow;
190 ArrowPopup popup = OptionsPopupView.show(mContext, new RectF(pos), actions, false); in performAction() local
191 popup.requestFocus(); in performAction()
192 popup.addOnCloseCallback(() -> { in performAction()
338 KeyboardDragAndDropView popup = (KeyboardDragAndDropView) mContext.getLayoutInflater() in beginAccessibleDrag() local
340 popup.showForIcon(item, info, options); in beginAccessibleDrag()
/packages/apps/Browser2/src/org/chromium/webview_shell/
DWebViewBrowserActivity.java504 PopupMenu popup = new PopupMenu(this, v); in showPopup() local
505 popup.setOnMenuItemClickListener(this); in showPopup()
506 popup.inflate(R.menu.main_menu); in showPopup()
507 popup.getMenu().findItem(R.id.menu_enable_tracing).setChecked(mEnableTracing); in showPopup()
508 popup.show(); in showPopup()
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/taskbar/
DTaskbarPopupController.java41 import com.android.launcher3.popup.PopupContainerWithArrow;
42 import com.android.launcher3.popup.PopupDataProvider;
43 import com.android.launcher3.popup.SystemShortcut;
DTaskbarDividerPopupView.kt35 import com.android.launcher3.popup.ArrowPopup in <lambda>()
36 import com.android.launcher3.popup.RoundedArrowDrawable in <lambda>()
/packages/apps/Launcher3/quickstep/src/com/android/quickstep/views/
DTaskMenuViewWithArrow.kt35 import com.android.launcher3.popup.ArrowPopup in <lambda>()
36 import com.android.launcher3.popup.RoundedArrowDrawable in <lambda>()
37 import com.android.launcher3.popup.SystemShortcut in <lambda>()
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/search/
DWidgetsSearchBar.java19 import com.android.launcher3.popup.PopupDataProvider;
/packages/apps/Launcher3/go/quickstep/src/com/android/launcher3/
DLauncher3QuickStepGo.java19 import com.android.launcher3.popup.SystemShortcut;
DAppSharing.java45 import com.android.launcher3.popup.PopupDataProvider;
46 import com.android.launcher3.popup.SystemShortcut;
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/popup/
DQuickstepSystemShortcut.java16 package com.android.launcher3.popup;
/packages/apps/Launcher3/quickstep/src/com/android/launcher3/uioverrides/
DQuickstepLauncher.java46 import static com.android.launcher3.popup.QuickstepSystemShortcut.getSplitSelectShortcutByPosition;
47 import static com.android.launcher3.popup.SystemShortcut.APP_INFO;
48 import static com.android.launcher3.popup.SystemShortcut.DONT_SUGGEST_APP;
49 import static com.android.launcher3.popup.SystemShortcut.INSTALL;
50 import static com.android.launcher3.popup.SystemShortcut.PRIVATE_PROFILE_INSTALL;
51 import static com.android.launcher3.popup.SystemShortcut.UNINSTALL_APP;
52 import static com.android.launcher3.popup.SystemShortcut.WIDGETS;
133 import com.android.launcher3.popup.SystemShortcut;

123