Lines Matching refs:uri
48 public BaseImageList(ContentResolver resolver, Uri uri, int sort,
51 mBaseUri = uri;
84 // does our uri already have an id (single image query)?
168 private static String getPathWithoutId(Uri uri) {
169 String path = uri.getPath();
174 private boolean isChildImageUri(Uri uri) {
180 return Util.equals(base.getScheme(), uri.getScheme())
181 && Util.equals(base.getHost(), uri.getHost())
182 && Util.equals(base.getAuthority(), uri.getAuthority())
183 && Util.equals(base.getPath(), getPathWithoutId(uri));
186 public IImage getImageForUri(Uri uri) {
187 if (!isChildImageUri(uri)) return null;
191 matchId = ContentUris.parseId(uri);
193 Log.i(TAG, "fail to get id in: " + uri, ex);