Home
last modified time | relevance | path

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

12345678910

/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/
DApiHelper.java30 public static interface VERSION_CODES { interface in ApiHelper
46 Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN;
49 Build.VERSION.SDK_INT >= VERSION_CODES.ICE_CREAM_SANDWICH;
61 Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN;
64 Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB;
67 Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN;
77 Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB;
80 Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB_MR1;
83 Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN;
86 Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB;
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/keyboard/
DKeyboardThemeTests.java26 import android.os.Build.VERSION_CODES;
114 assertKeyboardThemePreferenceOnKlp(VERSION_CODES.ICE_CREAM_SANDWICH); in testKeyboardThemePreferenceOnKlp()
115 assertKeyboardThemePreferenceOnKlp(VERSION_CODES.ICE_CREAM_SANDWICH_MR1); in testKeyboardThemePreferenceOnKlp()
116 assertKeyboardThemePreferenceOnKlp(VERSION_CODES.JELLY_BEAN); in testKeyboardThemePreferenceOnKlp()
117 assertKeyboardThemePreferenceOnKlp(VERSION_CODES.JELLY_BEAN_MR1); in testKeyboardThemePreferenceOnKlp()
118 assertKeyboardThemePreferenceOnKlp(VERSION_CODES.JELLY_BEAN_MR2); in testKeyboardThemePreferenceOnKlp()
119 assertKeyboardThemePreferenceOnKlp(VERSION_CODES.KITKAT); in testKeyboardThemePreferenceOnKlp()
134 assertKeyboardThemePreferenceOnLxx(Build.VERSION_CODES.LOLLIPOP); in testKeyboardThemePreferenceOnLxx()
151 if (sdkVersion <= VERSION_CODES.KITKAT) { in assertDefaultKeyboardTheme()
169 assertDefaultKeyboardThemeOnKlp(VERSION_CODES.ICE_CREAM_SANDWICH); in testDefaultKeyboardThemeOnKlp()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/compat/
DCompatUtils.java49 if (SdkVersionOverride.getSdkVersion(Build.VERSION_CODES.M) >= Build.VERSION_CODES.M) { in isInsertCompat()
59 if (SdkVersionOverride.getSdkVersion(Build.VERSION_CODES.M) >= Build.VERSION_CODES.M) { in isUpdateCompat()
69 if (SdkVersionOverride.getSdkVersion(Build.VERSION_CODES.M) >= Build.VERSION_CODES.M) { in isDeleteCompat()
78 if (SdkVersionOverride.getSdkVersion(Build.VERSION_CODES.M) >= Build.VERSION_CODES.M) { in isAssertQueryCompat()
88 return SdkVersionOverride.getSdkVersion(Build.VERSION_CODES.M) in hasPrioritizedMimeType()
89 >= Build.VERSION_CODES.M; in hasPrioritizedMimeType()
99 return SdkVersionOverride.getSdkVersion(Build.VERSION_CODES.LOLLIPOP) in isMSIMCompatible()
100 >= Build.VERSION_CODES.LOLLIPOP_MR1; in isMSIMCompatible()
110 return SdkVersionOverride.getSdkVersion(Build.VERSION_CODES.LOLLIPOP) in isVideoCompatible()
111 >= Build.VERSION_CODES.M; in isVideoCompatible()
[all …]
/packages/apps/Camera2/src/com/android/camera/util/
DApiHelper.java30 Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1;
33 Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN;
35 Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN;
37 Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN;
39 Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN;
41 Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN;
43 Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN;
45 Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN;
50 Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1;
52 Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1;
[all …]
DSize.java23 import android.os.Build.VERSION_CODES;
45 @TargetApi(VERSION_CODES.LOLLIPOP)
150 @TargetApi(VERSION_CODES.LOLLIPOP)
/packages/apps/Messaging/src/com/android/messaging/util/
DOsUtil.java51 sIsAtLeastICS_MR1 = v >= android.os.Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1;
52 sIsAtLeastJB = v >= android.os.Build.VERSION_CODES.JELLY_BEAN;
53 sIsAtLeastJB_MR1 = v >= android.os.Build.VERSION_CODES.JELLY_BEAN_MR1;
54 sIsAtLeastJB_MR2 = v >= android.os.Build.VERSION_CODES.JELLY_BEAN_MR2;
55 sIsAtLeastKLP = v >= android.os.Build.VERSION_CODES.KITKAT;
56 sIsAtLeastL = v >= android.os.Build.VERSION_CODES.LOLLIPOP;
57 sIsAtLeastL_MR1 = v >= android.os.Build.VERSION_CODES.LOLLIPOP_MR1;
58 sIsAtLeastM = v >= android.os.Build.VERSION_CODES.M;
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/
DKeyboardTheme.java22 import android.os.Build.VERSION_CODES;
52 VERSION_CODES.BASE),
55 VERSION_CODES.ICE_CREAM_SANDWICH),
58 Build.VERSION_CODES.LOLLIPOP),
61 VERSION_CODES.BASE),
119 if (sdkVersion <= VERSION_CODES.KITKAT) { in getDefaultKeyboardTheme()
156 if (sdkVersion <= VERSION_CODES.KITKAT) { in getPreferenceKey()
/packages/apps/TV/src/com/android/tv/util/
DPermissionUtils.java17 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { in hasAccessAllEpg()
32 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { in hasAccessWatchedHistory()
47 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { in hasModifyParentalControls()
61 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { in hasReadTvListings()
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/utils/
DAdditionalSubtypeUtilsTests.java110 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in assertEnUsDvorak()
112 } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in assertEnUsDvorak()
114 } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in assertEnUsDvorak()
133 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in assertAzerty()
135 } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in assertAzerty()
/packages/apps/Dialer/src/com/android/dialer/compat/
DSettingsCompat.java20 import android.os.Build.VERSION_CODES;
40 if (SdkVersionOverride.getSdkVersion(VERSION_CODES.LOLLIPOP) >= Build.VERSION_CODES.M) { in canWrite()
/packages/apps/Launcher3/src/com/android/launcher3/
DUtilities.java104 public static final boolean ATLEAST_N = Build.VERSION.SDK_INT >= Build.VERSION_CODES.N;
107 Build.VERSION.SDK_INT >= Build.VERSION_CODES.M;
110 Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP_MR1;
113 Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP;
116 Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT;
119 Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1;
122 Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR2;
206 @TargetApi(Build.VERSION_CODES.LOLLIPOP)
579 @TargetApi(Build.VERSION_CODES.KITKAT)
595 @TargetApi(Build.VERSION_CODES.JELLY_BEAN_MR1)
[all …]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/
DCursorAnchorInfoCompatWrapper.java53 @TargetApi(Build.VERSION_CODES.LOLLIPOP)
56 if (BuildCompatUtils.EFFECTIVE_SDK_INT < Build.VERSION_CODES.LOLLIPOP) { in wrap()
115 @TargetApi(Build.VERSION_CODES.LOLLIPOP)
DInputMethodSubtypeCompatUtils.java44 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN_MR1) {
66 || Build.VERSION.SDK_INT < Build.VERSION_CODES.JELLY_BEAN_MR1) { in newInputMethodSubtype()
90 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in getLocaleObject()
DAppWorkaroundsUtils.java20 import android.os.Build.VERSION_CODES;
43 return mPackageInfo.applicationInfo.targetSdkVersion < VERSION_CODES.JELLY_BEAN; in isBeforeJellyBean()
DUserDictionaryCompatUtils.java30 if (BuildCompatUtils.EFFECTIVE_SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in addWord()
43 @TargetApi(Build.VERSION_CODES.JELLY_BEAN)
/packages/apps/Contacts/tests/src/com/android/contacts/editor/
DEditorUiUtilsTest.java151 final int currentVersion = Build.VERSION_CODES.M; in testGetRingtongStrFromUri_lessThanOrEqualsToM()
160 final int currentVersion = Build.VERSION_CODES.M + 1; in testGetRingtongStrFromUri_nOrGreater()
169 final int currentVersion = Build.VERSION_CODES.M; in testGetRingtongUriFromStr_lessThanOrEqualsToM()
178 final int currentVersion = Build.VERSION_CODES.M + 1; in testGetRingtongUriFromStr_nOrGreater()
/packages/apps/DeskClock/src/com/android/deskclock/
DUtils.java138 return Build.VERSION.SDK_INT < Build.VERSION_CODES.LOLLIPOP; in isPreL()
147 return sdkInt == Build.VERSION_CODES.LOLLIPOP || sdkInt == Build.VERSION_CODES.LOLLIPOP_MR1; in isLOrLMR1()
154 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP; in isLOrLater()
161 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP_MR1; in isLMR1OrLater()
168 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.M; in isMOrLater()
446 @TargetApi(Build.VERSION_CODES.KITKAT)
452 @TargetApi(Build.VERSION_CODES.LOLLIPOP)
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DSurfaceTextureScreenNail.java27 @TargetApi(ApiHelper.VERSION_CODES.HONEYCOMB)
56 @TargetApi(ApiHelper.VERSION_CODES.ICE_CREAM_SANDWICH_MR1)
63 @TargetApi(ApiHelper.VERSION_CODES.ICE_CREAM_SANDWICH)
/packages/apps/Messaging/src/android/support/v7/mms/
DUtils.java42 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP; in hasMmsApi()
51 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP_MR1; in supportMSim()
60 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT; in hasUserAgentApi()
/packages/apps/TV/src/com/android/tv/ui/
DTunableTvView.java271 android.os.Build.VERSION_CODES.M) {
339 @TargetApi(Build.VERSION_CODES.M)
608 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { in tuneTo()
712 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) { in unblockContent()
1169 …if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M || mTimeShiftAvailable == isTimeShiftAvailable) { in setTimeShiftAvailable()
1217 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) { in timeshiftPlay()
1234 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) { in timeshiftPause()
1253 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) { in timeshiftRewind()
1274 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) { in timeshiftFastForward()
1295 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.M) { in timeshiftSeekTo()
[all …]
/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/compat/
DSuggestionSpanUtilsTest.java93 @TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1)
99 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1) { in testGetTextWithAutoCorrectionIndicatorUnderline()
109 @TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1)
114 if (Build.VERSION.SDK_INT < Build.VERSION_CODES.ICE_CREAM_SANDWICH_MR1) { in testGetTextWithAutoCorrectionIndicatorUnderlineRootLocale()
/packages/apps/Gallery2/src/com/android/gallery3d/app/
DWallpaper.java72 @TargetApi(Build.VERSION_CODES.HONEYCOMB_MR2)
75 if (Build.VERSION.SDK_INT >= ApiHelper.VERSION_CODES.HONEYCOMB_MR2) { in getDefaultDisplaySize()
103 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in onResume()
/packages/apps/Camera2/src/com/android/camera/one/v2/face/
DFaceDetect.java20 import android.os.Build.VERSION_CODES;
30 @TargetApi(VERSION_CODES.LOLLIPOP)
/packages/apps/Camera2/src/com/android/camera/ui/focus/
DLensRangeCalculator.java21 import android.os.Build.VERSION_CODES;
29 @TargetApi(VERSION_CODES.LOLLIPOP)
/packages/apps/Camera2/src/com/android/camera/one/v2/common/
DControlSceneModeSelector.java21 import android.os.Build.VERSION_CODES;
30 @TargetApi(VERSION_CODES.LOLLIPOP)

12345678910