Searched defs:count (Results 351 - 375 of 430) sorted by relevance

<<1112131415161718

/frameworks/base/core/java/android/widget/
H A DListView.java535 final int count = infos.size();
537 for (int i = 0; i < count; i++) {
654 final int count = getChildCount();
660 final int startOffset = count > 0 ? getChildAt(count - 1).getBottom() + mDividerHeight :
662 fillDown(mFirstPosition + count, startOffset);
669 final int startOffset = count > 0 ? getChildAt(0).getTop() - mDividerHeight :
2037 final int count = adapter.getCount();
2041 while (position < count && !adapter.isEnabled(position)) {
2045 position = Math.min(position, count
2158 commonKey(int keyCode, int count, KeyEvent event) argument
[all...]
/frameworks/base/core/jni/
H A DAndroidRuntime.cpp1227 static int register_jni_procs(const RegJNIRec array[], size_t count, JNIEnv* env) argument
1229 for (size_t i = 0; i < count; i++) {
1240 static void register_jam_procs(const RegJAMProc array[], size_t count) argument
1242 for (size_t i = 0; i < count; i++) {
H A Dandroid_graphics_Canvas.cpp205 jint offset, jint count, jlong paintHandle) {
211 if ((offset | count) < 0 || offset + count > length) {
217 get_canvas(canvasHandle)->drawPoints(floats + offset, count, *paint);
227 jint offset, jint count, jlong paintHandle) {
233 if ((offset | count) < 0 || offset + count > length) {
239 get_canvas(canvasHandle)->drawLines(floats + offset, count, *paint);
481 void drawText(Canvas* canvas, const uint16_t* text, int start, int count, int contextCount, argument
487 MinikinUtils::doLayout(&layout, &paint, bidiFlags, typeface, text, start, count, contextCoun
204 drawPoints(JNIEnv* env, jobject, jlong canvasHandle, jfloatArray jptsArray, jint offset, jint count, jlong paintHandle) argument
226 drawLines(JNIEnv* env, jobject, jlong canvasHandle, jfloatArray jptsArray, jint offset, jint count, jlong paintHandle) argument
507 drawTextChars(JNIEnv* env, jobject, jlong canvasHandle, jcharArray text, jint index, jint count, jfloat x, jfloat y, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
513 drawText(get_canvas(canvasHandle), jchars + index, 0, count, count, x, y, local
523 const int count = end - start; local
525 drawText(get_canvas(canvasHandle), jchars + start, 0, count, count, x, y, local
530 drawTextRunChars(JNIEnv* env, jobject, jlong canvasHandle, jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, jfloat x, jfloat y, jboolean isRtl, jlong paintHandle, jlong typefaceHandle) argument
538 drawText(get_canvas(canvasHandle), jchars + contextIndex, index - contextIndex, count, local
551 jint count = end - start; local
554 drawText(get_canvas(canvasHandle), jchars + contextStart, start - contextStart, count, local
559 drawPosTextChars(JNIEnv* env, jobject, jlong canvasHandle, jcharArray text, jint index, jint count, jfloatArray pos, jlong paintHandle) argument
620 drawTextOnPath(Canvas* canvas, const uint16_t* text, int count, int bidiFlags, const SkPath& path, float hOffset, float vOffset, const Paint& paint, TypefaceImpl* typeface) argument
637 drawTextOnPathChars(JNIEnv* env, jobject, jlong canvasHandle, jcharArray text, jint index, jint count, jlong pathHandle, jfloat hOffset, jfloat vOffset, jint bidiFlags, jlong paintHandle, jlong typefaceHandle) argument
647 drawTextOnPath(get_canvas(canvasHandle), jchars + index, count, bidiFlags, *path, local
661 int count = env->GetStringLength(text); local
663 drawTextOnPath(get_canvas(canvasHandle), jchars, count, bidiFlags, *path, local
[all...]
H A Dandroid_opengl_GLES31.cpp44 const GLvoid *ptr, GLsizei count);
46 const GLvoid *pointer, GLsizei count);
48 GLsizei stride, const GLvoid *pointer, GLsizei count);
50 GLsizei stride, const GLvoid *pointer, GLsizei count);
52 GLsizei stride, const GLvoid *pointer, GLsizei count);
54 GLsizei stride, const GLvoid *pointer, GLsizei count);
56 GLsizei stride, const GLvoid *pointer, GLsizei count);
60 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) {
66 GLsizei stride, const GLvoid *pointer, GLsizei count) {
295 _remaining /= sizeof(CTYPE); // convert from bytes to item count
59 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
65 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
1151 android_glProgramUniform1iv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1196 android_glProgramUniform1iv__IIILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jobject value_buf) argument
1221 android_glProgramUniform2iv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1266 android_glProgramUniform2iv__IIILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jobject value_buf) argument
1291 android_glProgramUniform3iv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1336 android_glProgramUniform3iv__IIILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jobject value_buf) argument
1361 android_glProgramUniform4iv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1406 android_glProgramUniform4iv__IIILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jobject value_buf) argument
1431 android_glProgramUniform1uiv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1476 android_glProgramUniform1uiv__IIILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jobject value_buf) argument
1501 android_glProgramUniform2uiv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1546 android_glProgramUniform2uiv__IIILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jobject value_buf) argument
1571 android_glProgramUniform3uiv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1616 android_glProgramUniform3uiv__IIILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jobject value_buf) argument
1641 android_glProgramUniform4uiv__III_3II(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jintArray value_ref, jint offset) argument
1686 android_glProgramUniform4uiv__IIILjava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jobject value_buf) argument
1711 android_glProgramUniform1fv__III_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jfloatArray value_ref, jint offset) argument
1756 android_glProgramUniform1fv__IIILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jobject value_buf) argument
1781 android_glProgramUniform2fv__III_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jfloatArray value_ref, jint offset) argument
1826 android_glProgramUniform2fv__IIILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jobject value_buf) argument
1851 android_glProgramUniform3fv__III_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jfloatArray value_ref, jint offset) argument
1896 android_glProgramUniform3fv__IIILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jobject value_buf) argument
1921 android_glProgramUniform4fv__III_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jfloatArray value_ref, jint offset) argument
1966 android_glProgramUniform4fv__IIILjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jobject value_buf) argument
1991 android_glProgramUniformMatrix2fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2037 android_glProgramUniformMatrix2fv__IIIZLjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jobject value_buf) argument
2063 android_glProgramUniformMatrix3fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2109 android_glProgramUniformMatrix3fv__IIIZLjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jobject value_buf) argument
2135 android_glProgramUniformMatrix4fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2181 android_glProgramUniformMatrix4fv__IIIZLjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jobject value_buf) argument
2207 android_glProgramUniformMatrix2x3fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2253 android_glProgramUniformMatrix2x3fv__IIIZLjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jobject value_buf) argument
2279 android_glProgramUniformMatrix3x2fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2325 android_glProgramUniformMatrix3x2fv__IIIZLjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jobject value_buf) argument
2351 android_glProgramUniformMatrix2x4fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2397 android_glProgramUniformMatrix2x4fv__IIIZLjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jobject value_buf) argument
2423 android_glProgramUniformMatrix4x2fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2469 android_glProgramUniformMatrix4x2fv__IIIZLjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jobject value_buf) argument
2495 android_glProgramUniformMatrix3x4fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2541 android_glProgramUniformMatrix3x4fv__IIIZLjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jobject value_buf) argument
2567 android_glProgramUniformMatrix4x3fv__IIIZ_3FI(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jfloatArray value_ref, jint offset) argument
2613 android_glProgramUniformMatrix4x3fv__IIIZLjava_nio_FloatBuffer_2(JNIEnv *_env, jobject _this, jint program, jint location, jint count, jboolean transpose, jobject value_buf) argument
[all...]
H A Dandroid_opengl_GLES31Ext.cpp45 const GLvoid *ptr, GLsizei count);
47 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);
57 GLsizei stride, const GLvoid *pointer, GLsizei count);
61 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) {
67 GLsizei stride, const GLvoid *pointer, GLsizei count) {
296 _remaining /= sizeof(CTYPE); // convert from bytes to item count
60 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
66 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
335 android_glDebugMessageControlKHR__IIII_3IIZ(JNIEnv *_env, jobject _this, jint source, jint type, jint severity, jint count, jintArray ids_ref, jint offset, jboolean enabled) argument
382 android_glDebugMessageControlKHR__IIIILjava_nio_IntBuffer_2Z(JNIEnv *_env, jobject _this, jint source, jint type, jint severity, jint count, jobject ids_buf, jboolean enabled) argument
452 android_glGetDebugMessageLogKHR__II_3II_3II_3II_3II_3II_3BI(JNIEnv *_env, jobject _this, jint count, jint bufSize, jintArray sources_ref, jint sourcesOffset, jintArray types_ref, jint typesOffset, jintArray ids_ref, jint idsOffset, jintArray severities_ref, jint severitiesOffset, jintArray lengths_ref, jint lengthsOffset, jbyteArray messageLog_ref, jint messageLogOffset) argument
460 android_glGetDebugMessageLogKHR__ILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_ByteBuffer_2(JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref, jobject severities_ref, jobject lengths_ref, jobject messageLog_ref) argument
468 android_glGetDebugMessageLogKHR__I_3II_3II_3II_3II(JNIEnv *_env, jobject _this, jint count, jintArray sources_ref, jint sourcesOffset, jintArray types_ref, jint typesOffset, jintArray ids_ref, jint idsOffset, jintArray severities_ref, jint severitiesOffset) argument
476 android_glGetDebugMessageLogKHR__ILjava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2Ljava_nio_IntBuffer_2(JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref, jobject severities_ref) argument
[all...]
H A Dandroid_view_GLES20Canvas.cpp532 int count = 0; local
541 count += 4;
544 renderer->drawRects(rects.array(), count, paint);
549 jlong rendererPtr, jfloatArray points, jint offset, jint count, jlong paintPtr) {
553 renderer->drawPoints(storage + offset, count, paint);
566 jlong rendererPtr, jfloatArray points, jint offset, jint count, jlong paintPtr) {
570 renderer->drawLines(storage + offset, count, paint);
641 static void renderText(DisplayListRenderer* renderer, const jchar* text, int count, argument
644 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, text, 0, count, count);
548 android_view_GLES20Canvas_drawPoints(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloatArray points, jint offset, jint count, jlong paintPtr) argument
565 android_view_GLES20Canvas_drawLines(JNIEnv* env, jobject clazz, jlong rendererPtr, jfloatArray points, jint offset, jint count, jlong paintPtr) argument
674 renderTextOnPath(DisplayListRenderer* renderer, const jchar* text, int count, SkPath* path, jfloat hOffset, jfloat vOffset, int bidiFlags, Paint* paint, TypefaceImpl* typeface) argument
688 renderTextRun(DisplayListRenderer* renderer, const jchar* text, jint start, jint count, jint contextCount, jfloat x, jfloat y, int bidiFlags, Paint* paint, TypefaceImpl* typeface) argument
697 android_view_GLES20Canvas_drawTextArray(JNIEnv* env, jobject clazz, jlong rendererPtr, jcharArray text, jint index, jint count, jfloat x, jfloat y, jint bidiFlags, jlong paintPtr, jlong typefacePtr) argument
721 android_view_GLES20Canvas_drawTextArrayOnPath(JNIEnv* env, jobject clazz, jlong rendererPtr, jcharArray text, jint index, jint count, jlong pathPtr, jfloat hOffset, jfloat vOffset, jint bidiFlags, jlong paintPtr, jlong typefacePtr) argument
751 android_view_GLES20Canvas_drawTextRunArray(JNIEnv* env, jobject clazz, jlong rendererPtr, jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, jfloat x, jfloat y, jboolean isRtl, jlong paintPtr, jlong typefacePtr) argument
772 jint count = end - start; local
[all...]
/frameworks/base/core/jni/android/graphics/
H A DPaint.cpp514 static jfloat measureText_CIII(JNIEnv* env, jobject jpaint, jcharArray text, jint index, jint count, argument
520 if ((index | count) < 0 || (size_t)(index + count) > textLength) {
524 if (count == 0) {
534 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, textArray, index, count, textLength);
546 int count = end - start; local
547 if ((start | count) < 0 || (size_t)end > textLength) {
551 if (count == 0) {
561 MinikinUtils::doLayout(&layout, paint, bidiFlags, typeface, textArray, start, count, textLength);
590 static int dotextwidths(JNIEnv* env, Paint* paint, TypefaceImpl* typeface, const jchar text[], int count, argument
618 getTextWidths___CIII_F(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint bidiFlags, jfloatArray widths) argument
634 int count = dotextwidths(env, paint, typeface, textArray + start, end - start, widths, bidiFlags); local
639 doTextRunAdvances(JNIEnv *env, Paint *paint, TypefaceImpl* typeface, const jchar *text, jint start, jint count, jint contextCount, jboolean isRtl, jfloatArray advances, jint advancesIndex) argument
676 getTextRunAdvances___CIIIIZ_FI(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint contextIndex, jint contextCount, jboolean isRtl, jfloatArray advances, jint advancesIndex) argument
703 doTextRunCursor(JNIEnv *env, Paint* paint, const jchar *text, jint start, jint count, jint flags, jint offset, jint opt) argument
761 getTextPath(JNIEnv* env, Paint* paint, TypefaceImpl* typeface, const jchar* text, jint count, jint bidiFlags, jfloat x, jfloat y, SkPath* path) argument
780 getTextPath___C(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jint bidiFlags, jcharArray text, jint index, jint count, jfloat x, jfloat y, jlong pathHandle) argument
819 breakText(JNIEnv* env, const Paint& paint, TypefaceImpl* typeface, const jchar text[], int count, float maxWidth, jint bidiFlags, jfloatArray jmeasured, Paint::TextBufferDirection textBufferDirection) argument
853 breakTextC(JNIEnv* env, jobject clazz, jlong paintHandle, jlong typefaceHandle, jcharArray jtext, jint index, jint count, jfloat maxWidth, jint bidiFlags, jfloatArray jmeasuredWidth) argument
893 int count = env->GetStringLength(jtext); local
900 doTextBounds(JNIEnv* env, const jchar* text, int count, jobject bounds, const Paint& paint, TypefaceImpl* typeface, jint bidiFlags) argument
926 getCharArrayBounds(JNIEnv* env, jobject, jlong paintHandle, jlong typefaceHandle, jcharArray text, jint index, jint count, jint bidiFlags, jobject bounds) argument
[all...]
H A DSkiaCanvas.cpp95 virtual void drawPoints(const float* points, int count, const SkPaint& paint);
98 virtual void drawLines(const float* points, int count, const SkPaint& paint);
119 virtual void drawText(const uint16_t* text, const float* positions, int count,
122 virtual void drawPosText(const uint16_t* text, const float* positions, int count,
124 virtual void drawTextOnPath(const uint16_t* glyphs, int count, const SkPath& path,
139 void drawPoints(const float* points, int count, const SkPaint& paint,
238 int count = mCanvas->save(); local
240 return count;
291 int count = mCanvas->saveLayer(&bounds, paint, flags | SkCanvas::kMatrixClip_SaveFlag); local
293 return count;
299 int count = mCanvas->saveLayerAlpha(&bounds, alpha, flags | SkCanvas::kMatrixClip_SaveFlag); local
483 drawPoints(const float* points, int count, const SkPaint& paint, SkCanvas::PointMode mode) argument
501 drawPoints(const float* points, int count, const SkPaint& paint) argument
510 drawLines(const float* points, int count, const SkPaint& paint) argument
677 drawText(const uint16_t* text, const float* positions, int count, const SkPaint& paint, float x, float y, float boundsLeft, float boundsTop, float boundsRight, float boundsBottom) argument
690 drawPosText(const uint16_t* text, const float* positions, int count, int posCount, const SkPaint& paint) argument
706 drawTextOnPath(const uint16_t* glyphs, int count, const SkPath& path, float hOffset, float vOffset, const SkPaint& paint) argument
[all...]
/frameworks/base/libs/androidfw/
H A DAssetManager.cpp155 int count = android_atomic_inc(&gCount)+1; local
156 //ALOGI("Creating AssetManager %p #%d\n", this, count);
162 int count = android_atomic_dec(&gCount); local
163 //ALOGI("Destroying AssetManager in %p #%d\n", this, count);
1318 int i, start, count; local
1344 count = mCache.size();
1351 for (i = start+1; i < count; i++) {
1386 int i, count, exclExtLen; local
1388 count = pContents->size();
1390 for (i = 0; i < count;
[all...]
/frameworks/base/libs/hwui/
H A DPathTessellator.cpp794 const float* points, int count, Rect& bounds) {
797 int numPoints = count / 2;
801 for (int i = 0; i < count; i += 2) {
808 void PathTessellator::tessellatePoints(const float* points, int count, const SkPaint* paint, argument
834 int numPoints = count / 2;
838 instanceVertices<Vertex>(tempBuffer, vertexBuffer, points, count, bounds);
842 instanceVertices<AlphaVertex>(tempBuffer, vertexBuffer, points, count, bounds);
850 void PathTessellator::tessellateLines(const float* points, int count, const SkPaint* paint, argument
856 int numLines = count / 4;
873 for (int i = 0; i < count;
793 instanceVertices(VertexBuffer& srcBuffer, VertexBuffer& dstBuffer, const float* points, int count, Rect& bounds) argument
[all...]
/frameworks/base/opengl/java/android/opengl/
H A DGLES11.java242 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset )
246 int count,
244 glDrawElements( int mode, int count, int type, int offset ) argument
H A DGLSurfaceView.java1780 @Override public void write(char[] buf, int offset, int count) { argument
1781 for(int i = 0; i < count; i++) {
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/
H A DGL11.java215 int count,
213 glDrawElements( int mode, int count, int type, int offset ) argument
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DPrintActivity.java469 // count we get from the remote document is the pages in the document from
470 // the app perspective but the print job should contain the page count from
1547 // doc we ask for all pages and use the document page count.
2219 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
2224 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
2281 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
2286 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/glrenderer/
H A DGLES20Canvas.java491 private void draw(int type, int offset, int count, float x, float y, float width, float height, argument
493 draw(type, offset, count, x, y, width, height, paint.getColor(), paint.getLineWidth());
496 private void draw(int type, int offset, int count, float x, float y, float width, float height, argument
499 draw(mDrawParameters, type, count, x, y, width, height);
554 private void draw(ShaderParameter[] params, int type, int count, float x, float y, float width, argument
560 GLES20.glDrawArrays(type, 0, count);
/frameworks/base/services/core/java/com/android/server/
H A DAlarmManagerService.java562 int count; field in class:AlarmManagerService.FilterStats
578 int count; field in class:AlarmManagerService.BroadcastStats
933 pw.print(" Broadcast ref count: "); pw.println(mBroadcastRefCount);
985 pw.print(" wakeups, "); pw.print(fs.count);
1020 pw.print(" wakes " ); pw.print(fs.count);
1433 alarm.count = 1;
1437 // phone was asleep or off, so pass a trigger count when sending them.
1441 alarm.count += (nowELAPSED - alarm.whenElapsed) / alarm.repeatInterval;
1444 final long delta = alarm.count * alarm.repeatInterval;
1501 public int count; field in class:AlarmManagerService.Alarm
[all...]
/frameworks/base/services/core/jni/
H A Dcom_android_server_input_InputManagerService.cpp482 size_t count = inputDevices.size(); local
484 count, gInputDeviceClassInfo.clazz, NULL);
487 for (size_t i = 0; i < count; i++) {
/frameworks/base/tools/aapt/
H A DAaptAssets.cpp718 ssize_t count = 0; local
748 count += res;
756 count++;
764 return count;
994 int count; local
1033 count = assetAaptDir->slurpFullTree(bundle, assetRoot, group,
1035 if (count < 0) {
1036 totalCount = count;
1039 if (count > 0) {
1042 totalCount += count;
1165 status_t count = 0; local
1246 int count = 0; local
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DCanvas_Delegate.java533 /*package*/ static void native_drawPoints(long nativeCanvas, float[] pts, int offset, int count, argument
555 final float[] pts, final int offset, final int count,
561 for (int i = 0; i < count; i += 4) {
845 /*package*/ static void native_drawText(long nativeCanvas, char[] text, int index, int count, argument
847 drawText(nativeCanvas, text, index, count, startX, startY, flags == Canvas.DIRECTION_RTL,
855 int count = end - start;
856 char[] buffer = TemporaryBuffer.obtain(count);
859 native_drawText(nativeCanvas, buffer, 0, count, x, y, flags, paint, typeface);
866 int count = end - start;
867 char[] buffer = TemporaryBuffer.obtain(count);
554 native_drawLines(long nativeCanvas, final float[] pts, final int offset, final int count, long nativePaint) argument
874 native_drawTextRun(long nativeCanvas, char[] text, int start, int count, int contextStart, int contextCount, float x, float y, boolean isRtl, long paint, long typeface) argument
881 native_drawTextOnPath(long nativeCanvas, char[] text, int index, int count, long path, float hOffset, float vOffset, int bidiFlags, long paint, long typeface) argument
956 drawText(long nativeCanvas, final char[] text, final int index, final int count, final float startX, final float startY, final boolean isRtl, long paint, final long typeface) argument
[all...]
H A DPaint_Delegate.java600 int count, int bidiFlags) {
607 RectF bounds = delegate.measureText(text, index, count, null, 0, bidiFlags);
624 int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) {
632 int inc = count > 0 ? 1 : -1;
635 for (int i = index; i != index + count; i += inc, measureIndex++) {
655 // and we need to return a count, we simply return measureIndex;
955 char[] text, int index, int count, int bidiFlags, float[] widths) {
958 for (int i = 0; i< count; i++) {
973 RectF bounds = delegate.measureText(text, index, count, widths, 0, bidiFlags);
993 char[] text, int index, int count, in
599 native_measureText(Paint thisPaint, char[] text, int index, int count, int bidiFlags) argument
623 native_breakText(long nativePaint, long nativeTypeface, char[] text, int index, int count, float maxWidth, int bidiFlags, float[] measuredWidth) argument
954 native_getTextWidths(long native_object, long native_typeface, char[] text, int index, int count, int bidiFlags, float[] widths) argument
992 native_getTextRunAdvances(long native_object, long native_typeface, char[] text, int index, int count, int contextIndex, int contextCount, boolean isRtl, float[] advances, int advancesIndex) argument
1046 native_getTextPath(long native_object, long native_typeface, int bidiFlags, char[] text, int index, int count, float x, float y, long path) argument
1069 nativeGetCharArrayBounds(long nativePaint, long native_typeface, char[] text, int index, int count, int bidiFlags, Rect bounds) argument
1199 measureText(char[] text, int index, int count, float[] advances, int advancesIndex, int bidiFlags) argument
1205 measureText(char[] text, int index, int count, float[] advances, int advancesIndex, boolean isRtl) argument
[all...]
/frameworks/minikin/libs/minikin/
H A DLayout.cpp77 const uint16_t* chars, size_t start, size_t count, size_t nchars, bool dir)
78 : mStart(start), mCount(count), mId(collection->getId()), mStyle(style),
519 void Layout::doLayout(const uint16_t* buf, size_t start, size_t count, size_t bufSize, argument
531 mAdvances.resize(count, 0);
564 int32_t endRun = std::min(startRun + lengthRun, int32_t(start + count));
583 doLayoutRunCached(buf, start, count, bufSize, isRtl, &ctx, start);
588 void Layout::doLayoutRunCached(const uint16_t* buf, size_t start, size_t count, size_t bufSize, argument
594 for (size_t iter = start; iter < start + count; iter = wordend) {
596 size_t wordcount = std::min(start + count, wordend) - iter;
604 size_t end = start + count;
76 LayoutCacheKey(const FontCollection* collection, const MinikinPaint& paint, FontStyle style, const uint16_t* chars, size_t start, size_t count, size_t nchars, bool dir) argument
616 doLayoutWord(const uint16_t* buf, size_t start, size_t count, size_t bufSize, bool isRtl, LayoutContext* ctx, size_t bufStart) argument
652 doLayoutRun(const uint16_t* buf, size_t start, size_t count, size_t bufSize, bool isRtl, LayoutContext* ctx) argument
[all...]
/frameworks/native/libs/binder/
H A DParcel.cpp320 size_t count = gParcelGlobalAllocCount; local
322 return count;
/frameworks/native/opengl/libagl/
H A Degl.cpp279 inline Region() : count(0) { }
282 const_iterator end() const { return storage+count; }
319 reg.count = storage - reg.storage;
324 return count<=0;
328 ssize_t count; member in struct:android::egl_window_surface_v2_t::Region
/frameworks/native/services/inputflinger/
H A DEventHub.cpp828 size_t count = size_t(readSize) / sizeof(struct input_event); local
829 for (size_t i = 0; i < count; i++) {
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp600 const size_t count = drawingLayers.size(); local
601 for (size_t i=0 ; i<count ; ++i) {
1247 // Decrement the queued-frames count. Signal another event if we

Completed in 1995 milliseconds

<<1112131415161718