Home
last modified time | relevance | path

Searched refs:SDK_INT (Results 1 – 25 of 142) sorted by relevance

123456

/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DSystemBarHelperTest.java69 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in testAddVisibilityFlagView()
80 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in testRemoveVisibilityFlagView()
91 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in testAddVisibilityFlagWindow()
103 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in testRemoveVisibilityFlagWindow()
115 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in testHideSystemBarsWindow()
136 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in testShowSystemBarsWindow()
168 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in testHideSystemBarsNoInfiniteLoop()
177 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in testHideSystemBarsDialog()
184 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in testHideSystemBarsDialog()
197 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in testSetBackButtonVisibleTrue()
[all …]
DDrawableLayoutDirectionHelperTest.java56 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in testCreateRelativeInsetDrawableLtr()
79 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in testCreateRelativeInsetDrawableRtl()
97 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in testCreateRelativeInsetDrawableViewRtl()
105 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in testCreateRelativeInsetDrawableViewRtl()
116 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in testCreateRelativeInsetDrawableContextRtl()
124 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in testCreateRelativeInsetDrawableContextRtl()
132 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in testCreateRelativeInsetDrawableContextRtl()
DGlifLayoutTest.java88 if (VERSION.SDK_INT >= VERSION_CODES.M) { in testGlifTheme()
100 if (VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN_MR1) { in testGlifV2Theme()
108 if (VERSION.SDK_INT >= VERSION_CODES.N) { in testGlifV2Theme()
125 if (VERSION.SDK_INT >= VERSION_CODES.M) { in testGlifV2Theme()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DSystemBarHelper.java75 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in hideSystemBars()
98 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in hideSystemBars()
124 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in showSystemBars()
144 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in addVisibilityFlag()
152 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in addVisibilityFlag()
164 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in removeVisibilityFlag()
175 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in removeVisibilityFlag()
194 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in setBackButtonVisible()
219 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in setImeInsetView()
DDrawableLayoutDirectionHelper.java37 Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1 in createRelativeInsetDrawable()
56 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in createRelativeInsetDrawable()
/frameworks/libs/modules-utils/java/com/android/modules/utils/build/
DSdkLevel.java20 import static android.os.Build.VERSION.SDK_INT;
37 return SDK_INT >= 30; in isAtLeastR()
46 return SDK_INT >= 31; in isAtLeastS()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/system/
DInteractionJankMonitorWrapper.java69 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.S) return; in begin()
81 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.S) return; in begin()
95 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.S) return; in end()
103 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.S) return; in cancel()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DIllustration.java142 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in onMeasure()
191 if (VERSION.SDK_INT > VERSION_CODES.JELLY_BEAN_MR1 in onDraw()
202 if (VERSION.SDK_INT > VERSION_CODES.JELLY_BEAN_MR1 in onDraw()
217 if (VERSION.SDK_INT >= VERSION_CODES.KITKAT) { in shouldMirrorDrawable()
219 } else if (VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN_MR1) { in shouldMirrorDrawable()
DStatusBarBackgroundLayout.java74 if (Build.VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in onAttachedToWindow()
84 if (Build.VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in onDraw()
97 if (Build.VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in setStatusBarBackground()
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
DUtil.java13 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in isTouchExplorationEnabled()
32 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in announceForAccessibility()
61 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in announceForAccessibility()
DTrace.java34 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) { in beginSection()
46 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) { in endSection()
/frameworks/base/packages/SettingsLib/Utils/src/com/android/settingslib/utils/
DBuildCompatUtils.java50 if (VERSION.SDK_INT < 30) { in isAtLeastS()
54 return (VERSION.CODENAME.equals("REL") && VERSION.SDK_INT >= 31) in isAtLeastS()
/frameworks/base/packages/SettingsProvider/test/src/com/android/providers/settings/
DSettingsHelperRestoreTest.java76 Build.VERSION.SDK_INT); in testRestoreAccessibilityDisplayMagnificationScale_alreadyConfigured_doesNotRestoreValue()
99 Build.VERSION.SDK_INT); in testRestoreAccessibilityDisplayMagnificationScale_notAlreadyConfigured_restoresValue()
142 Build.VERSION.SDK_INT); in testRestoreAccessibilityDisplayMagnificationNavbarEnabled_alreadyConfigured_doesNotRestoreValue()
164 Build.VERSION.SDK_INT); in testRestoreAccessibilityDisplayMagnificationNavbarEnabled_notAlreadyConfigured_restoresValue()
/frameworks/opt/bitmap/src/com/android/bitmap/util/
DTrace.java34 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) { in beginSection()
46 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2) { in endSection()
/frameworks/opt/chips/src/com/android/ex/chips/
DChipsUtil.java45 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH; in supportsChipsUi()
55 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.M; in isRunningMOrLater()
/frameworks/multidex/library/src/androidx/multidex/
DMultiDex.java100 if (Build.VERSION.SDK_INT < MIN_SDK_VERSION) { in install()
101 throw new RuntimeException("MultiDex installation failed. SDK " + Build.VERSION.SDK_INT in install()
147 if (Build.VERSION.SDK_INT < MIN_SDK_VERSION) { in installInstrumentation()
148 throw new RuntimeException("MultiDex installation failed. SDK " + Build.VERSION.SDK_INT in installInstrumentation()
213 if (Build.VERSION.SDK_INT > MAX_SUPPORTED_SDK_VERSION) { in doInstallation()
215 + Build.VERSION.SDK_INT + ": SDK version higher than " in doInstallation()
292 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in getDexClassloader()
364 if (Build.VERSION.SDK_INT >= 19) { in installSecondaryDexes()
366 } else if (Build.VERSION.SDK_INT >= 14) { in installSecondaryDexes()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/template/
DProgressBarMixinTest.java108 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in testSetColorBeforeSetShown()
125 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in testSetColorAfterSetShown()
143 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in testDeterminateProgressBarNullTint()
/frameworks/ex/camera2/extensions/sample/src/java/androidx/camera/extensions/impl/
DNightImageCaptureExtenderImpl.java75 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) { in isExtensionAvailableOriginal()
110 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { in getCaptureProcessor()
126 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { in getCaptureProcessor()
DAutoImageCaptureExtenderImpl.java75 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) { in isExtensionAvailableOriginal()
110 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { in getCaptureProcessor()
126 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { in getCaptureProcessor()
DBokehImageCaptureExtenderImpl.java70 if (android.os.Build.VERSION.SDK_INT < android.os.Build.VERSION_CODES.M) { in isExtensionAvailable()
105 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { in getCaptureProcessor()
121 if (android.os.Build.VERSION.SDK_INT in getCaptureProcessor()
DHdrImageCaptureExtenderImpl.java72 return android.os.Build.VERSION.SDK_INT >= android.os.Build.VERSION_CODES.M; in isExtensionAvailable()
116 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { in getCaptureProcessor()
152 if (android.os.Build.VERSION.SDK_INT in getCaptureProcessor()
DBeautyImageCaptureExtenderImpl.java77 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) { in isExtensionAvailableOriginal()
112 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { in getCaptureProcessor()
128 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { in getCaptureProcessor()
/frameworks/libs/systemui/iconloaderlib/src/com/android/launcher3/icons/
DBitmapRenderer.java33 boolean USE_HARDWARE_BITMAP = Build.VERSION.SDK_INT >= Build.VERSION_CODES.P;
60 if (Build.VERSION.SDK_INT >= VERSION_CODES.O && source.getConfig() == Config.HARDWARE) { in createBitmap()
/frameworks/opt/setupwizard/library/test/robotest/src/com/android/setupwizardlib/util/
DGlifV3StyleTest.java44 if (VERSION.SDK_INT >= VERSION_CODES.O_MR1) { in activityWithGlifV3Theme_shouldUseLightNavBarOnV27OrAbove()
48 } else if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in activityWithGlifV3Theme_shouldUseLightNavBarOnV27OrAbove()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DProgressBarMixin.java102 if (Build.VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in setColor()
106 if (Build.VERSION.SDK_INT >= VERSION_CODES.M || color != null) { in setColor()

123456