/developers/build/prebuilts/gradle/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/net/ |
D | FeedParser.java | 61 XmlPullParser parser = Xml.newPullParser(); in parse() local 62 parser.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, false); in parse() 63 parser.setInput(in, null); in parse() 64 parser.nextTag(); in parse() 65 return readFeed(parser); in parse() 79 private List<Entry> readFeed(XmlPullParser parser) in readFeed() argument 90 parser.require(XmlPullParser.START_TAG, ns, "feed"); in readFeed() 91 while (parser.next() != XmlPullParser.END_TAG) { in readFeed() 92 if (parser.getEventType() != XmlPullParser.START_TAG) { in readFeed() 95 String name = parser.getName(); in readFeed() [all …]
|
/developers/samples/android/connectivity/sync/BasicSyncAdapter/Application/src/main/java/com/example/android/basicsyncadapter/net/ |
D | FeedParser.java | 61 XmlPullParser parser = Xml.newPullParser(); in parse() local 62 parser.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, false); in parse() 63 parser.setInput(in, null); in parse() 64 parser.nextTag(); in parse() 65 return readFeed(parser); in parse() 79 private List<Entry> readFeed(XmlPullParser parser) in readFeed() argument 90 parser.require(XmlPullParser.START_TAG, ns, "feed"); in readFeed() 91 while (parser.next() != XmlPullParser.END_TAG) { in readFeed() 92 if (parser.getEventType() != XmlPullParser.START_TAG) { in readFeed() 95 String name = parser.getName(); in readFeed() [all …]
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/rich/ |
D | ChannelXMLParser.java | 72 public static TvInput parseTvInput(XmlPullParser parser) in parseTvInput() argument 74 parser.nextTag(); in parseTvInput() 75 parser.require(XmlPullParser.START_TAG, null, TAG_TVINPUTS); in parseTvInput() 76 return parseTvInputDetail(parser); in parseTvInput() 79 private static TvInput parseTvInputDetail(XmlPullParser parser) { in parseTvInputDetail() argument 85 for (int i = 0; i < parser.getAttributeCount(); ++i) { in parseTvInputDetail() 86 String attr = parser.getAttributeName(i); in parseTvInputDetail() 87 String value = parser.getAttributeValue(i); in parseTvInputDetail() 103 public static List<ChannelInfo> parseChannelXML(XmlPullParser parser) in parseChannelXML() argument 106 parser.nextTag(); in parseChannelXML() [all …]
|
D | RichFeedUtil.java | 74 XmlPullParser parser = Xml.newPullParser(); in getRichChannels() local 75 parser.setFeature(XmlPullParser.FEATURE_PROCESS_NAMESPACES, false); in getRichChannels() 76 parser.setInput(inputStream, null); in getRichChannels() 77 sTvInput = ChannelXMLParser.parseTvInput(parser); in getRichChannels() 78 sSampleChannels = ChannelXMLParser.parseChannelXML(parser); in getRichChannels()
|
/developers/samples/android/ui/text/TextStyling-Java/app/src/main/java/com/android/example/text/styling/renderer/ |
D | MarkdownBuilder.java | 29 import com.android.example.text.styling.parser.Element; 30 import com.android.example.text.styling.parser.Parser; 31 import com.android.example.text.styling.parser.TextMarkdown; 50 private final Parser parser; field in MarkdownBuilder 55 @NonNull final Parser parser) { in MarkdownBuilder() argument 59 this.parser = parser; in MarkdownBuilder() 63 TextMarkdown markdown = parser.parse(string); in markdownToSpans()
|
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/ |
D | MyAutofillService.kt | 48 val parser = StructureParser(structure) in onFillRequest() constant 49 parser.parseForFill() in onFillRequest() 50 val autofillFields = parser.autofillFields in onFillRequest() 84 val parser = StructureParser(structure) in onSaveRequest() constant 85 parser.parseForSave() in onSaveRequest() 87 parser.filledAutofillFieldCollection) in onSaveRequest()
|
D | AuthActivity.kt | 90 val parser = StructureParser(structure) in <lambda>() constant 91 parser.parseForFill() in <lambda>() 92 val autofillFields = parser.autofillFields in <lambda>()
|
/developers/build/prebuilts/gradle/AutofillFramework/kotlinApp/Application/src/main/java/com/example/android/autofillframework/multidatasetservice/ |
D | MyAutofillService.kt | 48 val parser = StructureParser(structure) in onFillRequest() constant 49 parser.parseForFill() in onFillRequest() 50 val autofillFields = parser.autofillFields in onFillRequest() 84 val parser = StructureParser(structure) in onSaveRequest() constant 85 parser.parseForSave() in onSaveRequest() 87 parser.filledAutofillFieldCollection) in onSaveRequest()
|
D | AuthActivity.kt | 90 val parser = StructureParser(structure) in <lambda>() constant 91 parser.parseForFill() in <lambda>() 92 val autofillFields = parser.autofillFields in <lambda>()
|
/developers/samples/android/ui/text/TextStyling-Kotlin/app/src/main/java/com/android/example/text/styling/renderer/ |
D | MarkdownBuilder.kt | 27 import com.android.example.text.styling.parser.Element in <lambda>() 28 import com.android.example.text.styling.parser.Parser in <lambda>() 39 private val parser: Parser in <lambda>() constant in com.android.example.text.styling.renderer.MarkdownBuilder 43 val markdown = parser.parse(string) in <lambda>()
|
/developers/samples/android/ui/text/TextStyling-Java/app/src/test/java/com/android/example/text/styling/parser/ |
D | ParserTest.java | 16 package com.android.example.text.styling.parser; 18 import static com.android.example.text.styling.parser.Element.Type.BULLET_POINT; 19 import static com.android.example.text.styling.parser.Element.Type.CODE_BLOCK; 20 import static com.android.example.text.styling.parser.Element.Type.QUOTE; 21 import static com.android.example.text.styling.parser.Element.Type.TEXT;
|
/developers/samples/android/ui/text/TextStyling-Kotlin/app/src/main/java/com/android/example/text/styling/parser/ |
D | Markdown.kt | 16 package com.android.example.text.styling.parser
|
D | Parser.kt | 16 package com.android.example.text.styling.parser
|
/developers/samples/android/ui/text/TextStyling-Java/app/src/main/java/com/android/example/text/styling/parser/ |
D | TextMarkdown.java | 16 package com.android.example.text.styling.parser;
|
D | Element.java | 16 package com.android.example.text.styling.parser;
|
D | Parser.java | 16 package com.android.example.text.styling.parser; 20 import com.android.example.text.styling.parser.Element.Type;
|
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/ |
D | MyAutofillService.java | 107 ClientParser parser = new ClientParser(structures); in onFillRequest() local 117 DatasetAdapter datasetAdapter = new DatasetAdapter(parser); in onFillRequest() 119 new ClientViewMetadataBuilder(parser, fieldTypesByAutofillHint); in onFillRequest() 198 ClientParser parser = new ClientParser(structures); in onSaveRequest() local 205 fieldTypesByAutofillHint, getPackageName(), parser); in onSaveRequest() 207 new ClientViewMetadataBuilder(parser, fieldTypesByAutofillHint); in onSaveRequest()
|
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/ |
D | MyAutofillService.java | 107 ClientParser parser = new ClientParser(structures); in onFillRequest() local 117 DatasetAdapter datasetAdapter = new DatasetAdapter(parser); in onFillRequest() 119 new ClientViewMetadataBuilder(parser, fieldTypesByAutofillHint); in onFillRequest() 198 ClientParser parser = new ClientParser(structures); in onSaveRequest() local 205 fieldTypesByAutofillHint, getPackageName(), parser); in onSaveRequest() 207 new ClientViewMetadataBuilder(parser, fieldTypesByAutofillHint); in onSaveRequest()
|
/developers/samples/android/input/autofill/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/ |
D | ClientViewMetadataBuilder.java | 38 public ClientViewMetadataBuilder(ClientParser parser, in ClientViewMetadataBuilder() argument 40 mClientParser = parser; in ClientViewMetadataBuilder()
|
/developers/build/prebuilts/gradle/AutofillFramework/afservice/src/main/java/com/example/android/autofill/service/data/ |
D | ClientViewMetadataBuilder.java | 38 public ClientViewMetadataBuilder(ClientParser parser, in ClientViewMetadataBuilder() argument 40 mClientParser = parser; in ClientViewMetadataBuilder()
|
/developers/samples/android/ui/text/TextStyling-Kotlin/app/src/main/java/com/android/example/text/styling/ |
D | MainActivity.kt | 21 import com.android.example.text.styling.parser.Parser
|
/developers/samples/android/ui/text/TextStyling-Java/app/src/main/java/com/android/example/text/styling/ |
D | MainActivity.java | 25 import com.android.example.text.styling.parser.Parser;
|
/developers/build/prebuilts/androidtv/sample-inputs/app/src/main/java/com/example/android/sampletvinput/player/ |
D | TvInputPlayer.java | 196 HlsPlaylistParser parser = new HlsPlaylistParser(); in prepare() local 198 new ManifestFetcher<>(parser, uri.toString(), uri.toString(), userAgent); in prepare() 233 MediaPresentationDescriptionParser parser = new MediaPresentationDescriptionParser(); in prepare() local 235 new ManifestFetcher<>(parser, uri.toString(), uri.toString(), userAgent); in prepare()
|
/developers/samples/android/ui/text/TextStyling-Java/ |
D | README.md | 16 …ster/TextStyling-Java/app/src/main/java/com/android/example/text/styling/parser/Parser.java#L62) m… 20 …ster/TextStyling-Java/app/src/test/java/com/android/example/text/styling/parser/ParserTest.java). …
|
/developers/samples/android/ui/text/TextStyling-Kotlin/app/src/androidTest/java/com/android/example/text/styling/renderer/ |
D | MarkdownBuilderTest.kt | 25 import com.android.example.text.styling.parser.Parser
|