Home
last modified time | relevance | path

Searched refs:out_config (Results 1 – 2 of 2) sorted by relevance

/frameworks/base/tools/aapt2/format/proto/
DProtoDeserialize.cpp66 bool DeserializeConfigFromPb(const pb::Configuration& pb_config, ConfigDescription* out_config, in DeserializeConfigFromPb() argument
68 out_config->mcc = static_cast<uint16_t>(pb_config.mcc()); in DeserializeConfigFromPb()
69 out_config->mnc = static_cast<uint16_t>(pb_config.mnc()); in DeserializeConfigFromPb()
79 lv.WriteTo(out_config); in DeserializeConfigFromPb()
84 out_config->screenLayout = (out_config->screenLayout & ~ConfigDescription::MASK_LAYOUTDIR) | in DeserializeConfigFromPb()
89 out_config->screenLayout = (out_config->screenLayout & ~ConfigDescription::MASK_LAYOUTDIR) | in DeserializeConfigFromPb()
97 out_config->smallestScreenWidthDp = static_cast<uint16_t>(pb_config.smallest_screen_width_dp()); in DeserializeConfigFromPb()
98 out_config->screenWidthDp = static_cast<uint16_t>(pb_config.screen_width_dp()); in DeserializeConfigFromPb()
99 out_config->screenHeightDp = static_cast<uint16_t>(pb_config.screen_height_dp()); in DeserializeConfigFromPb()
103 out_config->screenLayout = (out_config->screenLayout & ~ConfigDescription::MASK_SCREENSIZE) | in DeserializeConfigFromPb()
[all …]
DProtoDeserialize.h54 android::ConfigDescription* out_config, std::string* out_error);