Home
last modified time | relevance | path

Searched refs:Parser (Results 1 – 25 of 44) 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()
131 bool VirtualKeyMap::Parser::consumeFieldDelimiterAndSkipWhitespace() { in consumeFieldDelimiterAndSkipWhitespace()
141 bool VirtualKeyMap::Parser::parseNextIntField(int32_t* outValue) { in parseNextIntField()
DPropertyMap.cpp142 Parser parser(outMap.get(), tokenizer.get()); in load()
158 PropertyMap::Parser::Parser(PropertyMap* map, Tokenizer* tokenizer) in Parser() function in android::PropertyMap::Parser
161 PropertyMap::Parser::~Parser() {} in ~Parser()
163 status_t PropertyMap::Parser::parse() { in parse()
DKeyLayoutMap.cpp176 Parser parser(map.get(), tokenizer); in load()
301 KeyLayoutMap::Parser::Parser(KeyLayoutMap* map, Tokenizer* tokenizer) : in Parser() function in android::KeyLayoutMap::Parser
305 KeyLayoutMap::Parser::~Parser() { in ~Parser()
308 status_t KeyLayoutMap::Parser::parse() { in parse()
356 status_t KeyLayoutMap::Parser::parseKey() { in parseKey()
418 status_t KeyLayoutMap::Parser::parseAxis() { in parseAxis()
522 status_t KeyLayoutMap::Parser::parseLed() { in parseLed()
595 status_t KeyLayoutMap::Parser::parseSensor() { in parseSensor()
644 status_t KeyLayoutMap::Parser::parseRequiredKernelConfig() { in parseRequiredKernelConfig()
DKeyCharacterMap.cpp135 Parser parser(this, tokenizer, format); in load()
748 KeyCharacterMap::Parser::Parser(KeyCharacterMap* map, Tokenizer* tokenizer, Format format) : in Parser() function in android::KeyCharacterMap::Parser
752 status_t KeyCharacterMap::Parser::parse() { in parse()
833 status_t KeyCharacterMap::Parser::parseType() { in parseType()
869 status_t KeyCharacterMap::Parser::parseMap() { in parseMap()
880 status_t KeyCharacterMap::Parser::parseMapKey() { in parseMapKey()
921 status_t KeyCharacterMap::Parser::parseKey() { in parseKey()
950 status_t KeyCharacterMap::Parser::parseKeyProperty() { in parseKeyProperty()
1129 status_t KeyCharacterMap::Parser::finishKey(Key& key) { in finishKey()
1151 status_t KeyCharacterMap::Parser::parseModifier(const std::string& token, int32_t* outMetaState) { in parseModifier()
[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.h59 class Parser {
64 Parser(VirtualKeyMap* map, Tokenizer* tokenizer);
65 ~Parser();
DPropertyMap.h87 class Parser {
92 Parser(PropertyMap* map, Tokenizer* tokenizer);
93 ~Parser();
DKeyLayoutMap.h115 class Parser {
120 Parser(KeyLayoutMap* map, Tokenizer* tokenizer);
121 ~Parser();
DKeyCharacterMap.h186 class Parser {
213 Parser(KeyCharacterMap* map, Tokenizer* tokenizer, Format format);
/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/base/core/java/com/android/internal/vibrator/persistence/
DVibrationEffectXmlParser.java124 SerializedPredefinedEffect.Parser.parseNext(parser, flags)); in parseVibrationContent()
129 primitives.add(SerializedCompositionPrimitive.Parser.parseNext(parser)); in parseVibrationContent()
136 SerializedAmplitudeStepWaveform.Parser.parseNext(parser)); in parseVibrationContent()
DSerializedPredefinedEffect.java76 static final class Parser { class in SerializedPredefinedEffect
DSerializedCompositionPrimitive.java88 static final class Parser { class in SerializedCompositionPrimitive
/frameworks/av/media/libstagefright/xmlparser/
DMediaCodecsXmlParser.cpp328 struct Parser { struct
331 Parser(State *state, std::string path);
456 Parser parser(&mState, path); in parseXmlPath()
485 void MediaCodecsXmlParser::Impl::Parser::updateStatus(status_t status) { in updateStatus()
489 void MediaCodecsXmlParser::Impl::Parser::logAnyErrors(const Result &status) const { in logAnyErrors()
502 MediaCodecsXmlParser::Impl::Parser::Parser(State *state, std::string path) in Parser() function in android::MediaCodecsXmlParser::Impl::Parser
527 void MediaCodecsXmlParser::Impl::Parser::parseXmlFile() { in parseXmlFile()
585 void MediaCodecsXmlParser::Impl::Parser::StartElementHandlerWrapper( in StartElementHandlerWrapper()
587 static_cast<MediaCodecsXmlParser::Impl::Parser*>(me)->startElementHandler(name, attrs); in StartElementHandlerWrapper()
591 void MediaCodecsXmlParser::Impl::Parser::EndElementHandlerWrapper(void *me, const char *name) { in EndElementHandlerWrapper()
[all …]
/frameworks/base/apct-tests/perftests/core/src/android/view/
DCutoutSpecificationBenchmark.java167 new CutoutSpecification.Parser(DISPLAY_DENSITY, DISPLAY_WIDTH, DISPLAY_HEIGHT) in parseByNewMethodForDoubleCutout()
198 new CutoutSpecification.Parser(DISPLAY_DENSITY, DISPLAY_WIDTH, DISPLAY_HEIGHT) in parseLongEdgeCutout()
220 new CutoutSpecification.Parser(DISPLAY_DENSITY, DISPLAY_WIDTH, DISPLAY_HEIGHT) in parseShortEdgeCutout()
/frameworks/native/cmds/sfdo/
Dsfdo.rs17 use clap::{Parser, Subcommand};
47 #[derive(Parser)]
/frameworks/base/apct-tests/perftests/core/src/android/content/res/
DXmlBlockBenchmark.java52 private XmlBlock.Parser mParser;
65 private XmlBlock.Parser getNewParser() { in getNewParser()
70 return (XmlBlock.Parser) resources.getXml(R.layout.linear_layout_for_xmlblock_benchmark); in getNewParser()
/frameworks/base/core/java/android/view/
DCutoutSpecification.java99 private CutoutSpecification(@NonNull Parser parser) { in CutoutSpecification()
203 public static class Parser { class in CutoutSpecification
241 public Parser(float stableDensity, int physicalDisplayWidth, in Parser() method in CutoutSpecification.Parser
253 Parser(float stableDensity, int physicalDisplayWidth, int physicalDisplayHeight, in Parser() method in CutoutSpecification.Parser
/frameworks/base/core/java/android/content/res/
DXmlBlock.java93 return new Parser(nativeCreateParseState(mNative, resId), this); in newParser()
105 return new Parser(nativeCreateParseState(mNative, resId), this, validator); in newParser()
122 public final class Parser implements XmlResourceParser { class in XmlBlock
125 Parser(long parseState, XmlBlock block) { in Parser() method in XmlBlock.Parser
131 Parser(long parseState, XmlBlock block, Validator validator) { in Parser() method in XmlBlock.Parser
/frameworks/av/media/libstagefright/xmlparser/test/
DREADME.md3 #### XML Parser
/frameworks/native/cmds/evemu-record/
Dmain.rs29 use clap::{Parser, ValueEnum};
36 #[derive(Parser, Debug)]
/frameworks/base/cmds/content/src/com/android/commands/content/
DContent.java138 private static class Parser { class in Content
168 public Parser(String[] args) { in Parser() method in Content.Parser
732 Parser parser = new Parser(args); in main()
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
DResourceHelper.java39 import org.ccil.cowan.tagsoup.Parser;
559 Parser parser = new Parser(); in parseHtml()
587 parser.setProperty(Parser.schemaProperty, new HTMLSchema()); in parseHtml()

12