Searched refs:LayoutPullParser (Results 1 – 6 of 6) sorted by relevance
44 public class LayoutPullParser extends KXmlParser implements ILayoutPullParser{ class49 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
120 return LayoutPullParser.createFromFile(new File(layoutResource.getValue())); in getParser()
25 import com.android.layoutlib.bridge.intensive.setup.LayoutPullParser;67 LayoutPullParser parser = LayoutPullParser.createFromPath("/empty.xml"); in setUpContext()
25 import com.android.layoutlib.bridge.intensive.setup.LayoutPullParser;
33 import com.android.layoutlib.bridge.intensive.setup.LayoutPullParser;48 private LayoutPullParser mLayoutParser;69 public SessionParamsBuilder setParser(@NonNull LayoutPullParser layoutParser) { in setParser()
33 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()