/frameworks/base/core/java/android/widget/ |
PopupMenu.java | 45 private final MenuPopupHelper mPopup; 115 mPopup = new MenuPopupHelper(context, mMenu, anchor, false, popupStyleAttr, popupStyleRes); 116 mPopup.setGravity(gravity); 117 mPopup.setOnDismissListener(new PopupWindow.OnDismissListener() { 137 mPopup.setGravity(gravity); 145 return mPopup.getGravity(); 182 return mPopup.getPopup(); 227 mPopup.show(); 236 mPopup.dismiss(); 295 if (!mPopup.isShowing()) [all...] |
AutoCompleteTextView.java | 105 private final ListPopupWindow mPopup; 261 mPopup = new ListPopupWindow(mPopupContext, attrs, defStyleAttr, defStyleRes); 262 mPopup.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE); 263 mPopup.setPromptPosition(ListPopupWindow.POSITION_PROMPT_BELOW); 264 mPopup.setListSelector(popupListSelector); 265 mPopup.setOnItemClickListener(new DropDownItemClickListener()); 270 mPopup.setWidth(popupWidth); 271 mPopup.setHeight(popupHeight); 340 mPopup.setPromptView(hintView); 345 mPopup.setPromptView(null) [all...] |
Spinner.java | 101 private SpinnerPopup mPopup; 264 mPopup = new DialogPopup(); 265 mPopup.setPromptText(a.getString(R.styleable.Spinner_prompt)); 284 mPopup = popup; 293 if (!mPopup.isShowing()) { 294 mPopup.show(getTextDirection(), getTextAlignment()); 309 // Base constructor can call setAdapter before we initialize mPopup. 333 if (!(mPopup instanceof DropdownPopup)) { 337 mPopup.setBackgroundDrawable(background); 361 return mPopup.getBackground() [all...] |
ListPopupWindow.java | 118 PopupWindow mPopup; 234 mPopup = new PopupWindow(context, attrs, defStyleAttr, defStyleRes); 235 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED); 294 mPopup.setFocusable(modal); 352 mPopup.setSoftInputMode(mode); 362 return mPopup.getSoftInputMode(); 378 return mPopup.getBackground(); 387 mPopup.setBackgroundDrawable(d); 396 mPopup.setAnimationStyle(animationStyle); 406 return mPopup.getAnimationStyle() [all...] |
AbsListView.java | 470 PopupWindow mPopup; [all...] |
ActionMenuPresenter.java | [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
PopupMenu.java | 48 final MenuPopupHelper mPopup; 118 mPopup = new MenuPopupHelper(context, mMenu, anchor, false, popupStyleAttr, popupStyleRes); 119 mPopup.setGravity(gravity); 120 mPopup.setOnDismissListener(new PopupWindow.OnDismissListener() { 140 mPopup.setGravity(gravity); 148 return mPopup.getGravity(); 186 return mPopup.getPopup(); 233 mPopup.show(); 242 mPopup.dismiss();
|
TooltipCompatHandler.java | 66 private TooltipPopup mPopup; 109 if (mPopup != null && mFromTouch) { 119 if (mAnchor.isEnabled() && mPopup == null) { 154 mPopup = new TooltipPopup(mAnchor.getContext()); 155 mPopup.show(mAnchor, mAnchorX, mAnchorY, mFromTouch, mTooltipText); 175 if (mPopup != null) { 176 mPopup.hide(); 177 mPopup = null; 180 Log.e(TAG, "sActiveHandler.mPopup == null");
|
MenuPopupWindow.java | 81 mPopup.setEnterTransition((Transition) enterTransition); 87 mPopup.setExitTransition((Transition) exitTransition); 102 sSetTouchModalMethod.invoke(mPopup, touchModal);
|
AppCompatSpinner.java | 93 private DropdownPopup mPopup; 244 mPopup = popup; 253 if (!mPopup.isShowing()) { 254 mPopup.show(); 274 // Base constructors can call setAdapter before we initialize mPopup. 289 if (mPopup != null) { 299 if (mPopup != null) { 300 mPopup.setBackgroundDrawable(background); 313 if (mPopup != null) { 314 return mPopup.getBackground() [all...] |
ListPopupWindow.java | 153 PopupWindow mPopup; 269 mPopup = new AppCompatPopupWindow(context, attrs, defStyleAttr, defStyleRes); 270 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED); 329 mPopup.setFocusable(modal); 390 mPopup.setSoftInputMode(mode); 400 return mPopup.getSoftInputMode(); 416 return mPopup.getBackground(); 425 mPopup.setBackgroundDrawable(d); 434 mPopup.setAnimationStyle(animationStyle); 444 return mPopup.getAnimationStyle() [all...] |
ActionMenuPresenter.java | 793 private OverflowPopup mPopup; 796 mPopup = popup; 805 if (menuView != null && menuView.getWindowToken() != null && mPopup.tryShow()) { 806 mOverflowPopup = mPopup;
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
AbstractIndicatorButton.java | 36 protected AbstractSettingPopup mPopup; 79 if (mPopup == null || mPopup.getVisibility() != View.VISIBLE) { 110 if (mPopup != null) { 111 mPopup.setOrientation(orientation); 120 if (mPopup == null) initializePopup(); 122 mPopup.setVisibility(View.VISIBLE); 123 mPopup.setOrientation(getDegree()); 124 mPopup.clearAnimation(); 125 mPopup.startAnimation(mFadeIn) [all...] |
/packages/services/Telephony/src/com/android/phone/settings/fdn/ |
FdnList.java | 96 private SelectionPopupMenu mPopup; 122 if (mPopup != null) { 123 mPopup.dismiss(); 197 mPopup = new SelectionPopupMenu(this, v, position); 198 mPopup.showPopUp();
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
StandardMenuPopup.java | 57 private final MenuPopupWindow mPopup; 65 if (isShowing() && !mPopup.isModal()) { 71 mPopup.show(); 129 mPopup = new MenuPopupWindow(mContext, null, mPopupStyleAttr, mPopupStyleRes); 156 mPopup.setOnDismissListener(this); 157 mPopup.setOnItemClickListener(this); 158 mPopup.setAdapter(mAdapter); 159 mPopup.setModal(true); 168 mPopup.setAnchorView(anchor); 169 mPopup.setDropDownGravity(mDropDownGravity) [all...] |
MenuPopupHelper.java | 55 private MenuPopup mPopup; 110 if (mPopup != null) { 111 mPopup.setForceShowIcon(forceShowIcon); 147 if (mPopup == null) { 148 mPopup = createPopup(); 150 return mPopup; 285 mPopup.dismiss(); 298 mPopup = null; 306 return mPopup != null && mPopup.isShowing() [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/ |
StandardMenuPopup.java | 55 final MenuPopupWindow mPopup; 63 if (isShowing() && !mPopup.isModal()) { 69 mPopup.show(); 127 mPopup = new MenuPopupWindow(mContext, null, mPopupStyleAttr, mPopupStyleRes); 154 mPopup.setOnDismissListener(this); 155 mPopup.setOnItemClickListener(this); 156 mPopup.setModal(true); 165 mPopup.setAnchorView(anchor); 166 mPopup.setDropDownGravity(mDropDownGravity); 173 mPopup.setContentWidth(mContentWidth) [all...] |
MenuPopupHelper.java | 62 private MenuPopup mPopup; 117 if (mPopup != null) { 118 mPopup.setForceShowIcon(forceShowIcon); 154 if (mPopup == null) { 155 mPopup = createPopup(); 157 return mPopup; 297 mPopup.dismiss(); 310 mPopup = null; 318 return mPopup != null && mPopup.isShowing() [all...] |
/packages/apps/Contacts/src/com/android/contacts/detail/ |
PhotoSelectionHandler.java | 78 private ListPopupWindow mPopup; 93 UiClosables.closeQuietly(mPopup); 103 mPopup = PhotoActionPopup.createPopupMenu( 105 mPopup.setOnDismissListener(new OnDismissListener() { 111 mPopup.show();
|
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
MessageAttachmentBar.java | 70 private PopupMenu mPopup; 185 mPopup.dismiss(); 224 if (mPopup == null) { 225 mPopup = new PopupMenu(getContext(), v); 226 mPopup.getMenuInflater().inflate(R.menu.message_footer_overflow_menu, 227 mPopup.getMenu()); 228 mPopup.setOnMenuItemClickListener(this); 231 final Menu menu = mPopup.getMenu(); 237 mPopup.show();
|
MessageHeaderView.java | 151 private PopupMenu mPopup; 883 mPopup.dismiss() [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
GroupMembershipView.java | 161 private ListPopupWindow mPopup; 232 if (mPopup != null) { 235 ListView listView = mPopup.getListView(); 342 if (UiClosables.closeQuietly(mPopup)) { 343 mPopup = null; 377 mPopup = new ListPopupWindow(getContext(), null); 378 mPopup.setAnchorView(mGroupList); 379 mPopup.setAdapter(mAdapter); 380 mPopup.setModal(true); 381 mPopup.setInputMethodMode(ListPopupWindow.INPUT_METHOD_NOT_NEEDED) [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
FloatingToolbar.java | 89 private final FloatingToolbarPopup mPopup; 113 if (mPopup.isShowing() && !mNewRect.equals(mOldRect)) { 128 mPopup = new FloatingToolbarPopup(mContext, window.getDecorView()); 195 if (mPopup.isShowing()) { 206 mPopup.dismiss(); 214 mPopup.hide(); 221 return mPopup.isShowing(); 228 return mPopup.isHidden(); 235 mPopup.dismiss(); 236 mPopup.layoutMenuItems(menuItems, mMenuItemClickListener, mSuggestedWidth) [all...] |
/packages/apps/Calendar/src/com/android/calendar/ |
GeneralPreferences.java | 122 CheckBoxPreference mPopup; 179 mPopup = (CheckBoxPreference) preferenceScreen.findPreference(KEY_ALERTS_POPUP); 370 mPopup.setChecked(false); 371 mPopup.setEnabled(false); 374 mPopup.setChecked(false); 375 mPopup.setEnabled(true); 378 mPopup.setChecked(true); 379 mPopup.setEnabled(true); 395 mPopup.setEnabled(true); 399 mPopup.setEnabled(false) [all...] |
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/ |
AlertServiceTest.java | 51 private Boolean mPopup; 69 mPopup = true; 94 if (mPopup == null) { 97 boolean val = mPopup; 99 mPopup = null; [all...] |