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