Searched defs:start (Results 251 - 275 of 627) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/java/android/content/res/
H A DStringBlock.java92 // the style array is a flat array of <type, start, end> hence
175 + ", start=" + style[i+1] + ", end=" + style[i+2]);
360 int start, int end) {
363 if (start != 0 && start != len && buffer.charAt(start - 1) != '\n') {
364 for (start--; start > 0; start--) {
365 if (buffer.charAt(start
359 addParagraphSpan(Spannable buffer, Object what, int start, int end) argument
411 chooseHeight(CharSequence text, int start, int end, int spanstartv, int v, Paint.FontMetricsInt fm) argument
418 chooseHeight(CharSequence text, int start, int end, int spanstartv, int v, Paint.FontMetricsInt fm, TextPaint paint) argument
[all...]
/frameworks/base/core/java/android/hardware/usb/
H A DUsbDeviceConnection.java245 private static void checkBounds(byte[] buffer, int start, int length) { argument
247 if (start < 0 || start + length > bufferLength) {
248 throw new IllegalArgumentException("Buffer start or length out of bounds.");
/frameworks/base/core/java/android/printservice/
H A DPrintJob.java119 * @see #start()
150 * @see #start()
216 public boolean start() { method in class:PrintJob
229 * printing. To resume the print job call {@link #start()}. To change the reason call
/frameworks/base/core/java/android/service/textservice/
H A DSpellCheckerService.java157 * that share the same start position and length.
343 public SentenceWordItem(TextInfo ti, int start, int end) { argument
345 mStart = start;
346 mLength = end - start;
373 final int start = 0;
377 int wordEnd = wordIterator.following(start);
380 Log.d(TAG, "iterator: break: ---- 1st word start = " + wordStart + ", end = "
385 if (wordEnd >= start && wordEnd > wordStart) {
/frameworks/base/core/java/android/text/
H A DBoringLayout.java256 for (int start = 0; start < textLength; start += MAX_BUF_LEN) {
257 final int end = Math.min(start + MAX_BUF_LEN, textLength);
261 TextUtils.getChars(text, start, end, buffer, 0);
263 final int len = end - start;
414 public void ellipsized(int start, int end) { argument
415 mEllipsizedStart = start;
416 mEllipsizedCount = end - start;
H A DSelection.java24 * A cursor is a selection where the start and end are at the same offset.
64 * Set the selection anchor to <code>start</code> and the selection edge
67 public static void setSelection(Spannable text, int start, int stop) { argument
69 // start = pin(start, 0, len); XXX remove unless we really need it
75 if (ostart != start || oend != stop) {
76 text.setSpan(SELECTION_START, start, start,
120 * start, or return false if the cursor is already on the top line.
123 int start
[all...]
H A DSpannableStringInternal.java29 int start, int end) {
30 if (start == 0 && end == source.length())
33 mText = source.toString().substring(start, end);
40 copySpans((SpannableStringInternal) source, start, end);
42 copySpans((Spanned) source, start, end);
48 * Copies another {@link Spanned} object's spans between [start, end] into this object.
51 * @param start Start index in the source object.
54 private final void copySpans(Spanned src, int start, int end) { argument
55 Object[] spans = src.getSpans(start, end, Object.class);
62 if (st < start)
28 SpannableStringInternal(CharSequence source, int start, int end) argument
79 copySpans(SpannableStringInternal src, int start, int end) argument
124 isOutOfCopyRange(int start, int end, int spanStart, int spanEnd) argument
146 getChars(int start, int end, char[] dest, int off) argument
150 setSpan(Object what, int start, int end, int flags) argument
363 nextSpanTransition(int start, int limit, Class kind) argument
385 sendSpanAdded(Object what, int start, int end) argument
394 sendSpanRemoved(Object what, int start, int end) argument
413 region(int start, int end) argument
417 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.java117 public final boolean acceptMatch(CharSequence s, int start, int end) {
118 if (start == 0) {
122 if (s.charAt(start - 1) == '@') {
135 public final boolean acceptMatch(CharSequence s, int start, int end) {
138 for (int i = start; i < end; i++) {
181 * @param start The index of the first character in s that was
188 boolean acceptMatch(CharSequence s, int start, int end); argument
264 applyLink(link.url, link.start, link.end, text);
328 * prepended to the links that do not start with this scheme.
344 * prepended to the links that do not start wit
476 applyLink(String url, int start, int end, Spannable text) argument
643 int start; field in class:LinkSpec
[all...]
/frameworks/base/core/java/android/util/
H A DMathUtils.java155 public static float lerp(float start, float stop, float amount) { argument
156 return start + (stop - start) * amount;
160 * Returns an interpolated angle in degrees between a set of start and end
164 * travel is determined by the shortest angle between the start and end
169 * @param start the starting angle in degrees
171 * @param amount the position between start and end in the range [0,1]
175 public static float lerpDeg(float start, float end, float amount) { argument
176 final float minAngle = (((end - start) + 180) % 360) - 180;
177 return minAngle * amount + start;
180 norm(float start, float stop, float value) argument
[all...]
/frameworks/base/core/java/android/util/jar/
H A DStrictJarVerifier.java452 chunk.start, chunk.end, createdBySigntool, false)) {
473 int start, int end, boolean ignoreSecondEndline, boolean ignorable) {
488 md.update(data, start, end - 1 - start);
490 md.update(data, start, end - start);
472 verify(Attributes attributes, String entry, byte[] data, int start, int end, boolean ignoreSecondEndline, boolean ignorable) argument
/frameworks/base/core/java/android/view/inputmethod/
H A DInputConnection.java72 * should start by implementing
103 * before the start of the selection if there is one, and any method
166 * the cursor is really at the start of the text.</p>
444 * is relative to the start of the text. So a value of 1 will
464 * The order of start and end is not important. In effect, the
465 * region from start to end and the region from end to start is
466 * the same. Editor authors, be ready to accept a start that is
480 * @param start the position in the text at which the composing region begins
486 public boolean setComposingRegion(int start, in argument
626 setSelection(int start, int end) argument
[all...]
H A DInputConnectionWrapper.java141 public boolean setComposingRegion(int start, int end) { argument
142 return mTarget.setComposingRegion(start, end);
181 public boolean setSelection(int start, int end) { argument
182 return mTarget.setSelection(start, end);
/frameworks/base/core/java/android/webkit/
H A DFindActionModeCallback.java256 int start,
264 int start,
255 beforeTextChanged(CharSequence s, int start, int count, int after) argument
263 onTextChanged(CharSequence s, int start, int before, int count) argument
/frameworks/base/core/java/android/widget/
H A DChronometer.java37 * You can give it a start time in the {@link SystemClock#elapsedRealtime} timebase,
39 * time at which you call {@link #start}.
213 * make sure that each start() call has a reciprocal call to {@link #stop}.
215 public void start() { method in class:Chronometer
225 * be held as the chronometer is running, via {@link #start}.
233 * 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
753 haveWordBoundariesChanged(final Editable editable, final int start, final int end, final int spanStart, final int spanEnd) argument
[all...]
H A DViewAnimator.java230 public void removeViews(int start, int count) { argument
231 super.removeViews(start, count);
235 } else if (mWhichChild >= start && mWhichChild < start + count) {
241 public void removeViewsInLayout(int start, int count) { argument
242 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.java659 * PrintWriter.print(csq.subsequence(start, end).toString())}. If {@code
665 * @param start
673 * if {@code start > end}, {@code start < 0}, {@code end < 0} or
674 * either {@code start} or {@code end} are greater or equal than
678 public PrintWriter append(CharSequence csq, int start, int end) { argument
682 String output = csq.subSequence(start, end).toString();
H A DFastXmlSerializer.java149 private void escapeAndAppendString(char[] buf, int start, int len) throws IOException { argument
152 int end = start+len;
153 int lastPos = start;
155 for (pos=start; pos<end; pos++) {
375 public XmlSerializer text(char[] buf, int start, int len) throws IOException, argument
381 escapeAndAppendString(buf, start, len);
383 mLineStart = buf[start+len-1] == '\n';
/frameworks/base/core/jni/
H A Dandroid_graphics_drawable_AnimatedVectorDrawable.cpp147 static void start(JNIEnv* env, jobject, jlong animatorSetPtr, jobject finishListener, jint id) { function in namespace:android
150 set->start(listener);
178 {"nStart", "(JLandroid/graphics/drawable/AnimatedVectorDrawable$VectorDrawableAnimatorRT;I)V", (void*)start},
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_text_StaticLayout.cpp156 jlong nativePaint, jlong nativeTypeface, jint start, jint end, jboolean isRtl) {
163 return b->addStyleRun(&minikinPaint, font, style, start, end, isRtl);
168 jint start, jint end, jfloatArray widths) {
170 env->GetFloatArrayRegion(widths, start, end - start, b->charWidths() + start);
171 b->addStyleRun(nullptr, nullptr, FontStyle{}, start, end, false);
175 jint start, jint end, jfloat width) {
177 b->addReplacement(start, end, width);
155 nAddStyleRun(JNIEnv* env, jclass, jlong nativePtr, jlong nativePaint, jlong nativeTypeface, jint start, jint end, jboolean isRtl) argument
167 nAddMeasuredRun(JNIEnv* env, jclass, jlong nativePtr, jint start, jint end, jfloatArray widths) argument
174 nAddReplacementRun(JNIEnv* env, jclass, jlong nativePtr, jint start, jint end, jfloat width) argument
H A Dandroid_view_RenderNodeAnimator.cpp180 static void start(JNIEnv* env, jobject clazz, jlong animatorPtr) { function in namespace:android
182 animator->start();
208 { "nStart", "(J)V", (void*) start},

Completed in 1498 milliseconds

<<11121314151617181920>>