Searched defs:start (Results 226 - 250 of 488) sorted by path

1234567891011>>

/frameworks/base/core/java/android/widget/
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);
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
757 haveWordBoundariesChanged(final Editable editable, final int start, final int end, final int spanStart, final int spanEnd) argument
[all...]
H A DTextView.java349 // Use "start" drawable as "left" drawable if the "left" drawable was not defined
362 // JB-MR1+ normal case: "start" / "end" drawables are overriding "left" / "right"
590 * Kick-start the font cache for the zygote process (to pay the cost of
1385 private void setRelativeDrawablesIfNeeded(Drawable start, Drawable end) { argument
1386 boolean hasRelativeDrawables = (start != null) || (end != null);
1395 if (start != null) {
1396 start.setBounds(0, 0, start.getIntrinsicWidth(), start.getIntrinsicHeight());
1397 start
2188 setCompoundDrawablesRelative(@ullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
2325 setCompoundDrawablesRelativeWithIntrinsicBounds(int start, int top, int end, int bottom) argument
2348 setCompoundDrawablesRelativeWithIntrinsicBounds(@ullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
2455 setPaddingRelative(int start, int top, int end, int bottom) argument
3611 append(CharSequence text, int start, int end) argument
4070 setText(char[] text, int start, int len) argument
4835 invalidateRegion(int start, int end, boolean invalidateCursor) argument
6024 removeParcelableSpans(Spannable spannable, int start, int end) argument
7536 startStopMarquee(boolean start) argument
7561 onTextChanged(CharSequence text, int start, int lengthBefore, int lengthAfter) argument
7608 sendBeforeTextChanged(CharSequence text, int start, int before, int after) argument
7623 removeIntersectingNonAdjacentSpans(int start, int end, Class<T> type) argument
7658 sendOnTextChanged(CharSequence text, int start, int before, int after) argument
7706 handleTextChanged(CharSequence buffer, int start, int before, int after) argument
8647 getTransformedText(int start, int end) argument
8984 deleteText_internal(int start, int end) argument
8992 replaceText_internal(int start, int end, CharSequence text) argument
9000 setSpan_internal(Object span, int start, int end, int flags) argument
9008 setCursorPosition_internal(int start, int end) argument
9096 setAccessibilitySelection(int start, int end) argument
9186 CharWrapper(char[] chars, int start, int len) argument
9192 set(char[] chars, int start, int len) argument
9211 subSequence(int start, int end) argument
9219 getChars(int start, int end, char[] buf, int off) argument
9227 drawText(Canvas c, int start, int end, float x, float y, Paint p) argument
9232 drawTextRun(Canvas c, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, Paint p) argument
9240 measureText(int start, int end, Paint p) argument
9244 getTextWidths(int start, int end, float[] widths, Paint p) argument
9248 getTextRunAdvances(int start, int end, int contextStart, int contextEnd, boolean isRtl, float[] advances, int advancesIndex, Paint p) argument
9365 void start(int repeatLimit) { method in class:TextView.Marquee
9423 beforeTextChanged(CharSequence buffer, int start, int before, int after) argument
9437 onTextChanged(CharSequence buffer, int start, int before, int after) argument
[all...]
H A DVideoView.java326 // called start() previously
456 // start the video here instead of in the callback.
458 start();
471 // We don't know the video size yet, but should start anyway.
474 start();
621 start();
689 start();
695 start();
723 public void start() { method in class:VideoView
725 mMediaPlayer.start();
[all...]
H A DViewAnimator.java231 public void removeViews(int start, int count) { argument
232 super.removeViews(start, count);
236 } else if (mWhichChild >= start && mWhichChild < start + count) {
242 public void removeViewsInLayout(int start, int count) { argument
243 removeViews(start, count);
/frameworks/base/core/java/com/android/internal/app/
H A DResolverActivity.java78 * This activity is displayed when the system attempts to start an Intent for
837 int start = 0;
852 processGroup(currentResolveList, start, (i-1), r0, r0Label);
855 start = i;
858 processGroup(currentResolveList, start, (N-1), r0, r0Label);
862 private void processGroup(List<ResolveInfo> rList, int start, int end, ResolveInfo ro, argument
864 // Process labels from start to i
865 int num = end - start+1;
873 // No duplicate labels. Use label for entry at start
887 for (int j = start
[all...]
H A DRestrictionsPinActivity.java144 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
148 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
/frameworks/base/core/java/com/android/internal/os/
H A DLoggingPrintStream.java88 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 DSamplingProfilerIntegration.java99 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 DCharSequences.java40 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 DFastPrintWriter.java634 * PrintWriter.print(csq.subsequence(start, end).toString())}. If {@code
640 * @param start
648 * if {@code start > end}, {@code start < 0}, {@code end < 0} or
649 * either {@code start} or {@code end} are greater or equal than
653 public PrintWriter append(CharSequence csq, int start, int end) { argument
657 String output = csq.subSequence(start, end).toString();
H A DFastXmlSerializer.java148 private void escapeAndAppendString(char[] buf, int start, int len) throws IOException { argument
151 int end = start+len;
152 int lastPos = start;
154 for (pos=start; pos<end; pos++) {
372 public XmlSerializer text(char[] buf, int start, int len) throws IOException, argument
378 escapeAndAppendString(buf, start, len);
380 mLineStart = buf[start+len-1] == '\n';
H A DStateMachine.java51 * is the initial state. After construction the programmer calls <code>start</code>
55 * of the StateMachines Handler not in the context of the call to start and they
146 hw.start();
245 sm.start();
797 + "The start method not called, received msg: " + msg);
1018 * the front of the queue so start at the back, which
1035 * @return index into mStateStack where entering needs to start
1250 mSmThread.start();
1926 public void start() { method in class:StateMachine
/frameworks/base/core/java/com/android/internal/view/
H A DIInputConnectionWrapper.java126 public void setSelection(int start, int end) { argument
127 dispatchMessage(obtainMessageII(DO_SET_SELECTION, start, end));
138 public void setComposingRegion(int start, int end) { argument
139 dispatchMessage(obtainMessageII(DO_SET_COMPOSING_REGION, start, end));
H A DInputConnectionWrapper.java314 public boolean setSelection(int start, int end) { argument
316 mIInputContext.setSelection(start, end);
341 public boolean setComposingRegion(int start, int end) { argument
343 mIInputContext.setComposingRegion(start, end);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuItemView.java248 protected void onTextChanged(CharSequence text, int start, int before, int after) { argument
249 super.onTextChanged(text, start, before, after);
H A DMenuBuilder.java658 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 DAutoScrollHelper.java168 /** 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 DLockPatternView.java607 valueAnimator.start();
611 private void startSizeAnimation(float start, float end, long duration, Interpolator interpolator, argument
613 ValueAnimator valueAnimator = ValueAnimator.ofFloat(start, end);
631 valueAnimator.start();
/frameworks/base/core/java/com/android/internal/widget/multiwaveview/
H A DGlowPadView.java136 public void start() { method in class:GlowPadView.AnimationBundle
137 if (mSuspended) return; // ignore attempts to start animations
141 anim.animator.start();
312 mWaveAnimations.start();
313 mTargetAnimations.start();
314 mGlowAnimations.start();
416 mGlowAnimations.start();
430 mGlowAnimations.start();
534 mTargetAnimations.start();
565 mTargetAnimations.start();
[all...]
/frameworks/base/core/java/com/google/android/util/
H A DAbstractMessageParser.java268 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 DAndroidRuntime.cpp398 char* start = extraOptsBuf; local
400 while (*start != '\0') {
401 while (*start == ' ') /* skip leading whitespace */
402 start++;
403 if (*start == '\0') /* was trailing ws, bail */
406 end = start+1;
415 addOption(start);
416 start = end;
818 // Whether the profile should start upon app startup or be delayed by some random offset
820 property_get("dalvik.vm.profile.start
930 void AndroidRuntime::start(const char* className, const Vector<String8>& options) function in class:android::AndroidRuntime
1117 void* start = ((void**)args)[0]; local
[all...]
H A Dandroid_graphics_Canvas.cpp418 void operator()(size_t start, size_t end) { argument
420 for (size_t i = start; i < end; i++) {
426 for (size_t i = start; i < end; i++) {
433 size_t glyphCount = end - start;
434 canvas->drawText(glyphs + start, pos + (2 * start), glyphCount, paint, x, y,
481 void drawText(Canvas* canvas, const uint16_t* text, int start, int count, int contextCount, argument
487 MinikinUtils::doLayout(&layout, &paint, bidiFlags, typeface, text, start, count, contextCount);
519 jint start, jint end, jfloat x, jfloat y, jint bidiFlags,
523 const int count = end - start;
518 drawTextString(JNIEnv* env, jobject, jlong canvasHandle, jstring text, jint start, jint end, jfloat x, jfloat y, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
525 drawText(get_canvas(canvasHandle), jchars + start, 0, count, count, x, y, local
543 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
602 operator ()(size_t start, size_t end) argument
[all...]
/frameworks/base/core/jni/android/graphics/
H A DMinikinUtils.cpp42 const uint16_t* buf, size_t start, size_t count, size_t bufSize) {
63 layout->doLayout(buf, start, count, bufSize, bidiFlags, minikinStyle, minikinPaint);
41 doLayout(Layout* layout, const Paint* paint, int bidiFlags, TypefaceImpl* typeface, const uint16_t* buf, size_t start, size_t count, size_t bufSize) argument
H A DMinikinUtils.h49 const uint16_t* buf, size_t start, size_t count, size_t bufSize);
54 // f is a functor of type void f(size_t start, size_t end);
60 size_t start = 0; local
65 MinikinFontSkia::populateSkPaint(paint, curFont, layout.getFakery(start));
66 f(start, i);
69 start = i;
73 if (nGlyphs > start) {
74 MinikinFontSkia::populateSkPaint(paint, curFont, layout.getFakery(start));
75 f(start, nGlyphs);
H A DPaint.cpp540 static jfloat measureText_StringIII(JNIEnv* env, jobject jpaint, jstring text, jint start, jint end, argument
546 int count = end - start;
547 if ((start | count) < 0 || (size_t)end > textLength) {
561 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, textArray, start, count, textLength);
630 jint start, jint end, jint bidiFlags, jfloatArray widths) {
634 int count = dotextwidths(env, paint, typeface, textArray + start, end - start, widths, bidiFlags);
640 jint start, jint count, jint contextCount, jboolean isRtl,
645 if ((start | count | contextCount | advancesIndex) < 0 || contextCount < count) {
665 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, text, start, coun
629 getTextWidths__StringIII_F(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint bidiFlags, jfloatArray widths) argument
639 doTextRunAdvances(JNIEnv *env, Paint *paint, TypefaceImpl* typeface, const jchar *text, jint start, jint count, jint contextCount, jboolean isRtl, jfloatArray advances, jint advancesIndex) argument
689 getTextRunAdvances__StringIIIIZ_FI(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint contextStart, jint contextEnd, jboolean isRtl, jfloatArray advances, jint advancesIndex) argument
703 doTextRunCursor(JNIEnv *env, Paint* paint, const jchar *text, jint start, jint count, jint flags, jint offset, jint opt) argument
737 operator ()(size_t start, size_t end) argument
791 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
917 getStringBounds(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint bidiFlags, jobject bounds) argument
[all...]

Completed in 826 milliseconds

1234567891011>>