Home
last modified time | relevance | path

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

/frameworks/base/media/java/android/mtp/
DMtpStorageManager.java140 private boolean mIsDir; field in MtpStorageManager.MtpObject
154 mIsDir = isDir; in MtpObject()
157 mChildren = mIsDir ? new HashMap<>() : null; in MtpObject()
171 return mIsDir; in isDir()
175 return mIsDir ? MtpConstants.FORMAT_ASSOCIATION : MediaFile.getFormatCode(mName, null); in getFormat()
195 return mIsDir ? 0 : getPath().toFile().length(); in getSize()
225 if (dir != mIsDir) { in setDir()
226 mIsDir = dir; in setDir()
227 mChildren = mIsDir ? new HashMap<>() : null; in setDir()
278 MtpObject copy = new MtpObject(mName, mId, mParent, mIsDir); in copy()
[all …]
/frameworks/support/samples/SupportMediaDemos/src/main/java/com/example/androidx/media/
DVideoSelector.java140 private final boolean mIsDir; field in VideoSelector.VideoItem
145 mIsDir = isDir; in VideoItem()
190 return mIsDir; in getIsDir()