OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:mtpObjectInfo
(Results
1 - 3
of
3
) sorted by null
/packages/apps/Gallery2/src/com/android/gallery3d/ingest/data/
IngestObjectInfo.java
5
import android.mtp.
MtpObjectInfo
;
19
public IngestObjectInfo(
MtpObjectInfo
mtpObjectInfo
) {
20
mHandle =
mtpObjectInfo
.getObjectHandle();
21
mDateCreated =
mtpObjectInfo
.getDateCreated();
22
mFormat =
mtpObjectInfo
.getFormat();
23
mCompressedSize =
mtpObjectInfo
.getCompressedSize();
51
MtpObjectInfo
info = device.getObjectInfo(mHandle);
MtpDeviceIndexRunnable.java
6
import android.mtp.
MtpObjectInfo
;
170
MtpObjectInfo
mtpObjectInfo
= mDevice.getObjectInfo(objectHandle);
171
if (
mtpObjectInfo
== null) {
174
if (
mtpObjectInfo
.getFormat() == MtpConstants.FORMAT_ASSOCIATION) {
176
} else if (mIndex.isFormatSupported(
mtpObjectInfo
)) {
178
addObject(new IngestObjectInfo(
mtpObjectInfo
), bucketsTemp, numObjects);
MtpDeviceIndex.java
6
import android.mtp.
MtpObjectInfo
;
137
* @param
mtpObjectInfo
MTP object info
140
public boolean isFormatSupported(
MtpObjectInfo
mtpObjectInfo
) {
142
final int format =
mtpObjectInfo
.getFormat();
149
final String name =
mtpObjectInfo
.getName();
Completed in 502 milliseconds