Home
last modified time | relevance | path

Searched refs:keyType (Results 1 – 6 of 6) sorted by relevance

/developtools/packing_tool/adapter/ohos/
DResourcesParser.java180 int keyType; field in ResourcesParser.KeyParam
290 cfg.params[j].keyType = bufBuf.getInt(); in loadBaseConfig()
367 cfg.params[j].keyType = bufBuf.getInt(); in loadConfig()
569 … if (param.keyType == ConfigType.Language.ordinal() || param.keyType == ConfigType.Region.ordinal() in convertConfigIndexToString()
570 || param.keyType == ConfigType.Script.ordinal()) { in convertConfigIndexToString()
581 lastKeyType = param.keyType; in convertConfigIndexToString()
582 } else if (param.keyType == ConfigType.Resolution.ordinal()) { in convertConfigIndexToString()
588 } else if (param.keyType == ConfigType.Direction.ordinal()) { in convertConfigIndexToString()
594 } else if (param.keyType == ConfigType.DeviceType.ordinal()) { in convertConfigIndexToString()
600 } else if (param.keyType == ConfigType.LightMode.ordinal()) { in convertConfigIndexToString()
[all …]
/developtools/global_resource_tool/src/
Dresource_util.cpp306 switch (KeyParam.keyType) { in GetKeyParamValue()
341 if (keyparam.keyType == KeyType::MCC) { in PaserKeyParam()
344 if (keyparam.keyType == KeyType::MNC) { in PaserKeyParam()
347 if (keyparam.keyType == KeyType::REGION || keyparam.keyType == KeyType::MNC) { in PaserKeyParam()
408 if (keyparam.keyType == KeyType::DEVICETYPE) { in GetNormalSize()
410 } else if (keyparam.keyType == KeyType::RESOLUTION) { in GetNormalSize()
Dkey_parser.cpp253 keyParam.keyType = type; in PushMccMnc()
261 keyParam.keyType = type; in PushLSR()
272 keyParam.keyType = type; in PushValue()
Dresource_table.cpp239 limitKeyConfig.data.push_back(static_cast<int32_t>(keyParam.keyType)); in Prepare()
376 in.read(reinterpret_cast<char *>(&keyParam.keyType), INT_TO_BYTES); in ReadLimitKeys()
Dresource_append.cpp368 out.write(reinterpret_cast<const char *>(&keyParam.keyType), sizeof(int32_t)); in WriteResourceItem()
531 keyParam.keyType = static_cast<KeyType>(ParseInt32(buffer, length, offset)); in LoadResourceItemFromMem()
/developtools/global_resource_tool/include/
Dresource_data.h167 KeyType keyType; member