/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...] |
OtherSettingIndicatorButton.java | 46 if (mPopup == null) { 49 ((OtherSettingsPopup)mPopup).overrideSettings(keyvalues); 63 mPopup = popup;
|
IndicatorButton.java | 113 mPopup = effect; 119 mPopup = basic; 121 root.addView(mPopup);
|
/frameworks/base/core/java/android/widget/ |
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...] |
PopupMenu.java | 43 private MenuPopupHelper mPopup; 85 mPopup = new MenuPopupHelper(context, mMenu, anchor); 86 mPopup.setGravity(gravity); 87 mPopup.setCallback(this); 124 return mPopup.getPopup(); 167 mPopup.show(); 175 mPopup.dismiss();
|
ListPopupWindow.java | 70 private PopupWindow mPopup; 211 mPopup = new PopupWindow(context, attrs, defStyleAttr, defStyleRes); 212 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NEEDED); 274 mPopup.setFocusable(modal); 332 mPopup.setSoftInputMode(mode); 342 return mPopup.getSoftInputMode(); 358 return mPopup.getBackground(); 367 mPopup.setBackgroundDrawable(d); 376 mPopup.setAnimationStyle(animationStyle); 386 return mPopup.getAnimationStyle() [all...] |
Spinner.java | 85 private SpinnerPopup mPopup; 176 mPopup = new DialogPopup(); 200 mPopup = popup; 209 if (!mPopup.isShowing()) { 210 mPopup.show(getTextDirection(), getTextAlignment()); 221 mPopup.setPromptText(a.getString(com.android.internal.R.styleable.Spinner_prompt)); 228 // Base constructor can call setAdapter before we initialize mPopup. 231 mPopup.setAdapter(mTempAdapter); 245 if (!(mPopup instanceof DropdownPopup)) { 249 ((DropdownPopup) mPopup).setBackgroundDrawable(background) [all...] |
/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...] |
/packages/apps/UnifiedEmail/src/com/android/mail/browse/ |
MultiAdapterSpinner.java | 58 protected ListPopupWindow mPopup; 100 mPopup = new ListPopupWindow(context, attrs); 101 mPopup.setAnchorView(this); 102 mPopup.setOnItemClickListener(this); 103 mPopup.setModal(true); 104 mPopup.setAdapter(mAdapter); 141 if (!mPopup.isShowing()) { 148 final Drawable background = mPopup.getBackground(); 154 mPopup.setHorizontalOffset(bgOffset + spinnerPaddingLeft); 155 mPopup.show() [all...] |
MessageAttachmentBar.java | 68 private PopupMenu mPopup; 168 mPopup.dismiss(); 205 if (mPopup == null) { 206 mPopup = new PopupMenu(getContext(), v); 207 mPopup.getMenuInflater().inflate(R.menu.message_footer_overflow_menu, 208 mPopup.getMenu()); 209 mPopup.setOnMenuItemClickListener(this); 212 final Menu menu = mPopup.getMenu(); 217 mPopup.show();
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
ModuleSwitcher.java | 75 private View mPopup; 176 mPopup = content; 180 LayoutParams lp = ((LayoutParams) mPopup.getLayoutParams()); 183 mPopup.setLayoutParams(lp); 185 mPopup.setVisibility(View.INVISIBLE); 226 mPopup.measure(MeasureSpec.makeMeasureSpec(mParent.getWidth(), MeasureSpec.AT_MOST), 239 mPopup.getLocationOnScreen(topLeft); 242 int bottom = top + mPopup.getHeight(); 243 int right = left + mPopup.getWidth(); 251 if (mPopup != null && !animateHidePopup()) [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...] |
/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();
|
/external/chromium_org/components/web_contents_delegate_android/android/java/src/org/chromium/components/web_contents_delegate_android/ |
ValidationMessageBubble.java | 27 private PopupWindow mPopup; 57 mPopup = new PopupWindow(root); 62 mPopup.showAtLocation( 68 if (mPopup == null) return; 69 mPopup.dismiss(); 70 mPopup = null; 90 mPopup.update(origin.x, origin.y, mPopup.getWidth(), mPopup.getHeight()); 121 mPopup.setWindowLayoutMode [all...] |
/packages/apps/Camera/src/com/android/camera/ |
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...] |
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...] |
/packages/apps/Camera2/src/com/android/camera/ |
VideoMenu.java | 40 private AbstractSettingPopup mPopup; 57 mPopup = null; 77 if (mPopup == null || mPopupStatus != POPUP_FIRST_LEVEL) { 81 mUI.showPopup(mPopup); 127 if (mPopup != null) { 128 mPopup.reloadPreference(); 135 if (mPopup == null || mPopupStatus != POPUP_FIRST_LEVEL) { 139 ((MoreSettingPopup) mPopup).overrideSettings(keyvalues); 145 if (mPopup != null) { 165 mPopup = popup [all...] |
PhotoMenu.java | 40 private AbstractSettingPopup mPopup; 52 mPopup = null; 130 mPopup = timerPopup; 131 mUI.showPopup(mPopup); 147 mPopup = popup; 148 mUI.showPopup(mPopup); 171 if (mPopup != null) { 178 if (mPopup != null) { 179 mPopup = null;
|
/frameworks/base/core/java/com/android/internal/view/menu/ |
MenuPopupHelper.java | 59 private ListPopupWindow mPopup; 119 return mPopup; 123 mPopup = new ListPopupWindow(mContext, null, com.android.internal.R.attr.popupMenuStyle); 124 mPopup.setOnDismissListener(this); 125 mPopup.setOnItemClickListener(this); 126 mPopup.setAdapter(mAdapter); 127 mPopup.setModal(true); 135 mPopup.setAnchorView(anchor); 136 mPopup.setDropDownGravity(mDropDownGravity); 146 mPopup.setContentWidth(mContentWidth) [all...] |
/external/chromium_org/chrome/android/java/src/org/chromium/chrome/browser/appmenu/ |
AppMenu.java | 79 private ListPopupWindow mPopup; 151 // mDragScrolling animator scrolls mPopup.getListView() automatically depending on 156 if (mPopup == null || mPopup.getListView() == null) return; 164 mPopup.getListView().smoothScrollBy(diff, 0); 207 mPopup = new ListPopupWindow(context, null, android.R.attr.popupMenuStyle); 209 mPopup.setModal(true); 210 mPopup.setAnchorView(anchorView); 211 mPopup.setInputMethodMode(PopupWindow.INPUT_METHOD_NOT_NEEDED); 212 mPopup.setOnDismissListener(new OnDismissListener() [all...] |
/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...] |
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
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...] |
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...] |
/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)) { 285 mPopup = null; 312 mPopup = new ListPopupWindow(getContext(), null); 313 mPopup.setAnchorView(mGroupList); 314 mPopup.setAdapter(mAdapter); 315 mPopup.setModal(true); 316 mPopup.setInputMethodMode(ListPopupWindow.INPUT_METHOD_NOT_NEEDED) [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...] |