/frameworks/base/core/jni/ |
H A D | android_util_Binder.cpp | 492 for (iter = mList.begin(); iter != mList.end(); iter++) { 509 for (iter = mList.begin(); iter != mList.end(); iter++) { 522 for (iter = mList.begin(); iter != mList.end(); iter++) { 1015 static bool push_eventlog_string(char** pos, const char* end, const char* str) { argument 1018 if (end - *pos < space_needed) { 1020 end - *pos, space_needed); 1032 static bool push_eventlog_int(char** pos, const char* end, jint val) { argument 1034 if (end - *pos < space_needed) { 1036 end - *pos, space_needed); 1077 char* end local [all...] |
H A D | android_util_Process.cpp | 298 unsigned int start, end, matched, i; local 301 start = end = 0; 302 matched = sscanf(cpu_range, "%u-%u", &start, &end); 307 } else if (end >= CPU_SETSIZE) { 309 end = CPU_SETSIZE - 1; 314 for (i = start; i <= end; i++) { 719 char* end; local 720 sizesArray[i] = strtoll(num, &end, 10); 785 char* end; local 786 int pid = strtol(entry->d_name, &end, 1 897 jsize end = -1; local 933 char* end; local 941 char* end; local [all...] |
/frameworks/base/graphics/java/android/graphics/drawable/ |
H A D | AnimatedVectorDrawable.java | 697 mAnimatorSet.end(); 818 void end(); method in interface:AnimatedVectorDrawable.VectorDrawableAnimator 880 public void end() { method in class:AnimatedVectorDrawable.VectorDrawableAnimatorUI 884 mSet.end(); 1323 public void end() { method in class:AnimatedVectorDrawable.VectorDrawableAnimatorRT 1471 // Invalidate in the end of the animation to make sure the data in
|
H A D | LayerDrawable.java | 87 * Value used for undefined start and end insets. 420 * Adds a new layer at the end of list of layers and returns its index. 481 * Adds a new layer containing the specified {@code drawable} to the end of 775 * @param e number of pixels to inset from the end bound 890 * @param e number of pixels to inset from the end bound, or 901 * @return number of pixels to inset from the end bound 1096 * @param end the end padding in pixels, or -1 to use computed padding 1105 public void setPaddingRelative(int start, int top, int end, int bottom) { argument 1109 layerState.mPaddingEnd = end; [all...] |
/frameworks/base/libs/hwui/ |
H A D | SpotShadow.cpp | 445 // the real size at the end. 1004 // At the end, update the real index and vertex buffer size. 1066 Vector2 end = polygon[(i + 2) % polygonLength]; local 1068 float delta = (float(middle.x) - start.x) * (float(end.y) - start.y) - 1069 (float(middle.y) - start.y) * (float(end.x) - start.x); 1074 "middle (x %f, y %f) and end (x %f, y %f) , delta is %f !!!", 1075 name, start.x, start.y, middle.x, middle.y, end.x, end.y, delta);
|
/frameworks/base/media/java/android/media/ |
H A D | AudioTrack.java | 1636 * loop end marker, the behavior varies by API level: 1662 * @param endInFrames loop end marker expressed in frames. 1663 * The total buffer size in frames corresponds to end of buffer. 1664 * The end marker must not be greater than the buffer size in frames. 1665 * For looping, the end marker must not be less than or equal to the start marker, 1667 * it is permitted for start marker, end marker, and loop count to all be 0. 1675 * unless it is greater than or equal to the loop end marker, in which case 2832 private native final int native_set_loop(int start, int end, int loopCount); argument
|
H A D | ClosedCaptionRenderer.java | 694 StyleCode s, int start, int end) { 698 start, end, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); 703 start, end, Spannable.SPAN_EXCLUSIVE_EXCLUSIVE); 692 applyStyleSpan( SpannableStringBuilder styledText, StyleCode s, int start, int end) argument
|
H A D | MediaScanner.java | 1104 }; // end of anonymous MediaScannerClient instance 1368 long end = System.currentTimeMillis(); 1373 Log.d(TAG, "postscan time: " + (end - scan) + "ms\n"); 1374 Log.d(TAG, " total time: " + (end - start) + "ms\n"); 1784 public void end() { method in class:MediaScanner.WplHandler
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/dirlist/ |
H A D | MultiSelectManager.java | 390 * Sets the end point for the current range selection, started by a call to 392 * is active (see {@link #isRangeSelectionActive()}. Items in the range [anchor, end] will be 395 * @param pos The new end position for the selection range. 442 * @param end Adapter position for range end (inclusive). 445 private void updateRange(int begin, int end, boolean selected) { argument 446 assert(end >= begin); 447 for (int i = begin; i <= end; i++) { 1334 * Computes the number of pixels to scroll based on how far the pointer is past the end 1337 * end o [all...] |
/frameworks/base/services/core/java/com/android/server/net/ |
H A D | NetworkStatsService.java | 512 long end) { 518 NetworkStats result = new NetworkStats(end - start, 1); 525 internalGetSummaryForNetwork(template, start, end, 535 NetworkTemplate template, long start, long end) { 537 return internalGetSummaryForNetwork(template, start, end, accessLevel); 548 NetworkTemplate template, long start, long end, boolean includeTags) { 551 getUidComplete().getSummary(template, start, end, accessLevel); 554 .getSummary(template, start, end, accessLevel); 576 long start, long end) { 579 return getUidComplete().getHistory(template, uid, set, tag, fields, start, end, 607 internalGetSummaryForNetwork( NetworkTemplate template, long start, long end, @NetworkStatsAccess.Level int accessLevel) argument 627 getNetworkTotalBytes(NetworkTemplate template, long start, long end) argument [all...] |
/frameworks/base/services/net/java/android/net/dhcp/ |
H A D | DhcpPacket.java | 259 * DHCP zero-length option code: end of options 302 * typically optional parameters at the end of the packet. 481 private int checksum(ByteBuffer buf, int seed, int start, int end) { argument 493 short[] shortArray = new short[(end - start) / 2]; 503 if (end != start) { 607 * Adds the special end-of-optional-parameters indicator. 820 // Skip options. This cannot cause us to read beyond the end of the buffer because the
|
/frameworks/base/telephony/java/android/telephony/ |
H A D | PhoneNumberUtils.java | 1269 // if they're non-0 at the end of the scan the dashes will be added in 2354 // Non-dialable character such as P/W should not be at the end of 2421 * @param end The ending character position of the phone number in {@code s}. 2428 public static void ttsSpanAsPhoneNumber(Spannable s, int start, int end) { argument 2429 addTtsSpan(s, start, end);
|
/frameworks/base/tools/aapt/ |
H A D | AaptAssets.cpp | 490 size_t end = mDataSize; local 491 size_t total = size + end; 496 memcpy(((char*)buf)+end, data, size); 1288 const unsigned char* end = p+len; 1290 for (int i=0; i<32 && p < end; i++) { 1292 for (int j=0; j<0x10 && p < end; j++) { 1373 // for now we can rely on the back-end doing another filtering 1410 // for now we can rely on the back-end doing another filtering
|
H A D | Bundle.h | 269 char *end; local 270 int minSdkNum = (int)strtol(minVer, &end, 0); 271 if (*end == '\0') {
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
H A D | Canvas_Delegate.java | 947 int start, int end, float x, float y, final int flags, long paint, 949 int count = end - start; 951 TextUtils.getChars(text, start, end, buffer, 0); 958 int start, int end, int contextStart, int contextEnd, 960 int count = end - start; 962 TextUtils.getChars(text, start, end, buffer, 0); 946 native_drawText(long nativeCanvas, String text, int start, int end, float x, float y, final int flags, long paint, long typeface) argument 957 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 | 637 int start, end; 640 end = index; 643 end = i; 646 // measure from start to end 647 RectF bounds = delegate.measureText(text, start, end - start + 1, null, 0, bidiFlags); 989 String text, int start, int end, int contextStart, int contextEnd, 992 int count = end - start; 994 TextUtils.getChars(text, start, end, buffer, 0); 1028 int bidiFlags, String text, int start, int end, float x, float y, long path) { 1036 String text, int start, int end, in 988 nGetTextAdvances(long native_object, long native_typeface, String text, int start, int end, int contextStart, int contextEnd, int bidiFlags, float[] advances, int advancesIndex) argument 1027 nGetTextPath(long native_object, long native_typeface, int bidiFlags, String text, int start, int end, float x, float y, long path) argument 1035 nGetStringBounds(long nativePaint, long native_typeface, String text, int start, int end, int bidiFlags, Rect bounds) argument 1141 nGetRunAdvance(long nativePaint, long nativeTypeface, @NonNull char[] text, int start, int end, int contextStart, int contextEnd, boolean isRtl, int offset) argument 1158 nGetOffsetForAdvance(long nativePaint, long nativeTypeface, char[] text, int start, int end, int contextStart, int contextEnd, boolean isRtl, float advance) argument [all...] |
/frameworks/minikin/libs/minikin/ |
H A D | Layout.cpp | 447 Iter(UBiDi* bidi, size_t start, size_t end, size_t runIndex, size_t runCount, bool isRtl); 487 Iter end() const { function in class:android::BidiText 502 BidiText::Iter::Iter(UBiDi* bidi, size_t start, size_t end, size_t runIndex, size_t runCount, argument 505 mStart(start), mEnd(end), mRunInfo() { 508 mRunInfo.mRunLength = end - start; 640 size_t end = start + count; local 641 size_t wordend = end == 0 ? 0 : getNextWordBreakForCache(buf, end - 1, bufSize); 642 for (size_t iter = end; iter > start; iter = wordstart) { 645 ctx->paint.hyphenEdit = iter == end 689 const char* end = start + str.size(); local [all...] |
/frameworks/native/cmds/installd/ |
H A D | utils.cpp | 234 char* end; local 235 userid_t user = strtol(ent->d_name, &end, 10); 236 if (*end == '\0' && user != 0) { 1015 * Puts the string into the record as a directory. Appends '/' to the end 1045 // Path does not end with a slash. Generate a new string.
|
/frameworks/native/libs/binder/ |
H A D | Parcel.cpp | 704 size_t end = mDataPos + len; local 705 if (end < mDataPos) { 710 if (end <= mDataCapacity) { 757 // 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 469 Region::const_iterator end = clip.end(); local 478 while (cur != end) {
|
/frameworks/native/services/inputflinger/ |
H A D | EventHub.cpp | 1049 const uint8_t* end = array + endIndex; local 1051 while (array != end) {
|
/frameworks/support/v4/java/android/support/v4/app/ |
H A D | FragmentManager.java | 867 static Animation makeFadeAnimation(Context context, float start, float end) { argument 868 AlphaAnimation anim = new AlphaAnimation(start, end); 2051 // retained above), clear mInstance in case we end up re-restoring
|
/frameworks/support/v4/java/android/support/v4/view/ |
H A D | ViewCompat.java | 402 void setPaddingRelative(View view, int start, int top, int end, int bottom); argument 643 public void setPaddingRelative(View view, int start, int top, int end, int bottom) { argument 644 view.setPadding(start, top, end, bottom); 1517 public void setPaddingRelative(View view, int start, int top, int end, int bottom) { argument 1518 ViewCompatJellybeanMr1.setPaddingRelative(view, start, top, end, bottom); 2465 * Returns the end padding of the specified view depending on its resolved layout direction. 2470 * @return the end padding in pixels 2486 * @param end the end padding in pixels 2489 public static void setPaddingRelative(View view, int start, int top, int end, in argument [all...] |
/frameworks/support/v4/java/android/support/v4/widget/ |
H A D | SwipeRefreshLayout.java | 234 * @param end The offset in pixels from the top of this view at which the 238 public void setProgressViewOffset(boolean scale, int start, int end) { argument 242 mSpinnerFinalOffset = end; 255 * @param end The offset in pixels from the top of this view at which the 259 public void setProgressViewEndTarget(boolean scale, int end) { argument 260 mSpinnerFinalOffset = end;
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | Toolbar.java | 77 * <p>Toolbar supports a more focused feature set than ActionBar. From start to end, a toolbar 100 * end of the Toolbar offering a few 378 * @param end the ending title margin in pixels 386 public void setTitleMargin(int start, int top, int end, int bottom) { argument 389 mTitleMarginEnd = end; 1073 * the action buttons presented at the end of the toolbar or the associated overflow.</p> 1249 * Gets the end content inset to use when action buttons are present. 1255 * @return the end content inset used when a menu has been set in pixels 1308 * @return the current content inset end in pixels
|