Home
last modified time | relevance | path

Searched refs:minSdk (Results 1 – 16 of 16) sorted by relevance

/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DCompilerChef.java92 public void writeDataBinderMapper(int minSdk, BRWriter brWriter) { in writeDataBinderMapper() argument
96 "DataBinderMapper", mDataBinder.getLayoutBinders(), minSdk); in writeDataBinderMapper()
139 public void writeViewBinders(int minSdk) { in writeViewBinders() argument
141 mDataBinder.writeBinders(minSdk); in writeViewBinders()
DMakeCopy.java90 final int minSdk; in main() local
100 minSdk = minSdkNumber == null ? 1 : minSdkNumber.intValue(); in main()
122 System.out.println("Minimum SDK: " + minSdk); in main()
151 processLayoutFiles(applicationPackage, resTarget, srcDir, xmlDir, minSdk, in main()
169 File xmlDir, int minSdk, boolean isLibrary) { in processLayoutFiles() argument
172 makeFileWriter, minSdk, isLibrary, new LayoutXmlProcessor.OriginalFileLookup() { in processLayoutFiles()
DDataBinder.java89 public void writeBinders(int minSdk) { in writeBinders() argument
97 mFileWriter.writeToFile(canonicalName, layoutBinder.writeViewBinder(minSdk)); in writeBinders()
DLayoutBinder.java329 public String writeViewBinder(int minSdk) { in writeViewBinder() argument
333 return mWriter.write(minSdk); in writeViewBinder()
/frameworks/data-binding/compiler/src/main/java/android/databinding/annotationprocessor/
DProcessExpressions.java61 SdkUtil.initialize(buildInfo.minSdk(), new File(buildInfo.sdkRoot())); in onHandleStep()
82 writeResourceBundle(resourceBundle, buildInfo.isLibrary(), buildInfo.minSdk(), in onHandleStep()
146 final int minSdk, String exportClassNamesTo) in writeResourceBundle() argument
154 compilerChef.writeViewBinders(minSdk); in writeResourceBundle()
171 mCallback.onChefReady(compilerChef, forLibraryModule, minSdk); in writeResourceBundle()
DProcessDataBinding.java99 public void onChefReady(CompilerChef chef, boolean libraryProject, int minSdk) { in initProcessingSteps()
104 mMinSdk = minSdk; in initProcessingSteps()
177 void onChefReady(CompilerChef chef, boolean libraryProject, int minSdk); in onChefReady() argument
/frameworks/data-binding/compiler/src/test/java/android/databinding/tool/reflection/
DSdkVersionTest.java33 int minSdk = SdkUtil.sMinSdk; in testApiVersionsFromResources() local
40 SdkUtil.sMinSdk = minSdk; in testApiVersionsFromResources()
/frameworks/data-binding/compiler/src/main/kotlin/android/databinding/tool/writer/
DDataBinderWriter.kt19 val layoutBinders : List<LayoutBinder>, val minSdk : kotlin.Int) { constant in android.databinding.tool.writer.DataBinderWriter
24 tab("final static int TARGET_MIN_SDK = $minSdk;") in <lambda>()
DLayoutBinderWriter.kt293 public fun write(minSdk : kotlin.Int) : String { in write()
313 tab(declareConstructor(minSdk)) in write()
/frameworks/base/tools/aapt2/
DConfigDescription.cpp759 uint16_t minSdk = 0; in applyVersionForCompatibility() local
761 minSdk = SDK_MARSHMALLOW; in applyVersionForCompatibility()
763 minSdk = SDK_LOLLIPOP; in applyVersionForCompatibility()
767 minSdk = SDK_HONEYCOMB_MR2; in applyVersionForCompatibility()
772 minSdk = SDK_FROYO; in applyVersionForCompatibility()
778 minSdk = SDK_DONUT; in applyVersionForCompatibility()
781 if (minSdk > config->sdkVersion) { in applyVersionForCompatibility()
782 config->sdkVersion = minSdk; in applyVersionForCompatibility()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/reflection/
DSdkUtil.java47 public static void initialize(int minSdk, File sdkPath) { in initialize() argument
48 sMinSdk = minSdk; in initialize()
51 L.d("SdkUtil init, minSdk: %s", minSdk); in initialize()
/frameworks/base/tools/aapt/
DAaptConfig.cpp251 uint16_t minSdk = 0; in applyVersionForCompatibility() local
253 minSdk = SDK_MNC; in applyVersionForCompatibility()
255 minSdk = SDK_LOLLIPOP; in applyVersionForCompatibility()
259 minSdk = SDK_HONEYCOMB_MR2; in applyVersionForCompatibility()
264 minSdk = SDK_FROYO; in applyVersionForCompatibility()
270 minSdk = SDK_DONUT; in applyVersionForCompatibility()
273 if (minSdk > config->sdkVersion) { in applyVersionForCompatibility()
274 config->sdkVersion = minSdk; in applyVersionForCompatibility()
DResourceTable.cpp4603 const int minSdk = getMinSdkVersion(bundle); in modifyForCompat() local
4604 if (minSdk >= SDK_LOLLIPOP_MR1) { in modifyForCompat()
4655 if (sdkLevel > 1 && sdkLevel > config.sdkVersion && sdkLevel > minSdk) { in modifyForCompat()
4740 const int minSdk = getMinSdkVersion(bundle); in modifyForCompat() local
4741 if (minSdk >= SDK_LOLLIPOP_MR1) { in modifyForCompat()
4773 if (sdkLevel > 1 && sdkLevel > config.sdkVersion && sdkLevel > minSdk) { in modifyForCompat()
/frameworks/data-binding/baseLibrary/src/main/java/android/databinding/
DBindingBuildInfo.java32 int minSdk(); in minSdk() method
/frameworks/base/tools/split-select/
DMain.cpp187 int minSdk = strtol(minSdk8.string(), &endPtr, 10); in getAppInfo() local
192 outInfo.minSdkVersion = minSdk; in getAppInfo()
/frameworks/data-binding/compilerCommon/src/main/java/android/databinding/tool/
DLayoutXmlProcessor.java61 JavaFileWriter fileWriter, int minSdk, boolean isLibrary, in LayoutXmlProcessor() argument
65 mMinSdk = minSdk; in LayoutXmlProcessor()