Searched refs:start (Results 1 - 25 of 1433) 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);
84 public CharSequence filter(CharSequence source, int start, int end, Spanned dest, argument
89 } else if (keep >= end - start) {
92 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
/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/av/media/libeffects/loudness/dsp/core/
H A Dbasic-inl.h31 int start = start_index; local
33 while (end > start + 1) {
34 int i = (end + start) / 2;
38 start = i;
41 return start;
/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.java57 protected int[] getRange(int start, int end) { argument
58 if (start < 0 || end < 0 || start == end) {
61 mSegment[0] = start;
103 int start = offset;
104 if (start < 0) {
105 start = 0;
107 while (!mImpl.isBoundary(start)) {
108 start = mImpl.following(start);
[all...]
/frameworks/minikin/libs/minikin/
H A DMeasurement.cpp32 size_t start, size_t count, size_t offset) {
34 size_t lastCluster = start;
36 for (size_t i = start; i < offset; i++) {
44 if (offset < start + count && advances[offset - layoutStart] == 0.0f) {
49 for (nextCluster = offset + 1; nextCluster < start + count; nextCluster++) {
56 if (GraphemeBreak::isGraphemeBreak(buf, start, count, i)) {
70 float getRunAdvance(const float* advances, const uint16_t* buf, size_t start, size_t count, argument
72 return getRunAdvance(advances, buf, start, start, count, offset);
83 size_t getOffsetForAdvance(const float* advances, const uint16_t* buf, size_t start, size_ argument
31 getRunAdvance(const float* advances, const uint16_t* buf, size_t layoutStart, size_t start, size_t count, size_t offset) argument
[all...]
H A DGraphemeBreak.cpp69 bool GraphemeBreak::isGraphemeBreak(const uint16_t* buf, size_t start, size_t count, argument
77 if (offset <= start || offset >= start + count) {
87 U16_PREV(buf, start, offset_back, c1);
88 U16_NEXT(buf, offset, start + count, c2);
122 start = std::max((ssize_t)start, (ssize_t)offset_back - 1000);
123 while (offset_back > start) {
124 U16_PREV(buf, start, offset_back, c1);
153 if (c1 == 0x200D && isEmoji(c2) && offset_back > start) {
180 getTextRunCursor(const uint16_t* buf, size_t start, size_t count, size_t offset, MoveOpt opt) argument
[all...]
/frameworks/base/core/java/android/net/
H A DUidRange.java32 public final int start; field in class:UidRange
36 if (startUid < 0) throw new IllegalArgumentException("Invalid start UID.");
39 start = startUid;
48 return start / PER_USER_RANGE;
52 return start <= uid && uid <= stop;
59 return start <= other.start && other.stop <= stop;
65 result = 31 * result + start;
77 return start == other.start
[all...]
H A DINetworkStatsSession.aidl27 NetworkStats getDeviceSummaryForNetwork(in NetworkTemplate template, long start, long end);
30 NetworkStats getSummaryForNetwork(in NetworkTemplate template, long start, long end);
35 NetworkStats getSummaryForAllUid(in NetworkTemplate template, long start, long end, boolean includeTags);
39 NetworkStatsHistory getHistoryIntervalForUid(in NetworkTemplate template, int uid, int set, int tag, int fields, long start, long end);
/frameworks/base/core/java/android/animation/
H A DFloatArrayEvaluator.java58 * @param startValue The start value.
71 float start = startValue[i];
73 array[i] = start + (fraction * (end - start));
H A DIntArrayEvaluator.java57 * @param startValue The start value.
69 int start = startValue[i];
71 array[i] = (int) (start + (fraction * (end - start)));
/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/support/v4/jellybean-mr1/android/support/v4/widget/
H A DTextViewCompatJbMr1.java28 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
31 textView.setCompoundDrawables(rtl ? end : start, top, rtl ? start : end, bottom);
35 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
38 textView.setCompoundDrawablesWithIntrinsicBounds(rtl ? end : start, top, rtl ? start : end,
43 int start, int top, int end, int bottom) {
45 textView.setCompoundDrawablesWithIntrinsicBounds(rtl ? end : start, top, rtl ? start : end,
27 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
34 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
42 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, int start, int top, int end, int bottom) argument
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DomxVCM4P2_DecodeVLCZigzag_IntraACVLC.c106 OMX_U8 start = 0; local
114 start);
H A DomxVCM4P2_EncodeVLCZigzag_IntraACVLC.c100 OMX_U8 start = 0; local
109 start);

Completed in 519 milliseconds

1234567891011>>