2010-08-20 05:35:02 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2010 The Android Open Source Project
|
|
|
|
*
|
|
|
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
|
|
|
* you may not use this file except in compliance with the License.
|
|
|
|
* You may obtain a copy of the License at
|
|
|
|
*
|
|
|
|
* http://www.apache.org/licenses/LICENSE-2.0
|
|
|
|
*
|
|
|
|
* Unless required by applicable law or agreed to in writing, software
|
|
|
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
|
|
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
|
|
|
* See the License for the specific language governing permissions and
|
|
|
|
* limitations under the License.
|
|
|
|
*/
|
|
|
|
|
|
|
|
package com.android.inputmethod.latin;
|
|
|
|
|
|
|
|
import android.content.SharedPreferences;
|
2011-12-14 05:53:28 +00:00
|
|
|
import android.view.inputmethod.EditorInfo;
|
|
|
|
|
|
|
|
import com.android.inputmethod.keyboard.Keyboard;
|
2010-11-29 08:57:48 +00:00
|
|
|
|
2010-08-20 05:35:02 +00:00
|
|
|
public class LatinImeLogger implements SharedPreferences.OnSharedPreferenceChangeListener {
|
|
|
|
|
2010-11-16 06:52:34 +00:00
|
|
|
public static boolean sDBG = false;
|
2011-06-28 10:13:52 +00:00
|
|
|
public static boolean sVISUALDEBUG = false;
|
2011-12-15 14:26:18 +00:00
|
|
|
public static boolean sUsabilityStudy = false;
|
2010-11-16 06:52:34 +00:00
|
|
|
|
2010-12-02 09:46:21 +00:00
|
|
|
@Override
|
2010-08-20 05:35:02 +00:00
|
|
|
public void onSharedPreferenceChanged(SharedPreferences sharedPreferences, String key) {
|
|
|
|
}
|
|
|
|
|
2011-12-09 15:35:50 +00:00
|
|
|
public static void init(LatinIME context, SharedPreferences prefs) {
|
2010-08-20 05:35:02 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public static void commit() {
|
|
|
|
}
|
|
|
|
|
|
|
|
public static void onDestroy() {
|
|
|
|
}
|
|
|
|
|
2010-09-28 02:27:44 +00:00
|
|
|
public static void logOnManualSuggestion(
|
2012-03-05 07:56:58 +00:00
|
|
|
String before, String after, int position, SuggestedWords suggestedWords) {
|
2011-12-14 05:53:28 +00:00
|
|
|
}
|
2010-08-20 05:35:02 +00:00
|
|
|
|
2011-04-06 02:14:20 +00:00
|
|
|
public static void logOnAutoCorrection(String before, String after, int separatorCode) {
|
2010-08-20 05:35:02 +00:00
|
|
|
}
|
|
|
|
|
2011-04-06 02:14:20 +00:00
|
|
|
public static void logOnAutoCorrectionCancelled() {
|
2010-08-20 05:35:02 +00:00
|
|
|
}
|
|
|
|
|
2012-03-20 14:29:34 +00:00
|
|
|
public static void logOnDelete(int x, int y) {
|
2010-08-20 05:35:02 +00:00
|
|
|
}
|
|
|
|
|
2010-09-24 06:46:06 +00:00
|
|
|
public static void logOnInputChar() {
|
2010-08-20 05:35:02 +00:00
|
|
|
}
|
|
|
|
|
2011-04-06 02:14:20 +00:00
|
|
|
public static void logOnInputSeparator() {
|
|
|
|
}
|
|
|
|
|
2010-08-20 05:35:02 +00:00
|
|
|
public static void logOnException(String metaData, Throwable e) {
|
|
|
|
}
|
|
|
|
|
|
|
|
public static void logOnWarning(String warning) {
|
|
|
|
}
|
|
|
|
|
2011-12-14 05:53:28 +00:00
|
|
|
public static void onStartInputView(EditorInfo editorInfo) {
|
|
|
|
}
|
|
|
|
|
2010-08-20 05:35:02 +00:00
|
|
|
public static void onStartSuggestion(CharSequence previousWords) {
|
|
|
|
}
|
|
|
|
|
2012-01-26 03:49:43 +00:00
|
|
|
public static void onAddSuggestedWord(String word, int typeId, int dataType) {
|
2010-08-20 05:35:02 +00:00
|
|
|
}
|
|
|
|
|
2010-12-02 09:46:21 +00:00
|
|
|
public static void onSetKeyboard(Keyboard kb) {
|
2010-08-20 05:35:02 +00:00
|
|
|
}
|
|
|
|
|
2010-12-28 10:49:43 +00:00
|
|
|
public static void onPrintAllUsabilityStudyLogs() {
|
2010-11-16 06:52:34 +00:00
|
|
|
}
|
2010-08-20 05:35:02 +00:00
|
|
|
}
|