• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 /*
2  * Copyright (C) 2010 The Android Open Source Project
3  *
4  * Licensed under the Apache License, Version 2.0 (the "License");
5  * you may not use this file except in compliance with the License.
6  * You may obtain a copy of the License at
7  *
8  *      http://www.apache.org/licenses/LICENSE-2.0
9  *
10  * Unless required by applicable law or agreed to in writing, software
11  * distributed under the License is distributed on an "AS IS" BASIS,
12  * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13  * See the License for the specific language governing permissions and
14  * limitations under the License.
15  */
16 
17 package com.android.inputmethod.latin.settings;
18 
19 /**
20  * Debug settings for the application.
21  *
22  * Note: Even though these settings are stored in the default shared preferences file,
23  * they shouldn't be restored across devices.
24  * If a new key is added here, it should also be blacklisted for restore in
25  * {@link LocalSettingsConstants}.
26  */
27 public final class DebugSettings {
28     public static final String PREF_DEBUG_MODE = "debug_mode";
29     public static final String PREF_FORCE_NON_DISTINCT_MULTITOUCH = "force_non_distinct_multitouch";
30     public static final String PREF_HAS_CUSTOM_KEY_PREVIEW_ANIMATION_PARAMS =
31             "pref_has_custom_key_preview_animation_params";
32     public static final String PREF_RESIZE_KEYBOARD = "pref_resize_keyboard";
33     public static final String PREF_KEYBOARD_HEIGHT_SCALE = "pref_keyboard_height_scale";
34     public static final String PREF_KEY_PREVIEW_DISMISS_DURATION =
35             "pref_key_preview_dismiss_duration";
36     public static final String PREF_KEY_PREVIEW_DISMISS_END_X_SCALE =
37             "pref_key_preview_dismiss_end_x_scale";
38     public static final String PREF_KEY_PREVIEW_DISMISS_END_Y_SCALE =
39             "pref_key_preview_dismiss_end_y_scale";
40     public static final String PREF_KEY_PREVIEW_SHOW_UP_DURATION =
41             "pref_key_preview_show_up_duration";
42     public static final String PREF_KEY_PREVIEW_SHOW_UP_START_X_SCALE =
43             "pref_key_preview_show_up_start_x_scale";
44     public static final String PREF_KEY_PREVIEW_SHOW_UP_START_Y_SCALE =
45             "pref_key_preview_show_up_start_y_scale";
46     public static final String PREF_SHOULD_SHOW_LXX_SUGGESTION_UI =
47             "pref_should_show_lxx_suggestion_ui";
48     public static final String PREF_SLIDING_KEY_INPUT_PREVIEW = "pref_sliding_key_input_preview";
49 
DebugSettings()50     private DebugSettings() {
51         // This class is not publicly instantiable.
52     }
53 }
54