Searched refs:popup (Results 1 - 16 of 16) sorted by relevance

/packages/apps/Contacts/src/com/android/contacts/util/
H A DUiClosables.java29 * @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 DOtherSettingIndicatorButton.java58 OtherSettingsPopup popup = (OtherSettingsPopup) inflater.inflate(
60 popup.setSettingChangedListener(mListener);
61 popup.initialize(mPreferenceGroup, mPrefKeys);
62 root.addView(popup);
63 mPopup = popup;
H A DIndicatorButton.java28 // 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 DPopupList.java120 // 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/Browser/src/com/android/browser/
H A DNavScreen.java82 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/Camera/src/com/android/camera/
H A DPhotoController.java41 // 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 DVideoController.java124 // 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 DPhotoModule.java1285 // 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 DVideoModule.java2473 // check for dismissing popup
2781 public void showPopup(AbstractSettingPopup popup) { argument
2785 mPopup = popup;
/packages/apps/Camera2/src/com/android/camera/
H A DVideoMenu.java65 // settings popup
143 // Hit when an item in the second-level popup gets selected
157 MoreSettingPopup popup = (MoreSettingPopup) inflater.inflate(
159 popup.setSettingChangedListener(this);
160 popup.initialize(mPreferenceGroup, mOtherKeys);
163 popup.setPreferenceEnabled(CameraSettings.KEY_RECORD_LOCATION, false);
165 mPopup = popup;
169 // if the 2nd level popup gets dismissed
178 // Hit when an item in the first-level popup gets selected, then bring up
179 // the second-level popup
[all...]
H A DPhotoMenu.java142 ListPrefSettingPopup popup = (ListPrefSettingPopup) mActivity.getLayoutInflater().inflate(
144 popup.initialize(sizePref);
145 popup.setSettingChangedListener(PhotoMenu.this);
147 mPopup = popup;
169 // Hit when an item in a popup gets selected
H A DVideoUI.java143 public SettingsPopup(View popup) { argument
148 popup.setVisibility(View.VISIBLE);
149 setContentView(popup);
159 // Switch back into fullscreen/lights-out mode after popup
166 // Called by Framework when touch outside the popup or hit back key
519 public void showPopup(AbstractSettingPopup popup) { argument
525 mPopup = new SettingsPopup(popup);
H A DPhotoUI.java568 // 1) if there is any popup, dismiss them, 2) otherwise, get out of
604 public void showPopup(AbstractSettingPopup popup) { argument
619 // Switch back into fullscreen/lights-out mode after popup
625 popup.setVisibility(View.VISIBLE);
626 mPopup.setContentView(popup);
652 // TODO: Mode switcher should behave like a popup and should hide itself when there
/packages/apps/Contacts/src/com/android/contacts/editor/
H A DContactEditorFragment.java975 final ListPopupWindow popup = new ListPopupWindow(mContext, null);
979 popup.setWidth(anchorView.getWidth());
980 popup.setAnchorView(anchorView);
981 popup.setAdapter(adapter);
982 popup.setModal(true);
983 popup.setInputMethodMode(ListPopupWindow.INPUT_METHOD_NOT_NEEDED);
984 popup.setOnItemClickListener(new AdapterView.OnItemClickListener() {
988 UiClosables.closeQuietly(popup);
995 popup.show();
/packages/apps/LegacyCamera/src/com/android/camera/
H A DCamera.java156 // 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 DVideoCamera.java161 // 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 265 milliseconds