Home
last modified time | relevance | path

Searched refs:mDataType (Results 1 – 5 of 5) sorted by relevance

/packages/apps/Dialer/java/com/android/dialer/callcomposer/camera/exif/
DExifTag.java86 private final short mDataType; field in ExifTag
122 mDataType = type; in ExifTag()
180 return mDataType; in getDataType()
226 if (mDataType != TYPE_UNSIGNED_SHORT in setValue()
227 && mDataType != TYPE_LONG in setValue()
228 && mDataType != TYPE_UNSIGNED_LONG) { in setValue()
231 if (mDataType == TYPE_UNSIGNED_SHORT && checkOverflowForUnsignedShort(value)) { in setValue()
233 } else if (mDataType == TYPE_UNSIGNED_LONG && checkOverflowForUnsignedLong(value)) { in setValue()
257 if (checkBadComponentCount(value.length) || mDataType != TYPE_UNSIGNED_LONG) { in setValue()
283 if (mDataType != TYPE_ASCII && mDataType != TYPE_UNDEFINED) { in setValue()
[all …]
/packages/apps/Camera2/src/com/android/camera/exif/
DExifTag.java93 private final short mDataType; field in ExifTag
130 mDataType = type; in ExifTag()
190 return mDataType; in getDataType()
240 if (mDataType != TYPE_UNSIGNED_SHORT && mDataType != TYPE_LONG && in setValue()
241 mDataType != TYPE_UNSIGNED_LONG) { in setValue()
244 if (mDataType == TYPE_UNSIGNED_SHORT && checkOverflowForUnsignedShort(value)) { in setValue()
246 } else if (mDataType == TYPE_UNSIGNED_LONG && checkOverflowForUnsignedLong(value)) { in setValue()
287 if (checkBadComponentCount(value.length) || mDataType != TYPE_UNSIGNED_LONG) { in setValue()
328 if (mDataType != TYPE_ASCII && mDataType != TYPE_UNDEFINED) { in setValue()
335 finalBuf = (buf[buf.length - 1] == 0 || mDataType == TYPE_UNDEFINED) ? buf : Arrays in setValue()
[all …]
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifTag.java93 private final short mDataType; field in ExifTag
130 mDataType = type; in ExifTag()
190 return mDataType; in getDataType()
240 if (mDataType != TYPE_UNSIGNED_SHORT && mDataType != TYPE_LONG && in setValue()
241 mDataType != TYPE_UNSIGNED_LONG) { in setValue()
244 if (mDataType == TYPE_UNSIGNED_SHORT && checkOverflowForUnsignedShort(value)) { in setValue()
246 } else if (mDataType == TYPE_UNSIGNED_LONG && checkOverflowForUnsignedLong(value)) { in setValue()
287 if (checkBadComponentCount(value.length) || mDataType != TYPE_UNSIGNED_LONG) { in setValue()
328 if (mDataType != TYPE_ASCII && mDataType != TYPE_UNDEFINED) { in setValue()
335 finalBuf = (buf[buf.length - 1] == 0 || mDataType == TYPE_UNDEFINED) ? buf : Arrays in setValue()
[all …]
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifTag.java93 private final short mDataType; field in ExifTag
130 mDataType = type; in ExifTag()
190 return mDataType; in getDataType()
240 if (mDataType != TYPE_UNSIGNED_SHORT && mDataType != TYPE_LONG && in setValue()
241 mDataType != TYPE_UNSIGNED_LONG) { in setValue()
244 if (mDataType == TYPE_UNSIGNED_SHORT && checkOverflowForUnsignedShort(value)) { in setValue()
246 } else if (mDataType == TYPE_UNSIGNED_LONG && checkOverflowForUnsignedLong(value)) { in setValue()
287 if (checkBadComponentCount(value.length) || mDataType != TYPE_UNSIGNED_LONG) { in setValue()
328 if (mDataType != TYPE_ASCII && mDataType != TYPE_UNDEFINED) { in setValue()
335 finalBuf = (buf[buf.length - 1] == 0 || mDataType == TYPE_UNDEFINED) ? buf : Arrays in setValue()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortDimension.java69 private final @DataType int mDataType; field in SortDimension
80 mDataType = dataType; in SortDimension()
94 return mDataType; in getDataType()
145 && mDataType == other.mDataType in equals()
157 .append(", dataType=").append(mDataType) in toString()
175 out.writeInt(mDataType); in writeToParcel()
211 private @DataType int mDataType = DATA_TYPE_STRING; field in SortDimension.Builder
227 mDataType = dataType; in withDataType()
252 mId, mLabelId, mDataType, mSortCapability, mDefaultSortDirection); in build()