Home
last modified time | relevance | path

Searched refs:mPopup (Results 1 – 11 of 11) 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.java122 CheckBoxPreference mPopup; field in GeneralPreferences
179 mPopup = (CheckBoxPreference) preferenceScreen.findPreference(KEY_ALERTS_POPUP); in onCreate()
370 mPopup.setChecked(false); in migrateOldPreferences()
371 mPopup.setEnabled(false); in migrateOldPreferences()
374 mPopup.setChecked(false); in migrateOldPreferences()
375 mPopup.setEnabled(true); in migrateOldPreferences()
378 mPopup.setChecked(true); in migrateOldPreferences()
379 mPopup.setEnabled(true); in migrateOldPreferences()
395 mPopup.setEnabled(true); in updateChildPreferences()
399 mPopup.setEnabled(false); in updateChildPreferences()
DDayView.java346 private PopupWindow mPopup; field in DayView
885 mPopup = new PopupWindow(context); in init()
886 mPopup.setContentView(mPopupView); in init()
891 mPopup.setBackgroundDrawable(ta.getDrawable(0)); in init()
1354 mPopup.dismiss(); in remeasure()
1356 mPopup.setWidth(eventAreaWidth - 20); in remeasure()
1357 mPopup.setHeight(WindowManager.LayoutParams.WRAP_CONTENT); in remeasure()
1402 mPopup.dismiss(); in switchViews()
1541 mPopup.dismiss(); in onKeyDown()
3633 mPopup.dismiss(); in updateEventDetails()
[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.java96 private SelectionPopupMenu mPopup; field in FdnList
122 if (mPopup != null) { in onStop()
123 mPopup.dismiss(); in onStop()
197 mPopup = new SelectionPopupMenu(this, v, position); in onListItemClick()
198 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()
/packages/apps/Calendar/tests/src/com/android/calendar/alerts/
DAlertServiceTest.java51 private Boolean mPopup; field in AlertServiceTest.MockSharedPreferences
69 mPopup = true; in init()
94 if (mPopup == null) { in getBoolean()
97 boolean val = mPopup; in getBoolean()
99 mPopup = null; in getBoolean()