OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:acceptMimes
(Results
1 - 11
of
11
) sorted by null
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/roots/
ProvidersCacheTest.java
64
mState.
acceptMimes
= new String[] { "*/*" };
75
mState.
acceptMimes
= new String[] { "*/*" };
85
mState.
acceptMimes
= new String[] { "image/png", "*/*" };
92
mState.
acceptMimes
= new String[] { "audio/*" };
99
mState.
acceptMimes
= new String[] { "audio/*", "image/*" };
106
mState.
acceptMimes
= new String[] { "audio/mpeg" };
113
mState.
acceptMimes
= new String[] { "application/msword" };
120
mState.
acceptMimes
= new String[] { "application/*" };
127
mState.
acceptMimes
= new String[] { "application/x-flac", "image/png" };
151
mState.
acceptMimes
= new String[] { "*/*" }
[
all
...]
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
FilteringCursorWrapper.java
39
public FilteringCursorWrapper(Cursor cursor, String[]
acceptMimes
) {
40
this(cursor,
acceptMimes
, null, Long.MIN_VALUE);
43
public FilteringCursorWrapper(Cursor cursor, String[]
acceptMimes
, String[] rejectMimes) {
44
this(cursor,
acceptMimes
, rejectMimes, Long.MIN_VALUE);
48
Cursor cursor, String[]
acceptMimes
, String[] rejectMimes, long rejectBefore) {
64
if (MimeTypes.mimeMatches(
acceptMimes
, mimeType)) {
State.java
71
public String[]
acceptMimes
;
112
acceptMimes
= intent.getStringArrayExtra(Intent.EXTRA_MIME_TYPES);
114
acceptMimes
= new String[] { defaultAcceptMimeType };
126
out.writeStringArray(
acceptMimes
);
142
+ ",
acceptMimes
=" +
acceptMimes
165
state.
acceptMimes
= in.readStringArray();
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/base/
StateTest.java
51
assertArrayEquals(MIME_TYPES, mState.
acceptMimes
);
58
assertArrayEquals(new String[] { MIME_TYPES[0] }, mState.
acceptMimes
);
/packages/apps/DocumentsUI/src/com/android/documentsui/roots/
ProvidersAccess.java
119
MimeTypes.mimeMatches(root.derivedMimeTypes, state.
acceptMimes
) ||
120
MimeTypes.mimeMatches(state.
acceptMimes
, root.derivedMimeTypes);
124
+ Arrays.toString(state.
acceptMimes
));
/packages/apps/DocumentsUI/src/com/android/documentsui/picker/
Config.java
77
return MimeTypes.mimeMatches(state.
acceptMimes
, mimeType);
ActionHandler.java
333
null, mState.
acceptMimes
, new ClipData.Item(uris[0]));
PickActivity.java
264
MimeTypes.VISUAL_MIMES, mState.
acceptMimes
);
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
RecentsLoaderTests.java
55
mEnv.state.
acceptMimes
= new String[] { "*/*" };
/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/picker/
ActionHandlerTest.java
339
mEnv.state.
acceptMimes
= new String[] { "image/*" };
391
mEnv.state.
acceptMimes
= new String[] { "image/*" };
513
for (int i = 0; i < mEnv.state.
acceptMimes
.length; ++i) {
514
assertEquals(mEnv.state.
acceptMimes
[i], clipData.getDescription().getMimeType(i));
/packages/apps/DocumentsUI/src/com/android/documentsui/
RecentsLoader.java
170
cursor, mState.
acceptMimes
, RECENT_REJECT_MIMES, rejectBefore) {
Completed in 1129 milliseconds