Lines Matching refs:resource
103 addLabelToRoot(root, "Prescaled resource drawable");
132 addLabelToRoot(root, "No-dpi resource drawable");
139 addLabelToRoot(root, "Prescaled 9-patch resource drawable");
164 private void addBitmapDrawable(LinearLayout layout, int resource, boolean scale) {
166 bitmap = loadAndPrintDpi(resource, scale);
179 private void addResourceDrawable(LinearLayout layout, int resource) {
182 final Drawable d = getResources().getDrawable(resource);
190 private void addCanvasBitmap(LinearLayout layout, int resource, boolean scale) {
192 bitmap = loadAndPrintDpi(resource, scale);
201 private void addNinePatchResourceDrawable(LinearLayout layout, int resource) {
204 final Drawable d = getResources().getDrawable(resource);
207 Log.i("foo", "9-patch #" + Integer.toHexString(resource)