OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:shadowPath
(Results
1 - 4
of
4
) sorted by null
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
ShadowPathMeasure.java
18
ShadowPath
shadowPath
= (
ShadowPath
) Shadow.extract(path);
20
new CachedPathIteratorFactory(
shadowPath
.getJavaShape().getPathIterator(null));
ShadowPath.java
7
import static org.robolectric.shadows.
ShadowPath
.Point.Type.LINE_TO;
8
import static org.robolectric.shadows.
ShadowPath
.Point.Type.MOVE_TO;
36
public class
ShadowPath
{
37
private static final String TAG =
ShadowPath
.class.getSimpleName();
54
ShadowPath
shadowPath
= extract(path);
55
points = new ArrayList<>(
shadowPath
.getPoints());
228
ShadowPath
shadowSrc = extract(src);
503
ShadowPath
.addPath(realObject, src, AffineTransform.getTranslateInstance(dx, dy));
509
ShadowPath
.addPath(realObject, src, null)
[
all
...]
ShadowCanvas.java
185
ShadowPath
shadowPath
= Shadow.extract(path);
186
appendDescription("Path " +
shadowPath
.getPoints().toString());
/external/robolectric-shadows/robolectric/src/test/java/org/robolectric/shadows/
ShadowPathTest.java
5
import static org.robolectric.shadows.
ShadowPath
.Point.Type.LINE_TO;
6
import static org.robolectric.shadows.
ShadowPath
.Point.Type.MOVE_TO;
23
List<
ShadowPath
.Point> moveToPoints = shadowOf(path).getPoints();
25
assertEquals(new
ShadowPath
.Point(2, 3, MOVE_TO), moveToPoints.get(0));
26
assertEquals(new
ShadowPath
.Point(3, 4, MOVE_TO), moveToPoints.get(1));
35
List<
ShadowPath
.Point> lineToPoints = shadowOf(path).getPoints();
37
assertEquals(new
ShadowPath
.Point(2, 3, LINE_TO), lineToPoints.get(0));
38
assertEquals(new
ShadowPath
.Point(3, 4, LINE_TO), lineToPoints.get(1));
49
ShadowPath
shadowPath
= shadowOf(path)
[
all
...]
Completed in 157 milliseconds