Home
last modified time | relevance | path

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

12345678910>>...19

/frameworks/support/compat/java/android/support/v4/os/
DBuildCompat.java19 import android.os.Build.VERSION;
39 return VERSION.SDK_INT >= 24; in isAtLeastN()
52 return VERSION.SDK_INT >= 25; in isAtLeastNMR1()
64 return VERSION.SDK_INT >= 26; in isAtLeastO()
78 return VERSION.CODENAME.startsWith("OMR") in isAtLeastOMR1()
92 return VERSION.CODENAME.equals("P"); in isAtLeastP()
/frameworks/support/compat/java/android/support/v4/content/
DContextCompat.java116 if (Build.VERSION.SDK_INT >= 16) { in startActivities()
142 if (Build.VERSION.SDK_INT >= 16) { in startActivity()
165 if (Build.VERSION.SDK_INT >= 24) { in getDataDir()
217 if (Build.VERSION.SDK_INT >= 19) { in getObbDirs()
269 if (Build.VERSION.SDK_INT >= 19) { in getExternalFilesDirs()
321 if (Build.VERSION.SDK_INT >= 19) { in getExternalCacheDirs()
352 if (Build.VERSION.SDK_INT >= 21) { in getDrawable()
354 } else if (Build.VERSION.SDK_INT >= 16) { in getDrawable()
388 if (Build.VERSION.SDK_INT >= 23) { in getColorStateList()
410 if (Build.VERSION.SDK_INT >= 23) { in getColor()
[all …]
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DSystemBarHelperTest.java24 import android.os.Build.VERSION;
71 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in testAddVisibilityFlagView()
82 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in testRemoveVisibilityFlagView()
93 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in testAddVisibilityFlagWindow()
105 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in testRemoveVisibilityFlagWindow()
117 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in testHideSystemBarsWindow()
135 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in testShowSystemBarsWindow()
167 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()
[all …]
DDrawableLayoutDirectionHelperTest.java55 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in testCreateRelativeInsetDrawableLtr()
73 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in testCreateRelativeInsetDrawableRtl()
90 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in testCreateRelativeInsetDrawableViewRtl()
96 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in testCreateRelativeInsetDrawableViewRtl()
109 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in testCreateRelativeInsetDrawableContextRtl()
117 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in testCreateRelativeInsetDrawableContextRtl()
123 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in testCreateRelativeInsetDrawableContextRtl()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
DQSTile.java30 @ProvidesInterface(version = QSTile.VERSION)
37 int VERSION = 1; field
74 @ProvidesInterface(version = Callback.VERSION)
76 public static final int VERSION = 1; field
84 @ProvidesInterface(version = Icon.VERSION)
86 public static final int VERSION = 1; field in QSTile.Icon
103 @ProvidesInterface(version = State.VERSION)
105 public static final int VERSION = 1; field in QSTile.State
168 @ProvidesInterface(version = BooleanState.VERSION)
170 public static final int VERSION = 1; field in QSTile.BooleanState
[all …]
DQS.java30 @ProvidesInterface(action = QS.ACTION, version = QS.VERSION)
36 public static final int VERSION = 6; field
68 @ProvidesInterface(version = HeightListener.VERSION)
70 public static final int VERSION = 1; field
/frameworks/support/compat/java/android/support/v4/app/
DActivityOptionsCompat.java65 if (Build.VERSION.SDK_INT >= 16) { in makeCustomAnimation()
93 if (Build.VERSION.SDK_INT >= 16) { in makeScaleUpAnimation()
116 if (Build.VERSION.SDK_INT >= 23) { in makeClipRevealAnimation()
144 if (Build.VERSION.SDK_INT >= 16) { in makeThumbnailScaleUpAnimation()
171 if (Build.VERSION.SDK_INT >= 21) { in makeSceneTransitionAnimation()
198 if (Build.VERSION.SDK_INT >= 21) { in makeSceneTransitionAnimation()
223 if (Build.VERSION.SDK_INT >= 21) { in makeTaskLaunchBehind()
234 if (Build.VERSION.SDK_INT >= 23) { in makeBasic()
242 if (Build.VERSION.SDK_INT >= 24) { in createImpl()
244 } else if (Build.VERSION.SDK_INT >= 23) { in createImpl()
DActivityCompat.java152 if (Build.VERSION.SDK_INT >= 16) { in startActivityForResult()
188 if (Build.VERSION.SDK_INT >= 16) { in startIntentSenderForResult()
205 if (Build.VERSION.SDK_INT >= 16) { in finishAffinity()
222 if (Build.VERSION.SDK_INT >= 21) { in finishAfterTransition()
247 if (Build.VERSION.SDK_INT >= 22) { in getReferrer()
272 if (Build.VERSION.SDK_INT >= 23) { in setEnterSharedElementCallback()
277 } else if (Build.VERSION.SDK_INT >= 21) { in setEnterSharedElementCallback()
296 if (Build.VERSION.SDK_INT >= 23) { in setExitSharedElementCallback()
301 } else if (Build.VERSION.SDK_INT >= 21) { in setExitSharedElementCallback()
310 if (Build.VERSION.SDK_INT >= 21) { in postponeEnterTransition()
[all …]
DAlarmManagerCompat.java57 if (Build.VERSION.SDK_INT >= 21) { in setAlarmClock()
115 if (Build.VERSION.SDK_INT >= 23) { in setAndAllowWhileIdle()
160 if (Build.VERSION.SDK_INT >= 19) { in setExact()
220 if (Build.VERSION.SDK_INT >= 23) { in setExactAndAllowWhileIdle()
/frameworks/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DListRowPresenterTest.java107 if (Build.VERSION.SDK_INT >= 23) { in getForeground()
356 final int version = Build.VERSION.SDK_INT; in shadowOverlayContainerTest01()
381 final int version = Build.VERSION.SDK_INT; in shadowOverlayContainerTest02()
406 final int version = Build.VERSION.SDK_INT; in shadowOverlayContainerTest03()
431 final int version = Build.VERSION.SDK_INT; in shadowOverlayContainerTest04()
456 final int version = Build.VERSION.SDK_INT; in shadowOverlayContainerTest05()
481 final int version = Build.VERSION.SDK_INT; in shadowOverlayContainerTest06()
506 final int version = Build.VERSION.SDK_INT; in shadowOverlayContainerTest07()
531 final int version = Build.VERSION.SDK_INT; in shadowOverlayContainerTest08()
556 final int version = Build.VERSION.SDK_INT; in shadowOverlayContainerTest09()
[all …]
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/statusbar/
DNotificationMenuRowPlugin.java32 version = NotificationMenuRowPlugin.VERSION)
40 public static final int VERSION = 2; field
42 @ProvidesInterface(version = OnMenuEventListener.VERSION)
44 public static final int VERSION = 1; field
52 @ProvidesInterface(version = MenuItem.VERSION)
54 public static final int VERSION = 1; field
DNotificationSwipeActionHelper.java26 @ProvidesInterface(version = NotificationSwipeActionHelper.VERSION)
31 public static final int VERSION = 1; field
58 @ProvidesInterface(version = SnoozeOption.VERSION)
60 public static final int VERSION = 1; field in NotificationSwipeActionHelper.SnoozeOption
/frameworks/support/core-utils/tests/java/android/support/v4/app/
DFrameMetricsAggregatorTest.java57 if (Build.VERSION.SDK_INT < 24) { in testFrameMetrics()
71 if (Build.VERSION.SDK_INT < 24) { in testFrameMetrics()
90 if (Build.VERSION.SDK_INT < 24) { in testFrameMetrics()
121 if (Build.VERSION.SDK_INT < 24) { in testFrameMetrics()
131 if (Build.VERSION.SDK_INT < 24) { in testFrameMetrics()
141 if (Build.VERSION.SDK_INT < 24) { in testFrameMetrics()
151 if (Build.VERSION.SDK_INT < 24) { in testFrameMetrics()
161 if (Build.VERSION.SDK_INT < 24) { in testFrameMetrics()
/frameworks/support/percent/tests/java/android/support/percent/
DPercentRelativeRtlTest.java131 if (Build.VERSION.SDK_INT == 17) { in testTopChild()
136 if (Build.VERSION.SDK_INT >= 17) { in testTopChild()
163 if (Build.VERSION.SDK_INT == 17) { in testStartChild()
168 if (Build.VERSION.SDK_INT >= 17) { in testStartChild()
196 if (Build.VERSION.SDK_INT == 17) { in testBottomChild()
201 if (Build.VERSION.SDK_INT >= 17) { in testBottomChild()
230 if (Build.VERSION.SDK_INT == 17) { in testEndChild()
235 if (Build.VERSION.SDK_INT >= 17) { in testEndChild()
263 if (Build.VERSION.SDK_INT == 17) { in testCenterChild()
268 boolean supportsRtl = Build.VERSION.SDK_INT >= 17; in testCenterChild()
/frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/
DVolumeDialog.java25 @ProvidesInterface(action = VolumeDialog.ACTION, version = VolumeDialog.VERSION)
29 int VERSION = 1; field
34 @ProvidesInterface(version = VERSION)
36 int VERSION = 1; field
DGlobalActions.java21 @ProvidesInterface(action = GlobalActions.ACTION, version = GlobalActions.VERSION)
26 int VERSION = 1; field
30 @ProvidesInterface(version = GlobalActionsManager.VERSION)
32 int VERSION = 1; field
DVolumeDialogController.java35 @ProvidesInterface(version = VolumeDialogController.VERSION)
40 int VERSION = 1; field
59 @ProvidesInterface(version = StreamState.VERSION)
61 public static final int VERSION = 1; field in VolumeDialogController.StreamState
88 @ProvidesInterface(version = State.VERSION)
90 public static final int VERSION = 1; field in VolumeDialogController.State
161 @ProvidesInterface(version = Callbacks.VERSION)
163 int VERSION = 1; field
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DSystemBarHelper.java24 import android.os.Build.VERSION;
76 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in hideSystemBars()
99 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in hideSystemBars()
125 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in showSystemBars()
146 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in addVisibilityFlag()
156 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in addVisibilityFlag()
168 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in removeVisibilityFlag()
179 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in removeVisibilityFlag()
187 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in setBackButtonVisible()
210 if (VERSION.SDK_INT >= VERSION_CODES.LOLLIPOP) { in setImeInsetView()
/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/opt/vcard/tests/res/raw/
Dv21_nest.vcf2 VERSION:2.1
5 VERSION:2.1
9 VERSION:2.1
Dv21_nest_with_mime.vcf5 VERSION:2.1
8 VERSION:2.1
12 VERSION:2.1
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/plugins/
DVersionInfoTest.java87 @Requires(target = OverlayPlugin.class, version = OverlayPlugin.VERSION)
95 @Requires(target = QS.class, version = QS.VERSION)
99 @Requires(target = QS.class, version = QS.VERSION)
100 @Requires(target = HeightListener.class, version = HeightListener.VERSION)
101 @Requires(target = DetailAdapter.class, version = DetailAdapter.VERSION)
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
DDrawableUtils.java51 if (Build.VERSION.SDK_INT >= 18) {
116 if (Build.VERSION.SDK_INT == 21 in fixDrawable()
127 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()
191 case 16: return Build.VERSION.SDK_INT >= 11 in parseTintMode()
/frameworks/support/tv-provider/src/android/support/media/tv/
DBaseProgram.java96 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { in getSeasonNumber()
108 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { in getEpisodeNumber()
291 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) { in toContentValues()
298 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.N) { in toContentValues()
301 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.O) { in toContentValues()
332 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { in setFieldsFromCursor()
344 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { in setFieldsFromCursor()
399 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { in setFieldsFromCursor()
425 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) { in setFieldsFromCursor()
431 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.O) { in setFieldsFromCursor()
[all …]
/frameworks/support/compat/java/android/support/v4/view/animation/
DPathInterpolatorCompat.java48 if (Build.VERSION.SDK_INT >= 21) { in create()
63 if (Build.VERSION.SDK_INT >= 21) { in create()
81 if (Build.VERSION.SDK_INT >= 21) { in create()

12345678910>>...19