Home
last modified time | relevance | path

Searched refs:LayoutPullParser (Results 1 – 6 of 6) sorted by relevance

/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/setup/
DLayoutPullParser.java44 public class LayoutPullParser extends KXmlParser implements ILayoutPullParser{ class
49 public static LayoutPullParser createFromFile(@NonNull File layoutFile) in createFromFile()
51 return new LayoutPullParser(new FileInputStream(layoutFile)); in createFromFile()
58 public static LayoutPullParser createFromPath(@NonNull String layoutPath) { in createFromPath()
63 return new LayoutPullParser(LayoutPullParser.class.getClassLoader().getResourceAsStream in createFromPath()
68 public static LayoutPullParser createFromString(@NonNull String contents) { in createFromString()
69 return new LayoutPullParser(new ByteArrayInputStream( in createFromString()
73 private LayoutPullParser(@NonNull InputStream inputStream) { in LayoutPullParser() method in LayoutPullParser
DLayoutLibTestCallback.java120 return LayoutPullParser.createFromFile(new File(layoutResource.getValue())); in getParser()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/android/
DPlatformRenderTestCase.java25 import com.android.layoutlib.bridge.intensive.setup.LayoutPullParser;
67 LayoutPullParser parser = LayoutPullParser.createFromPath("/empty.xml"); in setUpContext()
DSampleRenderTest.java25 import com.android.layoutlib.bridge.intensive.setup.LayoutPullParser;
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/util/
DSessionParamsBuilder.java33 import com.android.layoutlib.bridge.intensive.setup.LayoutPullParser;
48 private LayoutPullParser mLayoutParser;
69 public SessionParamsBuilder setParser(@NonNull LayoutPullParser layoutParser) { in setParser()
/platform_testing/libraries/screenshot/deviceless/layoutlib/tests/src/com/android/layoutlib/bridge/intensive/
DRenderTestBase.java33 import com.android.layoutlib.bridge.intensive.setup.LayoutPullParser;
614 protected LayoutPullParser createParserFromPath(String layoutPath) in createParserFromPath()
616 return LayoutPullParser.createFromPath(APP_TEST_RES + "/layout/" + layoutPath); in createParserFromPath()
648 LayoutPullParser parser = createParserFromPath(layoutFileName); in createSessionParams()