am 0acd1210: Fix wrong indents.
* commit '0acd121083baf137dc81cd2c5ce4214a9848a82d': Fix wrong indents.main
commit
86795823f7
|
@ -88,8 +88,4 @@ public final class CoordinateUtils {
|
||||||
coordsArray[baseIndex + INDEX_X] = coords[INDEX_X];
|
coordsArray[baseIndex + INDEX_X] = coords[INDEX_X];
|
||||||
coordsArray[baseIndex + INDEX_Y] = coords[INDEX_Y];
|
coordsArray[baseIndex + INDEX_Y] = coords[INDEX_Y];
|
||||||
}
|
}
|
||||||
|
|
||||||
public static void copyArray(final int[] destination, final int[] source) {
|
|
||||||
System.arraycopy(source, 0, destination, 0, source.length);
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -42,8 +42,7 @@ public class WordComposerTests extends AndroidTestCase {
|
||||||
Constants.NOT_A_COORDINATE, Constants.NOT_A_COORDINATE);
|
Constants.NOT_A_COORDINATE, Constants.NOT_A_COORDINATE);
|
||||||
final String PREVWORD = "prevword";
|
final String PREVWORD = "prevword";
|
||||||
wc.setComposingWord(CODEPOINTS_WITHIN_BMP, COORDINATES_WITHIN_BMP, PREVWORD);
|
wc.setComposingWord(CODEPOINTS_WITHIN_BMP, COORDINATES_WITHIN_BMP, PREVWORD);
|
||||||
assertEquals(wc.size(),
|
assertEquals(wc.size(), STR_WITHIN_BMP.codePointCount(0, STR_WITHIN_BMP.length()));
|
||||||
STR_WITHIN_BMP.codePointCount(0, STR_WITHIN_BMP.length()));
|
|
||||||
assertFalse(wc.isCursorFrontOrMiddleOfComposingWord());
|
assertFalse(wc.isCursorFrontOrMiddleOfComposingWord());
|
||||||
wc.setCursorPositionWithinWord(2);
|
wc.setCursorPositionWithinWord(2);
|
||||||
assertTrue(wc.isCursorFrontOrMiddleOfComposingWord());
|
assertTrue(wc.isCursorFrontOrMiddleOfComposingWord());
|
||||||
|
|
Loading…
Reference in New Issue