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 256 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 334 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 360 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 382 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 412 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 433 StaticLayout layout = new StaticLayout(text, new TextPaint(), 50, null, 0, 0, false); local 468 StaticLayout layout = new StaticLayout(text, new TextPaint(), 50, null, 0, 0, false); local 494 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0, false); local 525 StaticLayout layout = new StaticLayout(text, new TextPaint(), 200, null, 0, 0,false); local [all...] |