Searched refs:span1 (Results 1 – 2 of 2) sorted by relevance
/frameworks/base/core/tests/coretests/src/android/text/method/ |
D | InsertModeTransformationMethodTest.java | 205 final TestSpan span1 = new TestSpan(); in transformedText_getSpans() local 209 text.setSpan(span1, 0, 3, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in transformedText_getSpans() 225 assertThat(spans0to2[0]).isEqualTo(span1); in transformedText_getSpans() 236 assertThat(spans1to6[0]).isEqualTo(span1); in transformedText_getSpans() 263 final TestSpan span1 = new TestSpan(); in transformedText_getSpans_singleLine() local 267 text.setSpan(span1, 0, 3, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in transformedText_getSpans_singleLine() 284 assertThat(spans0to2[0]).isEqualTo(span1); in transformedText_getSpans_singleLine() 295 assertThat(spans1to4[0]).isEqualTo(span1); in transformedText_getSpans_singleLine() 335 final TestSpan span1 = new TestSpan(); in transformedText_getSpans_collapsedRange() local 339 text.setSpan(span1, 0, 3, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in transformedText_getSpans_collapsedRange() [all …]
|
/frameworks/base/core/java/android/widget/ |
D | Editor.java | 3948 public int compare(SuggestionSpan span1, SuggestionSpan span2) { in compare() argument 3949 final int flag1 = span1.getFlags(); in compare() 3961 return mSpansLengths.get(span1).intValue() - mSpansLengths.get(span2).intValue(); in compare()
|