Searched refs:end (Results 1 - 25 of 150) sorted by relevance

123456

/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
H A DSuggestionFormatter.java42 protected void applyQueryTextStyle(Spannable text, int start, int end) { argument
43 if (start == end) return;
44 setSpans(text, start, end, mSpanFactory.createSuggestionQueryTextAppearance());
47 protected void applySuggestedTextStyle(Spannable text, int start, int end) { argument
48 if (start == end) return;
49 setSpans(text, start, end, mSpanFactory.createSuggestionSuggestedTextAppearance());
52 private void setSpans(Spannable text, int start, int end, Object[] spans) { argument
54 text.setSpan(span, start, end, 0);
/packages/apps/Email/emailcommon/src/org/apache/commons/io/output/
H A DNullWriter.java62 * @param end The number of characters to write
64 public void write(char[] chr, int st, int end) { argument
80 * @param end The number of characters to write
82 public void write(String str, int st, int end) { argument
H A DProxyWriter.java68 * @param end The number of characters to write
71 public void write(char[] chr, int st, int end) throws IOException { argument
72 out.write(chr, st, end);
88 * @param end The number of characters to write
91 public void write(String str, int st, int end) throws IOException { argument
92 out.write(str, st, end);
H A DProxyOutputStream.java66 * @param end The number of bytes to write
69 public void write(byte[] bts, int st, int end) throws IOException { argument
70 out.write(bts, st, end);
/packages/apps/Calculator/src/com/android/calculator2/
H A DCalculatorEditable.java35 replace(int start, int end, CharSequence tb, int tbstart, int tbend) { argument
37 return super.replace(start, end, tb, tbstart, tbend);
42 return internalReplace(start, end, delta);
49 private SpannableStringBuilder internalReplace(int start, int end, String delta) { argument
53 end = length();
71 return super.replace(start, end, "");
79 return super.replace(start, end, "");
93 return super.replace(start, end, "");
96 return super.replace(start, end, delta);
/packages/apps/Email/src/com/android/email/mail/internet/
H A DEmailHtmlUtil.java40 int end = 0;
43 out.append(text.substring(end, start));
44 end = match.end();
48 for (int i = 1, n = end - start; i < n; ++i) {
62 out.append(text.substring(end));
/packages/apps/Contacts/src/com/android/contacts/widget/
H A DCompositeListAdapter.java143 int end = start + mCounts[i];
144 if (position >= start && position < end) {
147 start = end;
157 int end = start + mCounts[i];
158 if (position >= start && position < end) {
161 start = end;
179 int end = start + mCounts[i];
180 if (position >= start && position < end) {
184 start = end;
194 int end
[all...]
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/keyboard/internal/
H A DMoreKeySpecParser.java55 final int end = indexOfLabelEnd(moreKeySpec, 0);
56 if (end > 0)
64 final int end = indexOfLabelEnd(moreKeySpec, 0);
65 if (end > 0 && end + 1 < moreKeySpec.length()
66 && moreKeySpec.substring(end + 1).startsWith(PREFIX_CODE)) {
90 final int end = moreKeySpec.indexOf(LABEL_END, start);
91 if (end == 0)
93 return end;
110 final int end
[all...]
/packages/apps/Gallery2/src/com/android/gallery3d/util/
H A DInterruptableOutputStream.java44 int end = offset + count;
45 while (offset < end) {
47 int bytesCount = Math.min(MAX_WRITE_BYTES, end - offset);
/packages/apps/Email/emailcommon/src/org/apache/james/mime4j/decoder/
H A DDecoderUtil.java184 int end = begin == -1 ? -1 : body.indexOf("?=", endScan);
185 if (end == -1) {
192 end += 2;
196 String decoded = decodeEncodedWord(body, begin, end);
199 sb.append(body.substring(begin, end));
207 previousEnd = end;
213 private static String decodeEncodedWord(String body, int begin, int end) { argument
215 if (qm1 == end - 2)
219 if (qm2 == end - 2)
224 String encodedText = body.substring(qm2 + 1, end
[all...]
/packages/apps/Settings/src/com/android/settings/net/
H A DSummaryForAllUidLoader.java30 private static final String KEY_END = "end";
35 public static Bundle buildArgs(NetworkTemplate template, long start, long end) { argument
39 args.putLong(KEY_END, end);
60 final long end = mArgs.getLong(KEY_END);
63 return mStatsService.getSummaryForAllUid(template, start, end, false);
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
H A DAlbumView.java43 public void setActiveWindow(int start, int end); argument
95 private void updateVisibleRange(int start, int end) { argument
96 if (start == mVisibleStart && end == mVisibleEnd) {
98 mDataWindow.setActiveWindow(start, end);
104 mVisibleEnd = end;
105 mDataWindow.setActiveWindow(start, end);
109 if (start >= mVisibleEnd || mVisibleStart >= end) {
114 mDataWindow.setActiveWindow(start, end);
115 for (int i = start; i < end; ++i) {
123 for (int i = end,
[all...]
H A DAlbumSetView.java51 public void setActiveWindow(int start, int end); argument
165 private void updateVisibleRange(int start, int end) { argument
166 if (start == mVisibleStart && end == mVisibleEnd) {
168 mDataWindow.setActiveWindow(start, end);
171 if (start >= mVisibleEnd || mVisibleStart >= end) {
175 mDataWindow.setActiveWindow(start, end);
176 for (int i = start; i < end; ++i) {
183 for (int i = end, n = mVisibleEnd; i < n; ++i) {
186 mDataWindow.setActiveWindow(start, end);
190 for (int i = mVisibleEnd; i < end;
[all...]
/packages/apps/Email/emailcommon/src/org/apache/commons/io/input/
H A DProxyInputStream.java49 * @return the byte read or -1 if the end of stream
59 * @return the number of bytes read or -1 if the end of stream
70 * @param end The number of bytes to read
71 * @return the number of bytes read or -1 if the end of stream
74 public int read(byte[] bts, int st, int end) throws IOException { argument
75 return in.read(bts, st, end);
81 * @return the number of bytes to skipped or -1 if the end of stream
H A DProxyReader.java49 * @return the character read or -1 if the end of stream
59 * @return the number of characters read or -1 if the end of stream
70 * @param end The number of bytes to read
71 * @return the number of characters read or -1 if the end of stream
74 public int read(char[] chr, int st, int end) throws IOException { argument
75 return in.read(chr, st, end);
81 * @return the number of bytes to skipped or -1 if the end of stream
H A DTeeInputStream.java119 * @param end maximum number of bytes to read
123 public int read(byte[] bts, int st, int end) throws IOException { argument
124 int n = super.read(bts, st, end);
/packages/apps/Settings/src/com/android/settings/bluetooth/
H A DUtf8ByteLengthFilter.java47 public CharSequence filter(CharSequence source, int start, int end, argument
51 for (int i = start; i < end; i++) {
70 // find end position of largest sequence that fits in keepBytes
71 for (int i = start; i < end; i++) {
/packages/apps/Gallery2/src/com/android/gallery3d/app/
H A DAlbumDataAdapter.java142 int end = mContentEnd;
152 if (contentStart >= end || start >= contentEnd) {
153 for (int i = start, n = end; i < n; ++i) {
160 for (int i = contentEnd, n = end; i < n; ++i) {
167 public void setActiveWindow(int start, int end) { argument
168 if (start == mActiveStart && end == mActiveEnd) return;
170 Utils.assertTrue(start <= end
171 && end - start <= mData.length && end <= mSize);
175 mActiveEnd = end;
[all...]
H A DAlbumSetDataAdapter.java161 int end = this.mContentEnd;
166 if (contentStart >= end || start >= contentEnd) {
167 for (int i = start, n = end; i < n; ++i) {
174 for (int i = contentEnd, n = end; i < n; ++i) {
181 public void setActiveWindow(int start, int end) { argument
182 if (start == mActiveStart && end == mActiveEnd) return;
184 Utils.assertTrue(start <= end
185 && end - start <= mCoverData.length && end <= mSize);
188 mActiveEnd = end;
[all...]
/packages/apps/Calendar/src/com/android/calendar/agenda/
H A DAgendaWindowAdapter.java116 Instances.END_DAY, // 11 Julian end day
223 int end; field in class:AgendaWindowAdapter.QuerySpec
237 result = prime * result + end;
258 if (end != other.end || queryStartMillis != other.queryStartMillis
279 long end; field in class:AgendaWindowAdapter.EventInfo
288 int end; // end day of the cursor's coverage field in class:AgendaWindowAdapter.DayAdapterInfo
305 time.setJulianDay(end);
534 if (info.start <= day && day <= info.end) {
773 buildQueryUri(int start, int end, String searchQuery) argument
786 isInRange(int start, int end) argument
795 calculateQueryDuration(int start, int end) argument
810 queueQuery(int start, int end, Time goToTime, String searchQuery, int queryType, long id) argument
903 updateHeaderFooter(final int start, final int end) argument
[all...]
/packages/apps/Settings/src/com/android/settings/widget/
H A DChartGridView.java83 void setBounds(long start, long end) { argument
86 mLayoutEnd = makeLayout(DataUsageSummary.formatDateRange(context, end, end, true));
129 final Layout end = mLayoutEnd;
130 if (end != null) {
132 canvas.translate(width - end.getWidth(), height + padding);
133 end.draw(canvas);
/packages/apps/Mms/src/com/android/mms/dom/smil/
H A DElementParallelTimeContainerImpl.java99 float end = (float)endTime.getResolvedOffset();
100 dur = (end > dur) ? end : dur;
139 Time end = endList.item(j);
140 if (end.getResolved()) {
141 double resolvedOffset = end.getResolvedOffset() * 1000.0;
/packages/experimental/droiddreamclean/
H A Ddroiddreamclean.c90 char *end; local
97 end = s + size - 1;
98 while (end >= s && isspace(*end))
99 end--;
100 *(end + 1) = '\0';
/packages/apps/Email/emailcommon/src/org/apache/commons/io/
H A DIOCase.java189 * @param end the end to compare against, not null
193 public boolean checkEndsWith(String str, String end) { argument
194 int endLen = end.length();
195 return str.regionMatches(!sensitive, str.length() - endLen, end, 0, endLen);
/packages/apps/Mms/src/com/android/mms/ui/
H A DRecipientsEditor.java83 // Remember the delimiter the user typed to end this recipient. We'll
108 // it will get added to the list of recipients so we end up with the old before-editing
111 int end = getSelectionEnd();
114 return end == len;
276 int end = mTokenizer.findTokenEnd(text, start);
278 if (end != start) {
279 String number = getNumberAt(getText(), start, end, getContext());
288 private static String getNumberAt(Spanned sp, int start, int end, Context context) { argument
289 return getFieldAt("number", sp, start, end, context);
292 private static int getSpanLength(Spanned sp, int start, int end, Contex argument
306 getFieldAt(String field, Spanned sp, int start, int end, Context context) argument
[all...]

Completed in 440 milliseconds

123456