Merge "Fix coordinates of InputTestsBase.type"
This commit is contained in:
commit
c818ef0f35
2 changed files with 3 additions and 8 deletions
|
@ -26,8 +26,8 @@ import android.text.InputType;
|
||||||
import android.text.SpannableStringBuilder;
|
import android.text.SpannableStringBuilder;
|
||||||
import android.text.style.SuggestionSpan;
|
import android.text.style.SuggestionSpan;
|
||||||
import android.view.LayoutInflater;
|
import android.view.LayoutInflater;
|
||||||
import android.view.ViewGroup;
|
|
||||||
import android.view.View;
|
import android.view.View;
|
||||||
|
import android.view.ViewGroup;
|
||||||
import android.view.inputmethod.EditorInfo;
|
import android.view.inputmethod.EditorInfo;
|
||||||
import android.view.inputmethod.InputConnection;
|
import android.view.inputmethod.InputConnection;
|
||||||
import android.widget.FrameLayout;
|
import android.widget.FrameLayout;
|
||||||
|
@ -37,9 +37,6 @@ import com.android.inputmethod.keyboard.Key;
|
||||||
import com.android.inputmethod.keyboard.Keyboard;
|
import com.android.inputmethod.keyboard.Keyboard;
|
||||||
import com.android.inputmethod.keyboard.KeyboardActionListener;
|
import com.android.inputmethod.keyboard.KeyboardActionListener;
|
||||||
|
|
||||||
import java.util.Arrays;
|
|
||||||
import java.util.HashMap;
|
|
||||||
|
|
||||||
public class InputTestsBase extends ServiceTestCase<LatinIME> {
|
public class InputTestsBase extends ServiceTestCase<LatinIME> {
|
||||||
|
|
||||||
private static final String PREF_DEBUG_MODE = "debug_mode";
|
private static final String PREF_DEBUG_MODE = "debug_mode";
|
||||||
|
@ -192,8 +189,8 @@ public class InputTestsBase extends ServiceTestCase<LatinIME> {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
mLatinIME.onCodeInput(codePoint,
|
mLatinIME.onCodeInput(codePoint,
|
||||||
KeyboardActionListener.SPELL_CHECKER_COORDINATE,
|
KeyboardActionListener.NOT_A_TOUCH_COORDINATE,
|
||||||
KeyboardActionListener.SPELL_CHECKER_COORDINATE);
|
KeyboardActionListener.NOT_A_TOUCH_COORDINATE);
|
||||||
//mLatinIME.onReleaseKey(codePoint, false);
|
//mLatinIME.onReleaseKey(codePoint, false);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -16,8 +16,6 @@
|
||||||
|
|
||||||
package com.android.inputmethod.latin;
|
package com.android.inputmethod.latin;
|
||||||
|
|
||||||
import com.android.inputmethod.keyboard.Keyboard;
|
|
||||||
|
|
||||||
public class PunctuationTests extends InputTestsBase {
|
public class PunctuationTests extends InputTestsBase {
|
||||||
|
|
||||||
public void testWordThenSpaceThenPunctuationFromStripTwice() {
|
public void testWordThenSpaceThenPunctuationFromStripTwice() {
|
||||||
|
|
Loading…
Reference in a new issue