Home
last modified time | relevance | path

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

123

/development/ndk/platforms/android-17/samples/Teapot/src/com/sample/teapot/
DTeapotNativeActivity.java35 int SDK_INT = android.os.Build.VERSION.SDK_INT; in onCreate() local
36 if(SDK_INT >= 19) in onCreate()
56 int SDK_INT = android.os.Build.VERSION.SDK_INT; in onResume() local
57 if(SDK_INT >= 11 && SDK_INT < 14) in onResume()
61 else if(SDK_INT >= 14 && SDK_INT < 19) in onResume()
65 else if(SDK_INT >= 19) in onResume()
/development/ndk/platforms/android-18/samples/MoreTeapots/src/com/sample/moreteapots/
DMoreTeapotsNativeActivity.java37 int SDK_INT = android.os.Build.VERSION.SDK_INT; in onCreate() local
39 if(SDK_INT >= 19) in onCreate()
58 int SDK_INT = android.os.Build.VERSION.SDK_INT; in onResume() local
59 if(SDK_INT >= 11 && SDK_INT < 14) in onResume()
63 else if(SDK_INT >= 14 && SDK_INT < 19) in onResume()
67 else if(SDK_INT >= 19) in onResume()
/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/SmsSample/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/ActionBarCompat/src/com/example/android/actionbarcompat/
DActionBarHelper.java43 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in createInstance()
45 } else if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in createInstance()
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCardActionButton.java51 if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.KITKAT) { in onTouchEvent()
62 if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.KITKAT) { in onTouchEvent()
/development/ndk/platforms/android-18/samples/MoreTeapots/src/com/sample/helper/
DNDKHelper.java183 int SDK_INT = android.os.Build.VERSION.SDK_INT; in getNativeAudioBufferSize() local
184 if (SDK_INT >= 17) in getNativeAudioBufferSize()
/development/ndk/platforms/android-17/samples/Teapot/src/com/sample/helper/
DNDKHelper.java183 int SDK_INT = android.os.Build.VERSION.SDK_INT; in getNativeAudioBufferSize() local
184 if (SDK_INT >= 17) in getNativeAudioBufferSize()
/development/samples/SupportAppNavigation/src/com/example/android/support/appnavigation/app/
DActionBarCompat.java38 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in setDisplayHomeAsUpEnabled()
/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/ControllerSample/src/com/example/inputmanagercompat/
DInputManagerCompat.java133 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in getInputManager()
/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/samples/browseable/FragmentTransition/src/com.example.android.common/view/
DSlidingTabLayout.java177 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in createDefaultTabView()
186 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in createDefaultTabView()
/development/samples/browseable/SwipeRefreshListFragment/src/com.example.android.common/view/
DSlidingTabLayout.java177 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in createDefaultTabView()
186 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in createDefaultTabView()
/development/samples/browseable/AdapterTransition/src/com.example.android.common/view/
DSlidingTabLayout.java177 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in createDefaultTabView()
186 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in createDefaultTabView()
/development/samples/browseable/SwipeRefreshLayoutBasic/src/com.example.android.common/view/
DSlidingTabLayout.java177 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in createDefaultTabView()
186 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in createDefaultTabView()
/development/samples/browseable/SlidingTabsBasic/src/com.example.android.common/view/
DSlidingTabLayout.java177 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in createDefaultTabView()
186 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in createDefaultTabView()
/development/samples/browseable/BasicTransition/src/com.example.android.common/view/
DSlidingTabLayout.java177 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in createDefaultTabView()
186 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in createDefaultTabView()
/development/samples/browseable/SlidingTabsColors/src/com.example.android.common/view/
DSlidingTabLayout.java177 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in createDefaultTabView()
186 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in createDefaultTabView()

123