Home
last modified time | relevance | path

Searched refs:segmentData (Results 1 – 3 of 3) sorted by relevance

/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DImageHeaderParser.java182 byte[] segmentData = new byte[segmentLength]; in getExifSegment()
184 if (segmentLength != streamReader.read(segmentData)) { in getExifSegment()
190 return segmentData; in getExifSegment()
196 private static int parseExifSegment(RandomAccessReader segmentData) { in parseExifSegment() argument
199 short byteOrderIdentifier = segmentData.getInt16(headerOffsetSize); in parseExifSegment()
212 segmentData.order(byteOrder); in parseExifSegment()
214 int firstIfdOffset = segmentData.getInt32(headerOffsetSize + 4) + headerOffsetSize; in parseExifSegment()
215 int tagCount = segmentData.getInt16(firstIfdOffset); in parseExifSegment()
221 tagType = segmentData.getInt16(tagOffset); in parseExifSegment()
228 formatCode = segmentData.getInt16(tagOffset + 2); in parseExifSegment()
[all …]
/external/skia/src/xps/
DSkXPSDevice.cpp1115 FLOAT segmentData[6] = { in createXpsQuad() local
1129 segmentTypes , segmentData, segmentStrokes), in createXpsQuad()
1261 const SkTDArray<FLOAT>& segmentData, in close_figure() argument
1267 SkASSERT(( segmentTypes.empty() && segmentData.empty() && segmentStrokes.empty()) || in close_figure()
1268 (!segmentTypes.empty() && !segmentData.empty() && !segmentStrokes.empty())); in close_figure()
1273 if (!segmentTypes.empty() && !segmentData.empty() && !segmentStrokes.empty()) { in close_figure()
1275 HRM(figure->SetSegments(segmentTypes.count(), segmentData.count(), in close_figure()
1276 segmentTypes.begin(), segmentData.begin(), segmentStrokes.begin()), in close_figure()
1293 SkTDArray<FLOAT> segmentData; in addXpsPathGeometry() local
1304 HR(close_figure(segmentTypes, segmentData, segmentStrokes, in addXpsPathGeometry()
[all …]
/external/skqp/src/xps/
DSkXPSDevice.cpp1118 FLOAT segmentData[6] = { in createXpsQuad() local
1132 segmentTypes , segmentData, segmentStrokes), in createXpsQuad()
1280 const SkTDArray<FLOAT>& segmentData, in close_figure() argument
1285 HRM(figure->SetSegments(segmentTypes.count(), segmentData.count(), in close_figure()
1286 segmentTypes.begin() , segmentData.begin(), in close_figure()
1304 SkTDArray<FLOAT> segmentData; in addXpsPathGeometry() local
1314 HR(close_figure(segmentTypes, segmentStrokes, segmentData, in addXpsPathGeometry()
1320 segmentData.rewind(); in addXpsPathGeometry()
1334 segmentData.push_back(SkScalarToFLOAT(points[1].fX)); in addXpsPathGeometry()
1335 segmentData.push_back(SkScalarToFLOAT(points[1].fY)); in addXpsPathGeometry()
[all …]