Home
last modified time | relevance | path

Searched refs:Parser (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/core/tests/coretests/src/android/view/
DCutoutSpecificationTest.java128 private CutoutSpecification.Parser mParser;
135 mParser = new CutoutSpecification.Parser(3.5f, 1080, 1920); in setUp()
193 CutoutSpecification cutoutSpecification = new CutoutSpecification.Parser(3.5f, 1920, 1080) in parse_withBindMarker_tabletLikeDevice_shouldHaveLeftBound()
200 CutoutSpecification cutoutSpecification = new CutoutSpecification.Parser(3.5f, 1920, 1080) in parse_withBindMarker_tabletLikeDevice_shouldHaveTopBound()
207 CutoutSpecification cutoutSpecification = new CutoutSpecification.Parser(3.5f, 1920, 1080) in parse_withBindMarker_tabletLikeDevice_shouldHaveRightBound()
214 CutoutSpecification cutoutSpecification = new CutoutSpecification.Parser(3.5f, 1920, 1080) in parse_withBindMarker_tabletLikeDevice_shouldHaveBottomBound()
221 CutoutSpecification cutoutSpecification = new CutoutSpecification.Parser(3.5f, 1920, 1080) in parse_withBindMarker_tabletLikeDevice_shouldMatchExpectedSafeInset()
323 new CutoutSpecification.Parser(2f, 200, 400) in getSafeInset_shortEdgeIsTopBottom_shouldMatchExpectedInset()
333 new CutoutSpecification.Parser(2f, 400, 200) in getSafeInset_shortEdgeIsLeftRight_shouldMatchExpectedInset()
343 new CutoutSpecification.Parser(2f, 400, 200) in parse_bottomLeftSpec_withBindLeftMarker_shouldBeLeftBound()
[all …]
/frameworks/native/libs/input/
DVirtualKeyMap.cpp60 Parser parser(map.get(), tokenizer.get()); in load()
72 VirtualKeyMap::Parser::Parser(VirtualKeyMap* map, Tokenizer* tokenizer) : in Parser() function in android::VirtualKeyMap::Parser
76 VirtualKeyMap::Parser::~Parser() { in ~Parser()
79 status_t VirtualKeyMap::Parser::parse() { in parse()
132 bool VirtualKeyMap::Parser::consumeFieldDelimiterAndSkipWhitespace() { in consumeFieldDelimiterAndSkipWhitespace()
142 bool VirtualKeyMap::Parser::parseNextIntField(int32_t* outValue) { in parseNextIntField()
DKeyLayoutMap.cpp68 Parser parser(map.get(), tokenizer); in load()
192 KeyLayoutMap::Parser::Parser(KeyLayoutMap* map, Tokenizer* tokenizer) : in Parser() function in android::KeyLayoutMap::Parser
196 KeyLayoutMap::Parser::~Parser() { in ~Parser()
199 status_t KeyLayoutMap::Parser::parse() { in parse()
242 status_t KeyLayoutMap::Parser::parseKey() { in parseKey()
305 status_t KeyLayoutMap::Parser::parseAxis() { in parseAxis()
406 status_t KeyLayoutMap::Parser::parseLed() { in parseLed()
DKeyCharacterMap.cpp150 Parser parser(map.get(), tokenizer, format); in load()
720 KeyCharacterMap::Parser::Parser(KeyCharacterMap* map, Tokenizer* tokenizer, Format format) : in Parser() function in android::KeyCharacterMap::Parser
724 KeyCharacterMap::Parser::~Parser() { in ~Parser()
727 status_t KeyCharacterMap::Parser::parse() { in parse()
809 status_t KeyCharacterMap::Parser::parseType() { in parseType()
846 status_t KeyCharacterMap::Parser::parseMap() { in parseMap()
857 status_t KeyCharacterMap::Parser::parseMapKey() { in parseMapKey()
898 status_t KeyCharacterMap::Parser::parseKey() { in parseKey()
929 status_t KeyCharacterMap::Parser::parseKeyProperty() { in parseKeyProperty()
1118 status_t KeyCharacterMap::Parser::finishKey(Key* key) { in finishKey()
[all …]
/frameworks/base/tools/powermodel/src/com/android/powermodel/
DBatteryStatsReader.java39 final Parser parser = new Parser(stream); in parse()
46 private static class Parser { class in BatteryStatsReader
54 Parser(InputStream stream) { in Parser() method in BatteryStatsReader.Parser
DPowerProfile.java85 private static class Parser { class in PowerProfile
104 Parser(InputStream stream) { in Parser() method in PowerProfile.Parser
123 Parser.this.onItem(locator, name, value); in parse()
129 Parser.this.onArray(locator, name, value); in parse()
517 return (new Parser(stream)).parse(); in parse()
/frameworks/native/include/input/
DVirtualKeyMap.h60 class Parser {
65 Parser(VirtualKeyMap* map, Tokenizer* tokenizer);
66 ~Parser();
DKeyLayoutMap.h99 class Parser {
104 Parser(KeyLayoutMap* map, Tokenizer* tokenizer);
105 ~Parser();
DKeyCharacterMap.h185 class Parser {
212 Parser(KeyCharacterMap* map, Tokenizer* tokenizer, Format format);
213 ~Parser();
/frameworks/base/cmds/appwidget/src/com/android/commands/appwidget/
DAppWidget.java54 private static class Parser { class in AppWidget
64 public Parser(String[] args) { in Parser() method in AppWidget.Parser
161 Parser parser = new Parser(args); in main()
/frameworks/av/media/libstagefright/xmlparser/
DMediaCodecsXmlParser.cpp322 struct Parser { struct
325 Parser(State *state, std::string path);
448 Parser parser(&mState, path); in parseXmlPath()
477 void MediaCodecsXmlParser::Impl::Parser::updateStatus(status_t status) { in updateStatus()
481 void MediaCodecsXmlParser::Impl::Parser::logAnyErrors(const Result &status) const { in logAnyErrors()
491 MediaCodecsXmlParser::Impl::Parser::Parser(State *state, std::string path) in Parser() function in android::MediaCodecsXmlParser::Impl::Parser
502 void MediaCodecsXmlParser::Impl::Parser::parseXmlFile() { in parseXmlFile()
560 void MediaCodecsXmlParser::Impl::Parser::StartElementHandlerWrapper( in StartElementHandlerWrapper()
562 static_cast<MediaCodecsXmlParser::Impl::Parser*>(me)->startElementHandler(name, attrs); in StartElementHandlerWrapper()
566 void MediaCodecsXmlParser::Impl::Parser::EndElementHandlerWrapper(void *me, const char *name) { in EndElementHandlerWrapper()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/view/
DCutoutSpecificationBenchmark.java182 new CutoutSpecification.Parser(mDisplayMetrics.density, in parseByNewMethodForDoubleCutout()
214 new CutoutSpecification.Parser(mDisplayMetrics.density, in parseLongEdgeCutout()
236 new CutoutSpecification.Parser(mDisplayMetrics.density, in parseShortEdgeCutout()
/frameworks/base/core/java/android/view/
DCutoutSpecification.java99 private CutoutSpecification(@NonNull Parser parser) { in CutoutSpecification()
169 public static class Parser { class in CutoutSpecification
212 public Parser(float density, int displayWidth, int displayHeight) { in Parser() method in CutoutSpecification.Parser
DDisplayCutout.java730 CutoutSpecification cutoutSpec = new CutoutSpecification.Parser(density, in pathAndDisplayCutoutFromSpec()
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java137 private static class Parser { class in Content
167 public Parser(String[] args) { in Parser() method in Content.Parser
724 Parser parser = new Parser(args); in main()
/frameworks/base/core/java/android/content/res/
DXmlBlock.java85 return new Parser(nativeCreateParseState(mNative, resId), this); in newParser()
91 /*package*/ final class Parser implements XmlResourceParser { class in XmlBlock
92 Parser(long parseState, XmlBlock block) { in Parser() method in XmlBlock.Parser
DResourcesImpl.java1321 if (set == null || !(set instanceof XmlBlock.Parser)) { in getAttributeSetSourceResId()
1324 return ((XmlBlock.Parser) set).getSourceResId(); in getAttributeSetSourceResId()
1416 final XmlBlock.Parser parser = (XmlBlock.Parser) set; in obtainStyledAttributes()
DAssetManager.java1110 @Nullable XmlBlock.Parser parser, @NonNull int[] inAttrs, long outValuesAddress, in applyStyle()
1148 boolean retrieveAttributes(@NonNull XmlBlock.Parser parser, @NonNull int[] inAttrs, in retrieveAttributes()
DResources.java1997 XmlBlock.Parser parser = (XmlBlock.Parser)set; in obtainAttributes()
DTypedArray.java87 /*package*/ XmlBlock.Parser mXml;
/frameworks/base/core/java/android/text/
DHtml.java45 import org.ccil.cowan.tagsoup.Parser;
230 Parser parser = new Parser(); in fromHtml()
232 parser.setProperty(Parser.schemaProperty, HtmlParser.schema); in fromHtml()
735 Html.TagHandler tagHandler, Parser parser, int flags) { in HtmlToSpannedConverter()
/frameworks/av/services/audiopolicy/engineconfigurable/tools/
DdomainGeneratorPolicy.py164 root = EddParser.Parser().parse(edd_file)
/frameworks/opt/setupwizard/tools/docs/
Djsilver.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/clearsilver/ org/ ...
Ddoclava.jarMETA-INF/ META-INF/MANIFEST.MF org/ org/ccil/ org/ ...
/frameworks/base/config/
Dboot-profile.txt55 Landroid/content/res/XmlBlock$Parser;->next()I
56 Landroid/content/res/XmlBlock$Parser;->getDepth()I
64 Landroid/content/res/XmlBlock$Parser;->getName()Ljava/lang/String;
71 Landroid/content/res/AssetManager;->retrieveAttributes(Landroid/content/res/XmlBlock$Parser;[I[I[I)Z
90 Landroid/content/res/XmlBlock$Parser;->getAttributeNameResource(I)I
95 Landroid/content/res/XmlBlock$Parser;->close()V
809 Landroid/content/res/XmlBlock$Parser;->getPooledString(I)Ljava/lang/CharSequence;

12