Home
last modified time | relevance | path

Searched refs:VERSION_CODES (Results 1 – 25 of 263) sorted by relevance

1234567891011

/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
DSystemBarHelperTest.java23 import android.os.Build.VERSION_CODES;
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()
DListViewRequireScrollHelperTest.java50 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO) { in testRequireScroll()
61 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO) { in testScrolledToBottom()
86 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO) { in testClickScrollButton()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/util/
DSystemBarHelper.java25 import android.os.Build.VERSION_CODES;
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()
[all …]
DWizardManagerHelper.java22 import android.os.Build.VERSION_CODES;
153 if (VERSION.SDK_INT >= VERSION_CODES.ICE_CREAM_SANDWICH) { in isUserSetupComplete()
174 if (VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN_MR1) { in isDeviceProvisioned()
/frameworks/data-binding/extensions/baseAdapters/src/main/java/android/databinding/adapters/
DSearchViewBindingAdapter.java23 import android.os.Build.VERSION_CODES;
38 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in setOnQueryTextListener()
69 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB) { in setOnSuggestListener()
96 @TargetApi(VERSION_CODES.HONEYCOMB)
101 @TargetApi(VERSION_CODES.HONEYCOMB)
106 @TargetApi(VERSION_CODES.HONEYCOMB)
111 @TargetApi(VERSION_CODES.HONEYCOMB)
DTimePickerBindingAdapter.java22 import android.os.Build.VERSION_CODES;
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()
DViewBindingAdapter.java25 import android.os.Build.VERSION_CODES;
79 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in setPaddingEnd()
105 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in setPaddingStart()
161 if (VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB_MR1) { in setOnAttachStateChangeListener()
196 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in setOnLayoutChangeListener()
209 if (VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN) { in setBackground()
232 @TargetApi(VERSION_CODES.HONEYCOMB_MR1)
237 @TargetApi(VERSION_CODES.HONEYCOMB_MR1)
DListenerUtil.java19 import android.os.Build.VERSION_CODES;
56 if (VERSION.SDK_INT >= VERSION_CODES.ICE_CREAM_SANDWICH) { in trackListener()
92 if (VERSION.SDK_INT >= VERSION_CODES.ICE_CREAM_SANDWICH) { in getListener()
DTextViewBindingAdapter.java176 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/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/adapter/
DWeirdListeners.java20 import android.os.Build.VERSION_CODES;
41 @TargetApi(VERSION_CODES.ICE_CREAM_SANDWICH)
52 @TargetApi(VERSION_CODES.ICE_CREAM_SANDWICH)
57 @TargetApi(VERSION_CODES.GINGERBREAD)
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/view/
DIllustration.java27 import android.os.Build.VERSION_CODES;
65 @TargetApi(VERSION_CODES.HONEYCOMB)
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()
DStatusBarBackgroundLayout.java25 import android.os.Build.VERSION_CODES;
56 @TargetApi(VERSION_CODES.HONEYCOMB)
74 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/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/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()
DTextViewBindingAdapterTest.java69 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in testDrawables()
94 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) { in testDrawableStartEnd()
122 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in testSimpleProperties()
131 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in testSimpleProperties()
147 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in testSimpleProperties()
156 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in testSimpleProperties()
211 @TargetApi(Build.VERSION_CODES.LOLLIPOP)
/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()
1012 if (version >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in runEnterAnimation()
1033 if (version >= Build.VERSION_CODES.JELLY_BEAN) { in runEnterAnimation()
1101 if (version >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in runExitAnimation()
1131 if (version >= android.os.Build.VERSION_CODES.JELLY_BEAN) { in runExitAnimation()
1219 if (version >= android.os.Build.VERSION_CODES.JELLY_BEAN) { in initTemporaryImage()
[all …]
/frameworks/base/core/java/android/app/
DBroadcastOptions.java33 private int mMaxManifestReceiverApiLevel = Build.VERSION_CODES.CUR_DEVELOPMENT;
67 Build.VERSION_CODES.CUR_DEVELOPMENT); in BroadcastOptions()
139 if (mMaxManifestReceiverApiLevel != Build.VERSION_CODES.CUR_DEVELOPMENT) { in toBundle()
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/
DTemplateLayout.java22 import android.os.Build.VERSION_CODES;
56 @TargetApi(VERSION_CODES.HONEYCOMB)
160 @TargetApi(VERSION_CODES.HONEYCOMB)
192 @TargetApi(VERSION_CODES.HONEYCOMB)
/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/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/setupwizard/library/full-support/test/src/com/android/setupwizardlib/test/
DRecyclerViewRequireScrollHelperTest.java46 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO) { in testRequireScroll()
57 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO) { in testScrolledToBottom()
75 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.FROYO) { in testClickScrollButton()
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/
DCompilerChef.java34 private static final String[] VERSION_CODES = { field in CompilerChef
107 for (int i = VERSION_CODES.length - 1; i >= 0; i--) { in writeDynamicUtil()
108 if (versionCodes.findGetterOrField(VERSION_CODES[i], true) != null) { in writeDynamicUtil()
/frameworks/data-binding/integration-tests/TestApp/app/src/main/java/android/databinding/testapp/
DTestFragment.java22 import android.os.Build.VERSION_CODES;
30 @TargetApi(VERSION_CODES.HONEYCOMB)

1234567891011