PageRenderTime 12ms CodeModel.GetById 8ms app.highlight 2ms RepoModel.GetById 1ms app.codeStats 0ms

/ime/latinime/src/com/googlecode/eyesfree/inputmethod/latin/LatinImeLogger.java

http://eyes-free.googlecode.com/
Java | 72 lines | 37 code | 20 blank | 15 comment | 0 complexity | 4e19d803b17cc1035e37e1debc96666d MD5 | raw file
 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.googlecode.eyesfree.inputmethod.latin;
18
19import android.content.Context;
20import android.content.SharedPreferences;
21import android.inputmethodservice.Keyboard;
22
23import com.googlecode.eyesfree.inputmethod.latin.Dictionary.DataType;
24
25import java.util.List;
26
27public class LatinImeLogger implements SharedPreferences.OnSharedPreferenceChangeListener {
28
29    public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) {
30    }
31
32    public static void init(Context context) {
33    }
34
35    public static void commit() {
36    }
37
38    public static void onDestroy() {
39    }
40
41    public static void logOnManualSuggestion(
42            String before, String after, int position, List<CharSequence> suggestions) {
43   }
44
45    public static void logOnAutoSuggestion(String before, String after) {
46    }
47
48    public static void logOnAutoSuggestionCanceled() {
49    }
50
51    public static void logOnDelete() {
52    }
53
54    public static void logOnInputChar() {
55    }
56
57    public static void logOnException(String metaData, Throwable e) {
58    }
59
60    public static void logOnWarning(String warning) {
61    }
62
63    public static void onStartSuggestion(CharSequence previousWords) {
64    }
65
66    public static void onAddSuggestedWord(String word, int typeId, DataType dataType) {
67    }
68
69    public static void onSetKeyboard(Keyboard kb) {
70    }
71
72}