Searched defs:end (Results 126 - 150 of 387) sorted by path

1234567891011>>

/frameworks/base/core/java/android/widget/
H A DNumberPicker.java1711 // Wrap around the values if we go past the start or end
2092 CharSequence source, int start, int end, Spanned dest, int dstart, int dend) {
2094 CharSequence filtered = super.filter(source, start, end, dest, dstart, dend);
2096 filtered = source.subSequence(start, end);
2120 CharSequence filtered = String.valueOf(source.subSequence(start, end));
2091 filter( CharSequence source, int start, int end, Spanned dest, int dstart, int dend) argument
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...]
H A DRemoteViews.java2485 * @param end The id of a drawable to place after the text, or 0
2488 public void setTextViewCompoundDrawablesRelative(int viewId, int start, int top, int end, int bottom) { argument
2489 addAction(new TextViewDrawableAction(viewId, true, start, top, end, bottom));
2540 * @param end an Icon to place after the text, or 0
2545 public void setTextViewCompoundDrawablesRelative(int viewId, Icon start, Icon top, Icon end, Icon bottom) { argument
2546 addAction(new TextViewDrawableAction(viewId, true, start, top, end, bottom));
3048 * sent across processes, so it may end up using a lot of memory, and may be fairly slow.</p>
H A DRtlSpacingHelper.java21 * RtlSpacingHelper manages the relationship between left/right and start/end for views
54 public void setRelative(int start, int end) { argument
56 mEnd = end;
59 if (end != UNDEFINED) mLeft = end;
63 if (end != UNDEFINED) mRight = end;
H A DSpellChecker.java194 private void addSpellCheckSpan(Editable editable, int start, int end) { argument
197 editable.setSpan(spellCheckSpan, start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
216 public void spellCheck(int start, int end) { argument
218 Log.d(TAG, "Start spell-checking: " + start + ", " + end);
226 end = mTextView.getText().length();
242 spellParser.parse(start, end);
257 spellParser.parse(start, end);
275 final int end = editable.getSpanEnd(spellCheckSpan);
284 final boolean apostrophe = (selectionStart == end + 1 && editable.charAt(end)
505 parse(int start, int end) argument
528 setRangeSpan(Editable editable, int start, int end) argument
753 haveWordBoundariesChanged(final Editable editable, final int start, final int end, final int spanStart, final int spanEnd) argument
[all...]
H A DTextView.java273 * Draw marquee text as ellipsize end while inactive instead of with the fade.
424 // Use "end" drawable as "right" drawable if the "right" drawable was not defined
431 // JB-MR1+ normal case: "start" / "end" drawables are overriding "left" / "right"
1554 private void setRelativeDrawablesIfNeeded(Drawable start, Drawable end) { argument
1555 boolean hasRelativeDrawables = (start != null) || (end != null);
1576 if (end != null) {
1577 end.setBounds(0, 0, end.getIntrinsicWidth(), end.getIntrinsicHeight());
1578 end
2365 setCompoundDrawablesRelative(@ullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
2512 setCompoundDrawablesRelativeWithIntrinsicBounds(@rawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
2536 setCompoundDrawablesRelativeWithIntrinsicBounds(@ullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
2754 setPaddingRelative(int start, int top, int end, int bottom) argument
4036 append(CharSequence text, int start, int end) argument
5292 invalidateRegion(int start, int end, boolean invalidateCursor) argument
6520 removeParcelableSpans(Spannable spannable, int start, int end) argument
8142 removeIntersectingNonAdjacentSpans(int start, int end, Class<T> type) argument
9398 getTransformedText(int start, int end) argument
9878 deleteText_internal(int start, int end) argument
9886 replaceText_internal(int start, int end, CharSequence text) argument
9894 setSpan_internal(Object span, int start, int end, int flags) argument
9902 setCursorPosition_internal(int start, int end) argument
9993 setAccessibilitySelection(int start, int end) argument
10138 subSequence(int start, int end) argument
10146 getChars(int start, int end, char[] buf, int off) argument
10154 drawText(Canvas c, int start, int end, float x, float y, Paint p) argument
10159 drawTextRun(Canvas c, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, Paint p) argument
10167 measureText(int start, int end, Paint p) argument
10171 getTextWidths(int start, int end, float[] widths, Paint p) argument
10175 getTextRunAdvances(int start, int end, int contextStart, int contextEnd, boolean isRtl, float[] advances, int advancesIndex, Paint p) argument
[all...]
H A DToolbar.java68 * <p>Toolbar supports a more focused feature set than ActionBar. From start to end, a toolbar
91 * end of the Toolbar offering a few
365 * @param end the ending title margin in pixels
373 public void setTitleMargin(int start, int top, int end, int bottom) { argument
376 mTitleMarginEnd = end;
1068 * the action buttons presented at the end of the toolbar or the associated overflow.</p>
1244 * Gets the end content inset to use when action buttons are present.
1250 * @return the end content inset used when a menu has been set in pixels
1303 * @return the current content inset end in pixels
/frameworks/base/core/java/com/android/internal/app/
H A DResolverActivity.java1447 // Only loop to the end of into as it was before we started; no dupes in from.
1481 private void processGroup(List<ResolvedComponentInfo> rList, int start, int end, argument
1484 int num = end - start+1;
1501 for (int j = start+1; j <= end ; j++) {
1514 for (int k = start; k <= end; k++) {
1519 // Use package name for all entries from start to end-1
1522 // Use application name for all entries from start to end-1
/frameworks/base/core/java/com/android/internal/os/
H A DLoggingPrintStream.java83 * even though they don't end in a line break
129 int end = start + count;
130 while (start < end) {
132 // way, if we end with a partial character we don't lose it.
133 int numBytes = Math.min(encodedBytes.remaining(), end - start);
340 CharSequence csq, int start, int end) {
341 builder.append(csq, start, end);
339 append( CharSequence csq, int start, int end) argument
/frameworks/base/core/java/com/android/internal/util/
H A DCharSequences.java40 public CharSequence subSequence(int start, int end) {
41 return forAsciiBytes(bytes, start, end);
56 * @param end index, exclusive
58 * @throws IndexOutOfBoundsException if start or end are negative, if end
59 * is greater than length(), or if start is greater than end
62 final int start, final int end) {
63 validate(start, end, bytes.length);
70 return end - start;
86 static void validate(int start, int end, in argument
61 forAsciiBytes(final byte[] bytes, final int start, final int end) argument
[all...]
H A DFastPrintWriter.java294 final int end = i + length;
295 while (i < end) {
297 appendLocked(str, i, next < end ? BUFFER_LEN : (end - i));
314 final int end = i + length;
315 while (i < end) {
317 appendLocked(buf, i, next < end ? BUFFER_LEN : (end - i));
659 * PrintWriter.print(csq.subsequence(start, end).toString())}. If {@code
668 * @param end
678 append(CharSequence csq, int start, int end) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/
H A DIInputConnectionWrapper.java176 public void setSelection(int start, int end) { argument
177 dispatchMessage(obtainMessageII(DO_SET_SELECTION, start, end));
188 public void setComposingRegion(int start, int end) { argument
189 dispatchMessage(obtainMessageII(DO_SET_COMPOSING_REGION, start, end));
H A DInputConnectionWrapper.java329 public boolean setSelection(int start, int end) { argument
331 mIInputContext.setSelection(start, end);
356 public boolean setComposingRegion(int start, int end) { argument
362 mIInputContext.setComposingRegion(start, end);
/frameworks/base/core/java/com/android/internal/widget/
H A DLockPatternView.java762 private void startRadiusAnimation(float start, float end, long duration, argument
764 ValueAnimator valueAnimator = ValueAnimator.ofFloat(start, end);
/frameworks/base/core/java/org/apache/http/conn/ssl/
H A DAndroidDistinguishedNameParser.java37 private int end; field in class:AndroidDistinguishedNameParser
60 return null; // reached the end of DN
73 throw new IllegalStateException("Unexpected end of DN: " + dn);
76 // mark the end of attribute type
77 end = pos;
86 throw new IllegalStateException("Unexpected end of DN: " + dn);
99 if ((end - beg > 4) && (chars[beg + 3] == '.')
106 return new String(chars, beg, end - beg);
113 end = beg;
117 throw new IllegalStateException("Unexpected end o
[all...]
/frameworks/base/core/jni/
H A DAndroidRuntime.cpp458 char* end = NULL; local
465 end = start+1;
466 while (*end != ' ' && *end != '\0') /* find end of token */
467 end++;
468 if (*end == ' ')
469 *end++ = '\0'; /* mark end, advance to indicate more */
475 start = end;
[all...]
H A Dandroid_graphics_Canvas.cpp489 jint start, jint end, jfloat x, jfloat y, jint bidiFlags,
493 const int count = end - start;
514 jint start, jint end, jint contextStart, jint contextEnd,
521 jint count = end - start;
488 drawTextString(JNIEnv* env, jobject, jlong canvasHandle, jstring text, jint start, jint end, jfloat x, jfloat y, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
513 drawTextRunString(JNIEnv* env, jobject obj, jlong canvasHandle, jstring text, jint start, jint end, jint contextStart, jint contextEnd, jfloat x, jfloat y, jboolean isRtl, jlong paintHandle, jlong typefaceHandle) argument
H A Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp159 static void end(JNIEnv*, jobject, jlong animatorSetPtr) { function in namespace:android
161 set->end();
180 {"nEnd", "!(J)V", (void*)end},
H A Dandroid_hardware_location_ContextHubService.cpp167 auto end = db.appInstances.end(); local
168 for (auto current = db.appInstances.begin(); current != end; ++current) {
H A Dandroid_opengl_GLES30.cpp454 /* void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices ) */
457 (JNIEnv *_env, jobject _this, jint mode, jint start, jint end, jint count, jint type, jobject indices_buf) {
471 (GLuint)end,
481 /* void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLsizei offset ) */
484 (JNIEnv *_env, jobject _this, jint mode, jint start, jint end, jint count, jint type, jint offset) {
488 (GLuint)end,
456 android_glDrawRangeElements__IIIIILjava_nio_Buffer_2(JNIEnv *_env, jobject _this, jint mode, jint start, jint end, jint count, jint type, jobject indices_buf) argument
483 android_glDrawRangeElements__IIIIII(JNIEnv *_env, jobject _this, jint mode, jint start, jint end, jint count, jint type, jint offset) argument
H A Dandroid_opengl_GLES32.cpp883 /* void glDrawRangeElementsBaseVertex ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex ) */
886 (JNIEnv *_env, jobject _this, jint mode, jint start, jint end, jint count, jint type, jobject indices_buf, jint basevertex) {
909 (GLuint)end,
885 android_glDrawRangeElementsBaseVertex__IIIIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint mode, jint start, jint end, jint count, jint type, jobject indices_buf, jint basevertex) argument
H A Dandroid_os_Debug.cpp232 uint64_t end = 0; local
247 prevEnd = end;
257 if (sscanf(line, "%" SCNx64 "-%" SCNx64 " %*s %*x %*x:%*x %*d%n", &start, &end, &name_pos) != 2) {
265 // Trim the end of the line if it is " (deleted)".
388 } else if (sscanf(line, "%" SCNx64 "-%" SCNx64 " %*s %*x %*x:%*x %*d", &start, &end) == 2) {
H A Dandroid_os_SystemProperties.cpp72 char* end; local
84 result = strtol(buf, &end, 0);
85 if (end == buf) {
102 char* end; local
114 result = strtoll(buf, &end, 0);
115 if (end == buf) {
H A Dandroid_os_UEventObserver.cpp52 const char* end = buffer + length + 1; local
59 } while (field != end);
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp523 jstring text, jint start, jint end, jint contextStart, jint contextEnd, jint bidiFlags,
529 start - contextStart, end - start, contextEnd - contextStart, bidiFlags,
569 void operator()(size_t start, size_t end) { argument
570 for (size_t i = start; i < end; i++) {
576 paint->getPosTextPath(glyphs + start, (end - start) << 1, pos + start, path);
578 paint->getPosTextPath(glyphs + start, (end - start) << 1, pos + start, &tmpPath);
625 jstring text, jint start, jint end, jfloat x, jfloat y, jlong pathHandle) {
630 getTextPath(env, paint, typeface, textArray + start, end - start, bidiFlags, x, y, path);
744 jstring text, jint start, jint end, jint bidiFlags, jobject bounds) {
748 doTextBounds(env, textArray + start, end
521 getTextAdvances__StringIIIII_FI(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint contextStart, jint contextEnd, jint bidiFlags, jfloatArray advances, jint advancesIndex) argument
623 getTextPath__String(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jint bidiFlags, jstring text, jint start, jint end, jfloat x, jfloat y, jlong pathHandle) argument
743 getStringBounds(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint bidiFlags, jobject bounds) argument
876 getRunAdvance___CIIIIZI_F(JNIEnv *env, jclass, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint start, jint end, jint contextStart, jint contextEnd, jboolean isRtl, jint offset) argument
898 getOffsetForAdvance___CIIIIZF_I(JNIEnv *env, jclass, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint start, jint end, jint contextStart, jint contextEnd, jboolean isRtl, jfloat advance) argument
[all...]

Completed in 286 milliseconds

1234567891011>>