Searched defs:end (Results 351 - 375 of 387) sorted by relevance

<<111213141516

/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DLinearLayoutManager.java91 * Defines if layout should be calculated from end to start.
152 * @param reverseLayout When set to true, layouts from end to start.
336 * Calculates the view layout order. (e.g. from end to start or start to end)
362 * laid out at the end of the UI, second item is laid out before it etc.
460 // 3) fill towards end, stacking from top
499 // at the start. Otherwise, it should be at the end.
559 // fill towards end
567 // end could not consume all. add more items towards start
575 // fill towards end
1640 findReferenceChild(RecyclerView.Recycler recycler, RecyclerView.State state, int start, int end, int itemCount) argument
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DBaseRecyclerViewInstrumentationTest.java605 protected void layoutRange(RecyclerView.Recycler recycler, int start, int end) { argument
608 Log.d(TAG, "will layout items from " + start + " to " + end);
610 int diff = end > start ? 1 : -1;
612 for (int i = start; i != end; i+=diff) {
818 * @param end exclusive
821 public void offsetOriginalIndicesBetween(int start, int end, int offset) { argument
822 for (int i = start; i < end && i < mItems.size(); i++) {
/frameworks/base/core/java/android/inputmethodservice/
H A DInputMethodService.java756 * to use hardware accelerated drawing in an IME (for example on low-end
2275 public void onExtractedSelectionChanged(int start, int end) { argument
2278 conn.setSelection(start, end);
2285 public void onExtractedDeleteText(int start, int end) { argument
2290 conn.deleteSurroundingText(0, end - start);
2297 public void onExtractedReplaceText(int start, int end, CharSequence text) { argument
2300 conn.setComposingRegion(start, end);
2308 public void onExtractedSetSpan(Object span, int start, int end, int flags) { argument
2311 if (!conn.setSelection(start, end)) return;
2315 conn.setComposingRegion(start, end);
[all...]
/frameworks/base/core/java/android/provider/
H A DCalendarContract.java58 * as event title, location, start time, end time, etc. The event can occur
62 * <li>The {@link Instances} table holds the start and end time for occurrences
142 * Intent Extras key: The end time of an event or an instance of a recurring
1057 * The timezone for the end time of the event. Column name.
1720 * single occurrence of an event including time zone specific start and end
1747 * @param end The end of the time range to query in UTC millis since
1752 long begin, long end) {
1755 ContentUris.appendId(builder, end);
1772 * @param end Th
1751 query(ContentResolver cr, String[] projection, long begin, long end) argument
1780 query(ContentResolver cr, String[] projection, long begin, long end, String searchQuery) argument
2263 insert(ContentResolver cr, long eventId, long begin, long end, long alarmTime, int minutes) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DGridLayout.java699 private static boolean fits(int[] a, int value, int start, int end) { argument
700 if (end > a.length) {
703 for (int i = start; i < end; i++) {
711 private static void procrusteanFill(int[] a, int start, int end, int value) { argument
713 Arrays.fill(a, Math.min(start, length), Math.min(end, length), value);
793 // This can end up being done twice. Better twice than not at all.
1739 // off-by-ones at the end
2813 * Indicates that a view should be aligned with the <em>end</em>
2847 * Indicates that a view should be aligned with the <em>end</em>
H A DNumberPicker.java1711 // Wrap around the values if we go past the start or end
2092 CharSequence source, int start, int end, Spanned dest, int dstart, int dend) {
2094 CharSequence filtered = super.filter(source, start, end, dest, dstart, dend);
2096 filtered = source.subSequence(start, end);
2120 CharSequence filtered = String.valueOf(source.subSequence(start, end));
2091 filter( CharSequence source, int start, int end, Spanned dest, int dstart, int dend) argument
H A DRemoteViews.java2485 * @param end The id of a drawable to place after the text, or 0
2488 public void setTextViewCompoundDrawablesRelative(int viewId, int start, int top, int end, int bottom) { argument
2489 addAction(new TextViewDrawableAction(viewId, true, start, top, end, bottom));
2540 * @param end an Icon to place after the text, or 0
2545 public void setTextViewCompoundDrawablesRelative(int viewId, Icon start, Icon top, Icon end, Icon bottom) { argument
2546 addAction(new TextViewDrawableAction(viewId, true, start, top, end, bottom));
3048 * sent across processes, so it may end up using a lot of memory, and may be fairly slow.</p>
/frameworks/base/core/jni/
H A Dandroid_util_AssetManager.cpp1129 BagAttributeFinder(const ResTable::bag_entry* start, const ResTable::bag_entry* end) argument
1130 : BackTrackingAttributeFinder(start, end) {}
1672 // Skip through XML attributes until the end or the next possible match.
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java1677 * @param end (end - 1) is the index of the last character in text to draw
1682 public void drawText(@NonNull String text, int start, int end, float x, float y, argument
1684 if ((start | end | (end - start) | (text.length() - end)) < 0) {
1687 native_drawText(mNativeCanvasWrapper, text, start, end, x, y, paint.mBidiFlags,
1692 * Draw the specified range of text, specified by start/end, with its
1698 * @param end (end
1704 drawText(@onNull CharSequence text, int start, int end, float x, float y, @NonNull Paint paint) argument
1802 drawTextRun(@onNull CharSequence text, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, @NonNull Paint paint) argument
2122 native_drawText(long nativeCanvas, String text, int start, int end, float x, float y, int flags, long nativePaint, long nativeTypeface) argument
2127 native_drawTextRun(long nativeCanvas, String text, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, long nativePaint, long nativeTypeface) argument
[all...]
H A DPaint.java380 * end of the path.
384 * The stroke projects out as a square, with the center at the end
973 * Return the paint's Cap, controlling how the start and end of stroked
1728 * @param end 1 beyond the index of the last character to measure
1731 public float measureText(String text, int start, int end) { argument
1735 if ((start | end | (end - start) | (text.length() - end)) < 0) {
1739 if (text.length() == 0 || start == end) {
1744 start, end, star
1775 measureText(CharSequence text, int start, int end) argument
1865 breakText(CharSequence text, int start, int end, boolean measureForwards, float maxWidth, float[] measuredWidth) argument
1991 getTextWidths(CharSequence text, int start, int end, float[] widths) argument
2035 getTextWidths(String text, int start, int end, float[] widths) argument
2132 getTextRunAdvances(CharSequence text, int start, int end, int contextStart, int contextEnd, boolean isRtl, float[] advances, int advancesIndex) argument
2214 getTextRunAdvances(String text, int start, int end, int contextStart, int contextEnd, boolean isRtl, float[] advances, int advancesIndex) argument
2413 getTextPath(String text, int start, int end, float x, float y, Path path) argument
2432 getTextBounds(String text, int start, int end, Rect bounds) argument
2519 getRunAdvance(char[] text, int start, int end, int contextStart, int contextEnd, boolean isRtl, int offset) argument
2549 getRunAdvance(CharSequence text, int start, int end, int contextStart, int contextEnd, boolean isRtl, int offset) argument
2599 getOffsetForAdvance(char[] text, int start, int end, int contextStart, int contextEnd, boolean isRtl, float advance) argument
2626 getOffsetForAdvance(CharSequence text, int start, int end, int contextStart, int contextEnd, boolean isRtl, float advance) argument
2683 nGetTextAdvances(long paintPtr, long typefacePtr, String text, int start, int end, int contextStart, int contextEnd, int bidiFlags, float[] advances, int advancesIndex) argument
2694 nGetTextPath(long paintPtr, long typefacePtr, int bidiFlags, String text, int start, int end, float x, float y, long path) argument
2696 nGetStringBounds(long nativePaint, long typefacePtr, String text, int start, int end, int bidiFlags, Rect bounds) argument
2715 nGetRunAdvance(long paintPtr, long typefacePtr, char[] text, int start, int end, int contextStart, int contextEnd, boolean isRtl, int offset) argument
2718 nGetOffsetForAdvance(long paintPtr, long typefacePtr, char[] text, int start, int end, int contextStart, int contextEnd, boolean isRtl, float advance) argument
[all...]
/frameworks/base/services/core/java/com/android/server/net/
H A DNetworkPolicyManagerService.java926 final long end = currentTime;
927 final long totalBytes = getTotalBytes(policy.template, start, end);
1175 final long end = currentTime;
1176 final long totalBytes = getTotalBytes(policy.template, start, end);
2207 final long end = currentTime;
2208 final long totalBytes = getTotalBytes(policy.template, start, end);
3374 private long getTotalBytes(NetworkTemplate template, long start, long end) { argument
3376 return mNetworkStats.getNetworkTotalBytes(template, start, end);
/frameworks/base/tools/aapt/
H A DResource.cpp316 const char16_t* const end = str + baseName.size(); local
317 while (str < end) {
561 fprintf(stderr, "%s:%d: Tag <%s> attribute %s can not end with a space.\n",
1667 iter != splitConfigs.end();
H A DResourceTable.cpp218 const char16_t* const end = str + len; local
221 while (str < end) {
223 while (div < end && *div != '|') {
241 str = div < end ? div+1 : div;
1045 uint32_t end = 0; local
1046 ssize_t endIdx = block.indexOfAttribute(NULL, "end");
1051 srcPos.error("Given 'end' attribute is not an integer: %s\n",
1055 end = endValue.data;
1058 srcPos.error("No 'end' attribute supplied <public-padding>\n");
1062 if (end >
2529 const char16_t* end = name + nameLen; local
[all...]
/frameworks/native/opengl/libagl/
H A Dcontext.h259 GLfixed end; member in struct:android::gl::fog_t
/frameworks/opt/chips/src/com/android/ex/chips/
H A DRecipientEditTextView.java156 * 0 for end, 1 for start.
497 public void onSelectionChanged(int start, int end) { argument
506 super.onSelectionChanged(start, end);
532 public void append(CharSequence text, int start, int end) { argument
537 super.append(text, start, end);
708 int end = getSelectionEnd();
709 int start = mTokenizer.findTokenStart(editable, end);
711 getSpannable().getSpans(start, end, DrawableRecipientChip.class);
725 commitChip(start, end, editable);
809 // Chip start padding is the same as the end paddin
1516 commitChip(int start, int end, Editable editable) argument
1615 shouldCreateChip(int start, int end) argument
1619 alreadyHasChip(int start, int end) argument
1628 handleEdit(int start, int end) argument
[all...]
/frameworks/support/v4/java/android/support/v4/view/accessibility/
H A DAccessibilityNodeInfoCompat.java320 * action will also put the cursor at the end of text.
604 public void setTextSelection(Object info, int start, int end); argument
1176 public void setTextSelection(Object info, int start, int end) { argument
1611 public void setTextSelection(Object info, int start, int end) { argument
1612 AccessibilityNodeInfoCompatJellybeanMr2.setTextSelection(info, start, end);
2174 * cursor at the end of text.
2239 * Argument for specifying the selection end.
3657 * Sets the text selection start and end.
3665 * @param end The text selection end
3669 setTextSelection(int start, int end) argument
[all...]
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/
H A DGridLayout.java690 private static boolean fits(int[] a, int value, int start, int end) { argument
691 if (end > a.length) {
694 for (int i = start; i < end; i++) {
702 private static void procrusteanFill(int[] a, int start, int end, int value) { argument
704 Arrays.fill(a, Math.min(start, length), Math.min(end, length), value);
784 // This can end up being done twice. Better twice than not at all.
1634 // off-by-ones at the end
2724 * Indicates that a view should be aligned with the <em>end</em>
2763 * Indicates that a view should be aligned with the <em>end</em>
/frameworks/base/core/java/android/view/accessibility/
H A DAccessibilityNodeInfo.java307 * cursor at the end of text.
396 * Argument for specifying the selection end.
2440 * Gets the text selection end if text is selected.
2447 * @return The text selection end, the cursor location if there is no selection, or -1 if
2455 * Sets the text selection start and end.
2463 * @param end The text selection end.
2467 public void setTextSelection(int start, int end) { argument
2470 mTextSelectionEnd = end;
3608 * action will also put the cursor at the end o
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLES32.java475 // C function void glDrawRangeElementsBaseVertex ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const void *indices, GLint basevertex )
480 int end,
477 glDrawRangeElementsBaseVertex( int mode, int start, int end, int count, int type, java.nio.Buffer indices, int basevertex ) argument
H A DGLLogWrapper.java84 private void end() { method in class:GLLogWrapper
1180 end();
1189 end();
1198 end();
1207 end();
1216 end();
1225 end();
1237 end();
1249 end();
1258 end();
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DNotificationPanelView.java2041 private static float interpolate(float t, float start, float end) { argument
2042 return (1 - t) * start + t * end;
/frameworks/base/services/core/java/com/android/server/
H A DAlarmManagerService.java365 long end; field in class:AlarmManagerService.Batch
372 end = Long.MAX_VALUE;
378 end = seed.maxWhenElapsed;
392 return (end >= whenElapsed) && (start <= maxWhen);
410 if (alarm.maxWhenElapsed < end) {
411 end = alarm.maxWhenElapsed;
455 end = newEnd;
494 end = newEnd;
530 end = newEnd;
561 end
[all...]
/frameworks/native/services/inputflinger/
H A DInputDispatcher.cpp187 Region::const_iterator const tail = region.end();
1154 // This state is always reset at the end of this function, so if we don't find state
3141 char* end = strchr(start, '\n'); local
3142 if (*end == '\n') {
3143 *(end++) = '\0';
3146 start = end;
/frameworks/native/services/surfaceflinger/
H A DSurfaceFlinger_hwc1.cpp112 // the latency will end up being an additional vsync period, and animations
1187 const HWComposer::LayerListIterator end = hwc.end(id); local
1188 for (size_t i=0 ; cur!=end && i<count ; ++i, ++cur) {
1209 const HWComposer::LayerListIterator end = hwc.end(id); local
1210 for (size_t i=0 ; cur!=end && i<count ; ++i, ++cur) {
1230 const HWComposer::LayerListIterator end = hwc.end(id); local
1231 for (size_t i=0 ; cur!=end
1305 const HWComposer::LayerListIterator end = hwc.end(id); local
1651 const HWComposer::LayerListIterator end = hwc.end(id); local
1950 const HWComposer::LayerListIterator end = hwc.end(id); local
[all...]
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DGridLayoutManager.java392 * start/end: coordinate quantities - do reverse
398 * front/end: positional indices - do not reverse
582 * Allow DPAD key to navigate out at the end of the view, default is false.
1519 // fastRelayout will dispatch event at end of onLayoutChildren().
1545 int start, end;
1554 end = edge + length;
1557 end = edge;
1561 layoutChild(rowIndex, v, start, end, startSecondary);
1618 private void layoutChild(int rowIndex, View v, int start, int end, int startSecondary) { argument
1643 right = end;
[all...]

Completed in 469 milliseconds

<<111213141516