Searched refs:sdkLevel (Results 1 – 7 of 7) sorted by relevance
/frameworks/base/tools/aapt2/ |
D | public_attr_map.py | 33 sdkLevel = findSdkLevelForAttribute(node.get('id', '0')) variable 34 if sdkLevel > 1 and sdkLevel < 22: 35 attrs.append("{{ u\"{}\", {} }}".format(node.get('name'), sdkLevel))
|
/frameworks/base/tools/aapt2/link/ |
D | AutoVersioner.cpp | 87 const size_t sdkLevel = findAttributeSdkLevel(iter->key.id.value()); in consume() local 88 if (sdkLevel > std::max<size_t>(configValue->config.sdkVersion, 1)) { in consume() 94 minSdkStripped = std::min(minSdkStripped.value(), sdkLevel); in consume() 96 minSdkStripped = sdkLevel; in consume()
|
D | XmlReferenceLinker.cpp | 101 const size_t sdkLevel = findAttributeSdkLevel( in visit() local 103 if (sdkLevel > 1) { in visit() 104 mSdkLevelsFound->insert(sdkLevel); in visit()
|
D | Link.cpp | 386 for (int sdkLevel : xmlLinker.getSdkLevels()) { in linkAndVersionXmlFile() local 387 if (sdkLevel > outFileOp->xmlToFlatten->file.config.sdkVersion) { in linkAndVersionXmlFile() 389 sdkLevel)) { in linkAndVersionXmlFile() 395 versionedFileDesc.config.sdkVersion = (uint16_t) sdkLevel; in linkAndVersionXmlFile()
|
/frameworks/base/core/java/android/hardware/ |
D | Sensor.java | 771 static int getMaxLengthValuesArray(Sensor sensor, int sdkLevel) { in getMaxLengthValuesArray() argument 775 sdkLevel <= Build.VERSION_CODES.JELLY_BEAN_MR1) { in getMaxLengthValuesArray()
|
/frameworks/base/tools/aapt2/flatten/ |
D | XmlFlattener.cpp | 172 size_t sdkLevel = findAttributeSdkLevel(attr.compiledAttribute.value().id.value()); in writeAttributes() local 173 if (sdkLevel > mOptions.maxSdkLevel.value()) { in writeAttributes()
|
/frameworks/base/tools/aapt/ |
D | ResourceTable.cpp | 4654 const int sdkLevel = getPublicAttributeSdkLevel(attrId); in modifyForCompat() local 4655 if (sdkLevel > 1 && sdkLevel > config.sdkVersion && sdkLevel > minSdk) { in modifyForCompat() 4656 AaptUtil::appendValue(attributesToRemove, sdkLevel, bag.keyAt(bi)); in modifyForCompat() 4666 const int sdkLevel = attributesToRemove.keyAt(i); in modifyForCompat() local 4668 if (!shouldGenerateVersionedResource(c, config, sdkLevel)) { in modifyForCompat() 4676 newConfig.sdkVersion = sdkLevel; in modifyForCompat() 4687 if (attributesToRemove.keyAt(j) > sdkLevel) { in modifyForCompat() 4772 const int sdkLevel = getPublicAttributeSdkLevel(attr.nameResId); in modifyForCompat() local 4773 if (sdkLevel > 1 && sdkLevel > config.sdkVersion && sdkLevel > minSdk) { in modifyForCompat() 4781 sdkVersionToGenerate = std::min(sdkLevel, sdkVersionToGenerate); in modifyForCompat()
|