/frameworks/base/tools/aapt/ |
H A D | ZipFile.cpp | 973 long span; local 988 span = nextOffset - pEntry->getLFHOffset(); 990 assert(span >= ZipEntry::LocalFileHeader::kLFHLen); 996 span = 0; 999 //printf("+++ %d: off=%ld span=%ld del=%d [count=%d]\n", 1000 // i, pEntry->getLFHOffset(), span, pEntry->getDeleted(), count); 1003 adjust += span; 1012 } else if (span != 0 && adjust > 0) { 1017 pEntry->getLFHOffset(), span); 1030 * because we use mCentralDirOffset to determine "span" fo [all...] |
/frameworks/base/tools/aapt2/ |
H A D | ZipFile.cpp | 983 long span; local 998 span = nextOffset - pEntry->getLFHOffset(); 1000 assert(span >= ZipEntry::LocalFileHeader::kLFHLen); 1006 span = 0; 1009 //printf("+++ %d: off=%ld span=%ld del=%d [count=%d]\n", 1010 // i, pEntry->getLFHOffset(), span, pEntry->getDeleted(), count); 1013 adjust += span; 1022 } else if (span != 0 && adjust > 0) { 1027 pEntry->getLFHOffset(), span); 1040 * because we use mCentralDirOffset to determine "span" fo [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | StaggeredGridLayoutManagerTest.java | 98 assertNotNull("when item offsets are requested, view should have a valid span", 147 assertEquals("first completely visible item from span 0 should be 0", 0, into[0]); 148 assertEquals("first completely visible item from span 1 should be 1", 1, into[1]); 150 assertEquals("last completely visible item from span 0 should be 4", 4, into[0]); 151 assertEquals("last completely visible item from span 1 should be 1", 1, into[1]); 617 assertNull("test sanity. full span item should not be visible", 629 assertNotNull("full span item should be there:\n" + log, fullSpan); 637 assertEquals("view 1 span index", 0, lp1.getSpanIndex()); 638 assertEquals("view 2 span index", 1, lp2.getSpanIndex()); 639 assertEquals("no gap between span an [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
H A D | ZenModePanel.java | 495 final long span = time - now; 496 if (span <= 0 || span > MAX_BUCKET_MINUTES * MINUTES_MS) return null; 498 time, Math.round(span / (float) MINUTES_MS), now, ActivityManager.getCurrentUser(), 721 final long span = time - System.currentTimeMillis(); 722 button1.setEnabled(span > MIN_BUCKET_MINUTES * MINUTES_MS);
|
/frameworks/base/core/java/android/text/format/ |
H A D | DateUtils.java | 775 long span = Math.abs(now - millis); 790 if (span < DAY_IN_MILLIS && sNowTime.weekDay == sThenTime.weekDay) {
|
/frameworks/base/core/java/android/text/util/ |
H A D | Linkify.java | 164 * Examines the character span matched by the pattern and determines 396 URLSpan span = new URLSpan(url); 398 text.setSpan(span, start, end, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE);
|
/frameworks/base/core/java/android/widget/ |
H A D | Editor.java | 233 // The span controller helps monitoring the changes to which the Editor needs to react: 616 * Hides the insertion and span controllers. 1135 * span. 1161 // We do not hide the span controllers, since they can be added when a new text is 1876 // The span doesn't cover the current selection start point. 1895 // There is a span that is not covered by the union. In this case, we soouldn't offer 2237 final Object span) { 2238 return (Selection.SELECTION_START == span || Selection.SELECTION_END == span) 2239 && (text.getSpanFlags(span) 2236 isNonIntermediateSelectionSpan(final Spannable text, final Object span) argument 2243 onSpanAdded(Spannable text, Object span, int start, int end) argument 2300 onSpanRemoved(Spannable text, Object span, int start, int end) argument 2309 onSpanChanged(Spannable text, Object span, int previousStart, int previousEnd, int newStart, int newEnd) argument 2327 sendEasySpanNotification(int textChangedType, EasyEditSpan span) argument 2350 onDeleteClick(EasyEditSpan span) argument [all...] |
H A D | HorizontalScrollView.java | 192 final int span = getChildAt(0).getRight() - mScrollX - rightEdge; 193 if (span < length) { 194 return span / (float) length;
|
H A D | ScrollView.java | 151 * The StrictMode "critical time span" objects to catch animation 218 final int span = getChildAt(0).getBottom() - mScrollY - bottomEdge; 219 if (span < length) { 220 return span / (float) length;
|
H A D | ListView.java | 3218 final int span = bounds.bottom - bounds.top; 3219 if (span < height) { 3235 final int span = bounds.bottom - bounds.top; 3236 if (span < height) {
|
H A D | TextView.java | 8138 // If this is a span that can be sent to a remote process, 9682 * Sets a span on the specified range of text 9685 protected void setSpan_internal(Object span, int start, int end, int flags) { argument 9686 ((Editable) mText).setSpan(span, start, end, flags);
|
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | StaggeredGridLayoutManager.java | 73 * check if there are gaps in the because of full span items. If it finds, it will re-layout 111 * The width or height per span, depending on the orientation. 184 * If a full span item is invalid / or created in reverse direction; it may create gaps in 231 * When a full span item is laid out in reverse direction, it sets a flag which we check when 297 * Intermediate gaps created by full span items are tracked via mLaidOutInvalidFullSpan field. 351 // equal, check span indices. 363 private boolean checkSpanForGap(Span span) { argument 365 if (span.getEndLine() < mPrimaryOrientation.getEndAfterPadding()) { 368 } else if (span.getStartLine() > mPrimaryOrientation.getStartAfterPadding()) { 375 * Sets the number of spans for the layout. This will invalidate all of the span assignment 1636 updateRemainingSpans(Span span, int layoutDir, int targetLine) argument 2421 setSpan(int position, Span span) argument [all...] |
/frameworks/opt/chips/src/com/android/ex/chips/ |
H A D | RecipientEditTextView.java | 1611 Spannable span = getSpannable(); 1612 DrawableRecipientChip[] chips = span.getSpans(start, end, DrawableRecipientChip.class); 1821 final Spannable span = getSpannable(); 1823 span.getSpans(0, span.length(), DrawableRecipientChip.class); 2151 Spannable span = getSpannable(); 2152 span.removeSpan(mMoreChip); 2156 // Recreate each removed span. 2163 int end = span.getSpanEnd(recipients[recipients.length - 1]); 2177 // Only set the span i [all...] |
/frameworks/base/core/java/android/text/ |
H A D | TextUtils.java | 807 throw new RuntimeException("bogus span encoding " + kind); 822 * be printed one span per line. If the CharSequence is not a Spanned, 1670 * will (correctly) create span transitions, and calling getSpans on a slice of text bounded by 1671 * one of these transitions will (correctly) include the empty overlapping span. 1689 final T span = spans[i]; 1690 final int start = spanned.getSpanStart(span); 1691 final int end = spanned.getSpanEnd(span); 1701 copy[count] = span;
|
H A D | Layout.java | 1615 return 0; // no leading margin span; 1634 LeadingMarginSpan span = spans[i]; 1635 margin += span.getLeadingMargin(useFirstLineMargin);
|
/frameworks/base/docs/html/training/ |
H A D | training_toc.cs | 289 <span class="small">Building Apps with</span><br/>Content Sharing 375 <span class="small">Building Apps with</span><br/>Multimedia 460 <span class="small">Building Apps with</span><br/>Graphics & Animation 597 <span class="small">Building Apps with</span><br/> 765 <span class="small">Building Apps with</span><b [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | NestedScrollView.java | 315 final int span = getChildAt(0).getBottom() - getScrollY() - bottomEdge; 316 if (span < length) { 317 return span / (float) length;
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | InputMethodService.java | 2172 public void onExtractedSetSpan(Object span, int start, int end, int flags) { argument 2178 ((Spannable) text).setSpan(span, 0, text.length(), flags);
|
/frameworks/base/core/java/android/view/inputmethod/ |
H A D | InputMethodManager.java | 719 public void notifySuggestionPicked(SuggestionSpan span, String originalString, int index) { argument 721 mService.notifySuggestionPicked(span, originalString, index);
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | InputMethodManagerService.java | 1830 public boolean notifySuggestionPicked(SuggestionSpan span, String originalString, int index) { argument 1835 final InputMethodInfo targetImi = mSecureSuggestionSpans.get(span); 1838 final String[] suggestions = span.getSuggestions(); 1840 final String className = span.getNotificationTargetClassName(); 1848 intent.putExtra(SuggestionSpan.SUGGESTION_SPAN_PICKED_HASHCODE, span.hashCode());
|
/frameworks/base/core/java/android/service/notification/ |
H A D | ZenModeConfig.java | 908 final long span = time - now; 910 time, Math.round(span / (float) MINUTES_MS), now, userHandle, shortVersion);
|
/frameworks/data-binding/prebuilds/1.0-rc0/ |
H A D | databinding-studio-bundle.jar | META-INF/ META-INF/MANIFEST.MF android/ android/databinding/ android/databinding/Bindable.class Bindable. ... |