Home
last modified time | relevance | path

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

/frameworks/base/core/jni/android/graphics/
DPath.cpp274 static void addMove(std::vector<SkPoint>& segmentPoints, std::vector<float>& lengths, in addMove() argument
277 if (!lengths.empty()) { in addMove()
278 length = lengths.back(); in addMove()
281 lengths.push_back(length); in addMove()
284 static void addLine(std::vector<SkPoint>& segmentPoints, std::vector<float>& lengths, in addLine() argument
288 lengths.push_back(0); in addLine()
292 float length = lengths.back() + SkPoint::Distance(segmentPoints.back(), toPoint); in addLine()
294 lengths.push_back(length); in addLine()
351 std::vector<float>& lengths, float errorSquared, bool doubleCheckDivision) { in addBezier() argument
388 addLine(segmentPoints, lengths, iter->second); in addBezier()
[all …]
/frameworks/base/media/mca/filterpacks/native/base/
Dgeometry.cpp137 const Point& lengths) { in FromCenterAxisAndLengths() argument
139 if (!dy.ScaleTo(lengths.y() / 2.0f)) { in FromCenterAxisAndLengths()
146 dx.ScaleTo(lengths.x() / 2.0f); in FromCenterAxisAndLengths()
153 width_ = lengths.x(); in FromCenterAxisAndLengths()
154 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
/frameworks/rs/
DrsElement.h111 const size_t * lengths,
126 const size_t * lengths = nullptr,
128 ObjectBaseRef<const Element> elem = createRef(rsc, count, ein, nin, lengths, asin);
DrsElement.cpp274 const char **nin, const size_t * lengths, const uint32_t *asin) { in createRef() argument
286 if (lengths) { in createRef()
287 len = lengths[i]; in createRef()
326 if (lengths) { in createRef()
327 len = lengths[ct]; in createRef()
/frameworks/base/core/java/android/content/
DIntentFilter.java288 int[] lengths, int lenPos) { in findStringInSet() argument
290 final int N = lengths[lenPos]; in findStringInSet()
298 int[] lengths, int lenPos) { in addStringToSet() argument
299 if (findStringInSet(set, string, lengths, lenPos) >= 0) return set; in addStringToSet()
303 lengths[lenPos] = 1; in addStringToSet()
306 final int N = lengths[lenPos]; in addStringToSet()
309 lengths[lenPos] = N+1; in addStringToSet()
317 lengths[lenPos] = N+1; in addStringToSet()
322 int[] lengths, int lenPos) { in removeStringFromSet() argument
323 int pos = findStringInSet(set, string, lengths, lenPos); in removeStringFromSet()
[all …]
/frameworks/base/core/java/android/service/textservice/
DSpellCheckerService.java423 final int[] lengths = new int[querySize]; in reconstructSuggestions() local
437 lengths[i] = item.mLength; in reconstructSuggestions()
444 + lengths[i]); in reconstructSuggestions()
447 return new SentenceSuggestionsInfo(reconstructedSuggestions, offsets, lengths); in reconstructSuggestions()
/frameworks/base/opengl/java/android/opengl/
DGLES31Ext.java316 int[] lengths, in glGetDebugMessageLogKHR() argument
329 java.nio.IntBuffer lengths, in glGetDebugMessageLogKHR() 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…
/frameworks/base/docs/html/training/design-navigation/
Dmultiple-sizes.jd59 …creens in landscape lead to awkward whitespace and exceedingly long line lengths" id="figure-multi…
61 …uts on large screens in landscape lead to awkward whitespace and exceedingly long line lengths.</p>
/frameworks/native/opengl/libs/GLES2/
Dgl2ext_api.in13 … * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * message…
14 …URN(glGetDebugMessageLogKHR, count, bufSize, sources, types, ids, severities, lengths, messageLog);
/frameworks/native/opengl/include/GLES2/
Dgl2ext.h125 …Lenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageL…
137 …Lenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageL…
/frameworks/base/docs/html/training/wearables/watch-faces/
Ddrawing.jd507 // Compute rotations and lengths for the clock hands.
/frameworks/base/docs/html/guide/topics/graphics/
D2d-graphics.jd438 buttons must stretch to accommodate strings of various lengths. A NinePatch drawable is a
/frameworks/native/opengl/libs/
Dtrace.in258lengths, GLchar * messageLog), (count, bufSize, sources, types, ids, severities, lengths, messageL…
Dentries.in258 … * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * message…
/frameworks/base/docs/html/distribute/essentials/quality/
Dtablets.jd113 layouts lead to awkward whitespace and excessive line lengths. Use padding to
/frameworks/native/opengl/libs/GLES_trace/src/
Dgltrace_api.h345 … * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * message…
Dgltrace_api.cpp13630 … * sources, GLenum * types, GLuint * ids, GLenum * severities, GLsizei * lengths, GLchar * message… in GLTrace_glGetDebugMessageLogKHR() argument
13676 arg_lengths->add_int64value((uintptr_t)lengths); in GLTrace_glGetDebugMessageLogKHR()
13687 …->gl.glGetDebugMessageLogKHR(count, bufSize, sources, types, ids, severities, lengths, messageLog); in GLTrace_glGetDebugMessageLogKHR()
13702 (void *) lengths, in GLTrace_glGetDebugMessageLogKHR()
/frameworks/base/docs/html/ndk/reference/
Dgroup___input.jd835 <p>When the touch is circular, the major and minor axis lengths will be equal to one another. </p>
843 <p>When the touch is circular, the major and minor axis lengths will be equal to one another.</p>
852 <p>When the touch is circular, the major and minor axis lengths will be equal to one another.</p>