Lines Matching defs:opType
38 import com.android.documentsui.services.FileOperationService.OpType;
56 private static final String OP_TYPE_KEY = "clipper:opType";
93 Function<String, Uri> uriBuilder, Selection selection, @OpType int opType) {
106 return getClipDataForDocuments(uris, opType);
111 List<Uri> uris, @OpType int opType, DocumentInfo parent) {
112 ClipData clipData = getClipDataForDocuments(uris, opType);
119 public ClipData getClipDataForDocuments(List<Uri> uris, @OpType int opType) {
121 ? createJumboClipData(uris, opType)
122 : createStandardClipData(uris, opType);
128 private ClipData createStandardClipData(List<Uri> uris, @OpType int opType) {
138 bundle.putInt(OP_TYPE_KEY, opType);
156 private ClipData createJumboClipData(List<Uri> uris, @OpType int opType) {
177 bundle.putInt(OP_TYPE_KEY, opType);
250 @OpType int opType,
253 clipData.getDescription().getExtras().putInt(OP_TYPE_KEY, opType);
269 @OpType int opType = getOpType(bundle);
280 FileOperations.Callback.STATUS_ACCEPTED, opType, 0);
288 .withOpType(opType)
297 callback.onOperationResult(FileOperations.Callback.STATUS_REJECTED, opType, 0);
314 private @OpType int getOpType(ClipData data) {
319 private @OpType int getOpType(PersistableBundle bundle) {