Searched defs:end (Results 176 - 200 of 387) sorted by path

1234567891011>>

/frameworks/base/libs/hwui/
H A DGradientCache.cpp196 void GradientCache::mixBytes(GradientColor& start, GradientColor& end, float amount, argument
199 const float alpha = start.a * oppAmount + end.a * amount;
202 *dst++ = uint8_t(a * (start.r * oppAmount + end.r * amount));
203 *dst++ = uint8_t(a * (start.g * oppAmount + end.g * amount));
204 *dst++ = uint8_t(a * (start.b * oppAmount + end.b * amount));
208 void GradientCache::mixFloats(GradientColor& start, GradientColor& end, float amount, argument
211 const float a = start.a * oppAmount + end.a * amount;
214 *d++ = a * (start.r * oppAmount + end.r * amount);
215 *d++ = a * (start.g * oppAmount + end.g * amount);
216 *d++ = a * (start.b * oppAmount + end
242 GradientColor end; local
[all...]
H A DJankTracker.cpp43 FrameInfoIndex end; member in struct:android::uirenderer::Comparison
102 // be a pretty garbage value right now. However, mask is 0 so we'll end
242 int64_t delta = frame.duration(COMPARISONS[i].start, COMPARISONS[i].end);
H A DPathParser.cpp55 static void extract(int* outEndPosition, bool* outEndWithNegOrDot, const char* s, int start, int end) { argument
62 for (; currentIndex < end; currentIndex++) {
96 // In the case where nothing is found, we put the end position to the end of
97 // our extract range. Otherwise, end position will be where separator is found.
125 const char* pathStr, int start, int end) {
136 while (startPosition < end) {
138 extract(&endPosition, &endWithNegOrDot, pathStr, startPosition, end);
142 end - startPosition);
183 size_t end local
124 getFloats(std::vector<float>* outPoints, PathParser::ParseResult* result, const char* pathStr, int start, int end) argument
[all...]
H A DSpotShadow.cpp445 // the real size at the end.
1004 // At the end, update the real index and vertex buffer size.
1066 Vector2 end = polygon[(i + 2) % polygonLength]; local
1068 float delta = (float(middle.x) - start.x) * (float(end.y) - start.y) -
1069 (float(middle.y) - start.y) * (float(end.x) - start.x);
1074 "middle (x %f, y %f) and end (x %f, y %f) , delta is %f !!!",
1075 name, start.x, start.y, middle.x, middle.y, end.x, end.y, delta);
H A DVectorDrawable.cpp148 float end = len * fmod((trimPathEnd + trimPathOffset), 1.0f); local
150 if (start > end) {
152 if (end > 0) {
153 measure.getSegment(0, end, outPath, true);
156 measure.getSegment(start, end, outPath, true);
H A DVertexBuffer.h118 TYPE* end = current + vertexCount; local
120 for (; current < end; current++) {
146 TYPE* end = (TYPE*)mBuffer + mVertexCount; local
147 for (TYPE* degen = (TYPE*)mBuffer + allocSize; degen < end; degen += 2 + allocSize) {
/frameworks/base/libs/hwui/hwui/
H A DCanvas.cpp95 void operator()(size_t start, size_t end) { argument
97 for (size_t i = start; i < end; i++) {
103 for (size_t i = start; i < end; i++) {
110 size_t glyphCount = end - start;
191 void operator()(size_t start, size_t end) { argument
193 for (size_t i = start; i < end; i++) {
/frameworks/base/libs/hwui/tests/common/
H A DTestUtils.cpp26 SkColor TestUtils::interpolateColor(float fraction, SkColor start, SkColor end) { argument
32 int endA = (end >> 24) & 0xff;
33 int endR = (end >> 16) & 0xff;
34 int endG = (end >> 8) & 0xff;
35 int endB = end & 0xff;
/frameworks/base/libs/hwui/utils/
H A DLinearAllocator.cpp102 void* end(int pageSize) { function in class:android::uirenderer::LinearAllocator::Page
142 void* LinearAllocator::end(Page* p) { function in class:android::uirenderer::LinearAllocator
147 return mNext && ((char*)mNext + size) <= end(mCurrentPage);
228 if (ptr >= start(mCurrentPage) && ptr < end(mCurrentPage)
H A DVectorDrawableUtils.cpp36 char cmd, const std::vector<float>* points, size_t start, size_t end);
85 * @param nodeTo The end value as a PathVerb
249 // Use the given verb, and points in the range [start, end) to insert a command into the SkPath.
251 char cmd, const std::vector<float>* points, size_t start, size_t end) {
300 for (unsigned int k = start; k < end; k += incr) {
250 addCommand(SkPath* outPath, char previousCmd, char cmd, const std::vector<float>* points, size_t start, size_t end) argument
/frameworks/base/media/java/android/media/
H A DAudioTrack.java1636 * loop end marker, the behavior varies by API level:
1662 * @param endInFrames loop end marker expressed in frames.
1663 * The total buffer size in frames corresponds to end of buffer.
1664 * The end marker must not be greater than the buffer size in frames.
1665 * For looping, the end marker must not be less than or equal to the start marker,
1667 * it is permitted for start marker, end marker, and loop count to all be 0.
1675 * unless it is greater than or equal to the loop end marker, in which case
2832 private native final int native_set_loop(int start, int end, int loopCount); argument
H A DClosedCaptionRenderer.java694 StyleCode s, int start, int end) {
698 start, end, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
703 start, end, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE);
692 applyStyleSpan( SpannableStringBuilder styledText, StyleCode s, int start, int end) argument
H A DMediaScanner.java1104 }; // end of anonymous MediaScannerClient instance
1368 long end = System.currentTimeMillis();
1373 Log.d(TAG, "postscan time: " + (end - scan) + "ms\n");
1374 Log.d(TAG, " total time: " + (end - start) + "ms\n");
1784 public void end() { method in class:MediaScanner.WplHandler
/frameworks/base/media/mca/filterfw/java/android/filterfw/io/
H A DPatternScanner.java57 updateLineCount(mOffset, matcher.end());
58 mOffset = matcher.end();
59 result = mInput.substring(matcher.start(), matcher.end());
96 updateLineCount(mOffset, matcher.end());
97 mOffset = matcher.end();
115 public void updateLineCount(int start, int end) { argument
116 for (int i = start; i < end; ++i) {
/frameworks/base/media/mca/filterfw/native/base/
H A Dutilities.h50 ForwardIterator end) {
51 while (begin != end) {
64 for (typename T::iterator i = v->begin(); i != v->end(); ++i) {
78 if (it == collection.end()) {
117 if (iter != items_.end())
132 if (it == collection.end()) {
142 return collection.find(key) != collection.end();
49 STLDeleteContainerPointers(ForwardIterator begin, ForwardIterator end) argument
/frameworks/base/media/mca/filterpacks/native/base/
H A Dutilities.h50 ForwardIterator end) {
51 while (begin != end) {
64 for (typename T::iterator i = v->begin(); i != v->end(); ++i) {
78 if (it == collection.end()) {
117 if (iter != items_.end())
132 if (it == collection.end()) {
142 return collection.find(key) != collection.end();
49 STLDeleteContainerPointers(ForwardIterator begin, ForwardIterator end) argument
/frameworks/base/opengl/java/android/opengl/
H A DEGLLogWrapper.java53 end();
70 end();
85 end();
100 end();
116 end();
132 end();
145 end();
157 end();
171 end();
185 end();
407 private void end() { method in class:EGLLogWrapper
[all...]
H A DGLES30.java344 // C function void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices )
349 int end,
355 // C function void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLsizei offset )
360 int end,
346 glDrawRangeElements( int mode, int start, int end, int count, int type, java.nio.Buffer indices ) argument
357 glDrawRangeElements( int mode, int start, int end, int count, int type, int offset ) argument
H A DGLES32.java475 // C function void glDrawRangeElementsBaseVertex ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex )
480 int end,
477 glDrawRangeElementsBaseVertex( int mode, int start, int end, int count, int type, java.nio.Buffer indices, int basevertex ) argument
H A DGLLogWrapper.java84 private void end() { method in class:GLLogWrapper
1180 end();
1189 end();
1198 end();
1207 end();
1216 end();
1225 end();
1237 end();
1249 end();
1258 end();
[all...]
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/
H A DDirectoryItemAnimator.java70 anim.end();
166 public void end() { method in class:DirectoryItemAnimator.ColorAnimation
167 mValueAnimator.end();
H A DMultiSelectManager.java390 * Sets the end point for the current range selection, started by a call to
392 * is active (see {@link #isRangeSelectionActive()}. Items in the range [anchor, end] will be
395 * @param pos The new end position for the selection range.
442 * @param end Adapter position for range end (inclusive).
445 private void updateRange(int begin, int end, boolean selected) { argument
446 assert(end >= begin);
447 for (int i = begin; i <= end; i++) {
1334 * Computes the number of pixels to scroll based on how far the pointer is past the end
1337 * end o
[all...]
/frameworks/base/packages/DocumentsUI/tests/src/com/android/documentsui/dirlist/
H A DMultiSelectManagerTest.java363 private void assertRangeSelected(int begin, int end) { argument
364 for (int i = begin; i <= end; i++) {
369 private void assertRangeSelection(int begin, int end) { argument
370 assertSelectionSize(end - begin + 1);
371 assertRangeSelected(begin, end);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/
H A DRestrictedLockImageSpan.java49 public void draw(Canvas canvas, CharSequence text, int start, int end, float x, int top, int y, argument
64 public int getSize(Paint paint, CharSequence text, int start, int end, argument
66 int size = super.getSize(paint, text, start, end, fontMetrics);
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/net/
H A DDataUsageController.java132 final long start, end;
144 end = addMonth(policyTime, 1).toMillis(false);
147 end = policyTime.toMillis(false);
151 end = now;
155 final NetworkStatsHistory.Entry entry = history.getValues(start, end, now, null);
158 new Date(start), new Date(end), new Date(now), callEnd - callStart,
167 usage.period = formatDateRange(start, end);
235 private String formatDateRange(long start, long end) { argument
239 return DateUtils.formatDateRange(mContext, PERIOD_FORMATTER, start, end, flags, null)

Completed in 4025 milliseconds

1234567891011>>