Home
last modified time | relevance | path

Searched refs:mPopup (Results 1 – 10 of 10) sorted by relevance

/packages/apps/LegacyCamera/src/com/android/camera/ui/
DAbstractIndicatorButton.java36 protected AbstractSettingPopup mPopup; field in AbstractIndicatorButton
79 if (mPopup == null || mPopup.getVisibility() != View.VISIBLE) { in onTouchEvent()
110 if (mPopup != null) { in setOrientation()
111 mPopup.setOrientation(orientation); in setOrientation()
120 if (mPopup == null) initializePopup(); in showPopup()
122 mPopup.setVisibility(View.VISIBLE); in showPopup()
123 mPopup.setOrientation(getDegree()); in showPopup()
124 mPopup.clearAnimation(); in showPopup()
125 mPopup.startAnimation(mFadeIn); in showPopup()
132 if (mPopup != null && mPopup.getVisibility() == View.VISIBLE) { in dismissPopup()
[all …]
DOtherSettingIndicatorButton.java46 if (mPopup == null) { in overrideSettings()
49 ((OtherSettingsPopup)mPopup).overrideSettings(keyvalues); in overrideSettings()
63 mPopup = popup; in initializePopup()
DIndicatorButton.java113 mPopup = effect; in initializePopup()
119 mPopup = basic; in initializePopup()
121 root.addView(mPopup); in initializePopup()
/packages/apps/Contacts/src/com/android/contacts/editor/
DGroupMembershipView.java161 private ListPopupWindow mPopup; field in GroupMembershipView
232 if (mPopup != null) { in setGroupMetaData()
235 ListView listView = mPopup.getListView(); in setGroupMetaData()
342 if (UiClosables.closeQuietly(mPopup)) { in onClick()
343 mPopup = null; in onClick()
377 mPopup = new ListPopupWindow(getContext(), null); in onClick()
378 mPopup.setAnchorView(mGroupList); in onClick()
379 mPopup.setAdapter(mAdapter); in onClick()
380 mPopup.setModal(true); in onClick()
381 mPopup.setInputMethodMode(ListPopupWindow.INPUT_METHOD_NOT_NEEDED); in onClick()
[all …]
/packages/apps/Calendar/src/com/android/calendar/
DGeneralPreferences.java121 CheckBoxPreference mPopup; field in GeneralPreferences
167 mPopup = (CheckBoxPreference) preferenceScreen.findPreference(KEY_ALERTS_POPUP); in onCreate()
350 mPopup.setChecked(false); in migrateOldPreferences()
351 mPopup.setEnabled(false); in migrateOldPreferences()
354 mPopup.setChecked(false); in migrateOldPreferences()
355 mPopup.setEnabled(true); in migrateOldPreferences()
358 mPopup.setChecked(true); in migrateOldPreferences()
359 mPopup.setEnabled(true); in migrateOldPreferences()
374 mPopup.setEnabled(true); in updateChildPreferences()
377 mPopup.setEnabled(false); in updateChildPreferences()
DDayView.java343 private PopupWindow mPopup; field in DayView
868 mPopup = new PopupWindow(context); in init()
869 mPopup.setContentView(mPopupView); in init()
874 mPopup.setBackgroundDrawable(ta.getDrawable(0)); in init()
1337 mPopup.dismiss(); in remeasure()
1339 mPopup.setWidth(eventAreaWidth - 20); in remeasure()
1340 mPopup.setHeight(WindowManager.LayoutParams.WRAP_CONTENT); in remeasure()
1385 mPopup.dismiss(); in switchViews()
3545 mPopup.dismiss(); in onCreateContextMenu()
3802 if (mPopup != null) { in cleanup()
[all …]
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DMessageAttachmentBar.java70 private PopupMenu mPopup; field in MessageAttachmentBar
185 mPopup.dismiss(); in onMenuItemClick()
224 if (mPopup == null) { in onClick()
225 mPopup = new PopupMenu(getContext(), v); in onClick()
226 mPopup.getMenuInflater().inflate(R.menu.message_footer_overflow_menu, in onClick()
227 mPopup.getMenu()); in onClick()
228 mPopup.setOnMenuItemClickListener(this); in onClick()
231 final Menu menu = mPopup.getMenu(); in onClick()
237 mPopup.show(); in onClick()
DMessageHeaderView.java151 private PopupMenu mPopup; field in MessageHeaderView
883 mPopup.dismiss(); in onMenuItemClick()
927 if (mPopup == null) { in onClick()
928 mPopup = new PopupMenu(getContext(), v); in onClick()
929 mPopup.getMenuInflater().inflate(R.menu.message_header_overflow_menu, in onClick()
930 mPopup.getMenu()); in onClick()
931 mPopup.setOnMenuItemClickListener(this); in onClick()
935 final Menu m = mPopup.getMenu(); in onClick()
954 mPopup.show(); in onClick()
/packages/services/Telephony/src/com/android/phone/settings/fdn/
DFdnList.java95 private SelectionPopupMenu mPopup; field in FdnList
121 if (mPopup != null) { in onStop()
122 mPopup.dismiss(); in onStop()
196 mPopup = new SelectionPopupMenu(this, v, position); in onListItemClick()
197 mPopup.showPopUp(); in onListItemClick()
/packages/apps/Contacts/src/com/android/contacts/detail/
DPhotoSelectionHandler.java78 private ListPopupWindow mPopup; field in PhotoSelectionHandler
93 UiClosables.closeQuietly(mPopup); in destroy()
103 mPopup = PhotoActionPopup.createPopupMenu( in onClick()
105 mPopup.setOnDismissListener(new OnDismissListener() { in onClick()
111 mPopup.show(); in onClick()