/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | AccountHeaderPresenter.java | 176 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()
|
D | RawContactEditorView.java | 812 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/ |
D | PopupList.java | 139 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/ |
D | OptionsPopupView.java | 41 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/ |
D | OtherSettingIndicatorButton.java | 58 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()
|
D | IndicatorButton.java | 107 AbstractSettingPopup popup; in initializePopup() local
|
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/ |
D | CustomActionsPopup.java | 30 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/ |
D | UiClosables.java | 32 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/ |
D | SecondaryDisplayLauncher.java | 105 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/ |
D | AbstractSampleActivity.java | 79 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/ |
D | LauncherActivity.java | 159 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/ |
D | TaplTestsLauncher3.java | 34 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/ |
D | PopupPopulatorTest.java | 17 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/ |
D | WebViewBrowserActivity.java | 504 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/ |
D | LauncherAccessibilityDelegate.java | 42 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/ |
D | PopupContainerWithArrow.java | 17 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;
|
D | SystemShortcutFactory.java | 16 package com.android.launcher3.popup;
|
D | RemoteActionShortcut.java | 17 package com.android.launcher3.popup;
|
D | PopupPopulator.java | 17 package com.android.launcher3.popup;
|
D | SystemShortcut.java | 1 package com.android.launcher3.popup;
|
D | PopupDataProvider.java | 17 package com.android.launcher3.popup;
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/ |
D | MediaSource.java | 241 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/ |
D | DeepShortcutView.java | 32 import com.android.launcher3.popup.PopupContainerWithArrow;
|
/packages/apps/Launcher3/src/com/android/launcher3/widget/ |
D | BaseWidgetSheet.java | 37 import com.android.launcher3.popup.PopupDataProvider;
|
/packages/apps/Launcher3/src/com/android/launcher3/notification/ |
D | NotificationItemView.java | 32 import com.android.launcher3.popup.PopupContainerWithArrow;
|