Home
last modified time | relevance | path

Searched refs:res (Results 1 – 25 of 94) sorted by relevance

1234

/developers/samples/android/content/multiuser/AppRestrictions/Application/src/main/java/com/example/android/apprestrictions/
DGetRestrictionsReceiver.java24 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/
DMainActivity.java20 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()
DSampleGridPagerAdapter.java22 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/
DBackgroundPickers.java20 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/
DRecyclingBitmapDrawable.java19 import android.content.res.Resources;
40 public RecyclingBitmapDrawable(Resources res, Bitmap bitmap) { in RecyclingBitmapDrawable() argument
41 super(res, bitmap); in RecyclingBitmapDrawable()
DImageResizer.java21 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/
Dbuild.gradle35 res.srcDirs "src/${dir}/res"
/developers/samples/android/system/RuntimePermissionsBasic/kotlinApp/Application/
Dbuild.gradle38 res.srcDirs "src/${dir}/res"
/developers/samples/android/ui/views/CardView/kotlinApp/Application/
Dbuild.gradle25 res.srcDirs "src/main/res"
/developers/samples/android/wearable/wear/RuntimePermissionsWear/Shared/
Dbuild.gradle49 res.srcDirs "src/${dir}/res"
/developers/samples/android/wearable/wear/WearNotifications/Shared/
Dbuild.gradle51 res.srcDirs "src/${dir}/res"
/developers/samples/android/ui/views/NavigationDrawer/kotlinApp/Application/
Dbuild.gradle23 res.srcDirs "src/main/res"
/developers/samples/android/background/alarms/RepeatingAlarm/Application/
Dbuild.gradle60 res.srcDirs "src/${dir}/res"
/developers/samples/android/input/autofill/AutofillFramework/Application/
Dbuild.gradle26 res.srcDirs "src/${dir}/res"
/developers/samples/android/input/autofill/AutofillFramework/kotlinApp/Application/
Dbuild.gradle40 res.srcDirs "src/${dir}/res"
/developers/samples/android/ui/window/AdvancedImmersiveMode/Application/
Dbuild.gradle60 res.srcDirs "src/${dir}/res"
/developers/samples/android/wearable/wear/AlwaysOn/Wearable/
Dbuild.gradle72 res.srcDirs "src/${dir}/res"
/developers/samples/android/content/documentsUi/ContentProviderPaging/app/src/main/java/com/example/android/contentproviderpaging/
DImageAdapter.java22 import android.content.res.Resources;
23 import android.support.v4.content.res.ResourcesCompat;
/developers/samples/android/wearable/wear/WearHighBandwidthNetworking/Wearable/
Dbuild.gradle72 res.srcDirs "src/${dir}/res"
/developers/samples/android/wearable/wear/WearVerifyRemoteApp/Wearable/
Dbuild.gradle71 res.srcDirs "src/${dir}/res"
/developers/samples/android/wearable/wear/WearComplicationProvidersTestSuite/Wearable/
Dbuild.gradle71 res.srcDirs "src/${dir}/res"
/developers/samples/android/content/ShareActionProvider/Application/src/main/java/com/example/android/shareactionprovider/content/
DAssetProvider.java22 import android.content.res.AssetFileDescriptor;
23 import android.content.res.AssetManager;
/developers/samples/android/media/MediaBrowserService/Application/
Dbuild.gradle59 res.srcDirs "src/${dir}/res"
/developers/samples/android/wearable/wear/WearDrawers/Wearable/
Dbuild.gradle72 res.srcDirs "src/${dir}/res"
/developers/samples/android/common/src/java/com/example/android/common/assetprovider/
DAssetProvider.java22 import android.content.res.AssetFileDescriptor;
23 import android.content.res.AssetManager;

1234