Searched defs:start (Results 176 - 200 of 391) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/text/
H A DSpannableStringInternal.java26 int start, int end) {
27 if (start == 0 && end == source.length())
30 mText = source.toString().substring(start, end);
38 Object[] spans = sp.getSpans(start, end, Object.class);
45 if (st < start)
46 st = start;
50 setSpan(spans[i], st - start, en - start, fl);
69 public final void getChars(int start, int end, char[] dest, int off) { argument
70 mText.getChars(start, en
25 SpannableStringInternal(CharSequence source, int start, int end) argument
73 setSpan(Object what, int start, int end, int flags) argument
285 nextSpanTransition(int start, int limit, Class kind) argument
307 sendSpanAdded(Object what, int start, int end) argument
316 sendSpanRemoved(Object what, int start, int end) argument
335 region(int start, int end) argument
339 checkRange(final String operation, int start, int end) argument
[all...]
/frameworks/base/core/java/android/text/method/
H A DPasswordTransformationMethod.java71 public void beforeTextChanged(CharSequence s, int start, argument
76 public void onTextChanged(CharSequence s, int start, argument
108 sp.setSpan(new Visible(sp, this), start, start + count,
178 public CharSequence subSequence(int start, int end) { argument
179 char[] buf = new char[end - start];
181 getChars(start, end, buf, 0);
189 public void getChars(int start, int end, char[] dest, int off) { argument
190 TextUtils.getChars(mSource, start, end, dest, off);
215 for (int i = start;
[all...]
H A DTextKeyListener.java176 public void onSpanAdded(Spannable s, Object what, int start, int end) { } argument
177 public void onSpanRemoved(Spannable s, Object what, int start, int end) { } argument
179 public void onSpanChanged(Spannable s, Object what, int start, int end, argument
/frameworks/base/core/java/android/text/util/
H A DLinkify.java96 public final boolean acceptMatch(CharSequence s, int start, int end) {
97 if (start == 0) {
101 if (s.charAt(start - 1) == '@') {
114 public final boolean acceptMatch(CharSequence s, int start, int end) {
117 for (int i = start; i < end; i++) {
160 * @param start The index of the first character in s that was
167 boolean acceptMatch(CharSequence s, int start, int end); argument
240 applyLink(link.url, link.start, link.end, text);
368 int start = m.start();
388 applyLink(String url, int start, int end, Spannable text) argument
541 int start; field in class:LinkSpec
[all...]
/frameworks/base/core/java/android/util/
H A DMathUtils.java147 public static float lerp(float start, float stop, float amount) { argument
148 return start + (stop - start) * amount;
151 public static float norm(float start, float stop, float value) { argument
152 return (value - start) / (stop - start);
/frameworks/base/core/java/android/view/
H A DDisplayList.java77 public abstract HardwareCanvas start(); method in class:DisplayList
/frameworks/base/core/java/android/view/inputmethod/
H A DInputConnection.java170 * is relative to the start of the text. So a value of 1 will
187 * @param start the position in the text at which the composing region begins
192 public boolean setComposingRegion(int start, int end); argument
210 * is relative to the start of the text. So a value of 1 will
249 * start and end should have the same value.
253 public boolean setSelection(int start, int end); argument
H A DInputConnectionWrapper.java73 public boolean setComposingRegion(int start, int end) { argument
74 return mTarget.setComposingRegion(start, end);
93 public boolean setSelection(int start, int end) { argument
94 return mTarget.setSelection(start, end);
/frameworks/base/core/java/android/webkit/
H A DFindActionModeCallback.java243 int start,
251 int start,
242 beforeTextChanged(CharSequence s, int start, int count, int after) argument
250 onTextChanged(CharSequence s, int start, int before, int count) argument
/frameworks/base/core/java/android/widget/
H A DChronometer.java40 * You can give it a start time in the {@link SystemClock#elapsedRealtime} timebase,
42 * time at which you call {@link #start}. By default it will display the current
184 * make sure that each start() call has a reciprocal call to {@link #stop}.
186 public void start() { method in class:Chronometer
196 * be held as the chronometer is running, via {@link #start}.
204 * The same as calling {@link #start} or {@link #stop}.
H A DSpellChecker.java199 private void addSpellCheckSpan(Editable editable, int start, int end) { argument
202 editable.setSpan(spellCheckSpan, start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
221 public void spellCheck(int start, int end) { argument
223 Log.d(TAG, "Start spell-checking: " + start + ", " + end);
230 start = 0;
247 spellParser.parse(start, end);
262 spellParser.parse(start, end);
279 final int start = editable.getSpanStart(spellCheckSpan);
288 isEditing = selectionEnd <= start || selectionStart > end;
290 isEditing = selectionEnd < start || selectionStar
506 parse(int start, int end) argument
529 setRangeSpan(Editable editable, int start, int end) argument
[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/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...]
/frameworks/base/core/java/com/android/internal/util/
H A DFastXmlSerializer.java134 private void escapeAndAppendString(char[] buf, int start, int len) throws IOException { argument
137 int end = start+len;
138 int lastPos = start;
140 for (pos=start; pos<end; pos++) {
345 public XmlSerializer text(char[] buf, int start, int len) throws IOException, argument
351 escapeAndAppendString(buf, start, len);
/frameworks/base/core/java/com/android/internal/view/menu/
H A DIconMenuItemView.java245 protected void onTextChanged(CharSequence text, int start, int before, int after) { argument
246 super.onTextChanged(text, start, before, after);
/frameworks/base/core/tests/coretests/src/android/net/
H A DNetworkStatsHistoryTest.java318 final long start = r.nextLong();
319 final long end = start + r.nextInt();
325 stats.recordData(start, end, entry);
487 NetworkStatsHistory stats, long start, long end, long rxBytes, long txBytes) {
488 final NetworkStatsHistory.Entry entry = stats.getValues(start, end, null);
510 private static void assertValues(NetworkStatsHistory stats, long start, long end, argument
513 final NetworkStatsHistory.Entry entry = stats.getValues(start, end, null);
486 assertValues( NetworkStatsHistory stats, long start, long end, long rxBytes, long txBytes) argument
/frameworks/base/core/tests/coretests/src/android/text/
H A DTextUtilsTest.java135 /** Fail unless text+spans contains a span 'spanName' with the given start and end. */
137 int start, int end) throws Exception {
140 assertEquals(start, text.getSpanStart(i));
417 public CharSequence subSequence(int start, int end) { argument
418 return new Wrapper(mString.subSequence(start, end));
497 public <T> T[] getSpans(int start, int end, Class<T> type) { argument
517 public int nextSpanTransition(int start, int limit, Class type) { argument
136 checkContains(Spanned text, String[] spans, String spanName, int start, int end) argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimationDrawable.java36 * {@link #start()} to run the animation.
65 * frameAnimation.start();
115 public void start() { method in class:AnimationDrawable
126 * @see #start()
145 * called directly. Invoke {@link #start()} instead.</p>
147 * @see #start()
/frameworks/base/libs/hwui/
H A DGradientCache.cpp195 float start = positions[0]; local
196 float distance = positions[1] - start;
206 start = positions[currentPos];
214 distance = positions[currentPos] - start;
217 float amount = (pos - start) / distance;
/frameworks/base/media/libdrm/mobile1/src/parser/
H A Dparser_rel.c177 {"<o-dd:start>","</o-dd:start>"},
182 char*start = strstr((char*)drm_constrain,all_vaild_constraints[i][0]); local
184 if(start && (start < constrain_end)){
199 if((0 == strncmp(all_vaild_constraints[i][0],"<o-dd:start>",strlen("<o-dd:start>")))
207 constrain_len -= (end - start);
466 "o-ex:rights\\o-ex:agreement\\o-ex:permission\\o-dd:%s\\o-ex:constraint\\o-dd:datetime\\o-dd:start",
471 if (pBuf) { /* If start elemen
[all...]
/frameworks/base/media/tests/MediaDump/src/com/android/mediadump/
H A DRgbPlayerActivity.java244 public void start() { method in class:RgbPlayerActivity.RgbView
/frameworks/base/media/tests/players/
H A Dinvoke_mock_media_player.cpp75 virtual status_t start() {return OK;} function in class:__anon1114::Player
/frameworks/base/obex/javax/obex/
H A DObexHelper.java160 * @return the result of the last start body or end body header provided;
687 * @param start the starting index to search
692 public static int findHeaderEnd(byte[] headerArray, int start, int maxSize) { argument
696 int index = start;
747 * returned since it would be the start of the next header
755 return lastLength + start;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DTicker.java80 CharSequence rtrim(CharSequence substr, int start, int end) { argument
81 while (end > start && !isGraphicOrEmoji(substr.charAt(end-1))) {
84 if (end > start) {
85 return substr.subSequence(start, end);
99 int start = l.getLineStart(0);
102 return rtrim(substr, start, end);
126 int start = l.getLineStart(i);
133 CharSequence result = rtrim(substr, start, end);
135 this.current = index + start;
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard/
H A DFaceUnlock.java118 public boolean start() { method in class:FaceUnlock
119 if (DEBUG) Log.d(TAG, "start()");
121 Log.e(TAG, "start() called off of the UI thread");
125 Log.w(TAG, "start() called when already running");
237 * Tells the service to start its UI via an AIDL interface. Called when the
375 * Tells the Face Unlock service to start displaying its UI and start processing.

Completed in 399 milliseconds

1234567891011>>