Home
last modified time | relevance | path

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

/packages/apps/Gallery/src/com/android/camera/
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,
708 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 …]
DReverseGeocoderTask.java50 String value = MenuHelper.EMPTY_STRING; in doInBackground()
61 value = MenuHelper.EMPTY_STRING; in doInBackground()
64 value = MenuHelper.EMPTY_STRING; in doInBackground()
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/TV/tests/func/src/com/android/tv/tests/ui/
DLiveChannelsTestCase.java33 import com.android.tv.testing.uihelper.MenuHelper;
45 protected MenuHelper mMenuHelper;
57 mMenuHelper = new MenuHelper(mDevice, mTargetResources); in setUp()
/packages/apps/TV/tests/jank/src/com/android/tv/tests/jank/
DProgramGuideJankTest.java34 import com.android.tv.testing.uihelper.MenuHelper;
64 protected MenuHelper mMenuHelper;
72 mMenuHelper = new MenuHelper(mDevice, mTargetResources); in setUp()
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
DMenuHelper.java36 public class MenuHelper extends BaseUiDeviceHelper { class
39 public MenuHelper(UiDevice uiDevice, Resources targetResources) { in MenuHelper() method in MenuHelper
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java24 import com.android.camera.MenuHelper;
256 MenuHelper.addSwitchModeMenuItem(menu, ModePicker.MODE_CAMERA, new Runnable() { in addBaseMenuItems()
261 MenuHelper.addSwitchModeMenuItem(menu, ModePicker.MODE_VIDEO, new Runnable() { in addBaseMenuItems()
446 MenuHelper.gotoMode(mode, this); in switchToOtherMode()
/packages/apps/LegacyCamera/src/com/android/camera/
DCamera.java2106 MenuHelper.gotoCameraImageGallery(this); in gotoGallery()
2175 MenuHelper.addSwitchModeMenuItem(menu, ModePicker.MODE_VIDEO, new Runnable() { in addBaseMenuItems()
2180 MenuHelper.addSwitchModeMenuItem(menu, ModePicker.MODE_PANORAMA, new Runnable() { in addBaseMenuItems()
2202 MenuHelper.gotoMode(mode, Camera.this); in switchToOtherMode()
2231 MenuHelper.gotoCameraMode(this, getIntent()); in onSharedPreferenceChanged()
2233 MenuHelper.gotoCameraMode(this); in onSharedPreferenceChanged()
DMenuHelper.java38 public class MenuHelper { class
DVideoCamera.java1120 MenuHelper.gotoCameraVideoGallery(this); in gotoGallery()
1468 MenuHelper.addSwitchModeMenuItem(menu, ModePicker.MODE_CAMERA, new Runnable() { in addBaseMenuItems()
1473 MenuHelper.addSwitchModeMenuItem(menu, ModePicker.MODE_PANORAMA, new Runnable() { in addBaseMenuItems()
1960 MenuHelper.gotoMode(mode, this); in switchToOtherMode()
2133 MenuHelper.gotoVideoMode(this, intent); in onSharedPreferenceChanged()