Home
last modified time | relevance | path

Searched refs:lengths (Results 1 – 25 of 30) sorted by relevance

12

/frameworks/base/core/jni/android/graphics/
DPath.cpp239 static void addMove(std::vector<SkPoint>& segmentPoints, std::vector<float>& lengths, in addMove() argument
242 if (!lengths.empty()) { in addMove()
243 length = lengths.back(); in addMove()
246 lengths.push_back(length); in addMove()
249 static void addLine(std::vector<SkPoint>& segmentPoints, std::vector<float>& lengths, in addLine() argument
253 lengths.push_back(0); in addLine()
257 float length = lengths.back() + SkPoint::Distance(segmentPoints.back(), toPoint); in addLine()
259 lengths.push_back(length); in addLine()
316 std::vector<float>& lengths, float errorSquared, bool doubleCheckDivision) { in addBezier() argument
353 addLine(segmentPoints, lengths, iter->second); in addBezier()
[all …]
/frameworks/base/media/mca/filterpacks/native/base/
Dgeometry.cpp139 const Point& lengths) { in FromCenterAxisAndLengths() argument
141 if (!dy.ScaleTo(lengths.y() / 2.0f)) { in FromCenterAxisAndLengths()
148 dx.ScaleTo(lengths.x() / 2.0f); in FromCenterAxisAndLengths()
155 width_ = lengths.x(); in FromCenterAxisAndLengths()
156 height_ = lengths.y(); in FromCenterAxisAndLengths()
/frameworks/base/core/java/android/view/textservice/
DSentenceSuggestionsInfo.java46 SuggestionsInfo[] suggestionsInfos, int[] offsets, int[] lengths) { in SentenceSuggestionsInfo() argument
47 if (suggestionsInfos == null || offsets == null || lengths == null) { in SentenceSuggestionsInfo()
50 if (suggestionsInfos.length != offsets.length || offsets.length != lengths.length) { in SentenceSuggestionsInfo()
56 mLengths = Arrays.copyOf(lengths, infoSize); in SentenceSuggestionsInfo()
/frameworks/native/opengl/tools/glgen/stubs/gles11/
DglGetDebugMessageLogKHR.java14 int[] lengths, in glGetDebugMessageLogKHR() argument
27 java.nio.IntBuffer lengths, in glGetDebugMessageLogKHR() argument
DglGetDebugMessageLog.java14 int[] lengths, in glGetDebugMessageLog() argument
27 java.nio.IntBuffer lengths, in glGetDebugMessageLog() argument
/frameworks/rs/
DrsElement.h113 const size_t * lengths,
128 const size_t * lengths = nullptr,
130 ObjectBaseRef<const Element> elem = createRef(rsc, count, ein, nin, lengths, asin);
DrsElement.cpp276 const char **nin, const size_t * lengths, const uint32_t *asin) { in createRef() argument
288 if (lengths) { in createRef()
289 len = lengths[i]; in createRef()
328 if (lengths) { in createRef()
329 len = lengths[ct]; in createRef()
/frameworks/base/services/robotests/backup/src/com/android/server/backup/encryption/chunk/
DChunkListingMapTest.java174 private byte[] createChunkListingProto(ChunkHash[] hashes, int[] lengths) { in createChunkListingProto() argument
175 Preconditions.checkArgument(hashes.length == lengths.length); in createChunkListingProto()
179 writeToProtoOutputStream(outputStream, hashes[i], lengths[i]); in createChunkListingProto()
/frameworks/base/core/java/android/content/
DIntentFilter.java312 int[] lengths, int lenPos) { in findStringInSet() argument
314 final int N = lengths[lenPos]; in findStringInSet()
322 int[] lengths, int lenPos) { in addStringToSet() argument
323 if (findStringInSet(set, string, lengths, lenPos) >= 0) return set; in addStringToSet()
327 lengths[lenPos] = 1; in addStringToSet()
330 final int N = lengths[lenPos]; in addStringToSet()
333 lengths[lenPos] = N+1; in addStringToSet()
341 lengths[lenPos] = N+1; in addStringToSet()
346 int[] lengths, int lenPos) { in removeStringFromSet() argument
347 int pos = findStringInSet(set, string, lengths, lenPos); in removeStringFromSet()
[all …]
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java447 final int[] lengths = new int[querySize]; in reconstructSuggestions() local
461 lengths[i] = item.mLength; in reconstructSuggestions()
468 + lengths[i]); in reconstructSuggestions()
471 return new SentenceSuggestionsInfo(reconstructedSuggestions, offsets, lengths); in reconstructSuggestions()
/frameworks/compile/slang/tests/P_reduce_general_inputs/
DScriptC_reduce_general_inputs.java.expect138 // Verify that input array lengths are the same.
202 // Verify that input array lengths are the same.
270 // Verify that input array lengths are the same.
338 // Verify that input array lengths are the same.
406 // Verify that input array lengths are the same.
474 // Verify that input array lengths are the same.
538 // Verify that input array lengths are the same.
602 // Verify that input array lengths are the same.
670 // Verify that input array lengths are the same.
738 // Verify that input array lengths are the same.
[all …]
/frameworks/base/opengl/java/android/opengl/
DGLES31Ext.java316 int[] lengths, in glGetDebugMessageLogKHR() argument
329 java.nio.IntBuffer lengths, in glGetDebugMessageLogKHR() argument
DGLES32.java322 int[] lengths, in glGetDebugMessageLog() argument
335 java.nio.IntBuffer lengths, in glGetDebugMessageLog() argument
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
DExifOutputStream.java413 long[] lengths = new long[stripCount]; in createRequiredIfdAndTag() local
415 lengths[i] = mExifData.getStrip(i).length; in createRequiredIfdAndTag()
417 lengthTag.setValue(lengths); in createRequiredIfdAndTag()
/frameworks/native/opengl/tools/glgen/specs/gles11/
DGLES31Ext.spec5 …Lenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageL…
DGLES32.spec6 …Lenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageL…
/frameworks/base/core/proto/android/server/
Dbackup_chunks_metadata.proto59 // extract individual chunks. (i.e., start position is equal to the sum of the lengths of all
93 // lengths of the chunks by sorting this list then looking at the start position of the next
/frameworks/compile/slang/tests/P_reduce_general_examples_explicit/
DScriptC_reduce_general_examples_explicit.java.expect280 // Verify that input array lengths are the same.
/frameworks/native/services/surfaceflinger/sysprop/
DSurfaceFlingerProperties.sysprop25 # overall latency and the lengths of the app --> SF and SF --> display phases)
/frameworks/compile/slang/tests/P_reduce_general_examples/
DScriptC_reduce_general_examples.java.expect285 // Verify that input array lengths are the same.
/frameworks/compile/slang/tests/P_reduce_general_examples_backward/
DScriptC_reduce_general_examples_backward.java.expect285 // Verify that input array lengths are the same.
/frameworks/base/libs/hwui/debug/
Dgles_stubs.in958 …Lenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageL…
959 …RETURN(glGetDebugMessageLog, count, bufSize, sources, types, ids, severities, lengths, messageLog);
1087 …Lenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageL…
1088 …URN(glGetDebugMessageLogKHR, count, bufSize, sources, types, ids, severities, lengths, messageLog);
Dgles_decls.in320 …Lenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageL…
363 …Lenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageL…
/frameworks/native/opengl/libs/GLES2/
Dgl2_api.in958 …Lenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageL…
959 …RETURN(glGetDebugMessageLog, count, bufSize, sources, types, ids, severities, lengths, messageLog);
/frameworks/native/opengl/include/GLES3/
Dgl32.h1738 …Lenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageL…
1783 …Lenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageL…

12