Lines Matching refs:resource
204 public T inflate(int resource) {
205 return inflate(resource, null);
210 * Inflate a new item hierarchy from the specified xml resource. Throws
213 * @param resource ID for an XML resource to load (e.g.,
220 public T inflate(int resource, T root) {
221 return inflate(resource, root, root != null);
245 * Inflate a new hierarchy from the specified xml resource. Throws
248 * @param resource ID for an XML resource to load (e.g.,
260 public T inflate(int resource, T root, boolean attachToRoot) {
261 if (DEBUG) Log.v(TAG, "INFLATING from resource: " + resource);
262 XmlResourceParser parser = getContext().getResources().getXml(resource);