Lines Matching refs:modelId
179 public @Nullable Cursor getItem(String modelId) { in getItem() argument
180 Integer pos = mPositions.get(modelId); in getItem()
183 Log.d(TAG, "Unabled to find cursor position for modelId: " + modelId); in getItem()
191 "Unabled to move cursor to position " + pos + " for modelId: " + modelId); in getItem()
207 public @Nullable DocumentInfo getDocument(String modelId) { in getDocument() argument
208 final Cursor cursor = getItem(modelId); in getDocument()
219 for (String modelId: selection) { in loadDocuments()
220 doc = loadDocument(modelId, filter); in loadDocuments()
229 for (String modelId: selection) { in hasDocuments()
230 if (loadDocument(modelId, filter) != null) { in hasDocuments()
240 private @Nullable DocumentInfo loadDocument(String modelId, Predicate<Cursor> filter) { in loadDocument() argument
241 final Cursor cursor = getItem(modelId); in loadDocument()
244 Log.w(TAG, "Unable to obtain document for modelId: " + modelId); in loadDocument()
252 if (VERBOSE) Log.v(TAG, "Filtered out document from results: " + modelId); in loadDocument()
256 public Uri getItemUri(String modelId) { in getItemUri() argument
257 final Cursor cursor = getItem(modelId); in getItemUri()