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

1234567891011>>

/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/policy/src/com/android/internal/policy/impl/keyguard/
H A DFaceUnlock.java117 public boolean start() { method in class:FaceUnlock
118 if (DEBUG) Log.d(TAG, "start()");
120 Log.e(TAG, "start() called off of the UI thread");
124 Log.w(TAG, "start() called when already running");
236 * Tells the service to start its UI via an AIDL interface. Called when the
367 * Tells the Face Unlock service to start displaying its UI and start processing.
H A DKeyguardAbsKeyInputView.java80 // start fresh
115 public void onTextChanged(CharSequence s, int start, int before, int count) {
118 public void beforeTextChanged(CharSequence s, int start, int count, int after) {
187 }.start();
228 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
235 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
H A DKeyguardAccountView.java118 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
121 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
139 // start fresh
/frameworks/base/policy/src/com/android/internal/policy/impl/keyguard_obsolete/
H A DAccountUnlockScreen.java121 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
124 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
147 // start fresh
/frameworks/base/sax/tests/saxtests/src/android/sax/
H A DSafeSaxTest.java58 public void start(Attributes attributes) { method in class:SafeSaxTest.ElementCounter
71 public void start(Attributes attributes) { method in class:SafeSaxTest.TextElementCounter
173 long start = System.currentTimeMillis();
176 long elapsed = System.currentTimeMillis() - start;
181 long start = System.currentTimeMillis();
184 long elapsed = System.currentTimeMillis() - start;
190 long start = System.currentTimeMillis();
192 long elapsed = System.currentTimeMillis() - start;
245 public void start(Attributes attributes) {
255 public void start(Attribute
339 public void start(Attributes attributes) { method in class:SafeSaxTest.HandlerFactory.VideoListener
450 characters(char text[], int start, int length) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DServiceWatcher.java95 public boolean start() { method in class:ServiceWatcher
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/
H A DFontLoader.java225 public void characters(char[] ch, int start, int length) throws SAXException { argument
226 mBuilder.append(ch, start, length);

Completed in 5365 milliseconds

1234567891011>>