FossifyGallery/app/src/main/kotlin/com/simplemobiletools/gallery/Constants.kt
2016-11-13 23:13:41 +01:00

33 lines
895 B
Kotlin

package com.simplemobiletools.gallery
// shared preferences
val PREFS_KEY = "Gallery"
val IS_FIRST_RUN = "is_first_run"
val IS_DARK_THEME = "is_dark_theme"
val IS_SAME_SORTING = "is_same_sorting"
val SORT_ORDER = "sort_order"
val DIRECTORY_SORT_ORDER = "directory_sort_order"
val HIDDEN_FOLDERS = "hidden_folders"
val SHOW_HIDDEN_FOLDERS = "show_hidden_folders"
val AUTOPLAY_VIDEOS = "autoplay_videos"
val TREE_URI = "tree_uri"
val DISPLAY_FILE_NAMES = "display_file_names"
// sorting
val SORT_BY_NAME = 1
val SORT_BY_DATE = 2
val SORT_BY_SIZE = 4
val SORT_DESCENDING = 1024
// global intents
val OPEN_DOCUMENT_TREE = 1000
object Constants {
val DIRECTORY = "directory"
val MEDIUM = "medium"
val GET_IMAGE_INTENT = "get_image_intent"
val GET_VIDEO_INTENT = "get_video_intent"
val GET_ANY_INTENT = "get_any_intent"
val SET_WALLPAPER_INTENT = "set_wallpaper_intent"
}