OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mDirectoryEntries
(Results
1 - 11
of
11
) sorted by null
/developers/build/prebuilts/gradle/DirectorySelection/Application/tests/src/com/example/android/directoryselection/
DirectoryEntryAdapterTest.java
51
private List<DirectoryEntry>
mDirectoryEntries
;
64
mDirectoryEntries
= new ArrayList<>();
69
mDirectoryEntries
.add(file);
74
mDirectoryEntries
.add(directory);
78
mTestFragment.mAdapter.setDirectoryEntries(
mDirectoryEntries
);
/developers/samples/android/content/documentsUi/DirectorySelection/Application/tests/src/com/example/android/directoryselection/
DirectoryEntryAdapterTest.java
51
private List<DirectoryEntry>
mDirectoryEntries
;
64
mDirectoryEntries
= new ArrayList<>();
69
mDirectoryEntries
.add(file);
74
mDirectoryEntries
.add(directory);
78
mTestFragment.mAdapter.setDirectoryEntries(
mDirectoryEntries
);
/developers/build/prebuilts/gradle/DirectorySelection/Application/src/main/java/com/example/android/directoryselection/
DirectoryEntryAdapter.java
34
private List<DirectoryEntry>
mDirectoryEntries
;
70
mDirectoryEntries
= directoryEntries;
82
viewHolder.getFileName().setText(
mDirectoryEntries
.get(position).fileName);
83
viewHolder.getMimeType().setText(
mDirectoryEntries
.get(position).mimeType);
85
if (DIRECTORY_MIME_TYPE.equals(
mDirectoryEntries
.get(position).mimeType)) {
94
return
mDirectoryEntries
.size();
98
mDirectoryEntries
= directoryEntries;
/developers/build/prebuilts/gradle/ScopedDirectoryAccess/Application/src/main/java/com/example/android/scopeddirectoryaccess/
DirectoryEntryAdapter.java
19
private List<DirectoryEntry>
mDirectoryEntries
;
26
mDirectoryEntries
= directoryEntries;
38
viewHolder.fileName.setText(
mDirectoryEntries
.get(position).fileName);
39
viewHolder.mimeType.setText(
mDirectoryEntries
.get(position).mimeType);
42
.equals(
mDirectoryEntries
.get(position).mimeType)) {
51
return
mDirectoryEntries
.size();
55
mDirectoryEntries
= directoryEntries;
ScopedDirectoryAccessFragment.java
67
private ArrayList<DirectoryEntry>
mDirectoryEntries
;
158
mDirectoryEntries
= savedInstanceState.getParcelableArrayList(DIRECTORY_ENTRIES_KEY);
160
mAdapter = new DirectoryEntryAdapter(
mDirectoryEntries
);
165
mDirectoryEntries
= new ArrayList<>();
182
outState.putParcelableArrayList(DIRECTORY_ENTRIES_KEY,
mDirectoryEntries
);
186
mDirectoryEntries
.clear();
209
mDirectoryEntries
.add(entry);
212
if (
mDirectoryEntries
.isEmpty()) {
217
mAdapter.setDirectoryEntries(
mDirectoryEntries
);
/developers/samples/android/content/documentsUi/DirectorySelection/Application/src/main/java/com/example/android/directoryselection/
DirectoryEntryAdapter.java
34
private List<DirectoryEntry>
mDirectoryEntries
;
70
mDirectoryEntries
= directoryEntries;
82
viewHolder.getFileName().setText(
mDirectoryEntries
.get(position).fileName);
83
viewHolder.getMimeType().setText(
mDirectoryEntries
.get(position).mimeType);
85
if (DIRECTORY_MIME_TYPE.equals(
mDirectoryEntries
.get(position).mimeType)) {
94
return
mDirectoryEntries
.size();
98
mDirectoryEntries
= directoryEntries;
/developers/samples/android/content/documentsUi/ScopedDirectoryAccess/Application/src/main/java/com/example/android/scopeddirectoryaccess/
DirectoryEntryAdapter.java
19
private List<DirectoryEntry>
mDirectoryEntries
;
26
mDirectoryEntries
= directoryEntries;
38
viewHolder.fileName.setText(
mDirectoryEntries
.get(position).fileName);
39
viewHolder.mimeType.setText(
mDirectoryEntries
.get(position).mimeType);
42
.equals(
mDirectoryEntries
.get(position).mimeType)) {
51
return
mDirectoryEntries
.size();
55
mDirectoryEntries
= directoryEntries;
ScopedDirectoryAccessFragment.java
67
private ArrayList<DirectoryEntry>
mDirectoryEntries
;
158
mDirectoryEntries
= savedInstanceState.getParcelableArrayList(DIRECTORY_ENTRIES_KEY);
160
mAdapter = new DirectoryEntryAdapter(
mDirectoryEntries
);
165
mDirectoryEntries
= new ArrayList<>();
182
outState.putParcelableArrayList(DIRECTORY_ENTRIES_KEY,
mDirectoryEntries
);
186
mDirectoryEntries
.clear();
209
mDirectoryEntries
.add(entry);
212
if (
mDirectoryEntries
.isEmpty()) {
217
mAdapter.setDirectoryEntries(
mDirectoryEntries
);
/development/samples/browseable/DirectorySelection/src/com.example.android.directoryselection/
DirectoryEntryAdapter.java
34
private List<DirectoryEntry>
mDirectoryEntries
;
70
mDirectoryEntries
= directoryEntries;
82
viewHolder.getFileName().setText(
mDirectoryEntries
.get(position).fileName);
83
viewHolder.getMimeType().setText(
mDirectoryEntries
.get(position).mimeType);
85
if (DIRECTORY_MIME_TYPE.equals(
mDirectoryEntries
.get(position).mimeType)) {
94
return
mDirectoryEntries
.size();
98
mDirectoryEntries
= directoryEntries;
/development/samples/browseable/ScopedDirectoryAccess/src/com.example.android.scopeddirectoryaccess/
DirectoryEntryAdapter.java
19
private List<DirectoryEntry>
mDirectoryEntries
;
26
mDirectoryEntries
= directoryEntries;
38
viewHolder.fileName.setText(
mDirectoryEntries
.get(position).fileName);
39
viewHolder.mimeType.setText(
mDirectoryEntries
.get(position).mimeType);
42
.equals(
mDirectoryEntries
.get(position).mimeType)) {
51
return
mDirectoryEntries
.size();
55
mDirectoryEntries
= directoryEntries;
ScopedDirectoryAccessFragment.java
67
private ArrayList<DirectoryEntry>
mDirectoryEntries
;
158
mDirectoryEntries
= savedInstanceState.getParcelableArrayList(DIRECTORY_ENTRIES_KEY);
160
mAdapter = new DirectoryEntryAdapter(
mDirectoryEntries
);
165
mDirectoryEntries
= new ArrayList<>();
182
outState.putParcelableArrayList(DIRECTORY_ENTRIES_KEY,
mDirectoryEntries
);
186
mDirectoryEntries
.clear();
209
mDirectoryEntries
.add(entry);
212
if (
mDirectoryEntries
.isEmpty()) {
217
mAdapter.setDirectoryEntries(
mDirectoryEntries
);
Completed in 663 milliseconds