Home
last modified time | relevance | path

Searched refs:VERSION (Results 1 – 25 of 411) sorted by relevance

12345678910>>...17

/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
DSystemBarHelperTest.java22 import android.os.Build.VERSION;
56 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in testAddVisibilityFlagView()
66 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in testRemoveVisibilityFlagView()
76 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in testAddVisibilityFlagWindow()
87 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in testRemoveVisibilityFlagWindow()
98 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in testHideSystemBarsWindow()
115 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in testShowSystemBarsWindow()
146 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in testHideSystemBarsNoInfiniteLoop()
155 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in testHideSystemBarsDialog()
162 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in testHideSystemBarsDialog()
[all …]
DDrawableLayoutDirectionHelperTest.java44 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in testCreateRelativeInsetDrawableLtr()
61 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in testCreateRelativeInsetDrawableRtl()
78 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in testCreateRelativeInsetDrawableViewRtl()
84 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in testCreateRelativeInsetDrawableViewRtl()
97 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in testCreateRelativeInsetDrawableContextRtl()
105 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in testCreateRelativeInsetDrawableContextRtl()
111 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in testCreateRelativeInsetDrawableContextRtl()
/frameworks/support/v4/java/android/support/v4/app/
DActivityCompat.java108 if (Build.VERSION.SDK_INT >= 11) { in invalidateOptionsMenu()
133 if (Build.VERSION.SDK_INT >= 16) { in startActivity()
162 if (Build.VERSION.SDK_INT >= 16) { in startActivityForResult()
198 if (Build.VERSION.SDK_INT >= 16) { in startIntentSenderForResult()
201 } else if (Build.VERSION.SDK_INT >= 5) { in startIntentSenderForResult()
215 if (Build.VERSION.SDK_INT >= 16) { in finishAffinity()
232 if (Build.VERSION.SDK_INT >= 21) { in finishAfterTransition()
245 if (Build.VERSION.SDK_INT >= 22) { in getReferrer()
270 if (Build.VERSION.SDK_INT >= 21) { in setEnterSharedElementCallback()
286 if (Build.VERSION.SDK_INT >= 21) { in setExitSharedElementCallback()
[all …]
DActivityOptionsCompat.java47 if (Build.VERSION.SDK_INT >= 16) { in makeCustomAnimation()
76 if (Build.VERSION.SDK_INT >= 16) { in makeScaleUpAnimation()
105 if (Build.VERSION.SDK_INT >= 16) { in makeThumbnailScaleUpAnimation()
133 if (Build.VERSION.SDK_INT >= 21) { in makeSceneTransitionAnimation()
160 if (Build.VERSION.SDK_INT >= 21) { in makeSceneTransitionAnimation()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DSystemBarHelper.java24 import android.os.Build.VERSION;
78 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in hideSystemBars()
101 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in hideSystemBars()
127 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in showSystemBars()
148 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in addVisibilityFlag()
158 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in addVisibilityFlag()
170 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in removeVisibilityFlag()
181 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in removeVisibilityFlag()
189 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in setBackButtonVisible()
212 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in setImeInsetView()
/frameworks/support/v4/java/android/support/v4/content/
DContextCompat.java112 final int version = Build.VERSION.SDK_INT; in startActivities()
191 final int version = Build.VERSION.SDK_INT; in getObbDirs()
251 final int version = Build.VERSION.SDK_INT; in getExternalFilesDirs()
311 final int version = Build.VERSION.SDK_INT; in getExternalCacheDirs()
350 final int version = Build.VERSION.SDK_INT; in getDrawable()
387 final int version = Build.VERSION.SDK_INT; in getColorStateList()
409 final int version = Build.VERSION.SDK_INT; in getColor()
452 final int version = Build.VERSION.SDK_INT; in getNoBackupFilesDir()
477 final int version = Build.VERSION.SDK_INT; in getCodeCacheDir()
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DDrawableUtils.java48 if (Build.VERSION.SDK_INT >= 18) {
113 if (Build.VERSION.SDK_INT == 21 in fixDrawable()
124 if (Build.VERSION.SDK_INT < 8 && drawable instanceof StateListDrawable) { in canSafelyMutateDrawable()
127 } else if (Build.VERSION.SDK_INT < 15 && drawable instanceof InsetDrawable) { in canSafelyMutateDrawable()
129 } else if (Build.VERSION.SDK_INT < 15 && drawable instanceof GradientDrawable) { in canSafelyMutateDrawable()
133 } else if (Build.VERSION.SDK_INT < 17 && drawable instanceof LayerDrawable) { in canSafelyMutateDrawable()
188 case 16: return Build.VERSION.SDK_INT >= 11 in parseTintMode()
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DTimePickerBindingAdapter.java21 import android.os.Build.VERSION;
31 if (VERSION.SDK_INT >= VERSION_CODES.M) { in setHour()
45 if (VERSION.SDK_INT >= VERSION_CODES.M) { in setMinute()
58 if (VERSION.SDK_INT >= VERSION_CODES.M) { in getHour()
73 if (VERSION.SDK_INT >= VERSION_CODES.M) { in getMinute()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuWrapperFactory.java36 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in wrapSupportMenu()
43 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in wrapSupportMenuItem()
45 } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in wrapSupportMenuItem()
52 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in wrapSupportSubMenu()
/frameworks/opt/vcard/tests/res/raw/
Dv21_nest.vcf2 VERSION:2.1
5 VERSION:2.1
9 VERSION:2.1
Dv21_multiple_entry.vcf2 VERSION:2.1
13 VERSION:2.1
24 VERSION:2.1
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DIllustration.java26 import android.os.Build.VERSION;
143 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in onMeasure()
185 if (VERSION.SDK_INT > VERSION_CODES.JELLY_BEAN_MR1 && in onDraw()
196 if (VERSION.SDK_INT > VERSION_CODES.JELLY_BEAN_MR1 && in onDraw()
211 if (VERSION.SDK_INT >= VERSION_CODES.KITKAT) { in shouldMirrorDrawable()
213 } else if (VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN_MR1) { in shouldMirrorDrawable()
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
DViewBindingAdapterTest.java64 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in testPaddingStartEnd()
88 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in testBackgroundTint()
118 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in testNextFocus()
128 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in testNextFocus()
148 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in testScrollbar()
158 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in testScrollbar()
168 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in testTransformPivot()
/frameworks/support/v4/tests/java/android/support/v4/content/res/
DResourcesCompatTest.java47 if (Build.VERSION.SDK_INT >= 23) { in testGetColor()
78 if (Build.VERSION.SDK_INT >= 23) { in testGetColorStateList()
118 if (Build.VERSION.SDK_INT >= 23) { in testGetDrawable()
157 final int expectedSizeForMediumDensity = (Build.VERSION.SDK_INT < 15) ? in testGetDrawableForDensityUnthemed()
171 final int expectedSizeForHighDensity = (Build.VERSION.SDK_INT < 15) ? in testGetDrawableForDensityUnthemed()
184 final int expectedSizeForXHighDensity = (Build.VERSION.SDK_INT < 15) ? in testGetDrawableForDensityUnthemed()
197 final int expectedSizeForXXHighDensity = (Build.VERSION.SDK_INT < 15) ? in testGetDrawableForDensityUnthemed()
208 if (Build.VERSION.SDK_INT < 21) { in testGetDrawableForDensityThemed()
/frameworks/support/v4/java/android/support/v4/view/animation/
DPathInterpolatorCompat.java47 if (Build.VERSION.SDK_INT >= 21) { in create()
62 if (Build.VERSION.SDK_INT >= 21) { in create()
80 if (Build.VERSION.SDK_INT >= 21) { in create()
/frameworks/support/v4/java/android/support/v4/media/
DMediaDescriptionCompat.java195 if (Build.VERSION.SDK_INT < 21) { in writeToParcel()
226 if (mDescriptionObj != null || Build.VERSION.SDK_INT < 21) { in getMediaDescription()
241 if (Build.VERSION.SDK_INT < 23 && mMediaUri != null) { in getMediaDescription()
249 if (Build.VERSION.SDK_INT >= 23) { in getMediaDescription()
270 if (descriptionObj == null || Build.VERSION.SDK_INT < 21) { in fromMediaDescription()
301 } else if (Build.VERSION.SDK_INT >= 23) { in fromMediaDescription()
314 if (Build.VERSION.SDK_INT < 21) {
/frameworks/support/percent/tests/java/android/support/percent/
DPercentRelativeRtlTest.java109 assumeTrue(Build.VERSION.SDK_INT != 17); in setUp()
135 if (Build.VERSION.SDK_INT >= 17) { in testTopChild()
164 if (Build.VERSION.SDK_INT >= 17) { in testStartChild()
194 if (Build.VERSION.SDK_INT >= 17) { in testBottomChild()
225 if (Build.VERSION.SDK_INT >= 17) { in testEndChild()
255 boolean supportsRtl = Build.VERSION.SDK_INT >= 17; in testCenterChild()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DNonOverlappingLinearLayoutWithForeground.java21 import android.os.Build.VERSION;
49 && VERSION.SDK_INT >= VERSION_M) { in NonOverlappingLinearLayoutWithForeground()
65 if (VERSION.SDK_INT >= VERSION_M) { in setForegroundCompat()
83 if (VERSION.SDK_INT >= VERSION_M) { in getForegroundCompat()
/frameworks/support/v4/java/android/support/v4/view/
DViewConfigurationCompat.java86 if (android.os.Build.VERSION.SDK_INT >= 14) {
88 } else if (android.os.Build.VERSION.SDK_INT >= 11) {
90 } else if (android.os.Build.VERSION.SDK_INT >= 8) {
/frameworks/base/services/backup/java/com/android/server/backup/
DPackageManagerBackupAgent.java127 mStoredSdkVersion = Build.VERSION.SDK_INT; in init()
128 mStoredIncrementalVersion = Build.VERSION.INCREMENTAL; in init()
191 || !mStoredIncrementalVersion.equals(Build.VERSION.INCREMENTAL)) { in onBackup()
193 + Build.VERSION.INCREMENTAL + " - rewriting"); in onBackup()
253 outputBufferStream.writeInt(Build.VERSION.SDK_INT); in onBackup()
254 outputBufferStream.writeUTF(Build.VERSION.INCREMENTAL); in onBackup()
382 if (storedSystemVersion > Build.VERSION.SDK_INT) { in onRestore()
392 + " is compatible with OS version " + Build.VERSION.SDK_INT in onRestore()
394 + Build.VERSION.INCREMENTAL + ")"); in onRestore()
604 out.writeInt(Build.VERSION.SDK_INT); in writeStateFile()
[all …]
/frameworks/support/v4/java/android/support/v4/media/session/
DMediaSessionCompat.java212 if (android.os.Build.VERSION.SDK_INT >= 21) { in MediaSessionCompat()
562 if (android.os.Build.VERSION.SDK_INT >= 24) { in Callback()
564 } else if (android.os.Build.VERSION.SDK_INT >= 23) { in Callback()
566 } else if (android.os.Build.VERSION.SDK_INT >= 21) { in Callback()
893 if (token == null || android.os.Build.VERSION.SDK_INT < 21) { in fromToken()
906 if (android.os.Build.VERSION.SDK_INT >= 21) { in writeToParcel()
931 if (android.os.Build.VERSION.SDK_INT >= 21) {
1025 if (mItem != null || android.os.Build.VERSION.SDK_INT < 21) { in getQueueItem()
1238 if (android.os.Build.VERSION.SDK_INT >= 14) { in MediaSessionImplBase()
1251 if (android.os.Build.VERSION.SDK_INT >= 18) { in setCallback()
[all …]
/frameworks/support/v4/java/android/support/v4/net/
DConnectivityManagerCompat.java84 if (Build.VERSION.SDK_INT >= 16) {
86 } else if (Build.VERSION.SDK_INT >= 13) {
88 } else if (Build.VERSION.SDK_INT >= 8) {
/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()
/frameworks/support/v4/java/android/support/v4/provider/
DDocumentFile.java110 final int version = Build.VERSION.SDK_INT; in fromSingleUri()
128 final int version = Build.VERSION.SDK_INT; in fromTreeUri()
142 final int version = Build.VERSION.SDK_INT; in isDocumentUri()
/frameworks/support/v4/donut/android/support/v4/os/
DBuildCompat.java20 import android.os.Build.VERSION;
37 return VERSION.SDK_INT >= 24; in isAtLeastN()

12345678910>>...17