2014-04-08 09:33:41 +00:00
|
|
|
/*
|
|
|
|
* Copyright (C) 2014 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.utils;
|
|
|
|
|
2015-02-19 00:00:59 +00:00
|
|
|
import android.view.inputmethod.InputMethodSubtype;
|
|
|
|
|
2015-03-17 22:18:21 +00:00
|
|
|
import com.android.inputmethod.latin.DictionaryFacilitator;
|
2014-08-14 00:09:06 +00:00
|
|
|
import com.android.inputmethod.latin.RichInputMethodManager;
|
2014-09-08 03:43:48 +00:00
|
|
|
import com.android.inputmethod.latin.SuggestedWords;
|
2014-05-14 05:26:29 +00:00
|
|
|
import com.android.inputmethod.latin.settings.SettingsValues;
|
2014-04-08 09:33:41 +00:00
|
|
|
|
2014-09-16 19:34:22 +00:00
|
|
|
import javax.annotation.Nullable;
|
|
|
|
|
2014-10-22 05:04:07 +00:00
|
|
|
@SuppressWarnings("unused")
|
2014-04-08 09:33:41 +00:00
|
|
|
public final class StatsUtils {
|
|
|
|
|
2014-09-10 02:05:31 +00:00
|
|
|
private StatsUtils() {
|
|
|
|
// Intentional empty constructor.
|
|
|
|
}
|
|
|
|
|
2014-08-14 00:09:06 +00:00
|
|
|
public static void onCreate(final SettingsValues settingsValues,
|
|
|
|
RichInputMethodManager richImm) {
|
2014-04-08 09:33:41 +00:00
|
|
|
}
|
2014-09-08 03:43:48 +00:00
|
|
|
|
|
|
|
public static void onPickSuggestionManually(final SuggestedWords suggestedWords,
|
2015-03-17 22:18:21 +00:00
|
|
|
final SuggestedWords.SuggestedWordInfo suggestionInfo,
|
|
|
|
final DictionaryFacilitator dictionaryFacilitator) {
|
2014-09-10 01:54:49 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
public static void onBackspaceWordDelete(int wordLength) {
|
|
|
|
}
|
|
|
|
|
|
|
|
public static void onBackspacePressed(int lengthToDelete) {
|
|
|
|
}
|
|
|
|
|
|
|
|
public static void onBackspaceSelectedText(int selectedTextLength) {
|
|
|
|
}
|
|
|
|
|
|
|
|
public static void onDeleteMultiCharInput(int multiCharLength) {
|
|
|
|
}
|
|
|
|
|
|
|
|
public static void onRevertAutoCorrect() {
|
|
|
|
}
|
|
|
|
|
|
|
|
public static void onRevertDoubleSpacePeriod() {
|
|
|
|
}
|
2014-09-08 03:43:48 +00:00
|
|
|
|
2014-09-10 01:54:49 +00:00
|
|
|
public static void onRevertSwapPunctuation() {
|
2014-09-08 03:43:48 +00:00
|
|
|
}
|
2014-09-10 02:05:31 +00:00
|
|
|
|
|
|
|
public static void onFinishInputView() {
|
|
|
|
}
|
|
|
|
|
|
|
|
public static void onCreateInputView() {
|
|
|
|
}
|
|
|
|
|
|
|
|
public static void onStartInputView(int inputType, int displayOrientation, boolean restarting) {
|
|
|
|
}
|
2014-09-16 19:34:22 +00:00
|
|
|
|
|
|
|
public static void onAutoCorrection(final String typedWord, final String autoCorrectionWord,
|
2015-03-19 23:07:04 +00:00
|
|
|
final boolean isBatchInput, final DictionaryFacilitator dictionaryFacilitator,
|
|
|
|
final String prevWordsContext) {
|
2014-09-16 19:34:22 +00:00
|
|
|
}
|
2014-09-18 05:53:59 +00:00
|
|
|
|
|
|
|
public static void onWordCommitUserTyped(final String commitWord, final boolean isBatchMode) {
|
|
|
|
}
|
|
|
|
|
|
|
|
public static void onWordCommitAutoCorrect(final String commitWord, final boolean isBatchMode) {
|
|
|
|
}
|
|
|
|
|
|
|
|
public static void onWordCommitSuggestionPickedManually(
|
|
|
|
final String commitWord, final boolean isBatchMode) {
|
|
|
|
}
|
2014-10-01 00:09:00 +00:00
|
|
|
|
2015-02-27 20:48:12 +00:00
|
|
|
public static void onDoubleSpacePeriod() {
|
|
|
|
}
|
|
|
|
|
2014-10-01 00:09:00 +00:00
|
|
|
public static void onLoadSettings(SettingsValues settingsValues) {
|
|
|
|
}
|
2015-01-13 21:16:23 +00:00
|
|
|
|
|
|
|
public static void onInvalidWordIdentification(final String invalidWord) {
|
|
|
|
}
|
2015-02-19 00:00:59 +00:00
|
|
|
|
|
|
|
public static void onSubtypeChanged(final InputMethodSubtype oldSubtype,
|
|
|
|
final InputMethodSubtype newSubtype) {
|
|
|
|
}
|
2015-03-13 23:12:14 +00:00
|
|
|
|
|
|
|
public static void onSettingsActivity(final String entryPoint) {
|
|
|
|
}
|
2015-06-22 23:54:20 +00:00
|
|
|
|
|
|
|
public static void onInputConnectionLaggy(final int operation, final long duration) {
|
|
|
|
}
|
2015-06-23 20:06:06 +00:00
|
|
|
|
|
|
|
public static void onDecoderLaggy(final int operation, final long duration) {
|
|
|
|
}
|
2014-04-08 09:33:41 +00:00
|
|
|
}
|