Searched defs:end (Results 276 - 300 of 387) sorted by relevance

<<111213141516

/frameworks/minikin/libs/minikin/
H A DLineBreaker.cpp91 // This function determines whether a character is a space that disappears at end of line.
124 FontStyle style, size_t start, size_t end, bool isRtl) {
130 width = Layout::measureText(mTextBuf.data(), start, end - start, mTextBuf.size(), bidiFlags,
148 for (size_t i = start; i < end; i++) {
210 if (paint != nullptr || current == end || mCharWidths[current] > 0) {
297 void LineBreaker::addReplacement(size_t start, size_t end, float width) { argument
299 std::fill(&mCharWidths[start + 1], &mCharWidths[end], 0.0f);
300 addStyleRun(nullptr, nullptr, FontStyle(), start, end, false);
333 std::reverse(mBreaks.begin(), mBreaks.end());
334 std::reverse(mWidths.begin(), mWidths.end());
123 addStyleRun(MinikinPaint* paint, const FontCollection* typeface, FontStyle style, size_t start, size_t end, bool isRtl) argument
[all...]
/frameworks/native/libs/ui/
H A DRegion.cpp94 static void reverseRectsResolvingJunctions(const Rect* begin, const Rect* end, argument
98 const Rect* current = end - 1;
196 reverseRectsResolvingJunctions(r.begin(), r.end(), reversed, direction_RTL);
199 reverseRectsResolvingJunctions(reversed.begin(), reversed.end(),
201 outputRegion.mStorage.add(r.getBounds()); // to make region valid, mStorage must end with bounds
236 const_iterator const tail = end();
517 const_iterator const tail = reg.end();
651 Region::const_iterator const tail = dst.end();
828 Region::const_iterator Region::end() const { function in class:android::Region
834 if (count) *count = static_cast<size_t>(end()
[all...]
/frameworks/rs/api/
H A DGenerateDocumentation.cpp147 * declaration. We need to unify these so that we don't end up with entries
161 if (i == entries->end()) {
176 size_t end = 0; local
178 size_t start = s->find('@', end);
182 // Find the end of the identifier
183 end = start;
186 c = (*s)[++end];
189 const string id = s->substr(start + 1, end - start - 1);
195 s->replace(start, end - start, anchor);
H A DGenerateTestFiles.cpp638 size_t end = name.find('_'); local
639 if (end != string::npos) {
640 if (name.compare(0, end, "native") == 0) {
642 } else if (name.compare(0, end, "half") == 0) {
644 } else if (name.compare(0, end, "fast") == 0) {
883 * end:
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DBaseCardView.java863 public InfoOffsetAnimation(float start, float end) { argument
865 mDelta = end - start;
881 public InfoHeightAnimation(float start, float end) { argument
883 mDelta = end - start;
899 public InfoAlphaAnimation(float start, float end) { argument
901 mDelta = end - start;
/frameworks/support/v4/java/android/support/v4/app/
H A DShareCompat.java98 int start, int end) {
99 for (int i = start; i < end; i++) {
111 while (i + 1 < end && text.charAt(i + 1) == ' ') {
97 withinStyle(StringBuilder out, CharSequence text, int start, int end) argument
/frameworks/av/cmds/stagefright/
H A Dstagefright.cpp361 printf("seeking past the end now.");
741 char *end; local
742 long x = strtol(optarg, &end, 10);
744 if (*end != '\0' || end == optarg || x <= 0) {
920 it != list.end(); ++it) {
923 itRoles != (*it).mRoles.end() ; ++itRoles) {
1001 char *end; local
1002 long sampleRate = strtol(filename + 5, &end, 10);
1004 if (end
[all...]
/frameworks/av/media/libstagefright/
H A DMediaCodecList.cpp55 char *end; local
56 unsigned long res = strtoul(s, &end, 10);
57 return *s != '\0' && *end == '\0' && res > 0;
403 // [a-zA-Z0-9_.] and must start with media_codecs_ and end with .xml
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/
H A Dmp4enc_api.cpp1663 /* Modify the intialize flag at the end.*/
1675 /* Purpose : Enter a video frame and perform front-end time check plus ME */
1988 /* Modify the intialize flag at the end.*/
2995 Int i, j, start, end; local
3230 end = index;
3236 end = index;
3241 for (i = start; i <= end; i++)
3250 if (i > end) return PV_FALSE;
3295 } /* end of: if(nLayers == 1) */
/frameworks/av/media/libstagefright/httplive/
H A DM3UParser.cpp130 char *end; local
131 mSelectedIndex = strtoul(value, &end, 10);
132 CHECK(end > value && *end == '\0');
516 size_t end; local
518 end = qsPos - baseURL;
520 end = strlen(baseURL);
523 for (ssize_t pos = end - 1; pos >= 0; pos--) {
525 end = pos;
532 if (end >
805 ssize_t end = FindNextUnquoted(line, ',', offset); local
830 char *end; local
859 char *end; local
915 ssize_t end = FindNextUnquoted(line, ',', offset); local
994 char *end; local
1052 ssize_t end = FindNextUnquoted(line, ',', offset); local
1281 char *end; local
1295 char *end; local
[all...]
/frameworks/av/media/libstagefright/wifi-display/source/
H A DWifiDisplaySource.cpp158 char *end; local
159 port = strtoul(s, &end, 10);
161 if (end == s || *end != '\0' || port > 65535) {
/frameworks/av/media/mtp/
H A DMtpServer.cpp1197 // can't start writing past the end of the file
1199 ALOGD("writing past end of object, offset: %" PRIu64 ", edit->mSize: %" PRIu64,
1248 uint64_t end = offset + length; local
1249 if (end > edit->mSize) {
1250 edit->mSize = end;
/frameworks/base/core/java/android/animation/
H A DValueAnimator.java135 * animator is playing in reverse. It is used in corner cases to determine proper end
175 * startDelay and whether start() was called before end().
186 * Flag that tracks whether animation has been requested to end.
246 * When the animation reaches the end and <code>repeatCount</code> is INFINITE
251 * When the animation reaches the end and <code>repeatCount</code> is INFINITE
584 * a fraction of 0 will position the animation at the beginning, a value of 1 at the end,
585 * and a value of 2 at the end of a reversing animator that repeats once. If
830 * Defines what this animation should do when it reaches the end. This
841 * Defines what this animation should do when it reaches the end.
1019 // If end ha
1044 public void end() { method in class:ValueAnimator
[all...]
/frameworks/base/core/java/android/text/
H A DHtml.java326 private static void withinDiv(StringBuilder out, Spanned text, int start, int end, argument
329 for (int i = start; i < end; i = next) {
330 next = text.nextSpanTransition(i, end, QuoteSpan.class);
345 private static String getTextDirection(Spanned text, int start, int end) { argument
346 final int len = end - start;
349 TextUtils.getChars(text, start, end, buffer, 0);
362 private static String getTextStyles(Spanned text, int start, int end, argument
371 final AlignmentSpan[] alignmentSpans = text.getSpans(start, end, AlignmentSpan.class);
383 textAlign = "text-align:end;";
406 private static void withinBlockquote(StringBuilder out, Spanned text, int start, int end, argument
415 withinBlockquoteIndividual(StringBuilder out, Spanned text, int start, int end) argument
480 withinBlockquoteConsecutive(StringBuilder out, Spanned text, int start, int end) argument
517 withinParagraph(StringBuilder out, Spanned text, int start, int end) argument
643 withinStyle(StringBuilder out, CharSequence text, int start, int end) argument
1075 private static void end(Editable text, Class kind, Object repl) { method in class:HtmlToSpannedConverter
[all...]
H A DSpannableStringBuilder.java57 public SpannableStringBuilder(CharSequence text, int start, int end) { argument
58 int srclen = end - start;
66 TextUtils.getChars(text, start, end, mText, 0);
81 Object[] spans = sp.getSpans(start, end, Object.class);
94 if (st > end - start)
95 st = end - start;
99 if (en > end - start)
100 en = end - start;
185 int end = mSpanEnds[i];
198 if (end > mGapStar
219 insert(int where, CharSequence tb, int start, int end) argument
229 delete(int start, int end) argument
289 append(CharSequence text, int start, int end) argument
300 removeSpansForChange(int start, int end, boolean textIsRemoved, int i) argument
325 change(int start, int end, CharSequence cs, int csStart, int csEnd) argument
508 replace(int start, int end, CharSequence tb) argument
513 replace(final int start, final int end, CharSequence tb, int tbstart, int tbend) argument
676 setSpan(Object what, int start, int end, int flags) argument
683 setSpan(boolean send, Object what, int start, int end, int flags) argument
782 isInvalidParagraphEnd(int end, int flagsEnd) argument
1138 subSequence(int start, int end) argument
1146 getChars(int start, int end, char[] dest, int destoff) argument
1178 substring(int start, int end) argument
1223 sendSpanAdded(Object what, int start, int end) argument
1232 sendSpanRemoved(Object what, int start, int end) argument
1241 sendSpanChanged(Object what, int oldStart, int oldEnd, int start, int end) argument
1252 region(int start, int end) argument
1256 checkRange(final String operation, int start, int end) argument
1360 drawText(Canvas c, int start, int end, float x, float y, Paint p) argument
1381 drawTextRun(Canvas c, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, Paint p) argument
1404 measureText(int start, int end, Paint p) argument
1428 getTextWidths(int start, int end, float[] widths, Paint p) argument
1452 getTextRunAdvances(int start, int end, int contextStart, int contextEnd, boolean isRtl, float[] advances, int advancesPos, Paint p) argument
[all...]
/frameworks/base/core/java/android/util/apk/
H A DApkSignatureSchemeV2Verifier.java754 * between the specified start (inclusive) and end (exclusive) positions. As opposed to
758 private static ByteBuffer sliceFromTo(ByteBuffer source, int start, int end) { argument
762 if (end < start) {
763 throw new IllegalArgumentException("end < start: " + end + " < " + start);
766 if (end > source.capacity()) {
767 throw new IllegalArgumentException("end > capacity: " + end + " > " + capacity);
773 source.limit(end);
/frameworks/base/core/java/android/view/
H A DRenderNodeAnimator.java246 end();
251 public void end() { method in class:RenderNodeAnimator
466 int end = 0;
470 if (end != i) {
471 mDelayedAnims.set(end, animator);
473 end++;
476 while (mDelayedAnims.size() > end) {
H A DViewTreeObserver.java915 listeners.end();
947 listeners.end();
969 listeners.end();
1019 listeners.end();
1051 listeners.end();
1086 * access.end();
1130 void end() { method in class:ViewTreeObserver.CopyOnWriteArray
/frameworks/base/core/java/android/widget/
H A DExpandableListView.java300 * Resolve start/end indicator. start/end indicator always takes precedence over left/right
326 * Resolve start/end child indicator. start/end child indicator always takes precedence over
1170 * View) to end the drawing of the indicator.
1186 * @param end The end position (relative to the end bounds of this
1187 * View) to end the drawing of the indicator.
1189 public void setChildIndicatorBoundsRelative(int start, int end) { argument
1238 setIndicatorBoundsRelative(int start, int end) argument
[all...]
H A DOverScroller.java205 * Returns where the scroll will end. Valid only for "fling" scrolls.
214 * Returns where the scroll will end. Valid only for "fling" scrolls.
730 private void startSpringback(int start, int end, int velocity) { argument
735 mFinal = end;
736 final int delta = start - end;
797 private void fitOnBounceCurve(int start, int end, int velocity) { argument
803 final float distanceToEdge = Math.abs(end - start);
807 mCurrentPosition = mStart = end;
811 private void startBounceAfterEdge(int start, int end, int velocity) { argument
812 mDeceleration = getDeceleration(velocity == 0 ? start - end
840 notifyEdgeReached(int start, int end, int over) argument
[all...]
/frameworks/base/core/jni/
H A Dandroid_hardware_location_ContextHubService.cpp167 auto end = db.appInstances.end(); local
168 for (auto current = db.appInstances.begin(); current != end; ++current) {
/frameworks/base/tools/aapt2/
H A DResourceParser.cpp387 if (itemIter != elToItemMap.end()) {
412 if (bagIter != elToBagMap.end()) {
745 // Attributes only end up in default configuration.
885 attr->symbols = std::vector<Attribute::Symbol>(items.begin(), items.end());
929 const char16_t* const end = start + str.size(); local
933 if (p != end && *p == u'*') {
941 while (p != end) {
944 name = StringPiece16(p + 1, end - (p + 1));
/frameworks/base/tools/layoutlib/create/src/com/android/tools/layoutlib/create/
H A DAsmAnalyzer.java256 // - add end-of-line match $
551 // Visits the end of a class
575 // Visits the end of a class
702 String signature, Label start, Label end, int index) {
760 public void visitTryCatchBlock(Label start, Label end, Label handler, String type) { argument
701 visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) argument
H A DDependencyFinder.java428 // Visits the end of a class
452 // Visits the end of a class
580 String signature, Label start, Label end, int index) {
634 public void visitTryCatchBlock(Label start, Label end, Label handler, String type) { argument
579 visitLocalVariable(String name, String desc, String signature, Label start, Label end, int index) argument
/frameworks/native/cmds/atrace/
H A Datrace.cpp446 char *end = strchr(start, ']'); local
447 if (end == NULL) {
450 *end = '\0';
546 char* end = strchr(start, ','); local
547 if (end != NULL) {
548 *end = '\0';
549 end++;
557 start = end;
1128 // matching "end" entry to show up if a task gets migrated from one CPU to

Completed in 385 milliseconds

<<111213141516