/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/ |
D | InputLogicTests.java | 49 assertEquals("type word", WORD_TO_TYPE, mEditText.getText().toString()); in testTypeWord() 60 mEditText.getText().toString()); in testPickSuggestionThenBackspace() 72 mEditText.getText().toString()); in testPickAutoCorrectionThenBackspace() 75 mEditText.getText().toString()); in testPickAutoCorrectionThenBackspace() 86 mEditText.getText().toString()); in testPickTypedWordOverAutoCorrectionThenBackspace() 89 mEditText.getText().toString()); in testPickTypedWordOverAutoCorrectionThenBackspace() 101 mEditText.getText().toString()); in testPickDifferentSuggestionThenBackspace() 104 mEditText.getText().toString()); in testPickDifferentSuggestionThenBackspace() 125 assertEquals("delete selection", EXPECTED_RESULT, mEditText.getText().toString()); in testDeleteSelection() 147 assertEquals("delete selection twice", EXPECTED_RESULT, mEditText.getText().toString()); in testDeleteSelectionTwice() [all …]
|
D | InputLogicTestsLanguageWithoutSpaces.java | 32 mEditText.getText().toString()); in testAutoCorrectForLanguageWithoutSpaces() 42 EXPECTED_INTERMEDIATE_RESULT, mEditText.getText().toString()); in testRevertAutoCorrectForLanguageWithoutSpaces() 45 EXPECTED_FINAL_RESULT, mEditText.getText().toString()); in testRevertAutoCorrectForLanguageWithoutSpaces() 48 BaseInputConnection.getComposingSpanStart(mEditText.getText())); in testRevertAutoCorrectForLanguageWithoutSpaces() 50 BaseInputConnection.getComposingSpanEnd(mEditText.getText())); in testRevertAutoCorrectForLanguageWithoutSpaces() 58 BaseInputConnection.getComposingSpanStart(mEditText.getText())); in testDontResumeSuggestionOnBackspace() 60 BaseInputConnection.getComposingSpanEnd(mEditText.getText())); in testDontResumeSuggestionOnBackspace() 64 BaseInputConnection.getComposingSpanStart(mEditText.getText())); in testDontResumeSuggestionOnBackspace() 66 BaseInputConnection.getComposingSpanEnd(mEditText.getText())); in testDontResumeSuggestionOnBackspace() 82 BaseInputConnection.getComposingSpanStart(mEditText.getText())); in testStartComposingInsideText() [all …]
|
D | PunctuationTests.java | 48 EXPECTED_RESULT, mEditText.getText().toString()); in testWordThenSpaceThenPunctuationFromStripTwice() 60 mEditText.getText().toString()); in testWordThenSpaceThenPunctuationFromKeyboardTwice() 74 mEditText.getText().toString()); in testManualPickThenPunctuationFromStripTwiceThenType() 85 mEditText.getText().toString()); in testManualPickThenManualPickWithPunctAtStart() 96 EXPECTED_RESULT, mEditText.getText().toString()); in testManuallyPickedWordThenColon() 107 EXPECTED_RESULT, mEditText.getText().toString()); in testManuallyPickedWordThenOpenParen() 118 EXPECTED_RESULT, mEditText.getText().toString()); in testManuallyPickedWordThenCloseParen() 129 EXPECTED_RESULT, mEditText.getText().toString()); in testManuallyPickedWordThenSmiley() 140 EXPECTED_RESULT, mEditText.getText().toString()); in testManuallyPickedWordThenDotCom() 150 EXPECTED_RESULT, mEditText.getText().toString()); in testTypeWordTypeDotThenPressDotCom() [all …]
|
D | InputLogicTestsDeadKeys.java | 61 assertEquals("simple dead circumflex", EXPECTED_RESULT, mEditText.getText().toString()); in testDeadCircumflexSimple() 75 assertEquals("dead circumflex backspace", EXPECTED_RESULT, mEditText.getText().toString()); in testDeadCircumflexBackspace() 88 mEditText.getText().toString()); in testDeadCircumflexFeedback() 106 mEditText.getText().toString()); in testDeadDiaeresisSpace() 120 assertEquals("dead acute on a typed", EXPECTED_RESULT1, mEditText.getText().toString()); in testDeadAcuteLetterBackspace() 124 assertEquals("a with acute deleted", EXPECTED_RESULT2, mEditText.getText().toString()); in testDeadAcuteLetterBackspace() 140 mEditText.getText().toString()); in testFinnishStroke() 163 mEditText.getText().toString()); in testDoubleDeadOgonek() 179 mEditText.getText().toString()); in testDeadCircumflexDeadDiaeresis() 196 mEditText.getText().toString()); in testDeadCircumflexDeadDiaeresisBackspace() [all …]
|
D | BlueUnderlineTests.java | 35 final SpanGetter span = new SpanGetter(mEditText.getText(), SuggestionSpan.class); in testBlueUnderline() 52 final SpanGetter spanBefore = new SpanGetter(mEditText.getText(), SuggestionSpan.class); in testBlueUnderlineDisappears() 59 final SpanGetter spanAfter = new SpanGetter(mEditText.getText(), SuggestionSpan.class); in testBlueUnderlineDisappears() 82 final SpanGetter suggestionSpan = new SpanGetter(mEditText.getText(), SuggestionSpan.class); in testBlueUnderlineOnBackspace() 85 final SpanGetter underlineSpan = new SpanGetter(mEditText.getText(), UnderlineSpan.class); in testBlueUnderlineOnBackspace() 109 final SpanGetter span = new SpanGetter(mEditText.getText(), SuggestionSpan.class); in testBlueUnderlineDisappearsWhenCursorMoved() 124 SpanGetter span = new SpanGetter(mEditText.getText(), UnderlineSpan.class); in testComposingStopsOnSpace()
|
D | InputTestsBase.java | 78 protected MyEditText mEditText; field in InputTestsBase 199 mEditText = new MyEditText(getContext()); in setUp() 202 mEditText.setInputType(inputType); in setUp() 203 mEditText.setEnabled(true); in setUp() 217 final InputConnection ic = mEditText.onCreateInputConnection(ei); in setUp() 376 mEditText.mCurrentLocale = LocaleUtils.constructLocaleFromString(locale); in changeLanguageWithoutWait() 445 final int lastPos = mEditText.getText().length(); in sendUpdateForCursorMoveBy() 460 final int lastPos = mEditText.getText().length(); in sendUpdateForCursorMoveToEndOfLine()
|
D | ShiftModeTests.java | 87 mEditText.setText(""); in testAutoCapsAfterDigitsPeriod() 93 mEditText.setText(""); in testAutoCapsAfterDigitsPeriod() 107 mEditText.setText(""); in testAutoCapsAfterInvertedMarks()
|
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/spellcheck/ |
D | AndroidSpellCheckerServiceTest.java | 28 mEditText.setText("tgis "); in testSpellchecker() 29 mEditText.setSelection(mEditText.getText().length()); in testSpellchecker() 30 mEditText.onAttachedToWindow(); in testSpellchecker() 35 final SpanGetter span = new SpanGetter(mEditText.getText(), SuggestionSpan.class); in testSpellchecker() 47 mEditText.onAttachedToWindow(); in testRussianSpellchecker() 48 mEditText.setText("годп "); in testRussianSpellchecker() 49 mEditText.setSelection(mEditText.getText().length()); in testRussianSpellchecker() 50 mEditText.onAttachedToWindow(); in testRussianSpellchecker() 55 final SpanGetter span = new SpanGetter(mEditText.getText(), SuggestionSpan.class); in testRussianSpellchecker() 62 mEditText.setText("I'm.sure "); in testSpellcheckWithPeriods() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/debug/ |
D | DebugMmsConfigItemView.java | 51 private EditText mEditText; field in DebugMmsConfigItemView 104 mEditText = new EditText(context); in onClick() 105 mEditText.setText(mTextValue.getText()); in onClick() 106 mEditText.setFocusable(true); in onClick() 108 mEditText.setInputType(InputType.TYPE_CLASS_PHONE); in onClick() 110 mEditText.setInputType(InputType.TYPE_TEXT_FLAG_NO_SUGGESTIONS); in onClick() 114 .setView(mEditText) in onClick() 121 mEditText.requestFocus(); in onClick() 122 mEditText.selectAll(); in onClick() 132 mListener.onValueChanged(mKey, mKeyType, mEditText.getText().toString()); in onClick()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | ZenRuleNameDialog.java | 34 private final EditText mEditText; field in ZenRuleNameDialog 42 mEditText = (EditText) v.findViewById(R.id.rule_name); in ZenRuleNameDialog() 44 mEditText.setText(ruleName); in ZenRuleNameDialog() 46 mEditText.setSelectAllOnFocus(true); in ZenRuleNameDialog() 76 return mEditText.getText() == null ? null : mEditText.getText().toString().trim(); in trimmedText()
|
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/ |
D | EnterSelfPhoneNumberDialog.java | 37 private EditText mEditText; field in EnterSelfPhoneNumberDialog 50 mEditText = (EditText) inflater.inflate(R.layout.enter_phone_number_view, null, false); in onCreateDialog() 55 .setView(mEditText) in onCreateDialog() 69 final String newNumber = mEditText.getText().toString(); in onCreateDialog()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/presets/ |
D | PresetManagementDialog.java | 32 private EditText mEditText; field in PresetManagementDialog 41 mEditText = (EditText) view.findViewById(R.id.editView); in onCreateView() 59 String text = String.valueOf(mEditText.getText()); in onClick()
|
/packages/apps/Gallery2/src/com/android/gallery3d/filtershow/ui/ |
D | ExportDialog.java | 73 private EditText mEditText; field in ExportDialog.Watcher 75 mEditText = text; in Watcher() 88 textChanged(mEditText); in afterTextChanged()
|