/packages/apps/Email/emailcommon/src/org/apache/commons/io/input/ |
H A D | TeeInputStream.java | 119 * @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 D | ProxyInputStream.java | 49 * @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 D | ProxyReader.java | 49 * @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 D | NullWriter.java | 62 * @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 D | ProxyOutputStream.java | 66 * @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 D | ProxyWriter.java | 68 * @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 D | FileWriterWithEncoding.java | 282 * @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 D | LockableFileWriter.java | 298 * @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 D | SuggestionFormatter.java | 42 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 D | Utf8ByteLengthFilter.java | 47 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 D | WaveformImage.java | 41 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 D | CalculatorEditable.java | 35 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 D | DecoderUtil.java | 184 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 D | CalendarAppWidgetProvider.java | 205 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 D | CalendarAppWidgetServiceTest.java | 95 // 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 D | FormatUtils.java | 97 * @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 D | UriCodec.java | 44 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 D | InterruptibleInOutAnimator.java | 88 public void end() { method in class:InterruptibleInOutAnimator 89 mAnimator.end();
|
/packages/apps/Settings/src/com/android/settings/net/ |
H A D | SummaryForAllUidLoader.java | 30 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 D | ChartGridView.java | 83 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 D | MetaData.java | 166 * @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 D | IOCase.java | 189 * @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 D | EffectAction.java | 93 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 D | LevenshteinDistance.java | 154 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 D | droiddreamclean.c | 90 char *end; local 97 end = s + size - 1; 98 while (end >= s && isspace(*end)) 99 end--; 100 *(end + 1) = '\0';
|