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
17package com.android.inputmethod.latin;
18
19import com.android.inputmethod.keyboard.Keyboard;
20import com.android.inputmethod.latin.Dictionary.DataType;
21
22import android.content.Context;
23import android.content.SharedPreferences;
24
25import java.util.List;
26
27public class LatinImeLogger implements SharedPreferences.OnSharedPreferenceChangeListener {
28
29    public static boolean sDBG = false;
30    public static boolean sVISUALDEBUG = false;
31
32    @Override
33    public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) {
34    }
35
36    public static void init(Context context, SharedPreferences prefs) {
37    }
38
39    public static void commit() {
40    }
41
42    public static void onDestroy() {
43    }
44
45    public static void logOnManualSuggestion(
46            String before, String after, int position, List<CharSequence> suggestions) {
47   }
48
49    public static void logOnAutoCorrection(String before, String after, int separatorCode) {
50    }
51
52    public static void logOnAutoCorrectionCancelled() {
53    }
54
55    public static void logOnDelete() {
56    }
57
58    public static void logOnInputChar() {
59    }
60
61    public static void logOnInputSeparator() {
62    }
63
64    public static void logOnException(String metaData, Throwable e) {
65    }
66
67    public static void logOnWarning(String warning) {
68    }
69
70    public static void onStartSuggestion(CharSequence previousWords) {
71    }
72
73    public static void onAddSuggestedWord(String word, int typeId, DataType dataType) {
74    }
75
76    public static void onSetKeyboard(Keyboard kb) {
77    }
78
79    public static void onPrintAllUsabilityStudyLogs() {
80    }
81}
82