• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * ConnectBot: simple, powerful, open-source SSH client for Android
3  * Copyright 2007 Kenny Root, Jeffrey Sharkey
4  *
5  * Licensed under the Apache License, Version 2.0 (the "License");
6  * you may not use this file except in compliance with the License.
7  * You may obtain a copy of the License at
8  *
9  *     http://www.apache.org/licenses/LICENSE-2.0
10  *
11  * Unless required by applicable law or agreed to in writing, software
12  * distributed under the License is distributed on an "AS IS" BASIS,
13  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  * See the License for the specific language governing permissions and
15  * limitations under the License.
16  */
17 
18 package org.connectbot.util;
19 
20 /**
21  */
22 public class PreferenceConstants {
23 
24   public static final String SCROLLBACK = "scrollback";
25   public static final String FONTSIZE = "fontsize";
26   public static final String KEYMODE = "keymode";
27   public static final String ENCODING = "encoding";
28 
29   public static final String DELKEY = "delkey";
30   public static final String DELKEY_BACKSPACE = "backspace";
31   public static final String DELKEY_DEL = "del";
32 
33   public static final String ROTATION = "rotation";
34 
35   public static final String ROTATION_DEFAULT = "Default";
36   public static final String ROTATION_LANDSCAPE = "Force landscape";
37   public static final String ROTATION_PORTRAIT = "Force portrait";
38   public static final String ROTATION_AUTOMATIC = "Automatic";
39 
40   public static final String FULLSCREEN = "fullscreen";
41 
42   public static final String KEYMODE_RIGHT = "Use right-side keys";
43   public static final String KEYMODE_LEFT = "Use left-side keys";
44 
45   public static final String CAMERA = "camera";
46 
47   public static final String CAMERA_CTRLA_SPACE = "Ctrl+A then Space";
48   public static final String CAMERA_CTRLA = "Ctrl+A";
49   public static final String CAMERA_ESC = "Esc";
50   public static final String CAMERA_ESC_A = "Esc+A";
51 
52   public static final String KEEP_ALIVE = "keepalive";
53 
54   public static final String BUMPY_ARROWS = "bumpyarrows";
55   public static final String HIDE_KEYBOARD = "hidekeyboard";
56 
57   public static final String SORT_BY_COLOR = "sortByColor";
58 
59   public static final String BELL = "bell";
60   public static final String BELL_VOLUME = "bellVolume";
61   public static final String BELL_VIBRATE = "bellVibrate";
62   public static final float DEFAULT_BELL_VOLUME = 0.25f;
63 
64   public final static int DEFAULT_FG_COLOR = 0xffcccccc;
65   public final static int DEFAULT_BG_COLOR = 0xff000000;
66   public final static int DEFAULT_SCROLLBACK = 140;
67   public final static float DEFAULT_FONT_SIZE = 10;
68 
69   public final static String COLOR_FG = "color_fg";
70   public final static String COLOR_BG = "color_bg";
71 
72 }
73