00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021 package org.xbmc.android.jsonrpc.api.model;
00022
00023 import java.util.Arrays;
00024 import java.util.HashSet;
00025 import java.util.Set;
00026
00027 public final class InputModel {
00028
00032 public interface Action {
00033
00034 public final String LEFT = "left";
00035 public final String RIGHT = "right";
00036 public final String UP = "up";
00037 public final String DOWN = "down";
00038 public final String PAGEUP = "pageup";
00039 public final String PAGEDOWN = "pagedown";
00040 public final String SELECT = "select";
00041 public final String HIGHLIGHT = "highlight";
00042 public final String PARENTDIR = "parentdir";
00043 public final String PARENTFOLDER = "parentfolder";
00044 public final String BACK = "back";
00045 public final String PREVIOUSMENU = "previousmenu";
00046 public final String INFO = "info";
00047 public final String PAUSE = "pause";
00048 public final String STOP = "stop";
00049 public final String SKIPNEXT = "skipnext";
00050 public final String SKIPPREVIOUS = "skipprevious";
00051 public final String FULLSCREEN = "fullscreen";
00052 public final String ASPECTRATIO = "aspectratio";
00053 public final String STEPFORWARD = "stepforward";
00054 public final String STEPBACK = "stepback";
00055 public final String BIGSTEPFORWARD = "bigstepforward";
00056 public final String BIGSTEPBACK = "bigstepback";
00057 public final String CHAPTERORBIGSTEPFORWARD = "chapterorbigstepforward";
00058 public final String CHAPTERORBIGSTEPBACK = "chapterorbigstepback";
00059 public final String OSD = "osd";
00060 public final String SHOWSUBTITLES = "showsubtitles";
00061 public final String NEXTSUBTITLE = "nextsubtitle";
00062 public final String CODECINFO = "codecinfo";
00063 public final String NEXTPICTURE = "nextpicture";
00064 public final String PREVIOUSPICTURE = "previouspicture";
00065 public final String ZOOMOUT = "zoomout";
00066 public final String ZOOMIN = "zoomin";
00067 public final String PLAYLIST = "playlist";
00068 public final String QUEUE = "queue";
00069 public final String ZOOMNORMAL = "zoomnormal";
00070 public final String ZOOMLEVEL1 = "zoomlevel1";
00071 public final String ZOOMLEVEL2 = "zoomlevel2";
00072 public final String ZOOMLEVEL3 = "zoomlevel3";
00073 public final String ZOOMLEVEL4 = "zoomlevel4";
00074 public final String ZOOMLEVEL5 = "zoomlevel5";
00075 public final String ZOOMLEVEL6 = "zoomlevel6";
00076 public final String ZOOMLEVEL7 = "zoomlevel7";
00077 public final String ZOOMLEVEL8 = "zoomlevel8";
00078 public final String ZOOMLEVEL9 = "zoomlevel9";
00079 public final String NEXTCALIBRATION = "nextcalibration";
00080 public final String RESETCALIBRATION = "resetcalibration";
00081 public final String ANALOGMOVE = "analogmove";
00082 public final String ROTATE = "rotate";
00083 public final String ROTATECCW = "rotateccw";
00084 public final String CLOSE = "close";
00085 public final String SUBTITLEDELAYMINUS = "subtitledelayminus";
00086 public final String SUBTITLEDELAY = "subtitledelay";
00087 public final String SUBTITLEDELAYPLUS = "subtitledelayplus";
00088 public final String AUDIODELAYMINUS = "audiodelayminus";
00089 public final String AUDIODELAY = "audiodelay";
00090 public final String AUDIODELAYPLUS = "audiodelayplus";
00091 public final String SUBTITLESHIFTUP = "subtitleshiftup";
00092 public final String SUBTITLESHIFTDOWN = "subtitleshiftdown";
00093 public final String SUBTITLEALIGN = "subtitlealign";
00094 public final String AUDIONEXTLANGUAGE = "audionextlanguage";
00095 public final String VERTICALSHIFTUP = "verticalshiftup";
00096 public final String VERTICALSHIFTDOWN = "verticalshiftdown";
00097 public final String NEXTRESOLUTION = "nextresolution";
00098 public final String AUDIOTOGGLEDIGITAL = "audiotoggledigital";
00099 public final String NUMBER0 = "number0";
00100 public final String NUMBER1 = "number1";
00101 public final String NUMBER2 = "number2";
00102 public final String NUMBER3 = "number3";
00103 public final String NUMBER4 = "number4";
00104 public final String NUMBER5 = "number5";
00105 public final String NUMBER6 = "number6";
00106 public final String NUMBER7 = "number7";
00107 public final String NUMBER8 = "number8";
00108 public final String NUMBER9 = "number9";
00109 public final String OSDLEFT = "osdleft";
00110 public final String OSDRIGHT = "osdright";
00111 public final String OSDUP = "osdup";
00112 public final String OSDDOWN = "osddown";
00113 public final String OSDSELECT = "osdselect";
00114 public final String OSDVALUEPLUS = "osdvalueplus";
00115 public final String OSDVALUEMINUS = "osdvalueminus";
00116 public final String SMALLSTEPBACK = "smallstepback";
00117 public final String FASTFORWARD = "fastforward";
00118 public final String REWIND = "rewind";
00119 public final String PLAY = "play";
00120 public final String PLAYPAUSE = "playpause";
00121 public final String SWITCHPLAYER = "switchplayer";
00122 public final String DELETE = "delete";
00123 public final String COPY = "copy";
00124 public final String MOVE = "move";
00125 public final String MPLAYEROSD = "mplayerosd";
00126 public final String HIDESUBMENU = "hidesubmenu";
00127 public final String SCREENSHOT = "screenshot";
00128 public final String RENAME = "rename";
00129 public final String TOGGLEWATCHED = "togglewatched";
00130 public final String SCANITEM = "scanitem";
00131 public final String RELOADKEYMAPS = "reloadkeymaps";
00132 public final String VOLUMEUP = "volumeup";
00133 public final String VOLUMEDOWN = "volumedown";
00134 public final String MUTE = "mute";
00135 public final String BACKSPACE = "backspace";
00136 public final String SCROLLUP = "scrollup";
00137 public final String SCROLLDOWN = "scrolldown";
00138 public final String ANALOGFASTFORWARD = "analogfastforward";
00139 public final String ANALOGREWIND = "analogrewind";
00140 public final String MOVEITEMUP = "moveitemup";
00141 public final String MOVEITEMDOWN = "moveitemdown";
00142 public final String CONTEXTMENU = "contextmenu";
00143 public final String SHIFT = "shift";
00144 public final String SYMBOLS = "symbols";
00145 public final String CURSORLEFT = "cursorleft";
00146 public final String CURSORRIGHT = "cursorright";
00147 public final String SHOWTIME = "showtime";
00148 public final String ANALOGSEEKFORWARD = "analogseekforward";
00149 public final String ANALOGSEEKBACK = "analogseekback";
00150 public final String SHOWPRESET = "showpreset";
00151 public final String PRESETLIST = "presetlist";
00152 public final String NEXTPRESET = "nextpreset";
00153 public final String PREVIOUSPRESET = "previouspreset";
00154 public final String LOCKPRESET = "lockpreset";
00155 public final String RANDOMPRESET = "randompreset";
00156 public final String INCREASEVISRATING = "increasevisrating";
00157 public final String DECREASEVISRATING = "decreasevisrating";
00158 public final String SHOWVIDEOMENU = "showvideomenu";
00159 public final String ENTER = "enter";
00160 public final String INCREASERATING = "increaserating";
00161 public final String DECREASERATING = "decreaserating";
00162 public final String TOGGLEFULLSCREEN = "togglefullscreen";
00163 public final String NEXTSCENE = "nextscene";
00164 public final String PREVIOUSSCENE = "previousscene";
00165 public final String NEXTLETTER = "nextletter";
00166 public final String PREVLETTER = "prevletter";
00167 public final String JUMPSMS2 = "jumpsms2";
00168 public final String JUMPSMS3 = "jumpsms3";
00169 public final String JUMPSMS4 = "jumpsms4";
00170 public final String JUMPSMS5 = "jumpsms5";
00171 public final String JUMPSMS6 = "jumpsms6";
00172 public final String JUMPSMS7 = "jumpsms7";
00173 public final String JUMPSMS8 = "jumpsms8";
00174 public final String JUMPSMS9 = "jumpsms9";
00175 public final String FILTER = "filter";
00176 public final String FILTERCLEAR = "filterclear";
00177 public final String FILTERSMS2 = "filtersms2";
00178 public final String FILTERSMS3 = "filtersms3";
00179 public final String FILTERSMS4 = "filtersms4";
00180 public final String FILTERSMS5 = "filtersms5";
00181 public final String FILTERSMS6 = "filtersms6";
00182 public final String FILTERSMS7 = "filtersms7";
00183 public final String FILTERSMS8 = "filtersms8";
00184 public final String FILTERSMS9 = "filtersms9";
00185 public final String FIRSTPAGE = "firstpage";
00186 public final String LASTPAGE = "lastpage";
00187 public final String GUIPROFILE = "guiprofile";
00188 public final String RED = "red";
00189 public final String GREEN = "green";
00190 public final String YELLOW = "yellow";
00191 public final String BLUE = "blue";
00192 public final String INCREASEPAR = "increasepar";
00193 public final String DECREASEPAR = "decreasepar";
00194 public final String VOLAMPUP = "volampup";
00195 public final String VOLAMPDOWN = "volampdown";
00196 public final String CREATEBOOKMARK = "createbookmark";
00197 public final String CREATEEPISODEBOOKMARK = "createepisodebookmark";
00198 public final String SETTINGSRESET = "settingsreset";
00199 public final String SETTINGSLEVELCHANGE = "settingslevelchange";
00200 public final String STEREOMODE = "stereomode";
00201 public final String NEXTSTEREOMODE = "nextstereomode";
00202 public final String PREVIOUSSTEREOMODE = "previousstereomode";
00203 public final String TOGGLESTEREOMODE = "togglestereomode";
00204 public final String STEREOMODETOMONO = "stereomodetomono";
00205 public final String CHANNELUP = "channelup";
00206 public final String CHANNELDOWN = "channeldown";
00207 public final String PREVIOUSCHANNELGROUP = "previouschannelgroup";
00208 public final String NEXTCHANNELGROUP = "nextchannelgroup";
00209 public final String PLAYPVR = "playpvr";
00210 public final String PLAYPVRTV = "playpvrtv";
00211 public final String PLAYPVRRADIO = "playpvrradio";
00212 public final String LEFTCLICK = "leftclick";
00213 public final String RIGHTCLICK = "rightclick";
00214 public final String MIDDLECLICK = "middleclick";
00215 public final String DOUBLECLICK = "doubleclick";
00216 public final String WHEELUP = "wheelup";
00217 public final String WHEELDOWN = "wheeldown";
00218 public final String MOUSEDRAG = "mousedrag";
00219 public final String MOUSEMOVE = "mousemove";
00220 public final String TAP = "tap";
00221 public final String LONGPRESS = "longpress";
00222 public final String PANGESTURE = "pangesture";
00223 public final String ZOOMGESTURE = "zoomgesture";
00224 public final String ROTATEGESTURE = "rotategesture";
00225 public final String SWIPELEFT = "swipeleft";
00226 public final String SWIPERIGHT = "swiperight";
00227 public final String SWIPEUP = "swipeup";
00228 public final String SWIPEDOWN = "swipedown";
00229 public final String NOOP = "noop";
00230
00231 public final static Set<String> values = new HashSet<String>(Arrays.asList(LEFT, RIGHT, UP, DOWN, PAGEUP, PAGEDOWN, SELECT, HIGHLIGHT, PARENTDIR, PARENTFOLDER, BACK, PREVIOUSMENU, INFO, PAUSE, STOP, SKIPNEXT, SKIPPREVIOUS, FULLSCREEN, ASPECTRATIO, STEPFORWARD, STEPBACK, BIGSTEPFORWARD, BIGSTEPBACK, CHAPTERORBIGSTEPFORWARD, CHAPTERORBIGSTEPBACK, OSD, SHOWSUBTITLES, NEXTSUBTITLE, CODECINFO, NEXTPICTURE, PREVIOUSPICTURE, ZOOMOUT, ZOOMIN, PLAYLIST, QUEUE, ZOOMNORMAL, ZOOMLEVEL1, ZOOMLEVEL2, ZOOMLEVEL3, ZOOMLEVEL4, ZOOMLEVEL5, ZOOMLEVEL6, ZOOMLEVEL7, ZOOMLEVEL8, ZOOMLEVEL9, NEXTCALIBRATION, RESETCALIBRATION, ANALOGMOVE, ROTATE, ROTATECCW, CLOSE, SUBTITLEDELAYMINUS, SUBTITLEDELAY, SUBTITLEDELAYPLUS, AUDIODELAYMINUS, AUDIODELAY, AUDIODELAYPLUS, SUBTITLESHIFTUP, SUBTITLESHIFTDOWN, SUBTITLEALIGN, AUDIONEXTLANGUAGE, VERTICALSHIFTUP, VERTICALSHIFTDOWN, NEXTRESOLUTION, AUDIOTOGGLEDIGITAL, NUMBER0, NUMBER1, NUMBER2, NUMBER3, NUMBER4, NUMBER5, NUMBER6, NUMBER7, NUMBER8, NUMBER9, OSDLEFT, OSDRIGHT, OSDUP, OSDDOWN, OSDSELECT, OSDVALUEPLUS, OSDVALUEMINUS, SMALLSTEPBACK, FASTFORWARD, REWIND, PLAY, PLAYPAUSE, SWITCHPLAYER, DELETE, COPY, MOVE, MPLAYEROSD, HIDESUBMENU, SCREENSHOT, RENAME, TOGGLEWATCHED, SCANITEM, RELOADKEYMAPS, VOLUMEUP, VOLUMEDOWN, MUTE, BACKSPACE, SCROLLUP, SCROLLDOWN, ANALOGFASTFORWARD, ANALOGREWIND, MOVEITEMUP, MOVEITEMDOWN, CONTEXTMENU, SHIFT, SYMBOLS, CURSORLEFT, CURSORRIGHT, SHOWTIME, ANALOGSEEKFORWARD, ANALOGSEEKBACK, SHOWPRESET, PRESETLIST, NEXTPRESET, PREVIOUSPRESET, LOCKPRESET, RANDOMPRESET, INCREASEVISRATING, DECREASEVISRATING, SHOWVIDEOMENU, ENTER, INCREASERATING, DECREASERATING, TOGGLEFULLSCREEN, NEXTSCENE, PREVIOUSSCENE, NEXTLETTER, PREVLETTER, JUMPSMS2, JUMPSMS3, JUMPSMS4, JUMPSMS5, JUMPSMS6, JUMPSMS7, JUMPSMS8, JUMPSMS9, FILTER, FILTERCLEAR, FILTERSMS2, FILTERSMS3, FILTERSMS4, FILTERSMS5, FILTERSMS6, FILTERSMS7, FILTERSMS8, FILTERSMS9, FIRSTPAGE, LASTPAGE, GUIPROFILE, RED, GREEN, YELLOW, BLUE, INCREASEPAR, DECREASEPAR, VOLAMPUP, VOLAMPDOWN, CREATEBOOKMARK, CREATEEPISODEBOOKMARK, SETTINGSRESET, SETTINGSLEVELCHANGE, STEREOMODE, NEXTSTEREOMODE, PREVIOUSSTEREOMODE, TOGGLESTEREOMODE, STEREOMODETOMONO, CHANNELUP, CHANNELDOWN, PREVIOUSCHANNELGROUP, NEXTCHANNELGROUP, PLAYPVR, PLAYPVRTV, PLAYPVRRADIO, LEFTCLICK, RIGHTCLICK, MIDDLECLICK, DOUBLECLICK, WHEELUP, WHEELDOWN, MOUSEDRAG, MOUSEMOVE, TAP, LONGPRESS, PANGESTURE, ZOOMGESTURE, ROTATEGESTURE, SWIPELEFT, SWIPERIGHT, SWIPEUP, SWIPEDOWN, NOOP));
00232 }
00233 }