Home
last modified time | relevance | path

Searched refs:textLength (Results 1 – 2 of 2) sorted by relevance

/cts/tests/accessibilityservice/src/android/accessibilityservice/cts/
DAccessibilityTextTraversalTest.java3801 final int textLength = editText.getText().length(); in testTextEditingActions() local
3802 arguments.putInt(AccessibilityNodeInfo.ACTION_ARGUMENT_SELECTION_START_INT, textLength); in testTextEditingActions()
3803 arguments.putInt(AccessibilityNodeInfo.ACTION_ARGUMENT_SELECTION_END_INT, textLength); in testTextEditingActions()
3809 assertEquals(textLength, Selection.getSelectionStart(editText.getText())); in testTextEditingActions()
3810 assertEquals(textLength, Selection.getSelectionEnd(editText.getText())); in testTextEditingActions()
/cts/tests/tests/widget/src/android/widget/cts/
DTextViewTest.java7052 final int textLength = text.length(); in testAccessLetterSpacing() local
7055 final float[] initialWidths = new float[textLength]; in testAccessLetterSpacing()
7062 final float[] singleWidths = new float[textLength]; in testAccessLetterSpacing()
7069 final float[] doubleWidths = new float[textLength]; in testAccessLetterSpacing()
7076 for (int i = 0; i < textLength; i++) { in testAccessLetterSpacing()