/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/ |
D | SystemBarHelperTest.java | 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() 173 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in testSetBackButtonVisibleTrue() [all …]
|
D | DrawableLayoutDirectionHelperTest.java | 44 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/ |
D | ActivityCompat.java | 108 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 …]
|
D | ActivityOptionsCompat.java | 47 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/support/v4/java/android/support/v4/content/res/ |
D | ResourcesCompat.java | 30 import static android.os.Build.VERSION.SDK_INT; 59 if (SDK_INT >= 21) { in getDrawable() 92 if (SDK_INT >= 21) { in getDrawableForDensity() 94 } else if (SDK_INT >= 15) { in getDrawableForDensity() 122 if (SDK_INT >= 23) { in getColor() 152 if (SDK_INT >= 23) { in getColorStateList()
|
/frameworks/support/v4/java/android/support/v4/content/ |
D | ContextCompat.java | 112 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/ |
D | DrawableUtils.java | 48 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/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/ |
D | SystemBarHelper.java | 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/v7/appcompat/src/android/support/v7/view/menu/ |
D | MenuWrapperFactory.java | 36 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/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/ |
D | ViewBindingAdapterTest.java | 64 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/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/ |
D | TimePickerBindingAdapter.java | 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()
|
D | TextViewBindingAdapter.java | 176 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN_MR1) { in setDrawableStart() 187 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN_MR1) { in setDrawableEnd() 222 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in setLineSpacingExtra() 231 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in setLineSpacingMultiplier() 252 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in setMaxLength() 283 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in setShadowColor() 293 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in setShadowDx() 303 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in setShadowDy() 313 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in setShadowRadius()
|
/frameworks/support/v4/tests/java/android/support/v4/content/res/ |
D | ResourcesCompatTest.java | 47 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/ |
D | PathInterpolatorCompat.java | 47 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/ |
D | MediaDescriptionCompat.java | 195 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/ |
D | PercentRelativeRtlTest.java | 109 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/v4/java/android/support/v4/view/ |
D | ViewConfigurationCompat.java | 86 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/support/v4/java/android/support/v4/media/session/ |
D | MediaSessionCompat.java | 212 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/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/ |
D | Illustration.java | 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/support/v4/java/android/support/v4/net/ |
D | ConnectivityManagerCompat.java | 84 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/ |
D | Util.java | 13 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/ |
D | DocumentFile.java | 110 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/java/android/support/v4/os/ |
D | TraceCompat.java | 43 if (Build.VERSION.SDK_INT >= 18) { in beginSection() 56 if (Build.VERSION.SDK_INT >= 18) { in endSection()
|
/frameworks/support/v4/tests/java/android/support/v4/view/ |
D | MarginLayoutParamsCompatTest.java | 39 if (Build.VERSION.SDK_INT >= 17) { in testLayoutDirection() 75 if (Build.VERSION.SDK_INT >= 17) { in testMappingOldMarginsToNewMarginsRtl() 160 if (Build.VERSION.SDK_INT >= 17) { in testResolveMarginsRtl() 173 if (Build.VERSION.SDK_INT >= 17) { in testResolveMarginsRtl()
|
/frameworks/opt/bitmap/src/com/android/bitmap/util/ |
D | Trace.java | 34 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()
|