/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/common/ |
D | ApiHelper.java | 30 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/ |
D | KeyboardThemeTests.java | 26 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/ |
D | CompatUtils.java | 49 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/ |
D | ApiHelper.java | 30 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 …]
|
D | Size.java | 23 import android.os.Build.VERSION_CODES; 45 @TargetApi(VERSION_CODES.LOLLIPOP) 150 @TargetApi(VERSION_CODES.LOLLIPOP)
|
/packages/apps/Messaging/src/com/android/messaging/util/ |
D | OsUtil.java | 51 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/ |
D | KeyboardTheme.java | 22 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/ |
D | PermissionUtils.java | 17 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/ |
D | AdditionalSubtypeUtilsTests.java | 110 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/ |
D | SettingsCompat.java | 20 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/ |
D | Utilities.java | 104 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/ |
D | CursorAnchorInfoCompatWrapper.java | 53 @TargetApi(Build.VERSION_CODES.LOLLIPOP) 56 if (BuildCompatUtils.EFFECTIVE_SDK_INT < Build.VERSION_CODES.LOLLIPOP) { in wrap() 115 @TargetApi(Build.VERSION_CODES.LOLLIPOP)
|
D | InputMethodSubtypeCompatUtils.java | 44 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()
|
D | AppWorkaroundsUtils.java | 20 import android.os.Build.VERSION_CODES; 43 return mPackageInfo.applicationInfo.targetSdkVersion < VERSION_CODES.JELLY_BEAN; in isBeforeJellyBean()
|
D | UserDictionaryCompatUtils.java | 30 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/ |
D | EditorUiUtilsTest.java | 151 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/ |
D | Utils.java | 138 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/ |
D | SurfaceTextureScreenNail.java | 27 @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/ |
D | Utils.java | 42 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/ |
D | TunableTvView.java | 271 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/ |
D | SuggestionSpanUtilsTest.java | 93 @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/ |
D | Wallpaper.java | 72 @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/ |
D | FaceDetect.java | 20 import android.os.Build.VERSION_CODES; 30 @TargetApi(VERSION_CODES.LOLLIPOP)
|
/packages/apps/Camera2/src/com/android/camera/ui/focus/ |
D | LensRangeCalculator.java | 21 import android.os.Build.VERSION_CODES; 29 @TargetApi(VERSION_CODES.LOLLIPOP)
|
/packages/apps/Camera2/src/com/android/camera/one/v2/common/ |
D | ControlSceneModeSelector.java | 21 import android.os.Build.VERSION_CODES; 30 @TargetApi(VERSION_CODES.LOLLIPOP)
|