Searched defs:end (Results 1 - 25 of 79) sorted by relevance

1234

/packages/apps/Email/emailcommon/src/org/apache/commons/io/input/
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);
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
/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 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);
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 DFileWriterWithEncoding.java282 * @param end The number of characters to write
285 public void write(char[] chr, int st, int end) throws IOException { argument
286 out.write(chr, st, end);
302 * @param end The number of characters to write
305 public void write(String str, int st, int end) throws IOException { argument
306 out.write(str, st, end);
H A DLockableFileWriter.java298 * @param end The number of characters to write
301 public void write(char[] chr, int st, int end) throws IOException { argument
302 out.write(chr, st, end);
318 * @param end The number of characters to write
321 public void write(String str, int st, int end) throws IOException { argument
322 out.write(str, st, end);
/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/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/inputmethods/LatinIME/java/src/com/android/inputmethod/deprecated/voice/
H A DWaveformImage.java41 ByteArrayOutputStream waveBuffer, int w, int h, int start, int end) {
57 int endIndex = end / 2 + delay;
58 if (end == 0 || endIndex >= numSamples) {
40 drawWaveform( ByteArrayOutputStream waveBuffer, int w, int h, int start, int end) argument
/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/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/Calendar/src/com/android/calendar/widget/
H A DCalendarAppWidgetProvider.java205 static Intent getLaunchFillInIntent(Context context, long id, long start, long end) { argument
216 fillInIntent.putExtra(EXTRA_EVENT_END_TIME, end);
/packages/apps/Calendar/tests/src/com/android/calendar/widget/
H A DCalendarAppWidgetServiceTest.java95 // allDay, begin, end, title, location, eventId
147 // allDay, begin, end, title, location, eventId
284 private Object[] getRow(int allDay, long begin, long end, String title, String location, argument
289 row[CalendarAppWidgetService.INDEX_END] = new Long(end);
/packages/apps/Contacts/src/com/android/contacts/format/
H A DFormatUtils.java97 * @param end Ending index of the range to style (will be clamped to a maximum of the input
102 public static CharSequence applyStyleToSpan(int style, CharSequence input, int start, int end, argument
106 end = Math.min(input.length(), end);
108 text.setSpan(new StyleSpan(style), start, end, flags);
/packages/apps/Exchange/src/com/android/exchange/utility/
H A DUriCodec.java44 public final String validate(String uri, int start, int end, String name) argument
46 for (int i = start; i < end; ) {
54 if (i + 2 >= end) {
68 return uri.substring(start, end);
/packages/apps/Launcher2/src/com/android/launcher2/
H A DInterruptibleInOutAnimator.java88 public void end() { method in class:InterruptibleInOutAnimator
89 mAnimator.end();
/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/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/providers/CalendarProvider/src/com/android/providers/calendar/
H A DMetaData.java166 * @param end the end of the Instance expansion in UTC milliseconds
168 * @param endDay the end of the BusyBit expansion (the end Julian day)
170 public void write(String timezone, long begin, long end, int startDay, int endDay) { argument
174 writeLocked(timezone, begin, end);
192 * @param end the end of the Instance expansion in UTC milliseconds
194 public void writeLocked(String timezone, long begin, long end) { argument
199 values.put(CalendarMetaData.MAX_INSTANCE, end);
[all...]
/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/Gallery2/src/com/android/gallery3d/photoeditor/actions/
H A DEffectAction.java93 public void end(final Runnable runnableOnODone) { method in class:EffectAction
147 * Subclasses could do specific ending operations here when the action is about to end.
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
H A DLevenshteinDistance.java154 public Token(char[] container, int start, int end) { argument
157 mEnd = end;
189 public String subSequence(int start, int end) { argument
/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';

Completed in 490 milliseconds

1234