Home
last modified time | relevance | path

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

12345

/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()
DSetupWizardListLayoutTest.java97 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in testDividerInsetLegacy()
112 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in testDividerInsets()
DGlifListLayoutTest.java106 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in testDividerInsetLegacy()
121 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in testDividerInsets()
/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/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/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/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()
DBaseIconFactory.java36 static final boolean ATLEAST_OREO = Build.VERSION.SDK_INT >= Build.VERSION_CODES.O;
37 static final boolean ATLEAST_P = Build.VERSION.SDK_INT >= Build.VERSION_CODES.P;
343 user, Build.VERSION.SDK_INT); in makeDefaultIcon()
348 Build.VERSION.SDK_INT >= Build.VERSION_CODES.O in getFullResDefaultActivityIcon()
/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()
/frameworks/opt/photoviewer/src/com/android/ex/photo/
DPhotoViewController.java210 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.HONEYCOMB) { in PhotoViewController()
216 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT && in PhotoViewController()
314 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in onCreate()
602 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in onLoadFinished()
614 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in onLoadFinished()
1011 final int version = android.os.Build.VERSION.SDK_INT; in runEnterAnimation()
1100 final int version = android.os.Build.VERSION.SDK_INT; in runExitAnimation()
1218 int version = android.os.Build.VERSION.SDK_INT; in initTemporaryImage()
1300 final int version = Build.VERSION.SDK_INT; in setImmersiveMode()
1368 if (Build.VERSION.SDK_INT != Build.VERSION_CODES.KITKAT) {
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/view/
DNavigationBarButton.java50 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in init()
124 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in getAllCompoundDrawables()
DRichTextView.java137 if (VERSION.SDK_INT >= VERSION_CODES.N_MR1) { in setText()
186 if (VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN_MR1) { in drawableStateChanged()
/frameworks/av/media/tests/benchmark/MediaBenchmarkTest/src/main/java/com/android/media/benchmark/library/
DCodecUtils.java27 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.Q && codecInfo.isAlias()) { in selectCodecs()
/frameworks/opt/setupwizard/library/recyclerview/test/instrumentation/src/com/android/setupwizardlib/test/
DGlifRecyclerLayoutTest.java107 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in testDividerInsetLegacy()
122 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in testDividerInsets()

12345