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.cpp68 bool DeserializeConfigFromPb(const pb::Configuration& pb_config, ConfigDescription* out_config, in DeserializeConfigFromPb() argument
70 out_config->mcc = static_cast<uint16_t>(pb_config.mcc()); in DeserializeConfigFromPb()
71 out_config->mnc = static_cast<uint16_t>(pb_config.mnc()); in DeserializeConfigFromPb()
81 lv.WriteTo(out_config); in DeserializeConfigFromPb()
86 out_config->screenLayout = (out_config->screenLayout & ~ConfigDescription::MASK_LAYOUTDIR) | in DeserializeConfigFromPb()
91 out_config->screenLayout = (out_config->screenLayout & ~ConfigDescription::MASK_LAYOUTDIR) | in DeserializeConfigFromPb()
99 out_config->smallestScreenWidthDp = static_cast<uint16_t>(pb_config.smallest_screen_width_dp()); in DeserializeConfigFromPb()
100 out_config->screenWidthDp = static_cast<uint16_t>(pb_config.screen_width_dp()); in DeserializeConfigFromPb()
101 out_config->screenHeightDp = static_cast<uint16_t>(pb_config.screen_height_dp()); in DeserializeConfigFromPb()
105 out_config->screenLayout = (out_config->screenLayout & ~ConfigDescription::MASK_SCREENSIZE) | in DeserializeConfigFromPb()
[all …]
DProtoDeserialize.h54 android::ConfigDescription* out_config, std::string* out_error);