/packages/apps/Dialer/src/com/android/dialer/dialpad/ |
H A D | SmartDialMatchPosition.java | 25 * start and end indicate that the range start to end (exclusive) correspond to some characters 33 public int end; field in class:SmartDialMatchPosition 35 public SmartDialMatchPosition(int start, int end) { argument 37 this.end = end; 42 this.end += toAdvance; 67 Log.d(TAG, "[" + m.start + "," + m.end + "]");
|
H A D | UnicodeDialerKeyListener.java | 32 public CharSequence filter(CharSequence source, int start, int end, argument 37 // so we can assume that start and end positions should remain unchanged. 38 CharSequence result = super.filter(converted, start, end, dest, dstart, dend); 49 return converted.subSequence(start, end);
|
/packages/apps/Nfc/nci/jni/ |
H A D | SyncEvent.h | 106 ** Function: end 113 void end () function in class:SyncEvent 132 ** Description: Automatically start and end a synchronization event. 165 mEvent.end (); //automatically end operation
|
/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/apps/UnifiedEmail/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/UnifiedEmail/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);
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
H A D | TextViewCompatUtils.java | 36 final Drawable start, final Drawable top, final Drawable end, final Drawable bottom) { 38 textView.setCompoundDrawablesWithIntrinsicBounds(start, top, end, bottom); 42 start, top, end, bottom); 35 setCompoundDrawablesRelativeWithIntrinsicBounds(final TextView textView, final Drawable start, final Drawable top, final Drawable end, final Drawable bottom) argument
|
H A D | ViewCompatUtils.java | 54 final int end, final int bottom) { 56 view.setPadding(start, top, end, bottom); 59 CompatUtils.invoke(view, null, METHOD_setPaddingRelative, start, top, end, bottom); 53 setPaddingRelative(final View view, final int start, final int top, final int end, final int bottom) argument
|
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/utils/ |
H A D | SpannableStringUtils.java | 28 * Copies the spans from the region <code>start...end</code> in 30 * <code>destoff...destoff+end-start</code> in <code>dest</code>. 32 * or end after <code>end</code> but overlap this range are trimmed 33 * as if they began at <code>start</code> or ended at <code>end</code>. 42 public static void copyNonParagraphSuggestionSpansFrom(Spanned source, int start, int end, argument 44 Object[] spans = source.getSpans(start, end, SuggestionSpan.class); 55 if (en > end) 56 en = end;
|
/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/ContactsCommon/src/com/android/contacts/common/format/ |
H A D | SpannedTestUtils.java | 56 * @param end The ending index. 58 public static void assertPrefixSpan(CharSequence seq, int start, int end) { argument 65 Assert.assertEquals(1, getNumForegroundColorSpansBetween(spannable, start, end)); 66 Assert.assertEquals(0, getNumForegroundColorSpansBetween(spannable, end + 1, 70 private static int getNumForegroundColorSpansBetween(Spanned value, int start, int end) { argument 71 return value.getSpans(start, end, ForegroundColorSpan.class).length;
|
H A D | TextHighlighter.java | 63 * @param end End position of the highlight sequence. 65 public void applyMaskingHighlight(SpannableString text, int start, int end) { argument 67 text.setSpan(getStyleSpan(), start, end, 0);
|
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/UnifiedEmail/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 | 206 static Intent getLaunchFillInIntent(Context context, long id, long start, long end, argument 225 fillInIntent.putExtra(EXTRA_EVENT_END_TIME, end);
|
/packages/apps/Calendar/tests/src/com/android/calendar/widget/ |
H A D | CalendarAppWidgetServiceTest.java | 105 // allDay, begin, end, title, location, eventId 156 long end = time.normalize(false); 162 eventInfo.when = DateUtils.formatDateTime(context, end, 167 cursor.addRow(getRow(1, start, end, title + i, location + i, 0)); 176 private Object[] getRow(int allDay, long begin, long end, String title, String location, argument 181 row[CalendarAppWidgetService.INDEX_END] = new Long(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); 59 final long end = mArgs.getLong(KEY_END); 62 return mSession.getSummaryForAllUid(template, start, end, false);
|
/packages/apps/Settings/src/com/android/settings/widget/ |
H A D | ChartGridView.java | 84 void setBounds(long start, long end) { argument 87 mLayoutEnd = makeLayout(formatDateRange(context, end, end)); 130 final Layout end = mLayoutEnd; 131 if (end != null) { 133 canvas.translate(width - end.getWidth(), height + padding); 134 end.draw(canvas);
|
/packages/apps/UnifiedEmail/src/com/android/mail/lib/base/ |
H A D | PercentEscaper.java | 173 protected int nextEscapeIndex(CharSequence csq, int index, int end) { argument 174 for (; index < end; index++) {
|