/packages/apps/Dialer/java/com/android/dialer/app/dialpad/ |
H A D | UnicodeDialerKeyListener.java | 34 CharSequence source, int start, int end, Spanned dest, int dstart, int dend) { 39 // so we can assume that start and end positions should remain unchanged. 40 CharSequence result = super.filter(converted, start, end, dest, dstart, dend); 51 return converted.subSequence(start, end); 33 filter( CharSequence source, int start, int end, Spanned dest, int dstart, int dend) argument
|
/packages/apps/Dialer/java/com/android/dialer/common/ |
H A D | MathUtil.java | 26 * @param end End value 30 public static int lerp(int begin, int end, float percent) { argument 31 return (int) (begin * (1 - percent) + end * percent); 38 * @param end End value 42 public static float lerp(float begin, float end, float percent) { argument 43 return begin * (1 - percent) + end * percent;
|
/packages/apps/Dialer/java/com/android/dialer/smartdial/ |
H A D | SmartDialMatchPosition.java | 24 * end indicate that the range start to end (exclusive) correspond to some characters in the query. 33 public int end; field in class:SmartDialMatchPosition 35 public SmartDialMatchPosition(int start, int end) { argument 37 this.end = end; 62 Log.d(TAG, "[" + m.start + "," + m.end + "]"); 68 this.end += toAdvance;
|
/packages/apps/ExactCalculator/src/com/android/calculator2/ |
H A D | StringUtils.java | 44 public static String addCommas(String s, int begin, int end) { argument 49 while (current < end && (s.charAt(current) == '-' || s.charAt(current) == ' ')) { 53 while (current < end) { 56 if ((end - current) % 3 == 0 && end != current) {
|
/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/com/android/mail/compose/ |
H A D | BodyView.java | 28 * @param end new selection end 31 boolean onSelectionChanged(int start, int end); argument
|
/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/common/src/com/android/inputmethod/latin/common/ |
H A D | CollectionUtils.java | 40 * @param end Last index exclusive to be converted. 41 * @throws IllegalArgumentException if start or end are out of range or start > end. 45 final int end) { 46 if (start < 0 || start > end || end > array.length) { 47 throw new IllegalArgumentException("Invalid start: " + start + " end: " + end 51 final ArrayList<E> list = new ArrayList<>(end - start); 52 for (int i = start; i < end; 44 arrayAsList(@onnull final E[] array, final int start, final int end) argument [all...] |
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/compat/ |
H A D | TextInfoCompatUtils.java | 42 public static TextInfo newInstance(CharSequence charSequence, int start, int end, int cookie, argument 46 charSequence, start, end, cookie, sequenceNumber); 48 return new TextInfo(charSequence.subSequence(start, end).toString(), cookie,
|
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
|
/packages/apps/CellBroadcastReceiver/tests/unit/src/com/android/cellbroadcastreceiver/ |
H A D | CellBroadcastConfigServiceTest.java | 69 private boolean setCellBroadcastRange(boolean enable, int type, int start, int end) argument 81 return (boolean) method.invoke(mConfigService, mSmsManager, enable, type, start, end);
|
/packages/apps/Contacts/src/com/android/contacts/format/ |
H A D | TextHighlighter.java | 59 * @param end End position of the highlight sequence. 61 public void applyMaskingHighlight(SpannableString text, int start, int end) { argument 63 text.setSpan(getStyleSpan(), start, end, 0);
|
/packages/apps/Contacts/tests/src/com/android/contacts/format/ |
H A D | SpannedTestUtils.java | 54 * @param end The ending index. 56 public static void assertPrefixSpan(CharSequence seq, int start, int end) { argument 63 Assert.assertEquals(1, getNumForegroundColorSpansBetween(spannable, start, end)); 64 Assert.assertEquals(0, getNumForegroundColorSpansBetween(spannable, end + 1, 68 private static int getNumForegroundColorSpansBetween(Spanned value, int start, int end) { argument 69 return value.getSpans(start, end, StyleSpan.class).length;
|
/packages/apps/Dialer/java/com/android/contacts/common/format/ |
H A D | TextHighlighter.java | 58 * @param end End position of the highlight sequence. 60 public void applyMaskingHighlight(SpannableString text, int start, int end) { argument 62 text.setSpan(getStyleSpan(), start, end, 0);
|
/packages/apps/Dialer/java/com/android/contacts/common/format/testing/ |
H A D | SpannedTestUtils.java | 53 * @param end The ending index. 55 public static void assertPrefixSpan(CharSequence seq, int start, int end) { argument 62 Assert.assertEquals(1, getNumForegroundColorSpansBetween(spannable, start, end)); 64 0, getNumForegroundColorSpansBetween(spannable, end + 1, spannable.length() - 1)); 67 private static int getNumForegroundColorSpansBetween(Spanned value, int start, int end) { argument 68 return value.getSpans(start, end, StyleSpan.class).length;
|
/packages/apps/UnifiedEmail/src/org/apache/james/mime4j/decoder/ |
H A D | DecoderUtil.java | 186 int end = body.indexOf("?=", qm2 + 1); 187 if (end == -1) { 190 end += 2; 194 String decoded = decodeEncodedWord(body, begin, end); 197 sb.append(body.substring(begin, end)); 205 previousEnd = end; 217 public static String decodeEncodedWord(String body, int begin, int end) { argument 220 if (qm1 == -1 || qm1 == end - 2) 224 if (qm2 == -1 || qm2 == end - 2) 229 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);
|