Searched defs:start (Results 201 - 225 of 492) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/text/
H A DSpannableStringInternal.java29 int start, int end) {
30 if (start == 0 && end == source.length())
33 mText = source.toString().substring(start, end);
40 Object[] spans = sp.getSpans(start, end, Object.class);
47 if (st < start)
48 st = start;
52 setSpan(spans[i], st - start, en - start, fl);
71 public final void getChars(int start, int end, char[] dest, int off) { argument
72 mText.getChars(start, en
28 SpannableStringInternal(CharSequence source, int start, int end) argument
75 setSpan(Object what, int start, int end, int flags) argument
287 nextSpanTransition(int start, int limit, Class kind) argument
309 sendSpanAdded(Object what, int start, int end) argument
318 sendSpanRemoved(Object what, int start, int end) argument
337 region(int start, int end) argument
341 checkRange(final String operation, int start, int end) argument
[all...]
/frameworks/base/core/java/android/text/method/
H A DPasswordTransformationMethod.java70 public void beforeTextChanged(CharSequence s, int start, argument
75 public void onTextChanged(CharSequence s, int start, argument
107 sp.setSpan(new Visible(sp, this), start, start + count,
177 public CharSequence subSequence(int start, int end) { argument
178 char[] buf = new char[end - start];
180 getChars(start, end, buf, 0);
188 public void getChars(int start, int end, char[] dest, int off) { argument
189 TextUtils.getChars(mSource, start, end, dest, off);
214 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.java102 public final boolean acceptMatch(CharSequence s, int start, int end) {
103 if (start == 0) {
107 if (s.charAt(start - 1) == '@') {
120 public final boolean acceptMatch(CharSequence s, int start, int end) {
123 for (int i = start; i < end; i++) {
166 * @param start The index of the first character in s that was
173 boolean acceptMatch(CharSequence s, int start, int end); argument
244 applyLink(link.url, link.start, link.end, text);
372 int start = m.start();
392 applyLink(String url, int start, int end, Spannable text) argument
565 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);
H A DPathParser.java55 int start = 0;
61 String s = pathData.substring(start, end).trim();
67 start = end;
70 if ((end - start) == 1 && start < pathData.length()) {
71 addNode(list, pathData.charAt(start), new float[0]);
207 * @param start the position to start searching
211 private static void extract(String s, int start, ExtractFloatResult result) { argument
212 // Now looking for ' ', ',', '.' or '-' from the start
635 arcToBezier(Path p, double cx, double cy, double a, double b, double e1x, double e1y, double theta, double start, double sweep) argument
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputConnection.java55 * should start by implementing
86 * before the start of the selection if there is one, and any method
149 * the cursor is really at the start of the text.</p>
394 * is relative to the start of the text. So a value of 1 will
414 * The order of start and end is not important. In effect, the
415 * region from start to end and the region from end to start is
416 * the same. Editor authors, be ready to accept a start that is
430 * @param start the position in the text at which the composing region begins
435 public boolean setComposingRegion(int start, in argument
573 setSelection(int start, int end) argument
[all...]
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.java257 int start,
265 int start,
256 beforeTextChanged(CharSequence s, int start, int count, int after) argument
264 onTextChanged(CharSequence s, int start, int before, int count) argument
/frameworks/base/core/java/android/widget/
H A DChronometer.java38 * You can give it a start time in the {@link SystemClock#elapsedRealtime} timebase,
40 * time at which you call {@link #start}. By default it will display the current
185 * make sure that each start() call has a reciprocal call to {@link #stop}.
187 public void start() { method in class:Chronometer
197 * be held as the chronometer is running, via {@link #start}.
205 * The same as calling {@link #start} or {@link #stop}.
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 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 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';
/frameworks/base/core/jni/
H A Dandroid_hardware_UsbDeviceConnection.cpp170 jbyteArray buffer, jint start, jint length, jint timeout)
184 value, index, bufferBytes + start, length, timeout);
195 jint endpoint, jbyteArray buffer, jint start, jint length, jint timeout)
208 jint result = usb_device_bulk_transfer(device, endpoint, bufferBytes + start, length, timeout);
168 android_hardware_UsbDeviceConnection_control_request(JNIEnv *env, jobject thiz, jint requestType, jint request, jint value, jint index, jbyteArray buffer, jint start, jint length, jint timeout) argument
194 android_hardware_UsbDeviceConnection_bulk_request(JNIEnv *env, jobject thiz, jint endpoint, jbyteArray buffer, jint start, jint length, jint timeout) argument
H A Dandroid_view_RenderNodeAnimator.cpp185 static void start(JNIEnv* env, jobject clazz, jlong animatorPtr) { function in namespace:android
187 animator->start();
216 { "nStart", "(J)V", (void*) start},
/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);
521 NetworkStatsHistory stats, long start, long end, long rxBytes, long txBytes) {
522 final NetworkStatsHistory.Entry entry = stats.getValues(start, end, null);
544 private static void assertValues(NetworkStatsHistory stats, long start, long end, argument
547 final NetworkStatsHistory.Entry entry = stats.getValues(start, end, null);
520 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.java39 * {@link #start()} to run the animation.
68 * frameAnimation.start();
143 public void start() { method in class:AnimationDrawable
156 * @see #start()
179 * called directly. Invoke {@link #start()} instead.</p>
181 * @see #start()
/frameworks/base/keystore/tests/src/android/security/
H A DAndroidKeyPairGeneratorTest.java466 AlgorithmParameterSpec spec, X500Principal dn, BigInteger serial, Date start, Date end)
523 assertDateEquals("The notBefore date should be the one passed into the params", start,
465 assertKeyPairCorrect(KeyPair pair, String alias, String keyType, int keySize, AlgorithmParameterSpec spec, X500Principal dn, BigInteger serial, Date start, Date end) argument
/frameworks/base/libs/hwui/
H A DGradientCache.cpp215 void GradientCache::mixBytes(GradientColor& start, GradientColor& end, float amount, argument
218 const float alpha = start.a * oppAmount + end.a * amount;
221 *dst++ = uint8_t(a * (start.r * oppAmount + end.r * amount));
222 *dst++ = uint8_t(a * (start.g * oppAmount + end.g * amount));
223 *dst++ = uint8_t(a * (start.b * oppAmount + end.b * amount));
227 void GradientCache::mixFloats(GradientColor& start, GradientColor& end, float amount, argument
230 const float a = start.a * oppAmount + end.a * amount;
233 *d++ = a * (start.r * oppAmount + end.r * amount);
234 *d++ = a * (start.g * oppAmount + end.g * amount);
235 *d++ = a * (start
258 GradientColor start; local
[all...]
/frameworks/base/media/java/android/media/
H A DMediaMuxer.java47 * muxer.start();
144 * <p>This method should be called before {@link #start}. Calling this
169 * This method should be called before {@link #start}. The geodata is stored
180 * @throws IllegalStateException If this method is called after {@link #start}.
207 public void start() { method in class:MediaMuxer
215 throw new IllegalStateException("Can't start due to wrong state.");
/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.cpp77 virtual status_t start() {return OK;} function in class:__anon996::Player

Completed in 4039 milliseconds

1234567891011>>