Home
last modified time | relevance | path

Searched refs:ModePicker (Results 1 – 5 of 5) sorted by relevance

/packages/apps/LegacyCamera/src/com/android/camera/
DMenuHelper.java54 case ModePicker.MODE_VIDEO: in addSwitchModeMenuItem()
58 case ModePicker.MODE_CAMERA: in addSwitchModeMenuItem()
62 case ModePicker.MODE_PANORAMA: in addSwitchModeMenuItem()
102 case ModePicker.MODE_PANORAMA: in gotoMode()
106 case ModePicker.MODE_VIDEO: in gotoMode()
110 case ModePicker.MODE_CAMERA: in gotoMode()
DCamera.java89 SurfaceHolder.Callback, ModePicker.OnModeChangeListener,
163 private ModePicker mModePicker;
456 mModePicker.setCurrentMode(ModePicker.MODE_CAMERA); in initializeSecondTime()
1195 mModePicker = (ModePicker) findViewById(R.id.mode_picker); in onCreate()
1198 mModePicker.setCurrentMode(ModePicker.MODE_CAMERA); in onCreate()
2180 MenuHelper.addSwitchModeMenuItem(menu, ModePicker.MODE_VIDEO, new Runnable() { in addBaseMenuItems()
2182 switchToOtherMode(ModePicker.MODE_VIDEO); in addBaseMenuItems()
2185 MenuHelper.addSwitchModeMenuItem(menu, ModePicker.MODE_PANORAMA, new Runnable() { in addBaseMenuItems()
2187 switchToOtherMode(ModePicker.MODE_PANORAMA); in addBaseMenuItems()
2214 if (mode != ModePicker.MODE_CAMERA) { in onModeChanged()
DVideoCamera.java93 ModePicker.OnModeChangeListener, View.OnTouchListener,
171 private ModePicker mModePicker;
414 mModePicker = (ModePicker) findViewById(R.id.mode_picker); in onCreate()
883 mModePicker.setCurrentMode(ModePicker.MODE_VIDEO); in doOnResume()
1468 MenuHelper.addSwitchModeMenuItem(menu, ModePicker.MODE_CAMERA, new Runnable() { in addBaseMenuItems()
1470 switchToOtherMode(ModePicker.MODE_CAMERA); in addBaseMenuItems()
1473 MenuHelper.addSwitchModeMenuItem(menu, ModePicker.MODE_PANORAMA, new Runnable() { in addBaseMenuItems()
1475 switchToOtherMode(ModePicker.MODE_PANORAMA); in addBaseMenuItems()
1966 if (mode != ModePicker.MODE_VIDEO) { in onModeChanged()
DModePicker.java39 public class ModePicker extends RelativeLayout implements View.OnClickListener, class
70 public ModePicker(Context context, AttributeSet attrs) { in ModePicker() method in ModePicker
/packages/apps/LegacyCamera/src/com/android/camera/panorama/
DPanoramaActivity.java25 import com.android.camera.ModePicker;
84 ModePicker.OnModeChangeListener, SurfaceTexture.OnFrameAvailableListener,
158 private ModePicker mModePicker;
256 MenuHelper.addSwitchModeMenuItem(menu, ModePicker.MODE_CAMERA, new Runnable() { in addBaseMenuItems()
258 switchToOtherMode(ModePicker.MODE_CAMERA); in addBaseMenuItems()
261 MenuHelper.addSwitchModeMenuItem(menu, ModePicker.MODE_VIDEO, new Runnable() { in addBaseMenuItems()
263 switchToOtherMode(ModePicker.MODE_VIDEO); in addBaseMenuItems()
452 if (mode != ModePicker.MODE_PANORAMA) { in onModeChanged()
726 mModePicker = (ModePicker) findViewById(R.id.mode_picker); in createContentView()
729 mModePicker.setCurrentMode(ModePicker.MODE_PANORAMA); in createContentView()