/developers/samples/android/content/multiuser/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/ |
D | GetRestrictionsReceiver.java | 24 import android.content.res.Resources; 57 public static void populateBooleanEntry(Resources res, RestrictionEntry entry) { in populateBooleanEntry() argument 59 entry.setTitle(res.getString(R.string.boolean_entry_title)); in populateBooleanEntry() 63 public static void populateChoiceEntry(Resources res, RestrictionEntry reSingleChoice) { in populateChoiceEntry() argument 64 String[] choiceEntries = res.getStringArray(R.array.choice_entry_entries); in populateChoiceEntry() 65 String[] choiceValues = res.getStringArray(R.array.choice_entry_values); in populateChoiceEntry() 69 reSingleChoice.setTitle(res.getString(R.string.choice_entry_title)); in populateChoiceEntry() 76 public static void populateMultiEntry(Resources res, RestrictionEntry reMultiSelect) { in populateMultiEntry() argument 77 String[] multiEntries = res.getStringArray(R.array.multi_entry_entries); in populateMultiEntry() 78 String[] multiValues = res.getStringArray(R.array.multi_entry_values); in populateMultiEntry() [all …]
|
/developers/samples/android/deprecated/wearable/wear/GridViewPager/Wearable/src/main/java/com/example/android/wearable/gridviewpager/ |
D | MainActivity.java | 20 import android.content.res.Resources; 34 final Resources res = getResources(); in onCreate() local 43 int rowMargin = res.getDimensionPixelOffset(R.dimen.page_row_margin); in onCreate() 44 int colMargin = res.getDimensionPixelOffset(round ? in onCreate()
|
D | SampleGridPagerAdapter.java | 22 import android.content.res.Resources; 118 Resources res = mContext.getResources(); in cardFragment() local 120 CardFragment.create(res.getText(titleRes), res.getText(textRes)); in cardFragment() 123 res.getDimensionPixelSize(R.dimen.card_margin_bottom)); in cardFragment()
|
/developers/samples/android/deprecated/wearable/wear/Notifications/Application/src/main/java/com/example/android/support/wearable/notifications/ |
D | BackgroundPickers.java | 20 import android.content.res.Resources; 60 Resources res = mContainer.getResources(); in generatePickers() local 64 label.setText(String.format(res.getString(R.string.bg_picker_label), i+1)); in generatePickers() 99 Integer[] res = new Integer[mPickers.size()]; in getRes() local 101 res[i] = getRes(i); in getRes() 103 return res; in getRes()
|
/developers/samples/android/ui/graphics/DisplayingBitmaps/Application/src/main/java/com/example/android/displayingbitmaps/util/ |
D | RecyclingBitmapDrawable.java | 19 import android.content.res.Resources; 40 public RecyclingBitmapDrawable(Resources res, Bitmap bitmap) { in RecyclingBitmapDrawable() argument 41 super(res, bitmap); in RecyclingBitmapDrawable()
|
D | ImageResizer.java | 21 import android.content.res.Resources; 115 public static Bitmap decodeSampledBitmapFromResource(Resources res, int resId, in decodeSampledBitmapFromResource() argument 122 BitmapFactory.decodeResource(res, resId, options); in decodeSampledBitmapFromResource() 135 return BitmapFactory.decodeResource(res, resId, options); in decodeSampledBitmapFromResource()
|
/developers/samples/android/system/RuntimePermissionsBasic/Application/ |
D | build.gradle | 35 res.srcDirs "src/${dir}/res"
|
/developers/samples/android/system/RuntimePermissionsBasic/kotlinApp/Application/ |
D | build.gradle | 38 res.srcDirs "src/${dir}/res"
|
/developers/samples/android/ui/views/CardView/kotlinApp/Application/ |
D | build.gradle | 25 res.srcDirs "src/main/res"
|
/developers/samples/android/wearable/wear/RuntimePermissionsWear/Shared/ |
D | build.gradle | 49 res.srcDirs "src/${dir}/res"
|
/developers/samples/android/wearable/wear/WearNotifications/Shared/ |
D | build.gradle | 51 res.srcDirs "src/${dir}/res"
|
/developers/samples/android/ui/views/NavigationDrawer/kotlinApp/Application/ |
D | build.gradle | 23 res.srcDirs "src/main/res"
|
/developers/samples/android/background/alarms/RepeatingAlarm/Application/ |
D | build.gradle | 60 res.srcDirs "src/${dir}/res"
|
/developers/samples/android/input/autofill/AutofillFramework/Application/ |
D | build.gradle | 26 res.srcDirs "src/${dir}/res"
|
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/ |
D | build.gradle | 40 res.srcDirs "src/${dir}/res"
|
/developers/samples/android/ui/window/AdvancedImmersiveMode/Application/ |
D | build.gradle | 60 res.srcDirs "src/${dir}/res"
|
/developers/samples/android/wearable/wear/AlwaysOn/Wearable/ |
D | build.gradle | 72 res.srcDirs "src/${dir}/res"
|
/developers/samples/android/content/documentsUi/ContentProviderPaging/app/src/main/java/com/example/android/contentproviderpaging/ |
D | ImageAdapter.java | 22 import android.content.res.Resources; 23 import android.support.v4.content.res.ResourcesCompat;
|
/developers/samples/android/wearable/wear/WearHighBandwidthNetworking/Wearable/ |
D | build.gradle | 72 res.srcDirs "src/${dir}/res"
|
/developers/samples/android/wearable/wear/WearVerifyRemoteApp/Wearable/ |
D | build.gradle | 71 res.srcDirs "src/${dir}/res"
|
/developers/samples/android/wearable/wear/WearComplicationProvidersTestSuite/Wearable/ |
D | build.gradle | 71 res.srcDirs "src/${dir}/res"
|
/developers/samples/android/content/ShareActionProvider/Application/src/main/java/com/example/android/shareactionprovider/content/ |
D | AssetProvider.java | 22 import android.content.res.AssetFileDescriptor; 23 import android.content.res.AssetManager;
|
/developers/samples/android/media/MediaBrowserService/Application/ |
D | build.gradle | 59 res.srcDirs "src/${dir}/res"
|
/developers/samples/android/wearable/wear/WearDrawers/Wearable/ |
D | build.gradle | 72 res.srcDirs "src/${dir}/res"
|
/developers/samples/android/common/src/java/com/example/android/common/assetprovider/ |
D | AssetProvider.java | 22 import android.content.res.AssetFileDescriptor; 23 import android.content.res.AssetManager;
|