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

1234567891011>>

/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.java51 int start = 0;
57 String s = pathData.substring(start, end).trim();
63 start = end;
66 if ((end - start) == 1 && start < pathData.length()) {
67 addNode(list, pathData.charAt(start), new float[0]);
199 * @param start the position to start searching
203 private static void extract(String s, int start, ExtractFloatResult result) { argument
204 // Now looking for ' ', ',' or '-' from the start
596 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.java255 int start,
263 int start,
254 beforeTextChanged(CharSequence s, int start, int count, int after) argument
262 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.cpp167 static void start(JNIEnv* env, jobject clazz, jlong animatorPtr, jobject finishListener) { function in namespace:android
172 animator->start();
200 { "nStart", "(JLandroid/view/RenderNodeAnimator;)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);
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();
140 public void start() { method in class:AnimationDrawable
153 * @see #start()
176 * called directly. Invoke {@link #start()} instead.</p>
178 * @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:__anon983::Player
/frameworks/base/obex/javax/obex/
H A DObexHelper.java161 * @return the result of the last start body or end body header provided;
693 * @param start the starting index to search
698 public static int findHeaderEnd(byte[] headerArray, int start, int maxSize) { argument
702 int index = start;
753 * returned since it would be the start of the next header
761 return lastLength + start;
/frameworks/base/packages/Keyguard/src/com/android/keyguard/
H A DFaceUnlock.java115 public boolean start() { method in class:FaceUnlock
116 if (DEBUG) Log.d(TAG, "start()");
118 Log.e(TAG, "start() called off of the UI thread");
122 Log.w(TAG, "start() called when already running");
235 * Tells the service to start its UI via an AIDL interface. Called when the
373 * Tells the Face Unlock service to start displaying its UI and start processing.
H A DKeyguardAccountView.java116 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
119 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
137 // start fresh

Completed in 595 milliseconds

1234567891011>>