Home
last modified time | relevance | path

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

/frameworks/base/libs/hwui/jni/
DPath.cpp253 static void addMove(std::vector<SkPoint>& segmentPoints, std::vector<float>& lengths, in addMove() argument
256 if (!lengths.empty()) { in addMove()
257 length = lengths.back(); in addMove()
260 lengths.push_back(length); in addMove()
263 static void addLine(std::vector<SkPoint>& segmentPoints, std::vector<float>& lengths, in addLine() argument
267 lengths.push_back(0); in addLine()
271 float length = lengths.back() + SkPoint::Distance(segmentPoints.back(), toPoint); in addLine()
273 lengths.push_back(length); in addLine()
330 std::vector<float>& lengths, float errorSquared, bool doubleCheckDivision) { in addBezier() argument
367 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/
DglGetDebugMessageLog.java14 int[] lengths, in glGetDebugMessageLog() argument
27 java.nio.IntBuffer lengths, in glGetDebugMessageLog() argument
DglGetDebugMessageLogKHR.java14 int[] lengths, in glGetDebugMessageLogKHR() argument
27 java.nio.IntBuffer lengths, in glGetDebugMessageLogKHR() 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/service/textservice/
DSpellCheckerService.java470 final int[] lengths = new int[querySize]; in reconstructSuggestions() local
484 lengths[i] = item.mLength; in reconstructSuggestions()
491 + lengths[i]); in reconstructSuggestions()
494 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/core/java/android/content/
DIntentFilter.java379 int[] lengths, int lenPos) { in findStringInSet() argument
381 final int N = lengths[lenPos]; in findStringInSet()
389 int[] lengths, int lenPos) { in addStringToSet() argument
390 if (findStringInSet(set, string, lengths, lenPos) >= 0) return set; in addStringToSet()
394 lengths[lenPos] = 1; in addStringToSet()
397 final int N = lengths[lenPos]; in addStringToSet()
400 lengths[lenPos] = N+1; in addStringToSet()
408 lengths[lenPos] = N+1; in addStringToSet()
413 int[] lengths, int lenPos) { in removeStringFromSet() argument
414 int pos = findStringInSet(set, string, lengths, lenPos); in removeStringFromSet()
[all …]
/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/native/services/surfaceflinger/sysprop/
DSurfaceFlingerProperties.sysprop25 # overall latency and the lengths of the app --> SF and SF --> display phases)
/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/base/core/proto/android/server/
Djobscheduler.proto212 // assignment. This should be prime relative to common time interval lengths
/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…
/frameworks/native/opengl/include/GLES2/
Dgl2ext.h134 …Lenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageL…
146 …Lenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageL…