Home
last modified time | relevance | path

Searched refs:inputContentInfo (Results 1 – 1 of 1) sorted by relevance

/development/samples/browseable/CommitContentSampleApp/src/com.example.android.commitcontent.app/
DMainActivity.java108 private boolean onCommitContent(InputContentInfoCompat inputContentInfo, int flags, in onCommitContent() argument
130 if (inputContentInfo.getDescription().hasMimeType(mimeType)) { in onCommitContent()
139 return onCommitContentInternal(inputContentInfo, flags); in onCommitContent()
142 private boolean onCommitContentInternal(InputContentInfoCompat inputContentInfo, int flags) { in onCommitContentInternal() argument
145 inputContentInfo.requestPermission(); in onCommitContentInternal()
153 Arrays.toString(inputContentInfo.getDescription().filterMimeTypes("*/*"))); in onCommitContentInternal()
154 mContentUri.setText(inputContentInfo.getContentUri().toString()); in onCommitContentInternal()
155 mLabel.setText(inputContentInfo.getDescription().getLabel()); in onCommitContentInternal()
156 Uri linkUri = inputContentInfo.getLinkUri(); in onCommitContentInternal()
159 mWebView.loadUrl(inputContentInfo.getContentUri().toString()); in onCommitContentInternal()
[all …]