Home
last modified time | relevance | path

Searched refs:Build (Results 1 – 25 of 116) sorted by relevance

12345

/development/samples/training/InteractiveChart/src/com/example/android/interactivechart/
DScaleGestureDetectorCompat.java20 import android.os.Build;
37 @TargetApi(Build.VERSION_CODES.HONEYCOMB)
39 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in getCurrentSpanX()
49 @TargetApi(Build.VERSION_CODES.HONEYCOMB)
51 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.HONEYCOMB) { in getCurrentSpanY()
DOverScrollerCompat.java20 import android.os.Build;
36 @TargetApi(Build.VERSION_CODES.ICE_CREAM_SANDWICH)
38 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.ICE_CREAM_SANDWICH) { in getCurrVelocity()
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
DUtils.java20 import android.os.Build;
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/cmds/monkey/src/com/android/commands/monkey/
DMonkeySourceNetworkVars.java19 import android.os.Build;
64 VAR_MAP.put("build.board", new StaticVarGetter(Build.BOARD));
65 VAR_MAP.put("build.brand", new StaticVarGetter(Build.BRAND));
66 VAR_MAP.put("build.device", new StaticVarGetter(Build.DEVICE));
67 VAR_MAP.put("build.display", new StaticVarGetter(Build.DISPLAY));
68 VAR_MAP.put("build.fingerprint", new StaticVarGetter(Build.FINGERPRINT));
69 VAR_MAP.put("build.host", new StaticVarGetter(Build.HOST));
70 VAR_MAP.put("build.id", new StaticVarGetter(Build.ID));
71 VAR_MAP.put("build.model", new StaticVarGetter(Build.MODEL));
72 VAR_MAP.put("build.product", new StaticVarGetter(Build.PRODUCT));
[all …]
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DUtils.java20 import android.os.Build;
21 import android.os.Build.VERSION_CODES;
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/TabCompat/src/com/example/android/tabcompat/lib/
DTabHelper.java19 import android.os.Build;
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/tools/repo_diff/service/repodiff/constants/
Dtechareas.go6 Build const
28 Build: "Build",
80 "662927ab0d7dfbbf155b83d4fe641ae3e201c65a0754d3042086333c34eeb790": Build,
124 "a974d8ab9346e4d82d6a567c7bd35bb2f5312978ed89c927b09c626215691d2b": Build,
159 "e065aab9750134f1de64479959e02ad03732f912f64b3ee479d50b4031bd84ae": Build,
178 "518cad57ef2c7425d65f80f21bbcda676ae8962da823ba4953698c401ead2ad7": Build,
179 "5ad23d39598d2536d063cd955b5605c55d794ff5d29752699f48112aeccbeef1": Build,
/development/samples/browseable/BatchStepSensor/src/com.example.android.batchstepsensor/cardstream/
DCardActionButton.java21 import android.os.Build;
52 if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.KITKAT) { in onTouchEvent()
63 if (Build.VERSION.SDK_INT <= Build.VERSION_CODES.KITKAT) { in onTouchEvent()
DDefaultCardStreamAnimator.java25 import android.os.Build;
32 @TargetApi(Build.VERSION_CODES.HONEYCOMB)
46 @TargetApi(Build.VERSION_CODES.HONEYCOMB_MR2)
63 @TargetApi(Build.VERSION_CODES.HONEYCOMB_MR2)
75 @TargetApi(Build.VERSION_CODES.HONEYCOMB)
96 @TargetApi(Build.VERSION_CODES.HONEYCOMB)
/development/samples/devbytes/telephony/SmsSampleProject/app/src/main/java/com/example/android/smssample/
DUtils.java21 import android.os.Build;
22 import android.os.Build.VERSION_CODES;
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/threadsample/src/com/example/android/threadsample/
DConstants.java66 + android.os.Build.VERSION.RELEASE + ";"
67 + Locale.getDefault().toString() + "; " + android.os.Build.DEVICE
68 + "/" + android.os.Build.ID + ")";
/development/samples/ControllerSample/src/com/example/inputmanagercompat/
DInputManagerCompat.java20 import android.os.Build;
133 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.JELLY_BEAN) { in getInputManager()
/development/samples/BusinessCard/src/com/example/android/businesscard/
DContactAccessor.java22 import android.os.Build;
55 int sdkVersion = Integer.parseInt(Build.VERSION.SDK); // Cupcake style in getInstance()
56 if (sdkVersion < Build.VERSION_CODES.ECLAIR) { in getInstance()
/development/samples/browseable/ImmersiveMode/src/com.example.android.immersivemode/
DImmersiveModeFragment.java18 import android.os.Build;
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/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/
DDetailActivity.java23 import android.os.Build;
40 @TargetApi(Build.VERSION_CODES.LOLLIPOP)
43 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP) { in launch()
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DWordActivity.java26 import android.os.Build;
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/ThemedNavBarKeyboard/src/com/example/android/themednavbarkeyboard/
DThemedNavBarKeyboard.java25 import android.os.Build;
45 private static final boolean IS_RELEASE_BUILD = Build.VERSION.CODENAME.equals("REL");
53 ? Build.VERSION.SDK_INT
54 : Build.VERSION.SDK_INT + 1;
62 if (BuildCompat.EFFECTIVE_SDK_INT > Build.VERSION_CODES.P) { in onCreate()
177 if (BuildCompat.EFFECTIVE_SDK_INT <= Build.VERSION_CODES.O_MR1) { in KeyboardLayoutView()
/development/samples/browseable/RuntimePermissions/src/com.example.android.system.runtimepermissions/
DRuntimePermissionsFragment.java19 import android.os.Build;
36 if (Build.VERSION.SDK_INT < 23) { in onCreateView()
/development/samples/CrossCompatibility/src/com/example/android/touchexample/
DVersionedGestureDetector.java19 import android.os.Build;
31 final int sdkVersion = Integer.parseInt(Build.VERSION.SDK); in newInstance()
33 if (sdkVersion < Build.VERSION_CODES.ECLAIR) { in newInstance()
35 } else if (sdkVersion < Build.VERSION_CODES.FROYO) { in newInstance()
/development/apps/BuildWidget/src/com/android/buildwidget/
DBuildWidget.java72 updateViews.setTextViewText(R.id.build_info, android.os.Build.ID); in buildUpdate()
74 DateUtils.formatDateTime(context, android.os.Build.TIME, in buildUpdate()
76 updateViews.setTextViewText(R.id.build_extra, android.os.Build.FINGERPRINT); in buildUpdate()
/development/samples/browseable/ActivitySceneTransitionBasic/src/com.example.android.activityscenetransitionbasic/
DDetailActivity.java22 import android.os.Build;
77 if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.LOLLIPOP && addTransitionListener()) { in loadItem()
/development/samples/browseable/CommitContentSampleIME/src/com.example.android.commitcontent.ime/
DImageKeyboard.java26 import android.os.Build;
103 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/SlidingTabsBasic/src/com.example.android.common/view/
DSlidingTabLayout.java21 import android.os.Build;
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/SwipeRefreshMultipleViews/src/com.example.android.common/view/
DSlidingTabLayout.java21 import android.os.Build;
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()

12345