Searched refs:popup (Results 1 – 11 of 11) sorted by relevance
139 PopupWindow popup = mPopupWindow; in updatePopupLayoutParams() local142 popup.getBackground().getPadding(p); in updatePopupLayoutParams()155 PopupWindow popup = new PopupWindow(mContext); in createPopupWindow() local156 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()
58 OtherSettingsPopup popup = (OtherSettingsPopup) inflater.inflate( in initializePopup() local60 popup.setSettingChangedListener(mListener); in initializePopup()61 popup.initialize(mPreferenceGroup, mPrefKeys); in initializePopup()62 root.addView(popup); in initializePopup()63 mPopup = popup; in initializePopup()
107 AbstractSettingPopup popup; in initializePopup() local
32 public static boolean closeQuietly(ListPopupWindow popup) { in closeQuietly() argument33 if (popup != null && popup.isShowing()) { in closeQuietly()34 popup.dismiss(); in closeQuietly()
866 final ListPopupWindow popup = new ListPopupWindow(getContext(), null); in addAccountSelector()871 popup.setWidth(mAccountSelectorContainer.getWidth()); in addAccountSelector()872 popup.setAnchorView(mAccountSelectorContainer); in addAccountSelector()873 popup.setAdapter(adapter); in addAccountSelector()874 popup.setModal(true); in addAccountSelector()875 popup.setInputMethodMode(ListPopupWindow.INPUT_METHOD_NOT_NEEDED); in addAccountSelector()876 popup.setOnItemClickListener(new AdapterView.OnItemClickListener() { in addAccountSelector()880 UiClosables.closeQuietly(popup); in addAccountSelector()890 popup.show(); in addAccountSelector()904 final ListPopupWindow popup = new ListPopupWindow(getContext(), null); in addRawContactAccountSelector()[all …]
398 final ListPopupWindow popup = new ListPopupWindow(mContext, null); in addAccountSwitcher()402 popup.setWidth(anchorView.getWidth()); in addAccountSwitcher()403 popup.setAnchorView(anchorView); in addAccountSwitcher()404 popup.setAdapter(adapter); in addAccountSwitcher()405 popup.setModal(true); in addAccountSwitcher()406 popup.setInputMethodMode(ListPopupWindow.INPUT_METHOD_NOT_NEEDED); in addAccountSwitcher()407 popup.setOnItemClickListener(new AdapterView.OnItemClickListener() { in addAccountSwitcher()411 UiClosables.closeQuietly(popup); in addAccountSwitcher()418 popup.show(); in addAccountSwitcher()
347 PopupMenu popup = new PopupMenu(this, v); in showPopup() local348 popup.setOnMenuItemClickListener(this); in showPopup()349 popup.inflate(R.menu.main_menu); in showPopup()350 popup.show(); in showPopup()
268 PopupMenu popup = new PopupMenu(270 popup.getMenu().add(R.string.suggestion_remove).setOnMenuItemClickListener(282 popup.show();
556 View popup = mIndicatorControlContainer.getActiveSettingPopup(); in onDown() local557 if (popup == null) return false; in onDown()563 if (!Util.pointInView(e.getX(), e.getY(), popup) in onDown()
2240 View popup = mIndicatorControlContainer.getActiveSettingPopup(); in onDown() local2241 if (popup == null) return false; in onDown()2246 if (!Util.pointInView(e.getX(), e.getY(), popup) in onDown()