Home
last modified time | relevance | path

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

/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/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/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/PermissionController/src/com/android/packageinstaller/role/model/
DIntentFilterData.java61 private final String mDataType; field in IntentFilterData
68 mDataType = dataType; in IntentFilterData()
88 return mDataType; in getDataType()
105 intent.setDataAndType(data, mDataType); in createIntent()
125 if (mDataType != null) { in createIntentFilter()
127 intentFilter.addDataType(mDataType); in createIntentFilter()
142 + ", mDataType='" + mDataType + '\'' in toString()
158 && Objects.equals(mDataType, that.mDataType); in equals()
163 return Objects.hash(mAction, mCategories, mDataScheme, mDataType); in hashCode()
/packages/apps/DocumentsUI/src/com/android/documentsui/sorting/
DSortDimension.java70 private final @DataType int mDataType; field in SortDimension
81 mDataType = dataType; in SortDimension()
95 return mDataType; in getDataType()
146 && mDataType == other.mDataType in equals()
158 .append(", dataType=").append(mDataType) in toString()
176 out.writeInt(mDataType); in writeToParcel()
212 private @DataType int mDataType = DATA_TYPE_STRING; field in SortDimension.Builder
228 mDataType = dataType; in withDataType()
253 mId, mLabelId, mDataType, mSortCapability, mDefaultSortDirection); in build()