SelectionTest.java | 164 StaticLayout layout = new StaticLayout(text, new TextPaint(), 50, null, 0, 0, false); local 169 assertTrue(Selection.moveLeft(builder, layout)); 173 assertTrue(Selection.moveLeft(builder, layout)); 178 assertFalse(Selection.moveLeft(builder, layout)); 183 assertTrue(Selection.moveLeft(builder, layout)); 191 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 196 assertTrue(Selection.moveRight(builder, layout)); 200 assertTrue(Selection.moveRight(builder, layout)); 204 assertTrue(Selection.moveRight(builder, layout)); 209 assertFalse(Selection.moveRight(builder, layout)); 222 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 261 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 344 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 370 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 392 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 422 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 443 StaticLayout layout = new StaticLayout(text, new TextPaint(), 50, null, 0, 0, false); local 478 StaticLayout layout = new StaticLayout(text, new TextPaint(), 50, null, 0, 0, false); local 504 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 535 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0,false); local [all...] |