/frameworks/base/media/mca/filterfw/java/android/filterfw/format/ |
H A D | ObjectFormat.java | 29 public static MutableFrameFormat fromClass(Class clazz, int count, int target) { argument 33 if (count != FrameFormat.SIZE_UNSPECIFIED) { 34 result.setDimensions(count); 50 public static MutableFrameFormat fromObject(Object object, int count, int target) { argument 53 : fromClass(object.getClass(), count, target);
|
/frameworks/compile/libbcc/lib/Support/ |
H A D | OutputFile.cpp | 83 ssize_t OutputFile::write(const void *pBuf, size_t count) { argument 88 if ((count <= 0) || (pBuf == NULL)) { 90 ALOGW("OutputFile::write: count = %zu, buffer = %p", count, pBuf); 94 while (count > 0) { 95 ssize_t write_size = ::write(mFD, pBuf, count);
|
/frameworks/base/core/java/android/text/ |
H A D | SpannableStringInternal.java | 99 int count = mSpanCount; 103 for (int i = 0; i < count; i++) { 140 int count = mSpanCount; 144 for (int i = count - 1; i >= 0; i--) { 149 int c = count - (i + 1); 164 int count = mSpanCount; 168 for (int i = count - 1; i >= 0; i--) { 178 int count = mSpanCount; 182 for (int i = count - 1; i >= 0; i--) { 192 int count [all...] |
/frameworks/base/core/java/android/view/animation/ |
H A D | AnimationSet.java | 131 final int count = mAnimations.size(); 134 for (int i = 0; i < count; i++) { 185 final int count = mAnimations.size(); 188 for (int i = 0; i < count; i++) { 257 final int count = mAnimations.size(); 260 for (int i = 0; i < count; i++) { 270 final int count = mAnimations.size(); 273 for (int i = 0; i < count; i++) { 286 int count = animations.size(); 288 for (int i = 0; i < count; [all...] |
/frameworks/base/tools/aapt/ |
H A D | Package.cpp | 61 int count; local 112 count = processAssets(bundle, zip, assets); 113 if (count < 0) { 116 result = count; 121 printf("Generated %d file%s\n", count, (count==1) ? "" : "s"); 124 count = processJarFiles(bundle, zip); 125 if (count < 0) { 128 result = count; 133 printf("Included %d file%s from jar/zip files.\n", count, (coun 227 ssize_t count = 0; local 247 ssize_t count = 0; local 457 size_t count = 0; local 481 ssize_t count = 0; local [all...] |
/frameworks/native/cmds/installd/ |
H A D | installd.c | 149 static int readx(int s, void *_buf, int count) argument 153 if (count < 0) return -1; 154 while (n < count) { 155 r = read(s, buf + n, count - n); 170 static int writex(int s, const void *_buf, int count) argument 174 if (count < 0) return -1; 175 while (n < count) { 176 r = write(s, buf + n, count - n); 198 unsigned short count; local 241 count 527 int lsocket, s, count; local 565 unsigned short count; local [all...] |
/frameworks/base/core/java/android/gesture/ |
H A D | GestureStroke.java | 50 final int count = points.size(); 51 final float[] tmpPoints = new float[count * 2]; 52 final long[] times = new long[count]; 58 for (int i = 0; i < count; i++) { 123 final int count = localPoints.length; 130 for (int i = 0; i < count; i += 2) { 177 final int count = pts.length; 179 for (int i = 0; i < count; i += 2) { 204 final int count = points.length; 207 out.writeInt(count / [all...] |
/frameworks/native/opengl/libs/GLES_CM/ |
H A D | gl.cpp | 43 const GLvoid *ptr, GLsizei count); 45 const GLvoid *pointer, GLsizei count); 47 GLsizei stride, const GLvoid *pointer, GLsizei count); 49 GLsizei stride, const GLvoid *pointer, GLsizei count); 51 GLsizei stride, const GLvoid *pointer, GLsizei count); 53 GLsizei stride, const GLvoid *pointer, GLsizei count); 55 GLsizei stride, const GLvoid *pointer, GLsizei count); 59 const GLvoid *ptr, GLsizei count) { 63 const GLvoid *pointer, GLsizei count) { 67 GLsizei stride, const GLvoid *pointer, GLsizei count) { 58 glColorPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *ptr, GLsizei count) argument 62 glNormalPointerBounds(GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 66 glTexCoordPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 70 glVertexPointerBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 75 glPointSizePointerOESBounds(GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 80 glMatrixIndexPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument 85 glWeightPointerOESBounds(GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/ |
H A D | h264bsd_interpolate_hor_half.s | 38 count RN 2 label 138 ;// pack values to count register 144 MOV count, width 148 ADD count, count, tmp2, LSL #16 154 AND tmp1, count, #0x000F0000 ;// partHeight-1 155 AND tmp3, count, #0x00F00000 ;// partWidth-1 156 ADD count, count, tmp1, LSL #8 159 ADD count, coun [all...] |
/frameworks/native/opengl/tools/glgen/specs/gles11/ |
H A D | checks.spec | 34 glDrawElements check_AIOOBE indices count 48 glGetAttachedShaders nullAllowed check count 1 check shaders maxcount 88 glUniform1 check v count 89 glUniform2 check v count*2 90 glUniform3 check v count*3 91 glUniform4 check v count*4 92 glUniformMatrix2 check value count*4 93 glUniformMatrix3 check value count*9 94 glUniformMatrix4 check value count*16
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Paint.cpp | 386 static jfloat measureText_CIII(JNIEnv* env, jobject jpaint, jcharArray text, int index, int count, argument 392 if ((index | count) < 0 || (size_t)(index + count) > textLength) { 396 if (count == 0) { 404 TextLayout::getTextRunAdvances(paint, textArray, index, count, textLength, 417 int count = end - start; local 418 if ((start | count) < 0 || (size_t)end > textLength) { 422 if (count == 0) { 430 TextLayout::getTextRunAdvances(paint, textArray, start, count, textLength, 457 static int dotextwidths(JNIEnv* env, SkPaint* paint, const jchar text[], int count, jfloatArra argument 484 getTextWidths___CIII_F(JNIEnv* env, jobject clazz, SkPaint* paint, jcharArray text, int index, int count, jint bidiFlags, jfloatArray widths) argument 496 int count = dotextwidths(env, paint, textArray + start, end - start, widths, bidiFlags); local 501 doTextGlyphs(JNIEnv* env, SkPaint* paint, const jchar* text, jint start, jint count, jint contextCount, jint flags, jcharArray glyphs) argument 535 int count = doTextGlyphs(env, paint, textArray + contextStart, start - contextStart, local 541 doTextRunAdvances(JNIEnv *env, SkPaint *paint, const jchar *text, jint start, jint count, jint contextCount, jint flags, jfloatArray advances, jint advancesIndex) argument 573 getTextRunAdvances___CIIIII_FI(JNIEnv* env, jobject clazz, SkPaint* paint, jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, jint flags, jfloatArray advances, jint advancesIndex) argument 594 doTextRunCursor(JNIEnv *env, SkPaint* paint, const jchar *text, jint start, jint count, jint flags, jint offset, jint opt) argument 656 getTextPath(JNIEnv* env, SkPaint* paint, const jchar* text, jint count, jint bidiFlags, jfloat x, jfloat y, SkPath *path) argument 661 getTextPath___C(JNIEnv* env, jobject clazz, SkPaint* paint, jint bidiFlags, jcharArray text, int index, int count, jfloat x, jfloat y, SkPath* path) argument 691 breakText(JNIEnv* env, SkPaint& paint, const jchar text[], int count, float maxWidth, jint bidiFlags, jfloatArray jmeasured, SkPaint::TextBufferDirection tbd) argument 712 breakTextC(JNIEnv* env, jobject jpaint, jcharArray jtext, int index, int count, float maxWidth, jint bidiFlags, jfloatArray jmeasuredWidth) argument 750 int count = env->GetStringLength(jtext); local 757 doTextBounds(JNIEnv* env, const jchar* text, int count, jobject bounds, const SkPaint& paint, jint bidiFlags) argument 781 getCharArrayBounds(JNIEnv* env, jobject, const SkPaint* paint, jcharArray text, int index, int count, jint bidiFlags, jobject bounds) argument [all...] |
H A D | AutoDecodeCancel.cpp | 85 int count = 0; local 87 count += 1; 88 SkASSERT(count <= gCount); 97 SkASSERT(count == gCount);
|
/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | SimpleFrame.java | 51 final int count = format.getLength(); 55 mObject = new byte[count]; 58 mObject = new short[count]; 61 mObject = new int[count]; 64 mObject = new float[count]; 67 mObject = new double[count];
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | DeviceMonitor.java | 102 int count = files.length - MAX_FILES; 103 if (count > 0) { 105 for (int i = 0; i < count; i++) { 157 int count; 158 while ((count = in.read(buffer)) != -1) { 159 out.write(buffer, 0, count);
|
/frameworks/native/opengl/libagl/ |
H A D | array.cpp | 314 const GLvoid *pointer, const buffer_t* bo, GLsizei count) 334 this->bounds = count; 381 size_t count = VERTEX_BUFFER_SIZE + VERTEX_CACHE_SIZE; local 385 } while (--count); 392 size_t count = VERTEX_BUFFER_SIZE + VERTEX_CACHE_SIZE; local 396 } while (--count); 529 void drawPrimitivesPoints(ogles_context_t* c, GLint first, GLsizei count) argument 531 if (ggl_unlikely(count < 1)) 540 GLsizei num = count > vcs ? vcs : count; 312 init( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, const buffer_t* bo, GLsizei count) argument 560 drawPrimitivesLineStrip(ogles_context_t* c, GLint first, GLsizei count) argument 599 drawPrimitivesLineLoop(ogles_context_t* c, GLint first, GLsizei count) argument 614 drawPrimitivesLines(ogles_context_t* c, GLint first, GLsizei count) argument 646 drawPrimitivesTriangleFanOrStrip(ogles_context_t* c, GLint first, GLsizei count, int winding) argument 700 drawPrimitivesTriangleStrip(ogles_context_t* c, GLint first, GLsizei count) argument 705 drawPrimitivesTriangleFan(ogles_context_t* c, GLint first, GLsizei count) argument 710 drawPrimitivesTriangles(ogles_context_t* c, GLint first, GLsizei count) argument 760 drawIndexedPrimitivesPoints(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 777 drawIndexedPrimitivesLineStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 802 drawIndexedPrimitivesLineLoop(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 834 drawIndexedPrimitivesLines(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 856 drawIndexedPrimitivesTriangleFanOrStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices, int winding) argument 892 drawIndexedPrimitivesTriangleStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 897 drawIndexedPrimitivesTriangleFan(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 902 drawIndexedPrimitivesTriangles(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 961 compileElements__generic(ogles_context_t* c, vertex_t* v, GLint first, GLsizei count) argument 1341 glDrawArrays(GLenum mode, GLint first, GLsizei count) argument 1385 glDrawElements( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) argument [all...] |
/frameworks/base/core/java/android/view/ |
H A D | WindowManagerGlobal.java | 231 final int count = mViews != null ? mViews.length : 0; 232 for (int i=0; i<count; i++) { 324 int count = mViews.length; 326 for (int i=0; i<count; i++) { 343 count--; 361 final int count = mViews.length; 364 View[] tmpViews = new View[count-1]; 368 ViewRootImpl[] tmpRoots = new ViewRootImpl[count-1]; 373 = new WindowManager.LayoutParams[count-1]; 398 final int count [all...] |
/frameworks/native/opengl/libs/EGL/ |
H A D | trace.cpp | 102 static void TraceGLShaderSource(GLuint shader, GLsizei count, argument 105 for (GLsizei i = 0; i < count; i++) { 106 const char* comma = i < count-1 ? "," : ""; 118 for (GLsizei i = 0; i < count; i++) { 119 const char* comma = i < count-1 ? "," : ""; 125 shader, count); 128 shader, count); 135 GLsizei count = chunkCount * chunkSize; 139 for (GLsizei i = 0; i < count; i++) { 145 if (i == count [all...] |
/frameworks/base/core/java/android/content/pm/ |
H A D | MacAuthenticatedInputStream.java | 71 public int read(byte[] buffer, int offset, int count) throws IOException { argument 72 int numRead = super.read(buffer, offset, count);
|
/frameworks/base/core/java/android/util/ |
H A D | LogWriter.java | 64 @Override public void write(char[] buf, int offset, int count) { argument 65 for(int i = 0; i < count; i++) {
|
/frameworks/base/graphics/java/android/renderscript/ |
H A D | AllocationAdapter.java | 54 public void subData1D(int off, int count, int[] d) { argument 55 super.copy1DRangeFrom(off, count, d); 60 public void subData1D(int off, int count, short[] d) { argument 61 super.copy1DRangeFrom(off, count, d); 66 public void subData1D(int off, int count, byte[] d) { argument 67 super.copy1DRangeFrom(off, count, d); 72 public void subData1D(int off, int count, float[] d) { argument 73 super.copy1DRangeFrom(off, count, d);
|
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | LogWriter.java | 51 @Override public void write(char[] buf, int offset, int count) { argument 52 for(int i = 0; i < count; i++) {
|
/frameworks/testing/uiautomator_test_libraries/src/com/android/uiautomator/common/helpers/ |
H A D | TimePickerHelper.java | 52 public static void incrementHour(int count) throws UiObjectNotFoundException { argument 53 for (int x = 0; x < count; x++) 61 public static void decrementHour(int count) throws UiObjectNotFoundException { argument 62 for (int x = 0; x < count; x++) 70 public static void incrementMinute(int count) throws UiObjectNotFoundException { argument 71 for (int x = 0; x < count; x++) 79 public static void decrementMinute(int count) throws UiObjectNotFoundException { argument 80 for (int x = 0; x < count; x++)
|
/frameworks/av/include/media/nbaio/ |
H A D | LibsndfileSource.h | 46 virtual ssize_t read(void *buffer, size_t count);
|
H A D | Pipe.h | 52 virtual ssize_t write(const void *buffer, size_t count);
|
/frameworks/base/libs/hwui/ |
H A D | GradientCache.cpp | 43 uint32_t hash = JenkinsHashMix(0, count); 44 for (uint32_t i = 0; i < count; i++) { 52 int deltaInt = int(lhs.count) - int(rhs.count); 55 deltaInt = memcmp(lhs.colors, rhs.colors, lhs.count * sizeof(uint32_t)); 58 return memcmp(lhs.positions, rhs.positions, lhs.count * sizeof(float)); 132 Texture* GradientCache::get(uint32_t* colors, float* positions, int count) { argument 133 GradientCacheEntry gradient(colors, positions, count); 137 texture = addLinearGradient(gradient, colors, positions, count); 147 void GradientCache::getGradientInfo(const uint32_t* colors, const int count, argument 170 addLinearGradient(GradientCacheEntry& gradient, uint32_t* colors, float* positions, int count) argument 241 generateTexture(uint32_t* colors, float* positions, int count, Texture* texture) argument [all...] |