/frameworks/base/core/java/android/widget/ |
H A D | RtlSpacingHelper.java | 21 * RtlSpacingHelper manages the relationship between left/right and start/end for views 54 public void setRelative(int start, int end) { argument 55 mStart = start; 60 if (start != UNDEFINED) mRight = start; 62 if (start != UNDEFINED) mLeft = start;
|
H A D | SpellChecker.java | 194 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); 225 start = 0; 242 spellParser.parse(start, end); 257 spellParser.parse(start, end); 274 final int start = editable.getSpanStart(spellCheckSpan); 289 isEditing = !apostrophe && (selectionEnd <= start || selectionStart > end); 291 isEditing = !apostrophe && (selectionEnd < start || selectionStar 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 D | TextView.java | 307 // Accessibility action start id for "process text" actions. 418 // Use "start" drawable as "left" drawable if the "left" drawable was not defined 431 // JB-MR1+ normal case: "start" / "end" drawables are overriding "left" / "right" 664 * Kick-start the font cache for the zygote process (to pay the cost of 1554 private void setRelativeDrawablesIfNeeded(Drawable start, Drawable end) { argument 1555 boolean hasRelativeDrawables = (start != null) || (end != null); 1564 if (start != null) { 1565 start.setBounds(0, 0, start.getIntrinsicWidth(), start 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 4498 setText(char[] text, int start, int len) argument 5292 invalidateRegion(int start, int end, boolean invalidateCursor) argument 6520 removeParcelableSpans(Spannable spannable, int start, int end) argument 8055 startStopMarquee(boolean start) argument 8080 onTextChanged(CharSequence text, int start, int lengthBefore, int lengthAfter) argument 8127 sendBeforeTextChanged(CharSequence text, int start, int before, int after) argument 8142 removeIntersectingNonAdjacentSpans(int start, int end, Class<T> type) argument 8177 sendOnTextChanged(CharSequence text, int start, int before, int after) argument 8225 handleTextChanged(CharSequence buffer, int start, int before, int after) 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 10113 CharWrapper(char[] chars, int start, int len) argument 10119 set(char[] chars, int start, int len) 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 10291 void start(int repeatLimit) { method in class:TextView.Marquee 10349 beforeTextChanged(CharSequence buffer, int start, int before, int after) argument 10363 onTextChanged(CharSequence buffer, int start, int before, int after) argument [all...] |
H A D | Toolbar.java | 68 * <p>Toolbar supports a more focused feature set than ActionBar. From start to end, a toolbar 363 * @param start the starting title margin in pixels 373 public void setTitleMargin(int start, int top, int end, int bottom) { argument 374 mTitleMarginStart = start; 909 * <p>The navigation button appears at the start of the toolbar if present. Setting an icon 927 * <p>The navigation button appears at the start of the toolbar if present. Setting an icon 969 * at the start of the toolbar. An icon must be set for the navigation button to appear.</p> 1201 * Gets the start content inset to use when a navigation button is present. 1207 * @return the start content inset used when a navigation icon has been set in pixels 1219 * Sets the start conten [all...] |
H A D | VideoView.java | 317 // called start() previously 452 // start the video here instead of in the callback. 454 start(); 467 // We don't know the video size yet, but should start anyway. 470 start(); 617 start(); 687 start(); 693 start(); 721 public void start() { method in class:VideoView 723 mMediaPlayer.start(); [all...] |
H A D | ViewAnimator.java | 230 public void removeViews(int start, int count) { argument 231 super.removeViews(start, count); 235 } else if (mWhichChild >= start && mWhichChild < start + count) { 241 public void removeViewsInLayout(int start, int count) { argument 242 removeViews(start, count);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ChooserActivity.java | 711 public boolean start(Activity activity, Bundle options) { method in class:ChooserActivity.ChooserTargetInfo 1106 mAnimator.start(); 1183 final int start = getCallerTargetRowCount(); 1184 final int end = start + getServiceTargetRowCount(); 1185 if (rowPosition >= start && rowPosition < end) { 1186 return mServiceTargetScale[rowPosition - start].get(); 1286 final int start = getFirstRowPosition(rowPosition); 1287 final int startType = mChooserListAdapter.getPositionTargetType(start); 1289 int end = start + mColumnCount - 1; 1290 while (mChooserListAdapter.getPositionTargetType(end) != startType && end >= start) { [all...] |
H A D | ResolverActivity.java | 87 * This activity is displayed when the system attempts to start an Intent for 832 if (cti.start(this, null)) { 1076 public boolean start(Activity activity, Bundle options) { method in class:ResolverActivity.DisplayResolveInfo 1109 * intent that will be launched by calling one of the <code>start</code> methods provided; 1118 * be the component that will be directly launched by calling one of the <code>start</code> 1130 * @return true if the start completed successfully 1132 boolean start(Activity activity, Bundle options); method in interface:ResolverActivity.TargetInfo 1136 * was performing the start operation. 1140 * @param userId userId to start as or {@link UserHandle#USER_NULL} for activity's caller 1141 * @return true if the start complete 1481 processGroup(List<ResolvedComponentInfo> rList, int start, int end, ResolvedComponentInfo ro, CharSequence roLabel) argument [all...] |
/frameworks/base/core/java/com/android/internal/os/ |
H A D | LoggingPrintStream.java | 88 int start = 0; 92 while (start < length 93 && (nextBreak = builder.indexOf("\n", start)) != -1) { 94 log(builder.substring(start, nextBreak)); 95 start = nextBreak + 1; 100 if (start < length) { 101 log(builder.substring(start)); 106 builder.delete(0, start); 120 public synchronized void write(byte bytes[], int start, int count) { argument 129 int end = start 339 append( CharSequence csq, int start, int end) argument [all...] |
H A D | SamplingProfilerIntegration.java | 99 public static void start() { method in class:SamplingProfilerIntegration 111 samplingProfiler.start(samplingProfilerMilliseconds); 169 * We use the global start time combined with the process name 176 long start = System.currentTimeMillis(); 196 long elapsed = System.currentTimeMillis() - start; 198 samplingProfiler.start(samplingProfilerMilliseconds);
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | CharSequences.java | 40 public CharSequence subSequence(int start, int end) { 41 return forAsciiBytes(bytes, start, end); 55 * @param start index, inclusive 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); 66 return (char) bytes[index + start]; 70 return end - start; 74 newStart -= start; 61 forAsciiBytes(final byte[] bytes, final int start, final int end) argument 86 validate(int start, int end, int length) argument [all...] |
H A D | FastPrintWriter.java | 659 * PrintWriter.print(csq.subsequence(start, end).toString())}. If {@code 665 * @param start 673 * if {@code start > end}, {@code start < 0}, {@code end < 0} or 674 * either {@code start} or {@code end} are greater or equal than 678 public PrintWriter append(CharSequence csq, int start, int end) { argument 682 String output = csq.subSequence(start, end).toString();
|
H A D | FastXmlSerializer.java | 149 private void escapeAndAppendString(char[] buf, int start, int len) throws IOException { argument 152 int end = start+len; 153 int lastPos = start; 155 for (pos=start; pos<end; pos++) { 375 public XmlSerializer text(char[] buf, int start, int len) throws IOException, argument 381 escapeAndAppendString(buf, start, len); 383 mLineStart = buf[start+len-1] == '\n';
|
H A D | ProgressReporter.java | 189 public void start() { method in class:ProgressReporter
|
H A D | StateMachine.java | 53 * is the initial state. After construction the programmer calls <code>start</code> 57 * of the StateMachine's Handler, not in the context of the call to start, and they 148 hw.start(); 247 sm.start(); 807 + "The start method not called, received msg: " + msg); 1032 * the front of the queue so start at the back, which 1049 * @return index into mStateStack where entering needs to start 1264 mSmThread.start(); 1996 public void start() { method in class:StateMachine
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | IInputConnectionWrapper.java | 176 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 D | InputConnectionWrapper.java | 329 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/view/menu/ |
H A D | IconMenuItemView.java | 248 protected void onTextChanged(CharSequence text, int start, int before, int after) { argument 249 super.onTextChanged(text, start, before, after);
|
H A D | MenuBuilder.java | 658 public int findGroupIndex(int group, int start) { argument 661 if (start < 0) { 662 start = 0; 665 for (int i = start; i < size; i++) {
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | AutoScrollHelper.java | 168 /** Whether to start activation immediately. */ 171 /** Whether to reset the scroller start time on the next animation. */ 404 * Specifying a delay of zero will start auto-scrolling immediately after 473 // be, then update the state and start animations. 516 // If we start animating again before the user lifts their finger, we 692 mScroller.start(); 761 public void start() { method in class:AutoScrollHelper.ClampedScroller 811 * starting the scroller with {@link #start()}. 818 throw new RuntimeException("Cannot compute scroll delta before calling start()");
|
H A D | LockPatternView.java | 471 animator.start(); 519 animator.start(); 529 animator.start(); 758 valueAnimator.start(); 762 private void startRadiusAnimation(float start, float end, long duration, argument 764 ValueAnimator valueAnimator = ValueAnimator.ofFloat(start, end); 782 valueAnimator.start();
|
/frameworks/base/core/java/com/google/android/util/ |
H A D | AbstractMessageParser.java | 268 int start = nextChar; 282 addToken(new Html(text.substring(start, nextChar), buf.toString())); 287 * loaded from a file into a trie at server start. 345 // Make sure this is a valid place to start a URL. 350 int start = nextChar; 353 int index = start; 450 String urlText = text.substring(start, index); 511 Format start = formatStart.get(key); 512 if (start != null) { 513 // Match the start toke 1179 private boolean start; field in class:AbstractMessageParser.Format 1182 Format(char ch, boolean start) argument 1398 longestMatch( TrieNode root, AbstractMessageParser p, int start) argument 1408 longestMatch( TrieNode root, AbstractMessageParser p, int start, boolean smiley) argument [all...] |
/frameworks/base/core/jni/ |
H A D | AndroidRuntime.cpp | 457 char* start = extraOptsBuf; local 459 while (*start != '\0') { 460 while (*start == ' ') /* skip leading whitespace */ 461 start++; 462 if (*start == '\0') /* was trailing ws, bail */ 465 end = start+1; 474 addOption(start); 475 start = end; 930 * If this call succeeds, the VM is ready, and we can start issuing 974 void AndroidRuntime::start(cons function in class:android::AndroidRuntime 1161 void* start = ((void**)args)[0]; local [all...] |
H A D | android_graphics_Canvas.cpp | 489 jint start, jint end, jfloat x, jfloat y, jint bidiFlags, 493 const int count = end - start; 495 get_canvas(canvasHandle)->drawText(jchars + start, 0, count, count, x, y, 514 jint start, jint end, jint contextStart, jint contextEnd, 521 jint count = end - start; 524 get_canvas(canvasHandle)->drawText(jchars + contextStart, start - contextStart, count, 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
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 478 const jchar *text, jint start, jint count, jint contextCount, jint bidiFlags, 482 if ((start | count | contextCount | advancesIndex) < 0 || contextCount < count) { 501 start, count, contextCount, advancesArray.get()); 523 jstring text, jint start, jint end, jint contextStart, jint contextEnd, jint bidiFlags, 529 start - contextStart, end - start, contextEnd - contextStart, bidiFlags, 535 static jint doTextRunCursor(JNIEnv *env, Paint* paint, const jchar *text, jint start, argument 538 size_t result = GraphemeBreak::getTextRunCursor(text, start, count, offset, moveOpt); 569 void operator()(size_t start, size_t end) { argument 570 for (size_t i = start; 477 doTextAdvances(JNIEnv *env, Paint *paint, Typeface* typeface, const jchar *text, jint start, jint count, jint contextCount, jint bidiFlags, jfloatArray advances, jint advancesIndex) argument 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 863 doRunAdvance(const Paint* paint, Typeface* typeface, const jchar buf[], jint start, jint count, jint bufSize, jboolean isRtl, jint offset) 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 889 doOffsetForAdvance(const Paint* paint, Typeface* typeface, const jchar buf[], jint start, jint count, jint bufSize, jboolean isRtl, jfloat advance) 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...] |