Home
last modified time | relevance | path

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

/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/
DDragAndDropManagerTests.java78 private TestIconHelper mIconHelper; field in DragAndDropManagerTests
118 mIconHelper = TestIconHelper.create(); in setUp()
119 mIconHelper.nextDocumentIcon = new TestDrawable(); in setUp()
157 mIconHelper, in testStartDrag_SetsCorrectClipData()
172 mIconHelper, in testStartDrag_SetsCorrectClipData_NullParent()
186 mIconHelper, in testStartDrag_BuildsCorrectShadow_SingleDoc()
190 mShadowBuilder.icon.assertLastArgument(mIconHelper.nextDocumentIcon); in testStartDrag_BuildsCorrectShadow_SingleDoc()
202 mIconHelper, in testStartDrag_BuildsCorrectShadow_MultipleDocs()
219 mIconHelper, in testCanSpringOpen_ReturnsFalse_RootNotSupportCreate()
234 mIconHelper, in testInArchiveUris_HasCorrectFlagPermission()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/dirlist/
DModelBackedDocumentsAdapter.java52 private final IconHelper mIconHelper; // a transitive dependency of the holders. field in ModelBackedDocumentsAdapter
65 mIconHelper = iconHelper; in ModelBackedDocumentsAdapter()
97 ? new GridPhotoHolder(mEnv.getContext(), parent, mIconHelper) in onCreateViewHolder()
98 : new GridDocumentHolder(mEnv.getContext(), parent, mIconHelper); in onCreateViewHolder()
106 mEnv.getContext(), parent, mIconHelper, mFileTypeLookup); in onCreateViewHolder()
DGridPhotoHolder.java44 private final IconHelper mIconHelper; field in GridPhotoHolder
58 mIconHelper = iconHelper; in GridPhotoHolder()
132 mIconHelper.stopLoading(mIconThumb); in bind()
139 mIconHelper.load(mDoc, mIconThumb, mIconMimeLg, null); in bind()
DGridDocumentHolder.java51 final IconHelper mIconHelper; field in GridDocumentHolder
71 mIconHelper = iconHelper; in GridDocumentHolder()
152 mIconHelper.stopLoading(mIconThumb); in bind()
159 mIconHelper.load(mDoc, mIconThumb, mIconMimeLg, mIconMimeSm); in bind()
DListDocumentHolder.java56 private final IconHelper mIconHelper; field in ListDocumentHolder
77 mIconHelper = iconHelper; in ListDocumentHolder()
184 mIconHelper.stopLoading(mIconThumb); in bind()
191 mIconHelper.load(mDoc, mIconThumb, mIconMime, null); in bind()
DDragStartListener.java65 private final IconHelper mIconHelper; field in DragStartListener.RuntimeDragStartListener
87 mIconHelper = iconHelper; in RuntimeDragStartListener()
138 mSelectionDetails, mIconHelper, parent); in startDrag()
DDirectoryFragment.java162 private IconHelper mIconHelper; field in DirectoryFragment
294 mIconHelper = new IconHelper(mActivity, MODE_GRID); in onActivityCreated()
298 new ModelBackedDocumentsAdapter(mAdapterEnv, mIconHelper, mInjector.fileTypeLookup) in onActivityCreated()
335 mIconHelper, in onActivityCreated()
400 mIconHelper.setThumbnailsEnabled(!svelte); in onActivityCreated()
543 mIconHelper.setViewMode(mode); in updateLayout()
797 mIconHelper.stopLoading(iconThumb); in cancelThumbnailTask()