/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
D | AbstractIndicatorButton.java | 36 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 …]
|
D | OtherSettingIndicatorButton.java | 46 if (mPopup == null) { in overrideSettings() 49 ((OtherSettingsPopup)mPopup).overrideSettings(keyvalues); in overrideSettings() 63 mPopup = popup; in initializePopup()
|
D | IndicatorButton.java | 113 mPopup = effect; in initializePopup() 119 mPopup = basic; in initializePopup() 121 root.addView(mPopup); in initializePopup()
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
D | GroupMembershipView.java | 145 private ListPopupWindow mPopup; field in GroupMembershipView 193 if (mPopup != null) { in setGroupMetaData() 196 ListView listView = mPopup.getListView(); in setGroupMetaData() 302 if (UiClosables.closeQuietly(mPopup)) { in onClick() 303 mPopup = null; in onClick() 330 mPopup = new ListPopupWindow(getContext(), null); in onClick() 331 mPopup.setAnchorView(mGroupList); in onClick() 332 mPopup.setAdapter(mAdapter); in onClick() 333 mPopup.setModal(true); in onClick() 334 mPopup.setInputMethodMode(ListPopupWindow.INPUT_METHOD_NOT_NEEDED); in onClick() [all …]
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | GeneralPreferences.java | 122 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()
|
D | DayView.java | 346 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/ |
D | MessageAttachmentBar.java | 70 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()
|
D | MessageHeaderView.java | 151 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/apps/Launcher3/src/com/android/launcher3/ |
D | BaseRecyclerViewFastScrollBar.java | 48 private BaseRecyclerViewFastScrollPopup mPopup; field in BaseRecyclerViewFastScrollBar 81 mPopup = new BaseRecyclerViewFastScrollPopup(rv, res); in BaseRecyclerViewFastScrollBar() 202 mPopup.animateVisibility(true); in handleTouchEvent() 212 mPopup.setSectionName(sectionName); in handleTouchEvent() 213 mPopup.animateVisibility(!sectionName.isEmpty()); in handleTouchEvent() 214 mRv.invalidate(mPopup.updateFastScrollerBounds(lastY)); in handleTouchEvent() 225 mPopup.animateVisibility(false); in handleTouchEvent() 244 mPopup.draw(canvas); in draw()
|
/packages/apps/Contacts/src/com/android/contacts/detail/ |
D | PhotoSelectionHandler.java | 78 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/ |
D | AlertServiceTest.java | 51 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()
|