Home
last modified time | relevance | path

Searched refs:MenuHelper (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Gallery/src/com/android/camera/
DReverseGeocoderTask.java50 String value = MenuHelper.EMPTY_STRING; in doInBackground()
61 value = MenuHelper.EMPTY_STRING; in doInBackground()
64 value = MenuHelper.EMPTY_STRING; in doInBackground()
DImageGallery.java167 return menu.add(Menu.NONE, Menu.NONE, MenuHelper.POSITION_SLIDESHOW, in addSlideShowMenu()
263 MenuHelper.deleteImage(
280 long size = MenuHelper.getImageFileSize(img);
336 case MenuHelper.RESULT_COMMON_MENU_CROP: {
481 MenuHelper.addCapturePictureMenuItems(menu, this);
483 MenuHelper.addCaptureVideoMenuItems(menu, this);
487 MenuHelper.addCaptureMenuItems(menu, this);
493 MenuHelper.POSITION_GALLERY_SETTING,
509 MenuHelper.POSITION_MULTISELECT,
713 MenuHelper.MenuItemsResult r = MenuHelper.addImageMenuItems(
[all …]
DViewImage.java132 private MenuHelper.MenuItemsResult mImageMenuRunnable;
381 MenuHelper.POSITION_SLIDESHOW, in onCreateOptionsMenu()
394 mImageMenuRunnable = MenuHelper.addImageMenuItems( in onCreateOptionsMenu()
396 MenuHelper.INCLUDE_ALL, in onCreateOptionsMenu()
400 new MenuHelper.MenuInvoker() { in onCreateOptionsMenu()
401 public void run(final MenuHelper.MenuCallback cb) { in onCreateOptionsMenu()
419 MenuHelper.POSITION_GALLERY_SETTING, R.string.camerasettings); in onCreateOptionsMenu()
466 MenuHelper.enableShareMenuItem(menu, MenuHelper.isWhiteListUri(uri)); in onPrepareOptionsMenu()
468 MenuHelper.enableShowOnMapMenuItem(menu, MenuHelper.hasLatLngData(image)); in onPrepareOptionsMenu()
617 if (!MenuHelper.isWhiteListUri(mSavedUri)) { in onCreate()
[all …]
DMenuHelper.java61 public class MenuHelper { class
210 if (!location.equals(MenuHelper.EMPTY_STRING)) { in onComplete()
211 MenuHelper.setDetailsValue(view, location, in onComplete()
214 MenuHelper.hideDetailsRow(view, R.id.details_location_row); in onComplete()
894 if (remaining == MenuHelper.NO_STORAGE_ERROR) {
DMovieViewControl.java115 MenuHelper.formatDuration(context, bookmark))); in MovieViewControl()
DGalleryPicker.java734 MenuHelper.addCaptureMenuItems(menu, this);
736 menu.add(Menu.NONE, Menu.NONE, MenuHelper.POSITION_GALLERY_SETTING,
DCropImage.java100 MenuHelper.showStorageToast(this); in onCreate()
/packages/apps/Camera/src/com/android/camera/panorama/
DPanoramaActivity.java24 import com.android.camera.MenuHelper;
237 MenuHelper.addSwitchModeMenuItem(menu, ModePicker.MODE_CAMERA, new Runnable() { in addBaseMenuItems()
242 MenuHelper.addSwitchModeMenuItem(menu, ModePicker.MODE_VIDEO, new Runnable() { in addBaseMenuItems()
435 MenuHelper.gotoMode(mode, this); in switchToOtherMode()
/packages/apps/Camera/src/com/android/camera/
DCamera.java2005 MenuHelper.gotoCameraImageGallery(this); in gotoGallery()
2076 MenuHelper.addSwitchModeMenuItem(menu, ModePicker.MODE_VIDEO, new Runnable() { in addBaseMenuItems()
2081 MenuHelper.addSwitchModeMenuItem(menu, ModePicker.MODE_PANORAMA, new Runnable() { in addBaseMenuItems()
2104 MenuHelper.gotoMode(mode, Camera.this); in switchToOtherMode()
2133 MenuHelper.gotoCameraMode(this, getIntent()); in onSharedPreferenceChanged()
2135 MenuHelper.gotoCameraMode(this); in onSharedPreferenceChanged()
2171 MenuHelper.confirmAction(this, in onRestorePreferencesClicked()
DMenuHelper.java38 public class MenuHelper { class
DVideoCamera.java1081 MenuHelper.gotoCameraVideoGallery(this); in gotoGallery()
1418 MenuHelper.addSwitchModeMenuItem(menu, ModePicker.MODE_CAMERA, new Runnable() { in addBaseMenuItems()
1423 MenuHelper.addSwitchModeMenuItem(menu, ModePicker.MODE_PANORAMA, new Runnable() { in addBaseMenuItems()
1907 MenuHelper.gotoMode(mode, this); in switchToOtherMode()
2004 MenuHelper.confirmAction(this, in onRestorePreferencesClicked()
2056 MenuHelper.gotoVideoMode(this, intent); in onSharedPreferenceChanged()
2058 MenuHelper.gotoVideoMode(this, false); in onSharedPreferenceChanged()