/frameworks/opt/mailcommon/java/com/android/mailcommon/ |
MultiAdapterSpinner.java | 59 protected ListPopupWindow mPopup; 101 mPopup = new ListPopupWindow(context, attrs); 102 mPopup.setAnchorView(this); 103 mPopup.setOnItemClickListener(this); 104 mPopup.setModal(true); 105 mPopup.setAdapter(mAdapter); 142 if (!mPopup.isShowing()) { 149 final Drawable background = mPopup.getBackground(); 155 mPopup.setHorizontalOffset(bgOffset + spinnerPaddingLeft); 156 mPopup.show() [all...] |
/frameworks/base/core/java/android/widget/ |
PopupMenu.java | 40 private MenuPopupHelper mPopup; 69 mPopup = new MenuPopupHelper(context, mMenu, anchor); 70 mPopup.setCallback(this); 108 mPopup.show(); 116 mPopup.dismiss();
|
AutoCompleteTextView.java | 105 private ListPopupWindow mPopup; 139 mPopup = new ListPopupWindow(context, attrs, 141 mPopup.setSoftInputMode(WindowManager.LayoutParams.SOFT_INPUT_ADJUST_RESIZE); 142 mPopup.setPromptPosition(ListPopupWindow.POSITION_PROMPT_BELOW); 151 mPopup.setListSelector(a.getDrawable(R.styleable.AutoCompleteTextView_dropDownSelector)); 152 mPopup.setVerticalOffset((int) 154 mPopup.setHorizontalOffset((int) 166 mPopup.setWidth(a.getLayoutDimension( 169 mPopup.setHeight(a.getLayoutDimension( 176 mPopup.setOnItemClickListener(new DropDownItemClickListener()) [all...] |
Spinner.java | 80 private SpinnerPopup mPopup; 171 mPopup = new DialogPopup(); 195 mPopup = popup; 202 mPopup.setPromptText(a.getString(com.android.internal.R.styleable.Spinner_prompt)); 209 // Base constructor can call setAdapter before we initialize mPopup. 212 mPopup.setAdapter(mTempAdapter); 226 if (!(mPopup instanceof DropdownPopup)) { 230 ((DropdownPopup) mPopup).setBackgroundDrawable(background); 254 return mPopup.getBackground(); 266 mPopup.setVerticalOffset(pixels) [all...] |
ListPopupWindow.java | 60 private PopupWindow mPopup; 199 mPopup = new PopupWindow(context, attrs, defStyleAttr, defStyleRes); 200 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED); 262 mPopup.setFocusable(modal); 320 mPopup.setSoftInputMode(mode); 330 return mPopup.getSoftInputMode(); 346 return mPopup.getBackground(); 355 mPopup.setBackgroundDrawable(d); 364 mPopup.setAnimationStyle(animationStyle); 374 return mPopup.getAnimationStyle() [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
PopupMenu.java | 41 private MenuPopupHelper mPopup; 69 mPopup = new MenuPopupHelper(context, mMenu, anchor); 70 mPopup.setCallback(this); 108 mPopup.show(); 116 mPopup.dismiss();
|
/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...] |
/frameworks/base/core/java/android/webkit/ |
AutoCompletePopup.java | 46 private ListPopupWindow mPopup; 71 if (mPopup == null) { 74 if (keyCode == KeyEvent.KEYCODE_BACK && mPopup.isShowing()) { 89 mPopup.dismiss(); 94 if (mPopup.isShowing()) { 95 return mPopup.onKeyPreIme(keyCode, event); 114 if (mPopup != null) { 115 mPopup.dismiss(); 116 mPopup.setAdapter(null); 122 mPopup.setAdapter(adapter) [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuPopupHelper.java | 52 private ListPopupWindow mPopup; 106 mPopup = new ListPopupWindow(mContext, null, com.android.internal.R.attr.popupMenuStyle); 107 mPopup.setOnDismissListener(this); 108 mPopup.setOnItemClickListener(this); 111 mPopup.setAdapter(mAdapter); 112 mPopup.setModal(true); 120 mPopup.setAnchorView(anchor); 125 mPopup.setContentWidth(Math.min(measureContentWidth(mAdapter), mPopupMaxWidth)); 126 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NOT_NEEDED); 127 mPopup.show() [all...] |
ActionMenuPresenter.java | 663 private OverflowPopup mPopup; 666 mPopup = popup; 672 if (menuView != null && menuView.getWindowToken() != null && mPopup.tryShow()) { 673 mOverflowPopup = mPopup;
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
MenuPopupHelper.java | 54 private ListPopupWindow mPopup; 108 mPopup = new ListPopupWindow(mContext, null, R.attr.popupMenuStyle); 109 mPopup.setOnDismissListener(this); 110 mPopup.setOnItemClickListener(this); 113 mPopup.setAdapter(mAdapter); 114 mPopup.setModal(true); 123 mPopup.setAnchorView(anchor); 128 mPopup.setContentWidth(Math.min(measureContentWidth(mAdapter), mPopupMaxWidth)); 129 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NOT_NEEDED); 130 mPopup.show() [all...] |
ActionMenuPresenter.java | 656 private OverflowPopup mPopup; 659 mPopup = popup; 665 if (menuView != null && menuView.getWindowToken() != null && mPopup.tryShow()) { 666 mOverflowPopup = mPopup;
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
PhotoSelectionHandler.java | 70 private ListPopupWindow mPopup; 83 UiClosables.closeQuietly(mPopup); 93 mPopup = PhotoActionPopup.createPopupMenu( 95 mPopup.setOnDismissListener(new OnDismissListener() { 101 mPopup.show();
|
ContactDetailFragment.java | 224 private ListPopupWindow mPopup; [all...] |
/packages/apps/Camera/src/com/android/camera/ |
PhotoController.java | 42 private MoreSettingPopup mPopup; 54 mPopup = null; 113 if (mPopup == null) { 116 mModule.showPopup(mPopup); 130 if (mPopup != null) { 131 mPopup.reloadPreference(); 138 if (mPopup != null && mSecondPopup != null) { 140 mPopup.reloadPreference(); 148 if (mPopup == null) initializePopup(); 149 mPopup.overrideSettings(keyvalues) [all...] |
VideoController.java | 41 private AbstractSettingPopup mPopup; 55 mPopup = null; 90 if (mPopup == null || mPopupStatus != POPUP_FIRST_LEVEL) { 94 mModule.showPopup(mPopup); 108 if (mPopup != null) { 109 mPopup.reloadPreference(); 116 if (mPopup == null || mPopupStatus != POPUP_FIRST_LEVEL) { 120 ((MoreSettingPopup) mPopup).overrideSettings(keyvalues); 126 if (mPopup != null) { 146 mPopup = popup [all...] |
/packages/apps/Gallery2/src/com/android/camera/ |
VideoMenu.java | 40 private AbstractSettingPopup mPopup; 56 mPopup = null; 76 if (mPopup == null || mPopupStatus != POPUP_FIRST_LEVEL) { 80 mUI.showPopup(mPopup); 126 if (mPopup != null) { 127 mPopup.reloadPreference(); 134 if (mPopup == null || mPopupStatus != POPUP_FIRST_LEVEL) { 138 ((MoreSettingPopup) mPopup).overrideSettings(keyvalues); 144 if (mPopup != null) { 164 mPopup = popup [all...] |
PhotoMenu.java | 40 private AbstractSettingPopup mPopup; 52 mPopup = null; 123 mPopup = timerPopup; 124 mUI.showPopup(mPopup); 140 mPopup = popup; 141 mUI.showPopup(mPopup); 164 if (mPopup != null) { 172 if (mPopup != null) { 173 mPopup = null;
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
SpinnerICS.java | 69 private SpinnerPopup mPopup; 159 mPopup = new DialogPopup(); 184 mPopup = popup; 191 mPopup.setPromptText(a.getString(R.styleable.Spinner_prompt)); 195 // Base constructor can call setAdapter before we initialize mPopup. 198 mPopup.setAdapter(mTempAdapter); 225 if (mPopup != null) { 226 mPopup.setAdapter(new DropDownAdapter(adapter)); 256 if (mPopup != null && mPopup.isShowing()) [all...] |
ListPopupWindow.java | 67 private PopupWindow mPopup; 191 mPopup = new PopupWindow(context, attrs, defStyleAttr); 192 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED); 251 mPopup.setFocusable(modal); 305 mPopup.setSoftInputMode(mode); 315 return mPopup.getSoftInputMode(); 331 return mPopup.getBackground(); 340 mPopup.setBackgroundDrawable(d); 349 mPopup.setAnimationStyle(animationStyle); 358 return mPopup.getAnimationStyle() [all...] |
/packages/apps/Contacts/src/com/android/contacts/editor/ |
GroupMembershipView.java | 139 private ListPopupWindow mPopup; 187 if (mPopup != null) { 190 ListView listView = mPopup.getListView(); 284 if (UiClosables.closeQuietly(mPopup)) { 311 mPopup = new ListPopupWindow(getContext(), null); 312 mPopup.setAnchorView(mGroupList); 313 mPopup.setAdapter(mAdapter); 314 mPopup.setModal(true); 315 mPopup.setInputMethodMode(ListPopupWindow.INPUT_METHOD_NOT_NEEDED); 316 mPopup.show() [all...] |
/packages/apps/Camera/src/com/android/camera/ui/ |
CameraSwitcher.java | 54 private View mPopup; 121 mPopup = content; 122 mPopup.setVisibility(View.INVISIBLE); 165 return evt.getX() >= mPopup.getLeft() 166 && evt.getX() < mPopup.getRight() 167 && evt.getY() >= mPopup.getTop() 168 && evt.getY() < mPopup.getBottom(); 174 if (mPopup != null && !animateHidePopup()) { 175 mPopup.setVisibility(View.INVISIBLE); 182 if (mPopup == null) [all...] |
/packages/apps/Gallery2/src/com/android/camera/ui/ |
CameraSwitcher.java | 69 private View mPopup; 161 mPopup = content; 164 LayoutParams lp = ((LayoutParams) mPopup.getLayoutParams()); 167 mPopup.setLayoutParams(lp); 169 mPopup.setVisibility(View.INVISIBLE); 204 mPopup.measure(MeasureSpec.makeMeasureSpec(mParent.getWidth(), MeasureSpec.AT_MOST), 215 mPopup.getLocationOnScreen(topLeft); 218 int bottom = top + mPopup.getHeight(); 219 int right = left + mPopup.getWidth(); 227 if (mPopup != null && !animateHidePopup()) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/recent/ |
RecentsPanelView.java | 74 private PopupMenu mPopup; 363 if (mPopup != null) { 364 mPopup.dismiss(); 770 if (mPopup != null) { 782 mPopup = popup; [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...] |