/frameworks/base/media/java/android/media/ |
H A D | AudioTrack.java | 1091 * @param endInFrames loop end marker expressed in frames 1092 * The total buffer size in frames corresponds to end of buffer. 1093 * The end marker must not be greater than the buffer size in frames. 1094 * For looping, the end marker must not be less than or equal to the start marker, 1096 * it is permitted for start marker, end marker, and loop count to all be 0. 1690 private native final int native_set_loop(int start, int end, int loopCount); argument
|
H A D | ClosedCaptionRenderer.java | 513 StyleCode s, int start, int end) { 517 start, end, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); 522 start, end, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); 511 applyStyleSpan( SpannableStringBuilder styledText, StyleCode s, int start, int end) argument
|
H A D | MediaScanner.java | 1058 }; // end of anonymous MediaScannerClient instance 1337 long end = System.currentTimeMillis(); 1342 Log.d(TAG, "postscan time: " + (end - scan) + "ms\n"); 1343 Log.d(TAG, " total time: " + (end - start) + "ms\n"); 1755 public void end() { method in class:MediaScanner.WplHandler
|
/frameworks/base/services/core/java/com/android/server/ |
H A D | AlarmManagerService.java | 187 long end; field in class:AlarmManagerService.Batch 194 end = Long.MAX_VALUE; 199 end = seed.maxWhen; 212 return (end >= whenElapsed) && (start <= maxWhen); 230 if (alarm.maxWhen < end) { 231 end = alarm.maxWhen; 265 end = newEnd; 295 end = newEnd; 325 end = newEnd; 359 b.append(" end [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkPolicyManagerService.java | 704 final long end = currentTime; 705 final long totalBytes = getTotalBytes(policy.template, start, end); 997 final long end = currentTime; 998 final long totalBytes = getTotalBytes(policy.template, start, end); 1745 final long end = currentTime; 1746 final long totalBytes = getTotalBytes(policy.template, start, end); 2179 private long getTotalBytes(NetworkTemplate template, long start, long end) { argument 2181 return mNetworkStats.getNetworkTotalBytes(template, start, end);
|
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.cpp | 514 size_t end = mDataSize; local 515 size_t total = size + end; 520 memcpy(((char*)buf)+end, data, size); 1312 const unsigned char* end = p+len; 1314 for (int i=0; i<32 && p < end; i++) { 1316 for (int j=0; j<0x10 && p < end; j++) { 1397 // for now we can rely on the back-end doing another filtering 1434 // for now we can rely on the back-end doing another filtering
|
H A D | Bundle.h | 253 char *end; local 254 int minSdkNum = (int)strtol(minVer, &end, 0); 255 if (*end == '\0') {
|
H A D | Images.cpp | 537 int which, int front, int back, int size, int* start, int* end) 542 *end = front-1; 546 *end = back-1; 550 *end = size-1; 536 select_patch( int which, int front, int back, int size, int* start, int* end) argument
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 853 int start, int end, float x, float y, final int flags, long paint, 855 int count = end - start; 857 TextUtils.getChars(text, start, end, buffer, 0); 864 int start, int end, int contextStart, int contextEnd, 866 int count = end - start; 868 TextUtils.getChars(text, start, end, buffer, 0); 852 native_drawText(long nativeCanvas, String text, int start, int end, float x, float y, final int flags, long paint, long typeface) argument 863 native_drawTextRun(long nativeCanvas, String text, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, long paint, long typeface) argument
|
H A D | Paint_Delegate.java | 612 /*package*/ static float native_measureText(Paint thisPaint, String text, int start, int end, argument 614 return native_measureText(thisPaint, text.toCharArray(), start, end - start, bidiFlags); 636 int start, end; 639 end = index; 642 end = i; 645 // measure from start to end 646 RectF bounds = delegate.measureText(text, start, end - start + 1, null, 0, bidiFlags); 979 String text, int start, int end, int bidiFlags, float[] widths) { 981 end - start, bidiFlags, widths); 986 int end, in 978 native_getTextWidths(long native_object, long native_typeface, String text, int start, int end, int bidiFlags, float[] widths) argument 985 native_getTextGlyphs(long native_object, String text, int start, int end, int contextStart, int contextEnd, int flags, char[] glyphs) argument 1015 native_getTextRunAdvances(long native_object, long native_typeface, String text, int start, int end, int contextStart, int contextEnd, boolean isRtl, float[] advances, int advancesIndex) argument 1054 native_getTextPath(long native_object, long native_typeface, int bidiFlags, String text, int start, int end, float x, float y, long path) argument 1062 nativeGetStringBounds(long nativePaint, long native_typeface, String text, int start, int end, int bidiFlags, Rect bounds) argument [all...] |
/frameworks/minikin/libs/minikin/ |
H A D | Layout.cpp | 604 size_t end = start + count; local 605 size_t wordend = end == 0 ? 0 : getNextWordBreak(buf, end - 1, bufSize); 606 for (size_t iter = end; iter > start; iter = wordstart) { 636 const char* end = start + str.size(); local 638 while (start < end) { 642 p = end; 646 && feature.start == 0 && feature.end == (unsigned int) -1) 658 std::reverse(items.begin(), items.end()); 693 ALOGE("no font for run starting u+%04x length %d", buf[run.start], run.end [all...] |
/frameworks/native/cmds/installd/ |
H A D | commands.c | 900 char *end; local 927 end = strrchr(out_path, '.'); 928 if (end != NULL && !is_patchoat) { 929 strcpy(end, ".odex"); 942 end = strrchr(in_odex_path, '/'); 943 if (end == NULL) { 947 const char *apk_end = apk_path + (end - in_odex_path); // strrchr(apk_path, '/'); 948 strcpy(end + 1, instruction_set); // in_odex_path now is /system/framework/<isa>\0 950 end = strrchr(in_odex_path, '.'); 951 if (end [all...] |
/frameworks/native/libs/binder/ |
H A D | Parcel.cpp | 577 size_t end = mDataPos + len; local 578 if (end < mDataPos) { 583 if (end <= mDataCapacity) { 618 // Need to pad at end?
|
/frameworks/native/opengl/libagl/ |
H A D | egl.cpp | 282 const_iterator end() const { return storage+count; } function in struct:android::egl_window_surface_v2_t::Region 463 Region::const_iterator end = clip.end(); local 472 while (cur != end) {
|
/frameworks/native/services/inputflinger/ |
H A D | EventHub.cpp | 1032 const uint8_t* end = array + endIndex; local 1034 while (array != end) {
|
/frameworks/rs/api/ |
H A D | gen_runtime.cpp | 193 // Add a call to mJavaCallAllCheckMethods to be used at the end of the file generation. 455 if (set->find(flag) == set->end()) { 543 char* end; local 544 *versionOfTestFiles = strtol(argv[i], &end, 10); 545 if (*end != '\0') { 763 if (iter != mFunctionsMap.end()) { 773 for (FunctionsIterator iter = mFunctionsMap.begin(); iter != mFunctionsMap.end(); iter++) { 794 for (SpecificationIterator i = mSpecifications.begin(); i < mSpecifications.end(); i++) { 894 for (vector<string>::const_iterator iter = in.begin(); iter != in.end(); iter++) { 983 if (s.compare(0, 4, "end 1057 int end[4]; local [all...] |
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | FragmentManager.java | 770 static Animation makeFadeAnimation(Context context, float start, float end) { argument 771 AlphaAnimation anim = new AlphaAnimation(start, end); 1837 // retained above), clear mInstance in case we end up re-restoring
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewCompat.java | 296 public void setPaddingRelative(View view, int start, int top, int end, int bottom); argument 499 public void setPaddingRelative(View view, int start, int top, int end, int bottom) { argument 500 view.setPadding(start, top, end, bottom); 1120 public void setPaddingRelative(View view, int start, int top, int end, int bottom) { argument 1121 ViewCompatJellybeanMr1.setPaddingRelative(view, start, top, end, bottom); 1878 * Returns the end padding of the specified view depending on its resolved layout direction. 1883 * @return the end padding in pixels 1899 * @param end the end padding in pixels 1902 public static void setPaddingRelative(View view, int start, int top, int end, in argument [all...] |
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/ |
H A D | LinearLayoutManager.java | 87 * Defines if layout should be calculated from end to start. 148 * @param reverseLayout When set to true, layouts from end to start. 316 * Calculates the view layout order. (e.g. from end to start or start to end) 342 * laid out at the end of the UI, second item is laid out before it etc. 436 // 3) fill towards end, stacking from top 515 // fill towards end 522 // fill towards end 542 // because layout from end may be changed by scroll to position 617 + " towards start and " + scrapExtraEnd + " towards end"); 1516 findReferenceChild(int start, int end, int itemCount) argument [all...] |
/frameworks/base/core/java/android/provider/ |
H A D | CalendarContract.java | 58 * 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 D | GridLayout.java | 699 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. 1763 // off-by-ones at the end 2825 * Indicates that a view should be aligned with the <em>end</em> 2859 * Indicates that a view should be aligned with the <em>end</em>
|
H A D | NumberPicker.java | 1654 // Wrap around the values if we go past the start or end 2035 CharSequence source, int start, int end, Spanned dest, int dstart, int dend) { 2037 CharSequence filtered = super.filter(source, start, end, dest, dstart, dend); 2039 filtered = source.subSequence(start, end); 2063 CharSequence filtered = String.valueOf(source.subSequence(start, end)); 2034 filter( CharSequence source, int start, int end, Spanned dest, int dstart, int dend) argument
|
/frameworks/base/graphics/java/android/graphics/ |
H A D | Canvas.java | 1675 * @param end (end - 1) is the index of the last character in text to draw 1680 public void drawText(@NonNull String text, int start, int end, float x, float y, argument 1682 if ((start | end | (end - start) | (text.length() - end)) < 0) { 1685 native_drawText(mNativeCanvasWrapper, text, start, end, x, y, paint.mBidiFlags, 1690 * Draw the specified range of text, specified by start/end, with its 1696 * @param end (end 1702 drawText(@onNull CharSequence text, int start, int end, float x, float y, @NonNull Paint paint) argument 1777 drawTextRun(@onNull CharSequence text, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, @NonNull Paint paint) argument 2084 native_drawText(long nativeCanvas, String text, int start, int end, float x, float y, int flags, long nativePaint, long nativeTypeface) argument 2089 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 D | Paint.java | 353 * end of the path. 357 * The stroke projects out as a square, with the center at the end 850 * Return the paint's Cap, controlling how the start and end of stroked 1476 * @param end 1 beyond the index of the last character to measure 1479 public float measureText(String text, int start, int end) { argument 1483 if ((start | end | (end - start) | (text.length() - end)) < 0) { 1487 if (text.length() == 0 || start == end) { 1491 return (float) Math.ceil(native_measureText(text, start, end, mBidiFlag 1501 native_measureText(String text, int start, int end, int bidiFlags) argument 1538 measureText(CharSequence text, int start, int end) argument 1628 breakText(CharSequence text, int start, int end, boolean measureForwards, float maxWidth, float[] measuredWidth) argument 1751 getTextWidths(CharSequence text, int start, int end, float[] widths) argument 1795 getTextWidths(String text, int start, int end, float[] widths) argument 1887 getTextRunAdvances(CharSequence text, int start, int end, int contextStart, int contextEnd, boolean isRtl, float[] advances, int advancesIndex) argument 1970 getTextRunAdvances(String text, int start, int end, int contextStart, int contextEnd, boolean isRtl, float[] advances, int advancesIndex) argument 2168 getTextPath(String text, int start, int end, float x, float y, Path path) argument 2187 getTextBounds(String text, int start, int end, Rect bounds) argument 2263 native_getTextWidths(long native_object, long native_typeface, String text, int start, int end, int bidiFlags, float[] widths) argument 2266 native_getTextGlyphs(long native_object, String text, int start, int end, int contextStart, int contextEnd, int flags, char[] glyphs) argument 2273 native_getTextRunAdvances(long native_object, long native_typeface, String text, int start, int end, int contextStart, int contextEnd, boolean isRtl, float[] advances, int advancesIndex) argument 2284 native_getTextPath(long native_object, long native_typeface, int bidiFlags, String text, int start, int end, float x, float y, long path) argument 2286 nativeGetStringBounds(long nativePaint, long native_typeface, String text, int start, int end, int bidiFlags, Rect bounds) argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NotificationPanelView.java | 1894 private static float interpolate(float t, float start, float end) { argument 1895 return (1 - t) * start + t * end;
|