Searched refs:start (Results 51 - 75 of 1772) sorted by relevance

1234567891011>>

/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/android/text/
H A DSpanSet.java46 public void init(Spanned spanned, int start, int limit) { argument
47 final E[] allSpans = spanned.getSpans(start, limit, classType);
86 * @param end must be strictly greater than start
88 public boolean hasSpansIntersecting(int start, int end) { argument
91 if (spanStarts[i] >= end || spanEnds[i] <= start) continue;
100 int getNextTransition(int start, int limit) { argument
104 if (spanStart > start && spanStart < limit) limit = spanStart;
105 if (spanEnd > start && spanEnd < limit) limit = spanEnd;
H A DSpannableStringInternal.java29 int start, int end) {
30 if (start == 0 && end == source.length())
33 mText = source.toString().substring(start, end);
41 copySpans((SpannableStringInternal) source, start, end);
43 copySpans((Spanned) source, start, end);
49 * Copies another {@link Spanned} object's spans between [start, end] into this object.
52 * @param start Start index in the source object.
55 private final void copySpans(Spanned src, int start, int end) { argument
56 Object[] spans = src.getSpans(start, end, Object.class);
63 if (st < start)
28 SpannableStringInternal(CharSequence source, int start, int end) argument
80 copySpans(SpannableStringInternal src, int start, int end) argument
125 isOutOfCopyRange(int start, int end, int spanStart, int spanEnd) argument
147 getChars(int start, int end, char[] dest, int off) argument
151 setSpan(Object what, int start, int end, int flags) argument
159 setSpan(Object what, int start, int end, int flags, boolean enforceParagraph) argument
372 nextSpanTransition(int start, int limit, Class kind) argument
394 sendSpanAdded(Object what, int start, int end) argument
403 sendSpanRemoved(Object what, int start, int end) argument
422 region(int start, int end) argument
426 checkRange(final String operation, int start, int end) argument
[all...]
H A DEditable.java30 * Editable with a copy of the slice <code>start&hellip;end</code> from
52 public Editable replace(int st, int en, CharSequence source, int start, int end); argument
61 * Convenience for replace(where, where, text, start, end)
64 public Editable insert(int where, CharSequence text, int start, int end); argument
85 * Convenience for replace(length(), length(), text, start, end)
88 public Editable append(CharSequence text, int start, int end); argument
/frameworks/base/core/java/android/text/util/
H A DLinkify.java116 public final boolean acceptMatch(CharSequence s, int start, int end) {
117 if (start == 0) {
121 if (s.charAt(start - 1) == '@') {
134 public final boolean acceptMatch(CharSequence s, int start, int end) {
137 for (int i = start; i < end; i++) {
180 * @param start The index of the first character in s that was
187 boolean acceptMatch(CharSequence s, int start, int end); argument
263 applyLink(link.url, link.start, link.end, text);
327 * prepended to the links that do not start with this scheme.
343 * prepended to the links that do not start wit
475 applyLink(String url, int start, int end, Spannable text) argument
642 int start; field in class:LinkSpec
[all...]
/frameworks/base/tools/aapt2/util/
H A DUtil.cpp40 StringPiece::const_iterator start = std::begin(str); local
43 current = std::find(start, end, sep);
44 parts.emplace_back(str.substr(start, current).to_string());
49 start = current + 1;
81 const char* start = str.data(); local
84 while (start != end && isspace(*start)) {
85 start++;
88 while (end != start && isspace(*(end - 1))) {
92 return StringPiece(start, en
189 ConsumeDigits(const char* start, const char* end) argument
286 ParseUnicodeCodepoint(const char** start, const char* end) argument
324 const char* start = str.begin(); local
491 const char* start = token_.end(); local
[all...]
/frameworks/base/core/jni/
H A Dandroid_text_AndroidCharacter.cpp106 jint start, jint count, jbyteArray destArray)
117 if (start < 0 || start > start + count
118 || env->GetArrayLength(srcArray) < (start + count)
125 const int srci = start + i;
148 static jboolean mirror(JNIEnv* env, jobject obj, jcharArray charArray, jint start, jint count) argument
155 if (start < 0 || start > start
105 getEastAsianWidths(JNIEnv* env, jobject obj, jcharArray srcArray, jint start, jint count, jbyteArray destArray) argument
[all...]
/frameworks/rs/script_api/
H A DUtilities.cpp71 const size_t start = s->find_first_not_of(" "); local
72 if (start > 0) {
73 s->erase(0, start);
101 for (size_t start = 0; start < in.size(); start++) {
102 size_t lt = in.find('<', start);
104 out += in.substr(start);
107 out += in.substr(start, lt - start);
196 bool GeneratedFile::start(const string& directory, const string& name) { function in class:GeneratedFile
[all...]
/frameworks/support/emoji/core/src/android/support/text/emoji/widget/
H A DSpannableBuilder.java85 SpannableBuilder(@NonNull Class<?> watcherClass, @NonNull CharSequence text, int start, argument
87 super(text, start, end);
123 public CharSequence subSequence(int start, int end) { argument
124 return new SpannableBuilder(mWatcherClass, this, start, end);
133 public void setSpan(Object what, int start, int end, int flags) { argument
139 super.setSpan(what, start, end, flags);
185 * Return the correct start for the DynamicLayout$ChangeWatcher span.
230 public int nextSpanTransition(int start, int limit, Class type) { argument
234 return super.nextSpanTransition(start, limit, type);
300 public SpannableStringBuilder replace(int start, in argument
308 replace(int start, int end, CharSequence tb, int tbstart, int tbend) argument
323 insert(int where, CharSequence tb, int start, int end) argument
329 delete(int start, int end) argument
347 append(CharSequence text, int start, int end) argument
370 beforeTextChanged(CharSequence s, int start, int count, int after) argument
375 onTextChanged(CharSequence s, int start, int before, int count) argument
389 onSpanAdded(Spannable text, Object what, int start, int end) argument
401 onSpanRemoved(Spannable text, Object what, int start, int end) argument
[all...]
/frameworks/ex/common/java/com/android/common/widget/
H A DCompositeCursorAdapter.java244 int start = 0;
246 int end = start + mPartitions.get(i).count;
247 if (position >= start && position < end) {
250 start = end;
261 int start = 0;
263 int end = start + partition.count;
264 if (position >= start && position < end) {
265 int offset = position - start;
271 start = end;
313 int start
[all...]
/frameworks/data-binding/integration-tests/TestApp/app/src/androidTestApi7/java/android/databinding/testapp/
H A DObservableArrayListTest.java49 public void onItemRangeChanged(ObservableList sender, int start, int count) {
50 mNotifications.add(new ListChange(CHANGE, start, count));
54 public void onItemRangeInserted(ObservableList sender, int start, int count) {
55 mNotifications.add(new ListChange(INSERT, start, count));
64 public void onItemRangeRemoved(ObservableList sender, int start, int count) {
65 mNotifications.add(new ListChange(REMOVE, start, count));
71 public ListChange(int change, int start, int count) { argument
72 this.start = start;
83 this.start
87 public final int start; field in class:ObservableArrayListTest.ListChange
[all...]
/frameworks/minikin/libs/minikin/
H A DGraphemeBreak.cpp59 bool GraphemeBreak::isGraphemeBreak(const float* advances, const uint16_t* buf, size_t start, argument
67 if (offset <= start || offset >= start + count) {
78 U16_PREV(buf, start, offset_back, c1);
79 U16_NEXT(buf, offset_forward, start + count, c2);
113 const bool c2_has_advance = (advances != nullptr && advances[offset - start] != 0.0);
136 if (p0 == U_GCB_EXTEND && offset_backback > start) {
138 U16_PREV(buf, start, offset_backback, c0);
151 if (p1 == U_GCB_ZWJ && isEmoji(c2) && offset_back > start) {
155 U16_PREV(buf, start, offset_backbac
205 getTextRunCursor(const float* advances, const uint16_t* buf, size_t start, size_t count, size_t offset, MoveOpt opt) argument
[all...]
/frameworks/av/media/libmediaplayerservice/
H A DRemoteDisplay.cpp39 mNetSession->start();
40 mLooper->start();
42 mSource->start(iface);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DarmVCM4P2_EncodeVLCZigzag_intra.c73 * [in] start start indicates whether the encoding begins with 0th element
94 OMX_U8 start
106 armRetArgErrIf(start > 1, OMX_Sts_BadArgErr);
137 start,
H A DomxVCM4P2_EncodeVLCZigzag_Inter.c89 OMX_U8 start = 0; local
106 start,
/frameworks/base/core/java/android/text/method/
H A DReplacementTransformationMethod.java136 public CharSequence subSequence(int start, int end) { argument
137 char[] c = new char[end - start];
139 getChars(start, end, c, 0);
150 public void getChars(int start, int end, char[] dest, int off) { argument
151 TextUtils.getChars(mSource, start, end, dest, off);
152 int offend = end - start + off;
179 public CharSequence subSequence(int start, int end) { argument
180 return new SpannedString(this).subSequence(start, end);
183 public <T> T[] getSpans(int start, int end, Class<T> type) { argument
184 return mSpanned.getSpans(start, en
199 nextSpanTransition(int start, int end, Class type) argument
[all...]
/frameworks/rs/tests/lldb/tests/harness/
H A Dutil_timer.py55 def start(self): member in class:Timer
68 self._timer.start()
69 return self # so that we can perform Timer(...).start()
91 self.start()
/frameworks/base/core/java/android/inputmethodservice/
H A DExtractEditText.java185 protected void deleteText_internal(int start, int end) { argument
188 mIME.onExtractedDeleteText(start, end);
196 protected void replaceText_internal(int start, int end, CharSequence text) { argument
199 mIME.onExtractedReplaceText(start, end, text);
207 protected void setSpan_internal(Object span, int start, int end, int flags) { argument
210 mIME.onExtractedSetSpan(span, start, end, flags);
218 protected void setCursorPosition_internal(int start, int end) { argument
221 mIME.onExtractedSelectionChanged(start, end);
/frameworks/base/media/java/android/media/projection/
H A DIMediaProjection.aidl23 void start(IMediaProjectionCallback callback);
/frameworks/base/tests/SurfaceComposition/src/android/surfacecomposition/
H A DMemoryAccessTask.java50 public void start() { method in class:MemoryAccessTask
56 mThread.start();
/frameworks/native/libs/binder/
H A DMemoryDealer.cpp143 chunk_t(size_t start, size_t size) argument
144 : start(start), size(size), free(1), prev(0), next(0) {
146 size_t start; member in struct:android::SimpleBestFitAllocator::chunk_t
154 chunk_t* dealloc(size_t start);
188 size_t start = freedOffset; local
189 size_t end = start + freedSize;
190 start &= ~(pagesize-1);
196 if (start < free_start)
197 start
375 dealloc(size_t start) argument
[all...]
/frameworks/support/compat/java/android/support/v4/text/util/
H A DLinkifyCompat.java59 if (a.start < b.start) {
63 if (a.start > b.start) {
141 applyLink(link.url, link.start, link.end, text);
196 * prepended to the links that do not start with this scheme.
212 * prepended to the links that do not start with this scheme.
232 * start with one of the <code>schemes</code> given.
260 * prepended to the links that do not start with this scheme.
274 * prepended to the links that do not start wit
404 applyLink(String url, int start, int end, Spannable text) argument
505 int start; field in class:LinkifyCompat.LinkSpec
[all...]
/frameworks/support/compat/java/android/support/v4/widget/
H A DTextViewCompat.java79 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
81 textView.setCompoundDrawables(start, top, end, bottom);
85 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
87 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom);
91 @DrawableRes int start, @DrawableRes int top, @DrawableRes int end,
93 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom);
240 @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end,
243 textView.setCompoundDrawables(rtl ? end : start, top, rtl ? start : end, bottom);
248 @Nullable Drawable start,
78 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
84 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
90 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
239 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
247 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
256 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
282 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
289 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
296 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
399 setCompoundDrawablesRelative(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
419 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @Nullable Drawable start, @Nullable Drawable top, @Nullable Drawable end, @Nullable Drawable bottom) argument
443 setCompoundDrawablesRelativeWithIntrinsicBounds(@onNull TextView textView, @DrawableRes int start, @DrawableRes int top, @DrawableRes int end, @DrawableRes int bottom) argument
[all...]
/frameworks/support/emoji/core/src/android/support/text/emoji/
H A DEmojiProcessor.java63 * Advance the end pointer in CharSequence and reset the start to be the end.
74 * pointer in CharSequence and reset the start to be the end.
139 * @param start start index in the charSequence to look for emojis, should be greater than or
142 * equal to {@code start} parameter, also less than {@code charSequence.length()}
147 CharSequence process(@NonNull final CharSequence charSequence, @IntRange(from = 0) int start, argument
165 final EmojiSpan[] spans = spannable.getSpans(start, end, EmojiSpan.class);
167 // remove existing spans, and realign the start, end according to spans
168 // if start or end is in the middle of an emoji they should be aligned
175 // During add operation an emoji at index 0 is added with 0-1 as start an
403 hasInvalidSelection(final int start, final int end) argument
411 addEmoji(@onNull final Spannable spannable, final EmojiMetadata metadata, final int start, final int end) argument
429 hasGlyph(final CharSequence charSequence, int start, final int end, final EmojiMetadata metadata) argument
761 hasGlyph(final CharSequence charSequence, int start, final int end) argument
[all...]
/frameworks/base/core/java/android/net/
H A DConnectivityThread.java45 t.start();

Completed in 1053 milliseconds

1234567891011>>