/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | BaseRecyclerViewInstrumentationTest.java | 381 void layoutRange(RecyclerView.Recycler recycler, int start, int end) { argument 384 Log.d(TAG, "will layout items from " + start + " to " + end); 386 int diff = end > start ? 1 : -1; 388 for (int i = start; i != end; i+=diff) { 552 * @param end exclusive 555 public void offsetOriginalIndicesBetween(int start, int end, int offset) { argument 556 for (int i = start; i < end && i < mItems.size(); i++) {
|
H A D | StaggeredGridLayoutManagerTest.java | 479 // smooth scroll to end of the list and keep testing meanwhile. This will test pre-caching 798 void assertSpanAssignmentEquality(String msg, int[] set1, int[] set2, int start, int end) { argument 799 for (int i = start; i < end; i++) { 1161 + "layout, its end should align with recycler view's end - offset", 1309 assertEquals(config + " when scrolling to an invisible child below, its end " 1310 + "should align with recycler view's end", 1410 int start, end; 1413 end = entry.getValue().bottom; 1416 end [all...] |
/frameworks/av/camera/ |
H A D | CameraParameters.cpp | 301 char *end; local 302 int w = (int)strtol(str, &end, 10); 304 if (*end != delim) { 310 int h = (int)strtol(end+1, &end, 10); 316 *endptr = end;
|
/frameworks/av/media/libmediaplayerservice/ |
H A D | StagefrightRecorder.cpp | 274 char *end; local 279 *val = strtoll(s, &end, 10); 281 if (end == s || errno == ERANGE) { 286 while (isspace(*end)) { 287 ++end; 293 return *end == '\0'; 730 break; // Reaches the end 1615 // Audio source is added at the end if it exists.
|
/frameworks/av/media/libstagefright/codecs/avc/enc/src/ |
H A D | avcenc_int.h | 284 dataPointArray *end; /*quantization levels for the past (20) frames */ member in struct:tagAVCRateControl
|
/frameworks/av/media/libstagefright/httplive/ |
H A D | LiveSession.cpp | 1006 char *end; local 1007 index = strtol(value, &end, 10); 1008 CHECK(end > value && *end == '\0'); 1027 char *end; local 1028 long maxBw = strtoul(value, &end, 10); 1029 if (end > value && *end == '\0') { 1090 char *end; local 1091 index = strtoul(value, &end, 1 [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | MyHandler.h | 56 // stream has ended and signal end of stream. 677 char *end; local 679 strtoul(timeoutStr.c_str(), &end, 10); 681 if (end == timeoutStr.c_str() || *end != '\0') { 1442 it != streamInfos.end(); ++it) { 1457 char *end; local 1458 unsigned long seq = strtoul(val.c_str(), &end, 10); 1466 uint32_t rtpTime = strtoul(val.c_str(), &end, 10);
|
/frameworks/av/services/audioflinger/ |
H A D | Tracks.cpp | 237 // relying on the automatic clear() at end of scope. 1601 void* end = reinterpret_cast<void*>( local 1605 ALOG_ASSERT((buffer->raw >= start) && (buffer->raw < end), 1608 start, end, buffer->raw);
|
/frameworks/av/services/camera/libcameraservice/ |
H A D | CameraService.cpp | 778 // into the service from its destructor (can be at the end of the call) 843 // into the service from its destructor (can be at the end of the call) 934 // into the service from its destructor (can be at the end of the call) 1007 // into the service from its destructor (can be at the end of the call) 1025 Vector<sp<ICameraServiceListener> >::iterator it, end; local 1026 for (it = mListenerList.begin(); it != mListenerList.end(); ++it) { 1059 for (it = mListenerList.begin(); it != mListenerList.end(); ++it) { 1783 for (; it != rejectList.end(); ++it) { 1803 for (it = proClients.begin(); it != proClients.end(); ++it) { 1812 for (it = mListenerList.begin(); it != mListenerList.end(); [all...] |
/frameworks/av/services/camera/libcameraservice/device2/ |
H A D | Camera2Device.cpp | 185 for (StreamList::iterator s = mStreams.begin(); s != mStreams.end(); s++) { 288 streamI != mStreams.end(); streamI++) { 324 streamI != mStreams.end(); streamI++) { 350 streamI != mStreams.end(); streamI++) { 370 streamI != mStreams.end(); streamI++) { 396 streamI != mReprocessStreams.end(); streamI++) { 594 streamI != mReprocessStreams.end(); streamI++) { 712 slotEntry != mStreamSlot.end(); 792 freeBuffers(mStreamSlot.begin(), mStreamSlot.end()); 799 freeBuffers(++mStreamSlot.begin(), mStreamSlot.end()); 911 freeBuffers( List<camera_metadata_t*>::iterator start, List<camera_metadata_t*>::iterator end) argument [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | InputMethodService.java | 642 * to use hardware accelerated drawing in an IME (for example on low-end 2084 public void onExtractedSelectionChanged(int start, int end) { argument 2087 conn.setSelection(start, end); 2094 public void onExtractedDeleteText(int start, int end) { argument 2098 conn.deleteSurroundingText(0, end-start); 2105 public void onExtractedReplaceText(int start, int end, CharSequence text) { argument 2108 conn.setComposingRegion(start, end); 2116 public void onExtractedSetSpan(Object span, int start, int end, int flags) { argument 2119 if (!conn.setSelection(start, end)) return; 2123 conn.setComposingRegion(start, end); [all...] |
/frameworks/base/core/java/android/text/ |
H A D | Layout.java | 76 int start, int end, 81 for (int i = start; i <= end; i = next) { 82 next = TextUtils.indexOf(source, '\n', i, end); 85 next = end; 231 int end = getLineVisibleEnd(i, start, previousLineEnd); 255 // If spanEnd is before the end of the paragraph, that's not 295 start, end, isFirstParaLine, this); 300 start, end, isFirstParaLine, this); 352 canvas.drawText(buf, start, end, x, lbaseline, paint); 354 tl.set(paint, buf, start, end, di 75 getDesiredWidth(CharSequence source, int start, int end, TextPaint paint) argument 1142 getLineVisibleEnd(int line, int start, int end) argument 1379 addSelection(int line, int start, int end, int top, int bottom, Path dest) argument 1418 getSelectionPath(int start, int end, Path dest) argument 1562 measurePara(TextPaint paint, CharSequence text, int start, int end) argument 1689 nextTab(CharSequence text, int start, int end, float h, Object[] tabs) argument 1747 getParagraphSpans(Spanned text, int start, int end, Class<T> type) argument 1761 ellipsize(int start, int end, int line, char[] dest, int destoff, TextUtils.TruncateAt method) argument 1843 getChars(int start, int end, char[] dest, int destoff) argument 1858 subSequence(int start, int end) argument 1881 getSpans(int start, int end, Class<T> type) argument 1903 subSequence(int start, int end) argument [all...] |
H A D | TextUtils.java | 75 public static void getChars(CharSequence s, int start, int end, argument 80 ((String) s).getChars(start, end, dest, destoff); 82 ((StringBuffer) s).getChars(start, end, dest, destoff); 84 ((StringBuilder) s).getChars(start, end, dest, destoff); 86 ((GetChars) s).getChars(start, end, dest, destoff); 88 for (int i = start; i < end; i++) 106 public static int indexOf(CharSequence s, char ch, int start, int end) { argument 114 while (start < end) { 116 if (segend > end) 117 segend = end; 209 indexOf(CharSequence s, CharSequence needle, int start, int end) argument 268 substring(CharSequence source, int start, int end) argument 513 getReverse(CharSequence source, int start, int end) argument 521 Reverser(CharSequence source, int start, int end) argument 531 subSequence(int start, int end) argument 547 getChars(int start, int end, char[] dest, int destoff) argument 1017 copySpansFrom(Spanned source, int start, int end, Class kind, Spannable dest, int destoff) argument 1057 ellipsized(int start, int end) argument 1280 setPara(MeasuredText mt, TextPaint paint, CharSequence text, int start, int end, TextDirectionHeuristic textDir) argument 1309 doesNotNeedBidi(CharSequence s, int start, int end) argument 1717 packRangeInLong(int start, int end) argument [all...] |
/frameworks/base/core/java/android/transition/ |
H A D | Transition.java | 218 // determined by calls to start() and end() 405 * properties on which they based their animations agree with the end values of 406 * the same properties in the new transition. If the end values are not equal, 415 * animating views toward potentially different end values.</p> 427 * earlier for the start and end scenes. Subclasses of Transition should override 432 * topmost Transition in the hierarchy) with the sceneRoot and start/end 443 * change that triggers the Transition will automatically set the end-scene 448 * the transition needs to run on the given target and start/end values. 451 * or end scenes.</p> 465 * @param endValues The values for the target in the end scen 1886 protected void end() { method in class:Transition [all...] |
/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 886 public void drawText(CharSequence text, int start, int end, float x, float y, Paint paint) { argument 887 if ((start | end | (end - start) | (text.length() - end)) < 0) { 892 nDrawText(mRenderer, text.toString(), start, end, x, y, paint.mBidiFlags, 895 ((GraphicsOperations) text).drawText(this, start, end, x, y, paint); 897 char[] buf = TemporaryBuffer.obtain(end - start); 898 TextUtils.getChars(text, start, end, buf, 0); 899 nDrawText(mRenderer, buf, 0, end - start, x, y, 906 public void drawText(String text, int start, int end, floa argument 915 nDrawText(long renderer, String text, int start, int end, float x, float y, int bidiFlags, long paint, long typeface) argument 947 nDrawTextOnPath(long renderer, String text, int start, int end, long path, float hOffset, float vOffset, int bidiFlags, long nativePaint, long typeface) argument 966 drawTextRun(CharSequence text, int start, int end, int contextStart, int contextEnd, float x, float y, boolean isRtl, Paint paint) argument 990 nDrawTextRun(long renderer, 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 | RenderNode.java | 61 * displayList.end(); 102 * displayList.end(); 216 * {@link #end(HardwareCanvas)} is called. 224 * @see #end(HardwareCanvas) 243 public void end(HardwareCanvas endCanvas) { method in class:RenderNode 245 throw new IllegalArgumentException("Passed an invalid canvas to end!");
|
/frameworks/base/core/java/android/widget/ |
H A D | RemoteViews.java | 2024 * @param end The id of a drawable to place after the text, or 0 2027 public void setTextViewCompoundDrawablesRelative(int viewId, int start, int top, int end, int bottom) { argument 2028 addAction(new TextViewDrawableAction(viewId, true, start, top, end, bottom)); 2488 * 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 D | AndroidRuntime.cpp | 408 char* end = NULL; local 415 end = start+1; 416 while (*end != ' ' && *end != '\0') /* find end of token */ 417 end++; 418 if (*end == ' ') 419 *end++ = '\0'; /* mark end, advance to indicate more */ 425 start = end; [all...] |
H A D | android_graphics_Canvas.cpp | 418 void operator()(size_t start, size_t end) { argument 420 for (size_t i = start; i < end; i++) { 426 for (size_t i = start; i < end; i++) { 433 size_t glyphCount = end - start; 519 jint start, jint end, jfloat x, jfloat y, jint bidiFlags, 523 const int count = end - start; 544 jint start, jint end, jint contextStart, jint contextEnd, 551 jint count = end - start; 602 void operator()(size_t start, size_t end) { argument 604 for (size_t i = start; i < end; 518 drawTextString(JNIEnv* env, jobject, jlong canvasHandle, jstring text, jint start, jint end, jfloat x, jfloat y, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument 543 drawTextRunString(JNIEnv* env, jobject obj, jlong canvasHandle, jstring text, jint start, jint end, jint contextStart, jint contextEnd, jfloat x, jfloat y, jboolean isRtl, jlong paintHandle, jlong typefaceHandle) argument [all...] |
H A D | android_os_Debug.cpp | 240 uint64_t end = 0; local 253 prevEnd = end; 263 if (sscanf(line, "%" SCNx64 "-%" SCNx64 " %*s %*x %*x:%*x %*d%n", &start, &end, &name_pos) != 2) { 382 } else if (sscanf(line, "%" SCNx64 "-%" SCNx64 " %*s %*x %*x:%*x %*d", &start, &end) == 2) {
|
H A D | android_util_AssetManager.cpp | 1019 BagAttributeFinder(const ResTable::bag_entry* start, const ResTable::bag_entry* end) argument 1020 : BackTrackingAttributeFinder(start, end) {} 1532 // Skip through XML attributes until the end or the next possible match.
|
H A D | android_util_Binder.cpp | 495 for (iter = mList.begin(); iter != mList.end(); iter++) { 512 for (iter = mList.begin(); iter != mList.end(); iter++) { 525 for (iter = mList.begin(); iter != mList.end(); iter++) { 995 static bool push_eventlog_string(char** pos, const char* end, const char* str) { argument 998 if (end - *pos < space_needed) { 1000 end - *pos, space_needed); 1012 static bool push_eventlog_int(char** pos, const char* end, jint val) { argument 1014 if (end - *pos < space_needed) { 1016 end - *pos, space_needed); 1055 char* end local [all...] |
H A D | android_view_GLES20Canvas.cpp | 601 void operator()(size_t start, size_t end) { argument 602 for (size_t i = start; i < end; i++) { 607 size_t glyphsCount = end - start; 656 void operator()(size_t start, size_t end) { argument 658 for (size_t i = start; i < end; i++) { 710 jlong rendererPtr, jstring text, jint start, jint end, 717 renderText(renderer, textArray + start, end - start, x, y, bidiFlags, paint, typeface); 737 jlong rendererPtr, jstring text, jint start, jint end, 746 renderTextOnPath(renderer, textArray + start, end - start, path, 767 jlong rendererPtr, jstring text, jint start, jint end, 709 android_view_GLES20Canvas_drawText(JNIEnv* env, jobject clazz, jlong rendererPtr, jstring text, jint start, jint end, jfloat x, jfloat y, jint bidiFlags, jlong paintPtr, jlong typefacePtr) argument 736 android_view_GLES20Canvas_drawTextOnPath(JNIEnv* env, jobject clazz, jlong rendererPtr, jstring text, jint start, jint end, jlong pathPtr, jfloat hOffset, jfloat vOffset, jint bidiFlags, jlong paintPtr, jlong typefacePtr) argument 766 android_view_GLES20Canvas_drawTextRun(JNIEnv* env, jobject clazz, jlong rendererPtr, jstring text, jint start, jint end, jint contextStart, int contextEnd, jfloat x, jfloat y, jboolean isRtl, jlong paintPtr, jlong typefacePtr) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 540 static jfloat measureText_StringIII(JNIEnv* env, jobject jpaint, jstring text, jint start, jint end, argument 546 int count = end - start; 547 if ((start | count) < 0 || (size_t)end > textLength) { 630 jint start, jint end, jint bidiFlags, jfloatArray widths) { 634 int count = dotextwidths(env, paint, typeface, textArray + start, end - start, widths, bidiFlags); 691 jstring text, jint start, jint end, jint contextStart, jint contextEnd, jboolean isRtl, 697 start - contextStart, end - start, contextEnd - contextStart, isRtl, 737 void operator()(size_t start, size_t end) { argument 738 for (size_t i = start; i < end; i++) { 744 paint->getPosTextPath(glyphs + start, (end 629 getTextWidths__StringIII_F(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint bidiFlags, jfloatArray widths) argument 689 getTextRunAdvances__StringIIIIZ_FI(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint contextStart, jint contextEnd, jboolean isRtl, jfloatArray advances, jint advancesIndex) argument 791 getTextPath__String(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jint bidiFlags, jstring text, jint start, jint end, jfloat x, jfloat y, jlong pathHandle) argument 917 getStringBounds(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jstring text, jint start, jint end, jint bidiFlags, jobject bounds) argument [all...] |
/frameworks/base/libs/hwui/ |
H A D | SpotShadow.cpp | 276 * @param high end index 468 // the real size at the end. 1023 // At the end, update the real index and vertex buffer size. 1085 Vector2 end = polygon[(i + 2) % polygonLength]; local 1087 float delta = (float(middle.x) - start.x) * (float(end.y) - start.y) - 1088 (float(middle.y) - start.y) * (float(end.x) - start.x); 1093 "middle (x %f, y %f) and end (x %f, y %f) , delta is %f !!!", 1094 name, start.x, start.y, middle.x, middle.y, end.x, end.y, delta);
|