Home
last modified time | relevance | path

Searched refs:segmentLength (Results 1 – 12 of 12) sorted by relevance

/external/glide/library/src/main/java/com/bumptech/glide/load/resource/bitmap/
DImageHeaderParser.java149 int segmentLength; in getExifSegment() local
172 segmentLength = streamReader.getUInt16() - 2; in getExifSegment()
175 if (segmentLength != streamReader.skip(segmentLength)) { in getExifSegment()
182 byte[] segmentData = new byte[segmentLength]; in getExifSegment()
184 if (segmentLength != streamReader.read(segmentData)) { in getExifSegment()
186 … Log.d(TAG, "Unable to read segment data for type=" + segmentType + " length=" + segmentLength); in getExifSegment()
/external/skia/src/gpu/ccpr/
DGrCCStrokeGeometry.cpp172 float segmentLength = SkScalarInvert(numSegments); in quadraticTo() local
173 float leftT = maxCurvatureT - segmentLength/2; in quadraticTo()
174 float rightT = maxCurvatureT + segmentLength/2; in quadraticTo()
179 rightT = segmentLength; in quadraticTo()
182 leftT = 1 - segmentLength; in quadraticTo()
302 float segmentLength = SkScalarInvert(numSegments); in cubicTo() local
303 float leftT = maxCurvatureT - segmentLength/2; in cubicTo()
304 float rightT = maxCurvatureT + segmentLength/2; in cubicTo()
309 rightT = segmentLength; in cubicTo()
312 leftT = 1 - segmentLength; in cubicTo()
/external/skqp/src/gpu/ccpr/
DGrCCStrokeGeometry.cpp172 float segmentLength = SkScalarInvert(numSegments); in quadraticTo() local
173 float leftT = maxCurvatureT - segmentLength/2; in quadraticTo()
174 float rightT = maxCurvatureT + segmentLength/2; in quadraticTo()
179 rightT = segmentLength; in quadraticTo()
182 leftT = 1 - segmentLength; in quadraticTo()
302 float segmentLength = SkScalarInvert(numSegments); in cubicTo() local
303 float leftT = maxCurvatureT - segmentLength/2; in cubicTo()
304 float rightT = maxCurvatureT + segmentLength/2; in cubicTo()
309 rightT = segmentLength; in cubicTo()
312 leftT = 1 - segmentLength; in cubicTo()
/external/okhttp/okio/okio/src/main/java/okio/
DGzipSink.java132 int segmentLength = (int) Math.min(byteCount, head.limit - head.pos); in updateCrc() local
133 crc.update(head.data, head.pos, segmentLength); in updateCrc()
134 byteCount -= segmentLength; in updateCrc()
/external/okhttp/repackaged/okio/okio/src/main/java/com/android/okhttp/okio/
DGzipSink.java134 int segmentLength = (int) Math.min(byteCount, head.limit - head.pos); in updateCrc() local
135 crc.update(head.data, head.pos, segmentLength); in updateCrc()
136 byteCount -= segmentLength; in updateCrc()
/external/icu/icu4c/source/common/
Dsimpleformatter.cpp254 int32_t segmentLength = compiledPattern[i++] - ARG_NUM_LIMIT; in getTextWithNoArguments() local
255 if (segmentLength > 0) { in getTextWithNoArguments()
256 sb.append(compiledPattern + i, segmentLength); in getTextWithNoArguments()
257 i += segmentLength; in getTextWithNoArguments()
/external/icu/android_icu4j/src/main/java/android/icu/impl/
DSimpleFormatterImpl.java298 int segmentLength = compiledPattern.charAt(i++) - ARG_NUM_LIMIT; in getTextWithNoArguments() local
299 if (segmentLength > 0) { in getTextWithNoArguments()
300 int limit = i + segmentLength; in getTextWithNoArguments()
/external/icu/icu4j/main/classes/core/src/com/ibm/icu/impl/
DSimpleFormatterImpl.java296 int segmentLength = compiledPattern.charAt(i++) - ARG_NUM_LIMIT; in getTextWithNoArguments() local
297 if (segmentLength > 0) { in getTextWithNoArguments()
298 int limit = i + segmentLength; in getTextWithNoArguments()
/external/robolectric-shadows/shadows/framework/src/main/java/org/robolectric/shadows/
DCachedPathIteratorFactory.java393 float segmentLength = mSegmentsLength[mNextIndex]; in jumpToSegment() local
394 if (accLength + segmentLength >= length && mTypes[mNextIndex] != SEG_MOVETO) { in jumpToSegment()
401 (length - accLength) / segmentLength, in jumpToSegment()
417 accLength += segmentLength; in jumpToSegment()
/external/icu/android_icu4j/src/main/java/android/icu/impl/coll/
DCollationIterator.java1015 int segmentLength = digits.length() - pos;
1016 if(segmentLength > 254) { segmentLength = 254; }
1017 appendNumericSegmentCEs(digits.subSequence(pos, pos + segmentLength));
1018 pos += segmentLength;
/external/icu/icu4c/source/i18n/
Dcollationiterator.cpp737 int32_t segmentLength = digits.length() - pos; in appendNumericCEs() local
738 if(segmentLength > 254) { segmentLength = 254; } in appendNumericCEs()
739 appendNumericSegmentCEs(digits.data() + pos, segmentLength, errorCode); in appendNumericCEs()
740 pos += segmentLength; in appendNumericCEs()
/external/icu/icu4j/main/classes/collate/src/com/ibm/icu/impl/coll/
DCollationIterator.java1013 int segmentLength = digits.length() - pos;
1014 if(segmentLength > 254) { segmentLength = 254; }
1015 appendNumericSegmentCEs(digits.subSequence(pos, pos + segmentLength));
1016 pos += segmentLength;