Home
last modified time | relevance | path

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

12

/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.java812 final ListPopupWindow popup = new ListPopupWindow(getContext(), null); in addAccountSelector()
815 popup.setWidth(mAccountHeaderContainer.getWidth()); in addAccountSelector()
816 popup.setAnchorView(mAccountHeaderContainer); in addAccountSelector()
817 popup.setAdapter(adapter); in addAccountSelector()
818 popup.setModal(true); in addAccountSelector()
819 popup.setInputMethodMode(ListPopupWindow.INPUT_METHOD_NOT_NEEDED); in addAccountSelector()
820 popup.setOnItemClickListener(new AdapterView.OnItemClickListener() { in addAccountSelector()
824 UiClosables.closeQuietly(popup); in addAccountSelector()
835 popup.show(); in addAccountSelector()
/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/Launcher3/src/com/android/launcher3/views/
DOptionsPopupView.java41 import com.android.launcher3.popup.ArrowPopup;
125 OptionsPopupView popup = (OptionsPopupView) launcher.getLayoutInflater() in show() local
127 popup.mTargetRect = targetRect; in show()
130 DeepShortcutView view = popup.inflateAndAdd(R.layout.system_shortcut, popup); in show()
134 view.setOnClickListener(popup); in show()
135 view.setOnLongClickListener(popup); in show()
136 popup.mItemMap.put(view, item); in show()
138 popup.reorderAndShow(popup.getChildCount()); in show()
/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()
DIndicatorButton.java107 AbstractSettingPopup popup; in initializePopup() local
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/
DCustomActionsPopup.java30 import com.android.launcher3.popup.PopupContainerWithArrow;
79 PopupMenu popup = new PopupMenu(mLauncher, mIcon); in show() local
80 popup.setOnMenuItemClickListener(this); in show()
81 Menu menu = popup.getMenu(); in show()
85 popup.show(); in show()
/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/SecondaryDisplayLauncher/src/com/android/launcher3/
DSecondaryDisplayLauncher.java105 PopupMenu popup = new PopupMenu(this,v); in onCreate() local
106 popup.setOnMenuItemClickListener(this); in onCreate()
107 MenuInflater inflater = popup.getMenuInflater(); in onCreate()
108 inflater.inflate(R.menu.context_menu, popup.getMenu()); in onCreate()
109 popup.show(); in onCreate()
/packages/services/Car/tests/ThemePlayground/src/com/android/car/themeplayground/
DAbstractSampleActivity.java79 PopupMenu popup = new PopupMenu(this, v); in showPopupMenu() local
80 popup.setOnMenuItemClickListener(this); in showPopupMenu()
81 popup.inflate(R.menu.menu_main); in showPopupMenu()
82 popup.show(); in showPopupMenu()
/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/
DLauncherActivity.java159 PopupMenu popup = new PopupMenu(this, v); in onCreate() local
160 popup.setOnMenuItemClickListener(this); in onCreate()
161 MenuInflater inflater = popup.getMenuInflater(); in onCreate()
162 inflater.inflate(R.menu.context_menu, popup.getMenu()); in onCreate()
163 popup.show(); in onCreate()
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
DTaplTestsLauncher3.java34 import com.android.launcher3.popup.ArrowPopup;
274 final ArrowPopup popup = OptionsPopupView.getOptionsPopup(launcher); in isOptionsPopupVisible() local
275 return popup != null && popup.isShown(); in isOptionsPopupVisible()
/packages/apps/Launcher3/robolectric_tests/src/com/android/launcher3/popup/
DPopupPopulatorTest.java17 package com.android.launcher3.popup;
19 import static com.android.launcher3.popup.PopupPopulator.MAX_SHORTCUTS;
20 import static com.android.launcher3.popup.PopupPopulator.NUM_DYNAMIC;
/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/src/com/android/launcher3/accessibility/
DLauncherAccessibilityDelegate.java42 import com.android.launcher3.popup.PopupContainerWithArrow;
170 CustomActionsPopup popup = new CustomActionsPopup(mLauncher, host); in performAction() local
171 if (popup.canShow()) { in performAction()
172 popup.show(); in performAction()
/packages/apps/Launcher3/src/com/android/launcher3/popup/
DPopupContainerWithArrow.java17 package com.android.launcher3.popup;
22 import static com.android.launcher3.popup.PopupPopulator.MAX_SHORTCUTS;
23 import static com.android.launcher3.popup.PopupPopulator.MAX_SHORTCUTS_IF_NOTIFICATIONS;
66 import com.android.launcher3.popup.PopupDataProvider.PopupDataChangeListener;
DSystemShortcutFactory.java16 package com.android.launcher3.popup;
DRemoteActionShortcut.java17 package com.android.launcher3.popup;
DPopupPopulator.java17 package com.android.launcher3.popup;
DSystemShortcut.java1 package com.android.launcher3.popup;
DPopupDataProvider.java17 package com.android.launcher3.popup;
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
DMediaSource.java241 public static Intent getSourceSelectorIntent(Context context, boolean popup) { in getSourceSelectorIntent() argument
242 String uri = context.getString(popup ? R.string.launcher_popup_intent in getSourceSelectorIntent()
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/
DDeepShortcutView.java32 import com.android.launcher3.popup.PopupContainerWithArrow;
/packages/apps/Launcher3/src/com/android/launcher3/widget/
DBaseWidgetSheet.java37 import com.android.launcher3.popup.PopupDataProvider;
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationItemView.java32 import com.android.launcher3.popup.PopupContainerWithArrow;

12