/development/ndk/platforms/android-17/samples/Teapot/src/com/sample/teapot/ |
D | TeapotNativeActivity.java | 35 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/ |
D | MoreTeapotsNativeActivity.java | 37 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/ |
D | Utils.java | 60 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/ |
D | Utils.java | 77 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/ |
D | ImmersiveModeFragment.java | 79 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/ |
D | ScaleGestureDetectorCompat.java | 39 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in getCurrentSpanX() 51 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in getCurrentSpanY()
|
D | OverScrollerCompat.java | 38 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/ |
D | Utils.java | 32 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/ |
D | TabHelper.java | 52 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/ |
D | ActionBarHelper.java | 43 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/ |
D | CardActionButton.java | 51 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/ |
D | NDKHelper.java | 183 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/ |
D | NDKHelper.java | 183 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/ |
D | ActionBarCompat.java | 38 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in setDisplayHomeAsUpEnabled()
|
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/ |
D | WordActivity.java | 43 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/ |
D | InputManagerCompat.java | 133 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in getInputManager()
|
/development/samples/training/basic/FragmentBasics/src/com/example/fragments/ |
D | HeadlinesFragment.java | 39 int layout = Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB ? in onCreate()
|
/development/samples/browseable/SwipeRefreshMultipleViews/src/com.example.android.swiperefreshmultipleviews/ |
D | MultiSwipeRefreshLayout.java | 89 if (android.os.Build.VERSION.SDK_INT >= 14) { in canViewScrollUp()
|
/development/samples/browseable/FragmentTransition/src/com.example.android.common/view/ |
D | SlidingTabLayout.java | 177 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/ |
D | SlidingTabLayout.java | 177 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/ |
D | SlidingTabLayout.java | 177 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/ |
D | SlidingTabLayout.java | 177 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/ |
D | SlidingTabLayout.java | 177 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/ |
D | SlidingTabLayout.java | 177 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/ |
D | SlidingTabLayout.java | 177 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()
|