Home
last modified time | relevance | path

Searched refs:resource (Results 1 – 17 of 17) sorted by relevance

/development/samples/ApiDemos/src/com/example/android/apis/graphics/
DDensityActivity.java134 private void addBitmapDrawable(LinearLayout layout, int resource, boolean scale) { in addBitmapDrawable() argument
136 bitmap = loadAndPrintDpi(resource, scale); in addBitmapDrawable()
149 private void addResourceDrawable(LinearLayout layout, int resource) { in addResourceDrawable() argument
152 final Drawable d = getResources().getDrawable(resource); in addResourceDrawable()
160 private void addCanvasBitmap(LinearLayout layout, int resource, boolean scale) { in addCanvasBitmap() argument
162 bitmap = loadAndPrintDpi(resource, scale); in addCanvasBitmap()
171 private void addNinePatchResourceDrawable(LinearLayout layout, int resource) { in addNinePatchResourceDrawable() argument
174 final Drawable d = getResources().getDrawable(resource); in addNinePatchResourceDrawable()
177 Log.i("foo", "9-patch #" + Integer.toHexString(resource) in addNinePatchResourceDrawable()
/development/host/windows/usb/winusb/
DAdbWinUsbApi.rc17 //Microsoft Visual C++ generated resource script.
19 #include "resource.h"
24 // Generated from the TEXTINCLUDE 2 resource.
42 "resource.h\0"
/development/host/windows/usb/api/
DAdbWinApi.rc17 //Microsoft Visual C++ generated resource script.
19 #include "resource.h"
24 // Generated from the TEXTINCLUDE 2 resource.
42 "resource.h\0"
/development/samples/RenderScript/HelloCompute/src/com/example/android/rs/hellocompute/
DHelloCompute.java71 private Bitmap loadBitmap(int resource) { in loadBitmap() argument
74 return BitmapFactory.decodeResource(getResources(), resource, options); in loadBitmap()
/development/samples/WiFiDirectServiceDiscovery/src/com/example/android/wifidirect/discovery/
DWiFiDirectServicesList.java58 public WiFiDevicesAdapter(Context context, int resource, in WiFiDevicesAdapter() argument
60 super(context, resource, textViewResourceId, items); in WiFiDevicesAdapter()
/development/samples/browseable/ActionBarCompat-Basic/
D_index.jd9 displays action items. It covers inflating items from a menu resource, as well as adding
/development/samples/browseable/BasicRenderScript/src/com.example.android.basicrenderscript/
DMainActivity.java184 private Bitmap loadBitmap(int resource) { in loadBitmap() argument
187 return BitmapFactory.decodeResource(getResources(), resource, options); in loadBitmap()
/development/samples/MySampleRss/src/com/example/codelab/rssexample/
DMyRssReader2.java145 public RssDataAdapter(Context context, int resource, List objects) { in RssDataAdapter() argument
146 super(context, resource, objects); in RssDataAdapter()
DMyRssReader3.java153 public RssDataAdapter(Context context, int resource, List objects) { in RssDataAdapter() argument
154 super(context, resource, objects); in RssDataAdapter()
/development/samples/XmlAdapters/src/com/example/android/xmladapters/
DXmlDocumentProvider.java183 final String resource = uri.getQueryParameter("resource"); in query() local
184 if (resource != null) { in query()
186 getContext().getPackageName() + "/" + resource); in query()
DAdapters.java1233 final int resource = mTransformation.transformToResource(cursor, columnIndex); in bind() local
1234 if (resource == 0) return false; in bind()
1236 ((ImageView) view).setImageResource(resource); in bind()
/development/samples/SkeletonApp/
Dreadme.txt44 (all text before a '.' character) is taken as the resource name;
55 resulting resource name.
/development/samples/RenderScript/Levels/src/com/android/rs/levels/
DLevelsRSActivity.java186 private Bitmap loadBitmap(int resource) { in loadBitmap() argument
189 Bitmap b = BitmapFactory.decodeResource(getResources(), resource, options); in loadBitmap()
DLevelsDalvikActivity.java167 private Bitmap loadBitmap(int resource) { in loadBitmap() argument
170 Bitmap b = BitmapFactory.decodeResource(getResources(), resource, options); in loadBitmap()
/development/samples/browseable/RenderScriptIntrinsic/src/com.example.android.renderscriptintrinsic/
DMainActivity.java332 private Bitmap loadBitmap(int resource) { in loadBitmap() argument
335 return BitmapFactory.decodeResource(getResources(), resource, options); in loadBitmap()
/development/tools/logblame/
Dsample.txt2091 A resource was acquired at attached stack trace but never released. See java.io.Closeable for infor…
/development/samples/SearchableDictionary/res/raw/
Ddefinitions.txt839 resource - n. a source of aid or support that may be drawn upon when needed