/frameworks/base/core/tests/coretests/src/android/text/ |
H A D | HtmlTest.java | 43 Object span = spans[0]; 44 assertEquals(0, spanned.getSpanStart(span)); 45 assertEquals(5, spanned.getSpanEnd(span));
|
/frameworks/base/core/java/com/android/internal/view/ |
H A D | IInputMethodManager.aidl | 67 boolean notifySuggestionPicked(in SuggestionSpan span, String originalString, int index);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
H A D | ExpandHelper.java | 235 float span = mSGD.getCurrentSpan() - mInitialTouchSpan; 236 span *= USE_SPAN ? 1f : 0f; 240 float pull = Math.abs(drag) + Math.abs(span) + 1f; 241 float hand = drag * Math.abs(drag) / pull + span * Math.abs(span) / pull; 365 if (DEBUG_SCALE) Slog.d(TAG, "set initial span: " + mInitialTouchSpan);
|
/frameworks/base/tools/aapt/ |
H A D | ZipFile.cpp | 975 long span; local 990 span = nextOffset - pEntry->getLFHOffset(); 992 assert(span >= ZipEntry::LocalFileHeader::kLFHLen); 998 span = 0; 1001 //printf("+++ %d: off=%ld span=%ld del=%d [count=%d]\n", 1002 // i, pEntry->getLFHOffset(), span, pEntry->getDeleted(), count); 1005 adjust += span; 1014 } else if (span != 0 && adjust > 0) { 1019 pEntry->getLFHOffset(), span); 1032 * because we use mCentralDirOffset to determine "span" fo [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | SpellChecker.java | 285 // Allow the overlap of the cursor and the first boundary of the spell check span 348 // Allow the spell checker to remove existing misspelled span by 349 // overwriting the span over the same place 367 Log.i(TAG, "Remove existing misspelled span. " 389 // onSpellCheckSpanRemoved will recycle this span in the pool 422 // onSpellCheckSpanRemoved will recycle this span in the pool 459 return; // span was removed in the meantime 491 Log.i(TAG, "Cached span on the same position is cleard. " 531 Log.d(TAG, "set next range span: " + start + ", " + end); 538 Log.d(TAG, "Remove range span [all...] |
H A D | HorizontalScrollView.java | 178 final int span = getChildAt(0).getRight() - mScrollX - rightEdge; 179 if (span < length) { 180 return span / (float) length;
|
H A D | ScrollView.java | 138 * The StrictMode "critical time span" objects to catch animation 199 final int span = getChildAt(0).getBottom() - mScrollY - bottomEdge; 200 if (span < length) { 201 return span / (float) length;
|
H A D | Editor.java | 946 * span. 969 // We do not hide the span controllers, since they can be added when a new text is 1293 // but could be changes within a span), invalidate everything. We could optimize 1879 public void onSpanAdded(Spannable text, Object span, int start, int end) { argument 1880 if (span instanceof EasyEditSpan) { 1896 mPopupWindow.setEasyEditSpan((EasyEditSpan) span); 1921 public void onSpanRemoved(Spannable text, Object span, int start, int end) { argument 1922 if (mPopupWindow != null && span == mPopupWindow.mEasyEditSpan) { 1928 public void onSpanChanged(Spannable text, Object span, int previousStart, int previousEnd, argument 1930 if (mPopupWindow != null && span [all...] |
H A D | ListView.java | 3104 final int span = bounds.bottom - bounds.top; 3105 if (span < height) { 3121 final int span = bounds.bottom - bounds.top; 3122 if (span < height) {
|
H A D | TextView.java | 7375 // If this is a span that can be sent to a remote process, 8446 * Sets a span on the specified range of text 8449 protected void setSpan_internal(Object span, int start, int end, int flags) { argument 8450 ((Editable) mText).setSpan(span, start, end, flags);
|
/frameworks/base/core/java/android/text/util/ |
H A D | Linkify.java | 155 * Examines the character span matched by the pattern and determines 389 URLSpan span = new URLSpan(url); 391 text.setSpan(span, start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
|
/frameworks/base/docs/html/training/ |
H A D | training_toc.cs | 203 <span class="small">Building Apps with</span><br/>Multimedia 264 <span class="small">Building Apps with</span><br/>Graphics & Animation 368 <span class="small">Building Apps with</span><br/> 478 <span class="small">Building Apps with</span><br/> 540 <span class="small">Best Practices for</span><b [all...] |
/frameworks/base/core/java/android/text/ |
H A D | TextUtils.java | 768 throw new RuntimeException("bogus span encoding " + kind); 783 * be printed one span per line. If the CharSequence is not a Spanned, 1636 * will (correctly) create span transitions, and calling getSpans on a slice of text bounded by 1637 * one of these transitions will (correctly) include the empty overlapping span. 1655 final T span = spans[i]; 1656 final int start = spanned.getSpanStart(span); 1657 final int end = spanned.getSpanEnd(span); 1667 copy[count] = span;
|
H A D | Layout.java | 1495 return 0; // no leading margin span; 1504 LeadingMarginSpan span = spans[i]; 1506 if (span instanceof LeadingMarginSpan2) { 1507 int spStart = spanned.getSpanStart(span); 1509 int count = ((LeadingMarginSpan2)span).getLeadingMarginLineCount(); 1512 margin += span.getLeadingMargin(useFirstLineMargin);
|
H A D | SpannableStringBuilder.java | 314 if (replacedLength > 0) { // no need for span fixup on pure insertion 318 // further in the span array. 325 // This condition indicates that the span would become empty 343 if (replacedLength > 0) { // no need for span fixup on pure insertion 370 // Add span only if this object is not yet used as a span in this string 511 Object span = spans[i]; 512 int flags = spanned.getSpanFlags(span); 537 // No change if span start was already at replace interval boundaries before replace 556 // No change if span star [all...] |
/frameworks/ex/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 1361 Spannable span = getSpannable(); 1362 RecipientChip[] chips = span.getSpans(start, end, RecipientChip.class); 1891 Spannable span = getSpannable(); 1892 span.removeSpan(mMoreChip); 1896 // Recreate each removed span. 1903 int end = span.getSpanEnd(recipients[recipients.length - 1]); 1917 // Only set the span if we found a matching token. 2248 // space is a chip, delete the entire span.
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | InputMethodService.java | 2072 public void onExtractedSetSpan(Object span, int start, int end, int flags) { argument 2078 ((Spannable) text).setSpan(span, 0, text.length(), flags);
|
/frameworks/base/core/java/android/text/format/ |
H A D | DateUtils.java | 1583 long span = Math.abs(now - millis); 1598 if (span < DAY_IN_MILLIS && sNowTime.weekDay == sThenTime.weekDay) {
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodManager.java | 664 public void notifySuggestionPicked(SuggestionSpan span, String originalString, int index) { argument 666 mService.notifySuggestionPicked(span, originalString, index);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | QuickSettings.java | 768 int span = r.getInteger(R.integer.quick_settings_user_time_settings_tile_span); 770 v.setColumnSpan(span);
|
/frameworks/base/services/java/com/android/server/ |
H A D | InputMethodManagerService.java | 1557 public boolean notifySuggestionPicked(SuggestionSpan span, String originalString, int index) { argument 1562 final InputMethodInfo targetImi = mSecureSuggestionSpans.get(span); 1565 final String[] suggestions = span.getSuggestions(); 1567 final String className = span.getNotificationTargetClassName(); 1575 intent.putExtra(SuggestionSpan.SUGGESTION_SPAN_PICKED_HASHCODE, span.hashCode());
|