Searched refs:popup (Results 1 - 12 of 12) sorted by relevance
/packages/apps/Contacts/src/com/android/contacts/util/ |
H A D | UiClosables.java | 29 * @param popup The popup window to close. 30 * @return {@code true} if the popup was showing. {@code false} otherwise. 32 public static boolean closeQuietly(ListPopupWindow popup) { argument 33 if (popup != null && popup.isShowing()) { 34 popup.dismiss();
|
/packages/apps/LegacyCamera/src/com/android/camera/ui/ |
H A D | OtherSettingIndicatorButton.java | 58 OtherSettingsPopup popup = (OtherSettingsPopup) inflater.inflate( 60 popup.setSettingChangedListener(mListener); 61 popup.initialize(mPreferenceGroup, mPrefKeys); 62 root.addView(popup); 63 mPopup = popup;
|
H A D | IndicatorButton.java | 28 // An indicator button that represents one camera setting. Ex: flash. Pressing it opens a popup 107 AbstractSettingPopup popup;
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
H A D | PopupList.java | 120 // Need to update the position of the popup window 139 PopupWindow popup = mPopupWindow; 142 popup.getBackground().getPadding(p); 155 PopupWindow popup = new PopupWindow(mContext); 156 popup.setOnDismissListener(mOnDismissListener); 158 popup.setBackgroundDrawable(mContext.getResources().getDrawable( 165 popup.setContentView(mContentList); 166 popup.setFocusable(true); 167 popup.setOutsideTouchable(true); 169 return popup; [all...] |
/packages/apps/Camera/src/com/android/camera/ |
H A D | PhotoController.java | 41 // First level popup 43 // Second level popup 136 // Hit when an item in the second-level popup gets selected 156 MoreSettingPopup popup = (MoreSettingPopup) inflater.inflate( 158 popup.setSettingChangedListener(this); 159 popup.initialize(mPreferenceGroup, mOtherKeys); 162 popup.setPreferenceEnabled(CameraSettings.KEY_RECORD_LOCATION, false); 164 mPopup = popup; 168 // if the 2nd level popup gets dismissed 201 // Hit when an item in the first-level popup get [all...] |
H A D | VideoController.java | 124 // Hit when an item in the second-level popup gets selected 138 MoreSettingPopup popup = (MoreSettingPopup) inflater.inflate( 140 popup.setSettingChangedListener(this); 141 popup.initialize(mPreferenceGroup, mOtherKeys); 144 popup.setPreferenceEnabled(CameraSettings.KEY_RECORD_LOCATION, false); 146 mPopup = popup; 150 // if the 2nd level popup gets dismissed 159 // Hit when an item in the first-level popup gets selected, then bring up 160 // the second-level popup
|
H A D | PhotoModule.java | 1285 // Remove the top level popup or dialog box and return true if there's any 1800 // Do not trigger touch focus if popup window is opened. 1815 // 1) if there is any popup, dismiss them, 2) otherwise, get out of image capture 1818 // no popup to dismiss, cancel image capture 2445 public void showPopup(AbstractSettingPopup popup) { argument 2449 mPopup = popup;
|
H A D | VideoModule.java | 2473 // check for dismissing popup 2781 public void showPopup(AbstractSettingPopup popup) { argument 2785 mPopup = popup;
|
/packages/apps/Browser/src/com/android/browser/ |
H A D | NavScreen.java | 82 PopupMenu popup = new PopupMenu(mContext, mMore); 83 Menu menu = popup.getMenu(); 84 popup.getMenuInflater().inflate(R.menu.browser, menu); 86 popup.setOnMenuItemClickListener(this); 87 popup.show();
|
/packages/apps/Contacts/src/com/android/contacts/editor/ |
H A D | ContactEditorFragment.java | 1067 final ListPopupWindow popup = new ListPopupWindow(mContext, null); 1071 popup.setWidth(anchorView.getWidth()); 1072 popup.setAnchorView(anchorView); 1073 popup.setAdapter(adapter); 1074 popup.setModal(true); 1075 popup.setInputMethodMode(ListPopupWindow.INPUT_METHOD_NOT_NEEDED); 1076 popup.setOnItemClickListener(new AdapterView.OnItemClickListener() { 1080 UiClosables.closeQuietly(popup); 1087 popup.show();
|
/packages/apps/LegacyCamera/src/com/android/camera/ |
H A D | Camera.java | 156 // A popup window that contains a bigger thumbnail and a list of apps to share. 555 // Check if the popup window is visible. 556 View popup = mIndicatorControlContainer.getActiveSettingPopup(); 557 if (popup == null) return false; 560 // Let popup window, indicator control or preview frame handle the 561 // event by themselves. Dismiss the popup window if users touch on 563 if (!Util.pointInView(e.getX(), e.getY(), popup) 575 // Check if the popup window should be dismissed first. 986 // Share popup may still have the reference to the old thumbnail. Clear it. 1673 // Do not trigger touch focus if popup windo [all...] |
H A D | VideoCamera.java | 161 // A popup window that contains a bigger thumbnail and a list of apps to share. 1641 // Share popup may still have the reference to the old thumbnail. Clear it. 2227 // Check if the popup window should be dismissed first. 2239 // Check if the popup window is visible. 2240 View popup = mIndicatorControlContainer.getActiveSettingPopup(); 2241 if (popup == null) return false; 2243 // Let popup window or indicator wheel handle the event by 2244 // themselves. Dismiss the popup window if users touch on other 2246 if (!Util.pointInView(e.getX(), e.getY(), popup) 2424 // Share popup ma [all...] |
Completed in 173 milliseconds