Lines Matching defs:modelId
513 public boolean onBeforeItemStateChange(String modelId, boolean selected) {
515 final Cursor cursor = mModel.getItem(modelId);
517 Log.w(TAG, "Can't obtain cursor for modelId: " + modelId);
540 public void onItemStateChanged(String modelId, boolean selected) {
541 final Cursor cursor = mModel.getItem(modelId);
543 Log.w(TAG, "Model returned null cursor for document: " + modelId
1297 Log.w(TAG, "Invalid destination. Can't obtain cursor for modelId: " + id);
1332 return ((DocumentHolder) vh).modelId;
1349 return ((DocumentHolder) vh).modelId;
1356 String modelId = getModelId(currentItemView);
1357 if (modelId == null) {
1364 if (!isSelected(modelId)) {
1371 final Cursor cursor = mModel.getItem(modelId);
1373 Log.w(TAG, "Undraggable document. Can't obtain cursor for modelId " + modelId);
1445 public boolean isSelected(String modelId) {
1446 return mSelectionManager.getSelection().contains(modelId);
1454 mSelectionManager.toggleSelection(doc.modelId);
1456 handleViewItem(doc.modelId);
1463 mSelectionManager.toggleSelection(doc.modelId);
1530 final Cursor cursor = mModel.getItem(doc.modelId);
1532 Log.w(TAG, "Couldn't obtain cursor for modelId: " + doc.modelId);