Searched refs:start (Results 1 - 25 of 895) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/text/
H A DTextDirectionHeuristic.java27 * @param start start index, inclusive.
29 * {@code array.length - start}.
33 boolean isRtl(char[] array, int start, int count); argument
39 * @param start start index, inclusive.
41 * {@code CharSequence.length() - start}.
45 boolean isRtl(CharSequence cs, int start, int count); argument
H A DSpannableString.java33 private SpannableString(CharSequence source, int start, int end) { argument
34 super(source, start, end);
45 public void setSpan(Object what, int start, int end, int flags) { argument
46 super.setSpan(what, start, end, flags);
53 public final CharSequence subSequence(int start, int end) { argument
54 return new SpannableString(this, start, end);
H A DTextWatcher.java26 * the <code>count</code> characters beginning at <code>start</code>
31 public void beforeTextChanged(CharSequence s, int start, argument
35 * the <code>count</code> characters beginning at <code>start</code>
40 public void onTextChanged(CharSequence s, int start, int before, int count); argument
H A DGetChars.java28 * Exactly like String.getChars(): copy chars <code>start</code>
32 public void getChars(int start, int end, char[] dest, int destoff); argument
H A DSpannedString.java33 private SpannedString(CharSequence source, int start, int end) { argument
34 super(source, start, end);
37 public CharSequence subSequence(int start, int end) { argument
38 return new SpannedString(this, start, end);
H A DInputFilter.java28 * with the new text from the range <code>start &hellip; end</code>
42 public CharSequence filter(CharSequence source, int start, int end, argument
50 public CharSequence filter(CharSequence source, int start, int end, argument
52 for (int i = start; i < end; i++) {
54 char[] v = new char[end - start];
55 TextUtils.getChars(source, start, end, v, 0);
61 start, end, null, sp, 0);
82 public CharSequence filter(CharSequence source, int start, int end, argument
88 } else if (keep >= end - start) {
91 keep += start;
[all...]
H A DAlteredCharSequence.java66 public <T> T[] getSpans(int start, int end, Class<T> kind) { argument
67 return mSpanned.getSpans(start, end, kind);
82 public int nextSpanTransition(int start, int end, Class kind) { argument
83 return mSpanned.nextSpanTransition(start, end, kind);
100 public CharSequence subSequence(int start, int end) { argument
101 return AlteredCharSequence.make(mSource.subSequence(start, end),
102 mChars, mStart - start, mEnd - start);
105 public void getChars(int start, int end, char[] dest, int off) { argument
106 TextUtils.getChars(mSource, start, en
[all...]
H A DAndroidCharacter.java57 * starting at <code>start</code>. East Asian Width is calculated based on
65 * @param start first character in array to measure
69 public native static void getEastAsianWidths(char[] src, int start, argument
78 * @param start first character in array to mirror
82 public native static boolean mirror(char[] text, int start, int count); argument
H A DSpanWatcher.java29 public void onSpanAdded(Spannable text, Object what, int start, int end); argument
34 public void onSpanRemoved(Spannable text, Object what, int start, int end); argument
H A DGraphicsOperations.java33 void drawText(Canvas c, int start, int end, argument
40 void drawTextRun(Canvas c, int start, int end, int contextStart, int contextEnd, argument
46 float measureText(int start, int end, Paint p); argument
51 public int getTextWidths(int start, int end, float[] widths, Paint p); argument
57 float getTextRunAdvances(int start, int end, int contextStart, int contextEnd, argument
H A DSpannableStringBuilder.java51 public SpannableStringBuilder(CharSequence text, int start, int end) { argument
52 int srclen = end - start;
61 TextUtils.getChars(text, start, end, mText, 0);
72 Object[] spans = sp.getSpans(start, end, Object.class);
79 int st = sp.getSpanStart(spans[i]) - start;
80 int en = sp.getSpanEnd(spans[i]) - start;
85 if (st > end - start)
86 st = end - start;
90 if (en > end - start)
91 en = end - start;
201 insert(int where, CharSequence tb, int start, int end) argument
211 delete(int start, int end) argument
251 append(CharSequence text, int start, int end) argument
261 change(int start, int end, CharSequence cs, int csStart, int csEnd) argument
379 updatedIntervalBound(int offset, int start, int nbNewChars, int flag, boolean atEnd, boolean textIsRemoved) argument
434 replace(int start, int end, CharSequence tb) argument
439 replace(final int start, final int end, CharSequence tb, int tbstart, int tbend) argument
587 setSpan(Object what, int start, int end, int flags) argument
591 setSpan(boolean send, Object what, int start, int end, int flags) argument
870 nextSpanTransition(int start, int limit, Class kind) argument
904 subSequence(int start, int end) argument
912 getChars(int start, int end, char[] dest, int destoff) argument
944 substring(int start, int end) argument
950 sendBeforeTextChanged(TextWatcher[] watchers, int start, int before, int after) argument
958 sendTextChanged(TextWatcher[] watchers, int start, int before, int after) argument
974 sendSpanAdded(Object what, int start, int end) argument
983 sendSpanRemoved(Object what, int start, int end) argument
992 sendSpanChanged(Object what, int oldStart, int oldEnd, int start, int end) argument
1003 region(int start, int end) argument
1007 checkRange(final String operation, int start, int end) argument
1111 drawText(Canvas c, int start, int end, float x, float y, Paint p) argument
1132 drawTextRun(Canvas c, int start, int end, int contextStart, int contextEnd, float x, float y, int flags, Paint p) argument
1155 measureText(int start, int end, Paint p) argument
1179 getTextWidths(int start, int end, float[] widths, Paint p) argument
1203 getTextRunAdvances(int start, int end, int contextStart, int contextEnd, int flags, float[] advances, int advancesPos, Paint p) argument
[all...]
/frameworks/support/v4/java/android/support/v4/text/
H A DTextDirectionHeuristicCompat.java27 * @param start start index, inclusive.
29 * {@code array.length - start}.
33 boolean isRtl(char[] array, int start, int count); argument
39 * @param start start index, inclusive.
41 * {@code CharSequence.length() - start}.
45 boolean isRtl(CharSequence cs, int start, int count); argument
/frameworks/base/graphics/java/android/graphics/drawable/
H A DAnimatable.java26 void start(); method in interface:Animatable
/frameworks/base/sax/java/android/sax/
H A DStartElementListener.java31 void start(Attributes attributes); method in interface:StartElementListener
/frameworks/base/core/java/android/view/
H A DAccessibilityIterators.java59 protected int[] getRange(int start, int end) { argument
60 if (start < 0 || end < 0 || start == end) {
63 mSegment[0] = start;
105 int start = offset;
106 if (start < 0) {
107 start = 0;
109 while (!mImpl.isBoundary(start)) {
110 start = mImpl.following(start);
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DCharSequences.java40 public CharSequence subSequence(int start, int end) {
41 return forAsciiBytes(bytes, start, end);
55 * @param start index, inclusive
58 * @throws IndexOutOfBoundsException if start or end are negative, if end
59 * is greater than length(), or if start is greater than end
62 final int start, final int end) {
63 validate(start, end, bytes.length);
66 return (char) bytes[index + start];
70 return end - start;
74 newStart -= start;
61 forAsciiBytes(final byte[] bytes, final int start, final int end) argument
86 validate(int start, int end, int length) argument
[all...]
/frameworks/native/services/surfaceflinger/
H A DDdmConnection.h27 static void start(const char* name);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
H A DTextAttribute.java26 public int start; field in class:TextAttribute
36 public TextAttribute(int start, int length, TextAlignment align, argument
39 this.start = start;
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DomxVCM4P2_DecodeVLCZigzag_IntraACVLC.c91 OMX_U8 start = 0; local
99 start);
H A DomxVCM4P2_EncodeVLCZigzag_IntraACVLC.c85 OMX_U8 start = 0; local
94 start);
/frameworks/compile/mclinker/lib/Support/
H A DSpace.cpp78 size_t start = 0, size = 0, total_offset; local
81 // adjust total_offset, start and size
83 start = pStart;
89 else if (pHandler.size() > start)
90 size = pHandler.size() - start;
95 << start << size;
103 if (!pHandler.read(memory, start, size))
104 error(diag::err_cannot_read_file) << pHandler.path() << start << size;
109 // adjust total_offset, start and size
111 start
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DRemoteDisplay.cpp34 mNetSession->start();
35 mLooper->start();
37 mSource->start(iface);
/frameworks/ex/common/java/com/android/common/
H A DRfc822InputFilter.java33 public CharSequence filter(CharSequence source, int start, int end, Spanned dest, argument
37 if (end-start != 1 || source.charAt(start) != ' ') {
/frameworks/ex/common/java/com/android/common/widget/
H A DCompositeCursorAdapter.java238 int start = 0;
240 int end = start + mPartitions[i].count;
241 if (position >= start && position < end) {
244 start = end;
255 int start = 0;
257 int end = start + mPartitions[i].count;
258 if (position >= start && position < end) {
259 int offset = position - start;
265 start = end;
307 int start
[all...]
/frameworks/base/core/java/android/speech/tts/
H A DSynthesisCallback.java22 * {@link #start}, then {@link #audioAvailable} until all audio has been provided, then finally
29 * After {@link #start} been called, {@link #done} must be called regardless of errors.
52 public int start(int sampleRateInHz, int audioFormat, int channelCount); method in interface:SynthesisCallback
76 * This method has to be called if {@link #start} was called.

Completed in 2225 milliseconds

1234567891011>>