Home
last modified time | relevance | path

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

12

/frameworks/base/core/jni/android/graphics/
DPath.cpp244 static void addMove(std::vector<SkPoint>& segmentPoints, std::vector<float>& lengths, in addMove() argument
247 if (!lengths.empty()) { in addMove()
248 length = lengths.back(); in addMove()
251 lengths.push_back(length); in addMove()
254 static void addLine(std::vector<SkPoint>& segmentPoints, std::vector<float>& lengths, in addLine() argument
258 lengths.push_back(0); in addLine()
262 float length = lengths.back() + SkPoint::Distance(segmentPoints.back(), toPoint); in addLine()
264 lengths.push_back(length); in addLine()
321 std::vector<float>& lengths, float errorSquared, bool doubleCheckDivision) { in addBezier() argument
358 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/core/java/android/content/
DIntentFilter.java310 int[] lengths, int lenPos) { in findStringInSet() argument
312 final int N = lengths[lenPos]; in findStringInSet()
320 int[] lengths, int lenPos) { in addStringToSet() argument
321 if (findStringInSet(set, string, lengths, lenPos) >= 0) return set; in addStringToSet()
325 lengths[lenPos] = 1; in addStringToSet()
328 final int N = lengths[lenPos]; in addStringToSet()
331 lengths[lenPos] = N+1; in addStringToSet()
339 lengths[lenPos] = N+1; in addStringToSet()
344 int[] lengths, int lenPos) { in removeStringFromSet() argument
345 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/compile/slang/tests/P_reduce_general_examples_explicit/
DScriptC_reduce_general_examples_explicit.java.expect280 // 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/compile/slang/tests/P_reduce_general_examples/
DScriptC_reduce_general_examples.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/base/core/proto/android/server/
Djobscheduler.proto202 // assignment. This should be prime relative to common time interval lengths
/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);
Dgl2ext_api.in13 …Lenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageL…
14 …URN(glGetDebugMessageLogKHR, 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…
/frameworks/native/opengl/libs/
Dentries.in341 …Lenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageL…
342 …Lenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageL…

12