Home
last modified time | relevance | path

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

12345678910>>...17

/frameworks/support/compat/java/android/support/v4/view/accessibility/
DAccessibilityNodeInfoCompat.java349 new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 23
365 new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 23
373 new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 23
380 new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 23
387 new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 23
394 new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 23
401 new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 23
415 new AccessibilityActionCompat(Build.VERSION.SDK_INT >= 24
427 this(Build.VERSION.SDK_INT >= 21 in AccessibilityActionCompat()
441 if (Build.VERSION.SDK_INT >= 21) { in getId()
[all …]
DAccessibilityWindowInfoCompat.java19 import static android.os.Build.VERSION.SDK_INT;
97 if (SDK_INT >= 21) { in getType()
111 if (SDK_INT >= 21) { in getLayer()
124 if (SDK_INT >= 21) { in getRoot()
138 if (SDK_INT >= 21) { in getParent()
151 if (SDK_INT >= 21) { in getId()
164 if (SDK_INT >= 21) { in getBoundsInScreen()
177 if (SDK_INT >= 21) { in isActive()
190 if (SDK_INT >= 21) { in isFocused()
203 if (SDK_INT >= 21) { in isAccessibilityFocused()
[all …]
DAccessibilityEventCompat.java264 if (Build.VERSION.SDK_INT >= 19) { in setContentChangeTypes()
283 if (Build.VERSION.SDK_INT >= 19) { in getContentChangeTypes()
298 if (Build.VERSION.SDK_INT >= 16) { in setMovementGranularity()
309 if (Build.VERSION.SDK_INT >= 16) { in getMovementGranularity()
334 if (Build.VERSION.SDK_INT >= 16) { in setAction()
345 if (Build.VERSION.SDK_INT >= 16) { in getAction()
/frameworks/support/compat/java/android/support/v4/view/
DWindowInsetsCompat.java19 import static android.os.Build.VERSION.SDK_INT;
44 if (SDK_INT >= 20) { in WindowInsetsCompat()
61 if (SDK_INT >= 20) { in getSystemWindowInsetLeft()
78 if (SDK_INT >= 20) { in getSystemWindowInsetTop()
95 if (SDK_INT >= 20) { in getSystemWindowInsetRight()
112 if (SDK_INT >= 20) { in getSystemWindowInsetBottom()
129 if (SDK_INT >= 20) { in hasSystemWindowInsets()
142 if (SDK_INT >= 20) { in hasInsets()
163 if (SDK_INT >= 21) { in isConsumed()
181 if (SDK_INT >= 20) { in isRound()
[all …]
DMarginLayoutParamsCompat.java20 import static android.os.Build.VERSION.SDK_INT;
42 if (SDK_INT >= 17) { in getMarginStart()
61 if (SDK_INT >= 17) { in getMarginEnd()
80 if (SDK_INT >= 17) { in setMarginStart()
99 if (SDK_INT >= 17) { in setMarginEnd()
112 if (SDK_INT >= 17) { in isMarginRelative()
127 if (SDK_INT >= 17) { in getLayoutDirection()
150 if (SDK_INT >= 17) { in setLayoutDirection()
161 if (SDK_INT >= 17) { in resolveLayoutDirection()
DGravityCompat.java20 import static android.os.Build.VERSION.SDK_INT;
64 if (SDK_INT >= 17) { in apply()
98 if (SDK_INT >= 17) { in apply()
126 if (SDK_INT >= 17) { in applyDisplay()
145 if (SDK_INT >= 17) { in getAbsoluteGravity()
DPointerIconCompat.java19 import static android.os.Build.VERSION.SDK_INT;
128 if (SDK_INT >= 24) { in getSystemIcon()
149 if (SDK_INT >= 24) { in create()
178 if (SDK_INT >= 24) { in load()
/frameworks/support/compat/java/android/support/v4/graphics/drawable/
DDrawableCompat.java77 if (Build.VERSION.SDK_INT >= 19) { in setAutoMirrored()
94 if (Build.VERSION.SDK_INT >= 19) { in isAutoMirrored()
109 if (Build.VERSION.SDK_INT >= 21) { in setHotspot()
122 if (Build.VERSION.SDK_INT >= 21) { in setHotspotBounds()
134 if (Build.VERSION.SDK_INT >= 21) { in setTint()
148 if (Build.VERSION.SDK_INT >= 21) { in setTintList()
162 if (Build.VERSION.SDK_INT >= 21) { in setTintMode()
176 if (Build.VERSION.SDK_INT >= 19) { in getAlpha()
187 if (Build.VERSION.SDK_INT >= 21) { in applyTheme()
196 if (Build.VERSION.SDK_INT >= 21) { in canApplyTheme()
[all …]
/frameworks/support/compat/java/android/support/v4/content/
DContextCompat.java114 if (Build.VERSION.SDK_INT >= 16) { in startActivities()
140 if (Build.VERSION.SDK_INT >= 16) { in startActivity()
163 if (Build.VERSION.SDK_INT >= 24) { in getDataDir()
215 if (Build.VERSION.SDK_INT >= 19) { in getObbDirs()
267 if (Build.VERSION.SDK_INT >= 19) { in getExternalFilesDirs()
319 if (Build.VERSION.SDK_INT >= 19) { in getExternalCacheDirs()
350 if (Build.VERSION.SDK_INT >= 21) { in getDrawable()
352 } else if (Build.VERSION.SDK_INT >= 16) { in getDrawable()
386 if (Build.VERSION.SDK_INT >= 23) { in getColorStateList()
408 if (Build.VERSION.SDK_INT >= 23) { in getColor()
[all …]
/frameworks/support/compat/java/android/support/v4/app/
DNotificationCompatBuilder.java62 if (Build.VERSION.SDK_INT >= 26) { in NotificationCompatBuilder()
89 if (Build.VERSION.SDK_INT >= 16) { in NotificationCompatBuilder()
101 if (Build.VERSION.SDK_INT < 20) { in NotificationCompatBuilder()
122 if (Build.VERSION.SDK_INT >= 19) { in NotificationCompatBuilder()
125 if (Build.VERSION.SDK_INT < 21) { in NotificationCompatBuilder()
132 if (Build.VERSION.SDK_INT >= 20) { in NotificationCompatBuilder()
140 if (Build.VERSION.SDK_INT >= 21) { in NotificationCompatBuilder()
151 if (Build.VERSION.SDK_INT >= 24) { in NotificationCompatBuilder()
164 if (Build.VERSION.SDK_INT >= 26) { in NotificationCompatBuilder()
195 if (Build.VERSION.SDK_INT >= 16 && style != null) { in build()
[all …]
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.java151 if (Build.VERSION.SDK_INT >= 16) { in startActivityForResult()
187 if (Build.VERSION.SDK_INT >= 16) { in startIntentSenderForResult()
204 if (Build.VERSION.SDK_INT >= 16) { in finishAffinity()
221 if (Build.VERSION.SDK_INT >= 21) { in finishAfterTransition()
246 if (Build.VERSION.SDK_INT >= 22) { in getReferrer()
271 if (Build.VERSION.SDK_INT >= 23) { in setEnterSharedElementCallback()
276 } else if (Build.VERSION.SDK_INT >= 21) { in setEnterSharedElementCallback()
295 if (Build.VERSION.SDK_INT >= 23) { in setExitSharedElementCallback()
300 } else if (Build.VERSION.SDK_INT >= 21) { in setExitSharedElementCallback()
309 if (Build.VERSION.SDK_INT >= 21) { in postponeEnterTransition()
[all …]
DAppOpsManagerCompat.java19 import static android.os.Build.VERSION.SDK_INT;
60 if (SDK_INT >= 23) { in permissionToOp()
84 if (SDK_INT >= 23) { in noteOp()
110 if (SDK_INT >= 23) { in noteProxyOp()
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()
DNotificationCompat.java1644 if (Build.VERSION.SDK_INT >= 16 && Build.VERSION.SDK_INT < 21) { in applyStandardTemplate()
1662 if (Build.VERSION.SDK_INT >= 16) { in applyStandardTemplate()
1673 if (Build.VERSION.SDK_INT >= 21) { in applyStandardTemplate()
1688 if (Build.VERSION.SDK_INT >= 21) { in applyStandardTemplate()
1713 boolean hasRightSide = !(Build.VERSION.SDK_INT >= 21) && mBuilder.mLargeIcon != null; in applyStandardTemplate()
1737 if (mBuilder.mSubText != null && Build.VERSION.SDK_INT >= 16) { in applyStandardTemplate()
1750 if (showLine2 && Build.VERSION.SDK_INT >= 16) { in applyStandardTemplate()
1763 if (mBuilder.mUseChronometer && Build.VERSION.SDK_INT >= 16) { in applyStandardTemplate()
1829 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in buildIntoRemoteViews()
1933 if (Build.VERSION.SDK_INT >= 16) { in apply()
[all …]
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DSystemBarHelperTest.java71 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()
196 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in testSetBackButtonVisibleTrue()
[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/support/v17/leanback/tests/java/android/support/v17/leanback/widget/
DListRowPresenterTest.java119 if (Build.VERSION.SDK_INT >= 23) { in getForeground()
386 result.mShadowOverlayContainerClipToOutline = Build.VERSION.SDK_INT >= 21 in collectResult()
397 result.mViewClipToOutline = Build.VERSION.SDK_INT >= 21 ? view.getClipToOutline() : false; in collectResult()
410 final int version = Build.VERSION.SDK_INT; in shadowOverlayContainerTest01()
435 final int version = Build.VERSION.SDK_INT; in shadowOverlayContainerTest02()
460 final int version = Build.VERSION.SDK_INT; in shadowOverlayContainerTest03()
485 final int version = Build.VERSION.SDK_INT; in shadowOverlayContainerTest04()
510 final int version = Build.VERSION.SDK_INT; in shadowOverlayContainerTest05()
535 final int version = Build.VERSION.SDK_INT; in shadowOverlayContainerTest06()
560 final int version = Build.VERSION.SDK_INT; in shadowOverlayContainerTest07()
[all …]
/frameworks/support/compat/java/android/support/v4/os/
DBuildCompat.java39 return VERSION.SDK_INT >= 24; in isAtLeastN()
52 return VERSION.SDK_INT >= 25; in isAtLeastNMR1()
65 return VERSION.SDK_INT >= 26; in isAtLeastO()
78 return VERSION.SDK_INT >= 27; in isAtLeastOMR1()
/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/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/media-compat/java/android/support/v4/media/app/
DNotificationCompat.java103 if (Build.VERSION.SDK_INT >= 21) { in getMediaSession()
186 if (Build.VERSION.SDK_INT < 21) { in setShowCancelButton()
209 if (Build.VERSION.SDK_INT >= 21) { in apply()
234 if (Build.VERSION.SDK_INT >= 21) { in makeContentView()
286 if (Build.VERSION.SDK_INT >= 15) { in generateMediaActionButton()
302 if (Build.VERSION.SDK_INT >= 21) { in makeBigContentView()
387 if (Build.VERSION.SDK_INT >= 24) { in apply()
401 if (Build.VERSION.SDK_INT >= 24) { in makeContentView()
406 if (Build.VERSION.SDK_INT >= 21) { in makeContentView()
443 if (Build.VERSION.SDK_INT >= 24) { in makeBigContentView()
[all …]
/frameworks/opt/setupwizard/library/gingerbread/test/instrumentation/src/com/android/setupwizardlib/test/
DLinkAccessibilityHelperTest.java61 if (Build.VERSION.SDK_INT > Build.VERSION_CODES.N_MR1) return; in testGetVirtualViewAt()
69 if (Build.VERSION.SDK_INT > Build.VERSION_CODES.N_MR1) return; in testGetVirtualViewAtHost()
78 if (Build.VERSION.SDK_INT > Build.VERSION_CODES.N_MR1) return; in testGetVisibleVirtualViews()
89 if (Build.VERSION.SDK_INT > Build.VERSION_CODES.N_MR1) return; in testOnPopulateEventForVirtualView()
103 if (Build.VERSION.SDK_INT > Build.VERSION_CODES.N_MR1) return; in testOnPopulateEventForVirtualViewHost()
116 if (Build.VERSION.SDK_INT > Build.VERSION_CODES.N_MR1) return; in testOnPopulateNodeForVirtualView()
135 if (Build.VERSION.SDK_INT > Build.VERSION_CODES.N_MR1) return; in testNullLayout()
153 if (Build.VERSION.SDK_INT > Build.VERSION_CODES.N_MR1) return; in testRtlLayout()
173 if (Build.VERSION.SDK_INT > Build.VERSION_CODES.N_MR1) return; in testMultilineLink()
195 if (Build.VERSION.SDK_INT > Build.VERSION_CODES.N_MR1) return; in testRtlMultilineLink()
[all …]
/frameworks/support/compat/tests/java/android/support/v4/graphics/
DPaintCompatHasGlyphTest.java19 import static android.os.Build.VERSION.SDK_INT;
48 {"☺", SDK_INT >= 16}, // glyph added in API 16 in data()
49 {"\uD83D\uDC66\uD83C\uDFFF", SDK_INT >= 24}, // glyph added in API 24 in data()
50 {"\uD83C\uDDEF\uD83C\uDDF5", SDK_INT >= 20}, // Japan flag emoji, added in API 20 in data()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DSystemBarHelper.java76 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()

12345678910>>...17