Home
last modified time | relevance | path

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

1234

/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DUtils.java60 return Build.VERSION.SDK_INT >= VERSION_CODES.FROYO; in hasFroyo()
64 return Build.VERSION.SDK_INT >= VERSION_CODES.GINGERBREAD; in hasGingerbread()
68 return Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB; in hasHoneycomb()
72 return Build.VERSION.SDK_INT >= VERSION_CODES.HONEYCOMB_MR1; in hasHoneycombMR1()
76 return Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN; in hasJellyBean()
80 return Build.VERSION.SDK_INT >= VERSION_CODES.KITKAT; in hasKitKat()
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
DUtils.java77 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.GINGERBREAD; in hasGingerbread()
85 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB; in hasHoneycomb()
93 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB_MR1; in hasHoneycombMR1()
101 return Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH; in hasICS()
/development/samples/browseable/ImmersiveMode/src/com.example.android.immersivemode/
DImmersiveModeFragment.java79 if (Build.VERSION.SDK_INT >= 14) { in toggleHideyBar()
84 if (Build.VERSION.SDK_INT >= 16) { in toggleHideyBar()
96 if (Build.VERSION.SDK_INT >= 18) { in toggleHideyBar()
/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DScaleGestureDetectorCompat.java39 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in getCurrentSpanX()
51 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in getCurrentSpanY()
DOverScrollerCompat.java38 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in getCurrVelocity()
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/
DUtils.java32 return Build.VERSION.SDK_INT >= VERSION_CODES.JELLY_BEAN_MR2; in hasJellyBeanMR2()
39 return Build.VERSION.SDK_INT >= VERSION_CODES.KITKAT; in hasKitKat()
/development/samples/training/TabCompat/src/com/example/android/tabcompat/lib/
DTabHelper.java52 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in createInstance()
66 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in newTab()
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCardActionButton.java52 if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.KITKAT) { in onTouchEvent()
63 if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.KITKAT) { in onTouchEvent()
/development/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceNetworkVars.java79 VAR_MAP.put("build.version.incremental", new StaticVarGetter(Build.VERSION.INCREMENTAL));
80 … VAR_MAP.put("build.version.release", new StaticVarGetter(Build.VERSION.RELEASE_OR_CODENAME));
81 … VAR_MAP.put("build.version.sdk", new StaticVarGetter(Integer.toString(Build.VERSION.SDK_INT)));
82 VAR_MAP.put("build.version.codename", new StaticVarGetter(Build.VERSION.CODENAME));
/development/ide/clion/frameworks/base/
DCMakeLists.txt1 cmake_minimum_required(VERSION 3.6)
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DWordActivity.java43 if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB){ in onCreate()
72 if(Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB){ in onCreateOptionsMenu()
/development/samples/training/threadsample/src/com/example/android/threadsample/
DConstants.java66 + android.os.Build.VERSION.RELEASE + ";"
/development/samples/ControllerSample/src/com/example/inputmanagercompat/
DInputManagerCompat.java133 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in getInputManager()
/development/samples/ThemedNavBarKeyboard/src/com/example/android/themednavbarkeyboard/
DThemedNavBarKeyboard.java45 private static final boolean IS_RELEASE_BUILD = Build.VERSION.CODENAME.equals("REL");
53 ? Build.VERSION.SDK_INT
54 : Build.VERSION.SDK_INT + 1;
/development/samples/BusinessCard/src/com/example/android/businesscard/
DContactAccessor.java55 int sdkVersion = Integer.parseInt(Build.VERSION.SDK); // Cupcake style in getInstance()
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/
DRuntimePermissionsFragment.java36 if (Build.VERSION.SDK_INT < 23) { in onCreateView()
/development/samples/browseable/CommitContentSampleIME/src/com.example.android.commitcontent.ime/
DImageKeyboard.java103 if (Build.VERSION.SDK_INT >= 25) { in doCommitContent()
151 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.M) { in validatePackageName()
166 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.KITKAT) { in validatePackageName()
/development/samples/training/basic/FragmentBasics/src/com/example/fragments/
DHeadlinesFragment.java39 int layout = Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB ? in onCreate()
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.swiperefreshmultipleviews/
DMultiSwipeRefreshLayout.java89 if (android.os.Build.VERSION.SDK_INT >= 14) { in canViewScrollUp()
/development/ide/clion/test/vts-testcase/
DCMakeLists.txt1 cmake_minimum_required(VERSION 3.6)
/development/ide/clion/frameworks/base/libs/hwui/
DCMakeLists.txt1 cmake_minimum_required(VERSION 3.6)
/development/samples/browseable/AppRestrictionEnforcer/src/com.example.android.apprestrictionenforcer/
DMainActivity.java43 if (Build.VERSION.SDK_INT < 24) { in onCreate()
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DDetailActivity.java43 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in launch()
/development/ide/clion/frameworks/native/
DCMakeLists.txt1 cmake_minimum_required(VERSION 3.6)
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.swiperefreshlistfragment/
DSwipeRefreshListFragment.java153 if (android.os.Build.VERSION.SDK_INT >= 14) { in canListViewScrollUp()

1234