Home
last modified time | relevance | path

Searched refs:Resources (Results 1 – 25 of 54) sorted by relevance

123

/development/samples/HoneycombGallery/src/com/example/android/hcgallery/
DDirectoryEntry.java19 import android.content.res.Resources;
37 public Drawable getDrawable(Resources res) { in getDrawable()
41 public Bitmap getBitmap(Resources res) { in getBitmap()
/development/samples/browseable/DisplayingBitmaps/src/com.example.android.displayingbitmaps/util/
DRecyclingBitmapDrawable.java19 import android.content.res.Resources;
40 public RecyclingBitmapDrawable(Resources res, Bitmap bitmap) { in RecyclingBitmapDrawable()
DImageResizer.java21 import android.content.res.Resources;
115 public static Bitmap decodeSampledBitmapFromResource(Resources res, int resId, in decodeSampledBitmapFromResource()
DImageWorker.java20 import android.content.res.Resources;
53 protected Resources mResources;
414 public AsyncDrawable(Resources res, Bitmap bitmap, BitmapWorkerTask bitmapWorkerTask) { in AsyncDrawable()
/development/samples/browseable/MediaBrowserService/src/com.example.android.mediabrowserservice/utils/
DResourceHelper.java22 import android.content.res.Resources;
44 Resources.Theme theme = packageContext.getTheme(); in getThemeColor()
/development/samples/devbytes/animation/ActivityAnimations/src/com/example/android/activityanim/
DBitmapUtils.java23 import android.content.res.Resources;
59 public ArrayList<PictureData> loadPhotos(Resources resources) { in loadPhotos()
75 static Bitmap getBitmap(Resources resources, int resourceId) { in getBitmap()
DActivityAnimations.java24 import android.content.res.Resources;
69 Resources resources = getResources(); in onCreate()
/development/samples/browseable/AppRestrictions/src/com.example.android.apprestrictions/
DGetRestrictionsReceiver.java24 import android.content.res.Resources;
57 public static void populateBooleanEntry(Resources res, RestrictionEntry entry) { in populateBooleanEntry()
63 public static void populateChoiceEntry(Resources res, RestrictionEntry reSingleChoice) { in populateChoiceEntry()
76 public static void populateMultiEntry(Resources res, RestrictionEntry reMultiSelect) { in populateMultiEntry()
92 Resources res = context.getResources(); in initRestrictions()
/development/samples/ApiDemos/src/com/example/android/apis/content/
DResourcesSample.java25 import android.content.res.Resources;
76 Resources res = context.getResources(); in onCreate()
/development/samples/SoftKeyboard/src/com/example/android/softkeyboard/
DLatinKeyboard.java20 import android.content.res.Resources;
65 protected Key createKeyFromXml(Resources res, Row parent, int x, int y, in createKeyFromXml()
109 void setImeOptions(Resources res, int options) { in setImeOptions()
149 public LatinKey(Resources res, Keyboard.Row parent, int x, int y, in LatinKey()
/development/samples/browseable/GridViewPager/src/com.example.android.wearable.gridviewpager/
DMainActivity.java20 import android.content.res.Resources;
34 final Resources res = getResources(); in onCreate()
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DContactPhotoBinder.java21 import android.content.res.Resources;
47 private final Resources mResources;
DAdapters.java21 import android.content.res.Resources;
507 Resources.NotFoundException rnf = new Resources.NotFoundException( in loadAdapter()
513 Resources.NotFoundException rnf = new Resources.NotFoundException( in loadAdapter()
602 private final Resources mResources;
620 Resources resources = mResources; in parse()
693 Resources resources = mResources; in parseBindTag()
800 Resources resources = mResources; in findMap()
834 Resources resources = mResources; in findTransformation()
/development/apps/BuildWidget/src/com/android/buildwidget/
DBuildWidget.java26 import android.content.res.Resources;
62 Resources res = context.getResources(); in buildUpdate()
/development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
DInteractiveWatchFaceService.java19 import android.content.res.Resources;
91 Resources resources = InteractiveWatchFaceService.this.getResources(); in onCreate()
115 Resources resources = InteractiveWatchFaceService.this.getResources(); in onApplyWindowInsets()
/development/samples/browseable/Notifications/Application/src/com.example.android.support.wearable.notifications/
DBackgroundPickers.java20 import android.content.res.Resources;
60 Resources res = mContainer.getResources(); in generatePickers()
/development/samples/WiktionarySimple/src/com/example/android/simplewiktionary/
DWordWidget.java29 import android.content.res.Resources;
69 Resources res = context.getResources(); in buildUpdate()
/development/samples/Wiktionary/src/com/example/android/wiktionary/
DWordWidget.java29 import android.content.res.Resources;
80 Resources res = context.getResources(); in buildUpdate()
/development/samples/training/ContactsList/src/com/example/android/contactslist/util/
DImageLoader.java20 import android.content.res.Resources;
52 private Resources mResources;
295 public AsyncDrawable(Resources res, Bitmap bitmap, BitmapWorkerTask bitmapWorkerTask) { in AsyncDrawable()
/development/samples/SearchableDictionary/src/com/example/android/searchabledict/
DDictionaryDatabase.java22 import android.content.res.Resources;
204 final Resources resources = mHelperContext.getResources(); in loadWords()
/development/apps/NinePatchLab/src/com/android/ninepatch/
DNinePatchLab.java23 import android.content.res.Resources;
96 Resources res = context.getResources(); in NPView()
/development/tools/privapp_permissions/
Dprivapp_permissions.py129 class Resources(object): class
140 self.adb = Resources._resolve_adb(adb_path)
141 self.aapt = Resources._resolve_aapt(aapt_path)
568 tool_resources = Resources(
/development/samples/browseable/Timer/src/com.example.android.wearable.timer/
DSetTimerActivity.java26 import android.content.res.Resources;
63 Resources res = getResources(); in onCreate()
/development/samples/ApiDemos/src/com/example/android/apis/app/
DPresentationWithMediaRouterActivity.java27 import android.content.res.Resources;
275 Resources r = getContext().getResources(); in onCreate()
/development/samples/Snake/src/com/example/android/snake/
DSnakeView.java20 import android.content.res.Resources;
148 Resources r = this.getContext().getResources(); in initSnakeView()
343 Resources res = getContext().getResources(); in setMode()

123