mirror of
https://github.com/SimpleMobileTools/Simple-Camera.git
synced 2025-05-05 09:28:43 +02:00
30 lines
1.3 KiB
Java
30 lines
1.3 KiB
Java
package com.simplemobiletools.camera;
|
|
|
|
public class Constants {
|
|
public static final int ORIENT_PORTRAIT = 0;
|
|
public static final int ORIENT_LANDSCAPE_LEFT = 1;
|
|
public static final int ORIENT_LANDSCAPE_RIGHT = 2;
|
|
|
|
public static final int TWO_MPX = 3000000;
|
|
public static final int FIVE_MPX = 6000000;
|
|
public static final int EIGHT_MPX = 9000000;
|
|
|
|
public static final int P480 = 400000;
|
|
public static final int P720 = 1000000;
|
|
public static final int P1080 = 2100000;
|
|
|
|
// shared preferences
|
|
public static final String PREFS_KEY = "Camera";
|
|
public static final String IS_FIRST_RUN = "is_first_run";
|
|
public static final String IS_DARK_THEME = "is_dark_theme";
|
|
public static final String SAVE_PHOTOS = "save_photos";
|
|
public static final String SOUND = "sound";
|
|
public static final String FORCE_RATIO = "force_ratio";
|
|
public static final String MAX_PHOTO_RESOLUTION = "max_photo_resolution";
|
|
public static final String MAX_VIDEO_RESOLUTION = "max_video_resolution";
|
|
public static final String MAX_RESOLUTION = "max_resolution";
|
|
public static final String LAST_USED_CAMERA = "last_used_camera";
|
|
public static final String LAST_FLASHLIGHT_STATE = "last_flashlight_state";
|
|
public static final String TREE_URI = "tree_uri";
|
|
}
|