/frameworks/base/media/mca/filterfw/java/android/filterfw/core/ |
H A D | ShaderProgram.java | 222 public void setVertexCount(int count) { argument 223 if (!setShaderVertexCount(count)) { 224 throw new RuntimeException("Could not set GL vertex count to " + count + "!");
|
/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);
|
H A D | PrimitiveFormat.java | 28 public static MutableFrameFormat createByteFormat(int count, int target) { argument 29 return createFormat(FrameFormat.TYPE_BYTE, count, target); 32 public static MutableFrameFormat createInt16Format(int count, int target) { argument 33 return createFormat(FrameFormat.TYPE_INT16, count, target); 36 public static MutableFrameFormat createInt32Format(int count, int target) { argument 37 return createFormat(FrameFormat.TYPE_INT32, count, target); 40 public static MutableFrameFormat createFloatFormat(int count, int target) { argument 41 return createFormat(FrameFormat.TYPE_FLOAT, count, target); 44 public static MutableFrameFormat createDoubleFormat(int count, int target) { argument 45 return createFormat(FrameFormat.TYPE_DOUBLE, count, targe 68 createFormat(int baseType, int count, int target) argument [all...] |
/frameworks/base/media/mca/filterfw/java/android/filterfw/geometry/ |
H A D | Point.java | 88 public Point rotated90(int count) { argument 91 for (int i = 0; i < count; ++i) {
|
/frameworks/base/media/mca/filterfw/jni/ |
H A D | jni_native_frame.cpp | 124 const int count = size / sizeof(jint); local 125 jintArray result = env->NewIntArray(count); 126 env->SetIntArrayRegion(result, 0, count, reinterpret_cast<const jint*>(data)); 158 const int count = size / sizeof(jfloat); local 159 jfloatArray result = env->NewFloatArray(count); 160 env->SetFloatArrayRegion(result, 0, count, reinterpret_cast<const jfloat*>(data));
|
H A D | jni_util.cpp | 58 ALOGE("JavaObject: Reference count is NULL! JavaObject may be corrupted."); 75 ALOGE("JavaObject: Reference count is NULL! JavaObject may be corrupted."); 149 const jint count = env->GetArrayLength(static_cast<jintArray>(object)); local 150 result = MakeIntArrayValue(elems, count); 154 const jint count = env->GetArrayLength(static_cast<jfloatArray>(object)); local 155 result = MakeFloatArrayValue(elems, count);
|
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.cpp | 348 GLuint ShaderProgram::LinkProgram(GLuint* shaders, GLuint count) { argument 352 for (GLuint i = 0; i < count; ++i) { 662 // Here we return the minimum of the max uniform count for fragment and vertex 704 int count) { 709 if (count == 0) 722 if (!CheckValueCount("Uniform (int)", name, capacity, components, count) 723 || !CheckValueMult ("Uniform (int)", name, components, count)) 727 const int n = count / components; 755 int count) { 760 if (count 702 SetUniformValue(ProgramVar var, const int* values, int count) argument 753 SetUniformValue(ProgramVar var, const float* values, int count) argument 1117 SetVertexCount(int count) argument [all...] |
H A D | value.cpp | 47 result.count = 1; 53 Value MakePtrValue(const BASE* values, int count) { argument 56 result.value = malloc(sizeof(BASE) * count); 57 memcpy(result.value, values, sizeof(BASE) * count); 58 result.count = count; 67 value->count = 1; 77 int SetPtrValue(Value* value, const BASE* new_values, int count) { argument 80 value->value = malloc(sizeof(BASE) * count); 81 value->count 193 MakeIntArrayValue(const int* values, int count) argument 197 MakeFloatArrayValue(const float* values, int count) argument 217 SetIntArrayValue(Value* value, const int* new_values, int count) argument 221 SetFloatArrayValue(Value* value, const float* new_values, int count) argument [all...] |
H A D | value.h | 31 int count; member in struct:__anon991 61 Value MakeIntArrayValue(const int* values, int count); 62 Value MakeFloatArrayValue(const float* values, int count); 69 int SetIntArrayValue(Value* value, const int* new_values, int count); 70 int SetFloatArrayValue(Value* value, const float* new_values, int count);
|
/frameworks/base/native/android/ |
H A D | asset_manager.cpp | 171 int AAsset_read(AAsset* asset, void* buf, size_t count) argument 173 return asset->mAsset->read(buf, (size_t)count);
|
H A D | sensor.cpp | 137 ASensorEvent* events, size_t count) 139 ssize_t actual = static_cast<SensorEventQueue*>(queue)->read(events, count); 136 ASensorEventQueue_getEvents(ASensorEventQueue* queue, ASensorEvent* events, size_t count) argument
|
/frameworks/base/obex/javax/obex/ |
H A D | PrivateOutputStream.java | 97 public synchronized void write(byte[] buffer, int offset, int count) throws IOException { argument 99 int remainLength = count; 104 if ((offset | count) < 0 || count > buffer.length - offset) {
|
/frameworks/base/opengl/java/android/opengl/ |
H A D | GLES10.java | 526 // C function void glDrawArrays ( GLenum mode, GLint first, GLsizei count ) 531 int count 534 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ) 538 int count, 536 glDrawElements( int mode, int count, int type, java.nio.Buffer indices ) argument
|
H A D | GLES11.java | 242 // 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 D | GLES20.java | 669 // C function void glDrawArrays ( GLenum mode, GLint first, GLsizei count ) 674 int count 677 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset ) 681 int count, 686 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ) 690 int count, 903 // C function void glGetAttachedShaders ( GLuint program, GLsizei maxcount, GLsizei *count, GLuint *shaders ) 908 int[] count, 914 // C function void glGetAttachedShaders ( GLuint program, GLsizei maxcount, GLsizei *count, GLuint *shaders ) 919 java.nio.IntBuffer count, 679 glDrawElements( int mode, int count, int type, int offset ) argument 688 glDrawElements( int mode, int count, int type, java.nio.Buffer indices ) argument 905 glGetAttachedShaders( int program, int maxcount, int[] count, int countOffset, int[] shaders, int shadersOffset ) argument 916 glGetAttachedShaders( int program, int maxcount, java.nio.IntBuffer count, java.nio.IntBuffer shaders ) argument 1517 glUniform1fv( int location, int count, float[] v, int offset ) argument 1526 glUniform1fv( int location, int count, java.nio.FloatBuffer v ) argument 1541 glUniform1iv( int location, int count, int[] v, int offset ) argument 1550 glUniform1iv( int location, int count, java.nio.IntBuffer v ) argument 1566 glUniform2fv( int location, int count, float[] v, int offset ) argument 1575 glUniform2fv( int location, int count, java.nio.FloatBuffer v ) argument 1591 glUniform2iv( int location, int count, int[] v, int offset ) argument 1600 glUniform2iv( int location, int count, java.nio.IntBuffer v ) argument 1617 glUniform3fv( int location, int count, float[] v, int offset ) argument 1626 glUniform3fv( int location, int count, java.nio.FloatBuffer v ) argument 1643 glUniform3iv( int location, int count, int[] v, int offset ) argument 1652 glUniform3iv( int location, int count, java.nio.IntBuffer v ) argument 1670 glUniform4fv( int location, int count, float[] v, int offset ) argument 1679 glUniform4fv( int location, int count, java.nio.FloatBuffer v ) argument 1697 glUniform4iv( int location, int count, int[] v, int offset ) argument 1706 glUniform4iv( int location, int count, java.nio.IntBuffer v ) argument 1714 glUniformMatrix2fv( int location, int count, boolean transpose, float[] value, int offset ) argument 1724 glUniformMatrix2fv( int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument 1733 glUniformMatrix3fv( int location, int count, boolean transpose, float[] value, int offset ) argument 1743 glUniformMatrix3fv( int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument 1752 glUniformMatrix4fv( int location, int count, boolean transpose, float[] value, int offset ) argument 1762 glUniformMatrix4fv( int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument [all...] |
H A D | GLES30.java | 344 // C function void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, const GLvoid *indices ) 350 int count, 355 // C function void glDrawRangeElements ( GLenum mode, GLuint start, GLuint end, GLsizei count, GLenum type, GLsizei offset ) 361 int count, 613 // C function void glUniformMatrix2x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 617 int count, 623 // C function void glUniformMatrix2x3fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 627 int count, 632 // C function void glUniformMatrix3x2fv ( GLint location, GLsizei count, GLboolean transpose, const GLfloat *value ) 636 int count, 346 glDrawRangeElements( int mode, int start, int end, int count, int type, java.nio.Buffer indices ) argument 357 glDrawRangeElements( int mode, int start, int end, int count, int type, int offset ) argument 615 glUniformMatrix2x3fv( int location, int count, boolean transpose, float[] value, int offset ) argument 625 glUniformMatrix2x3fv( int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument 634 glUniformMatrix3x2fv( int location, int count, boolean transpose, float[] value, int offset ) argument 644 glUniformMatrix3x2fv( int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument 653 glUniformMatrix2x4fv( int location, int count, boolean transpose, float[] value, int offset ) argument 663 glUniformMatrix2x4fv( int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument 672 glUniformMatrix4x2fv( int location, int count, boolean transpose, float[] value, int offset ) argument 682 glUniformMatrix4x2fv( int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument 691 glUniformMatrix3x4fv( int location, int count, boolean transpose, float[] value, int offset ) argument 701 glUniformMatrix3x4fv( int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument 710 glUniformMatrix4x3fv( int location, int count, boolean transpose, float[] value, int offset ) argument 720 glUniformMatrix4x3fv( int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument 1105 glUniform1uiv( int location, int count, int[] value, int offset ) argument 1114 glUniform1uiv( int location, int count, java.nio.IntBuffer value ) argument 1122 glUniform2uiv( int location, int count, int[] value, int offset ) argument 1131 glUniform2uiv( int location, int count, java.nio.IntBuffer value ) argument 1139 glUniform3uiv( int location, int count, int[] value, int offset ) argument 1148 glUniform3uiv( int location, int count, java.nio.IntBuffer value ) argument 1156 glUniform4uiv( int location, int count, int[] value, int offset ) argument 1165 glUniform4uiv( int location, int count, java.nio.IntBuffer value ) argument 1351 glDrawArraysInstanced( int mode, int first, int count, int instanceCount ) argument 1360 glDrawElementsInstanced( int mode, int count, int type, java.nio.Buffer indices, int instanceCount ) argument 1370 glDrawElementsInstanced( int mode, int count, int type, int indicesOffset, int instanceCount ) argument 1486 glGenSamplers( int count, int[] samplers, int offset ) argument 1494 glGenSamplers( int count, java.nio.IntBuffer samplers ) argument 1501 glDeleteSamplers( int count, int[] samplers, int offset ) argument 1509 glDeleteSamplers( int count, java.nio.IntBuffer samplers ) argument [all...] |
H A D | GLES31.java | 334 // C function GLuint glCreateShaderProgramv ( GLenum type, GLsizei count, const GLchar *const *strings ) 514 // C function void glProgramUniform1iv ( GLuint program, GLint location, GLsizei count, const GLint *value ) 519 int count, 524 // C function void glProgramUniform1iv ( GLuint program, GLint location, GLsizei count, const GLint *value ) 529 int count, 533 // C function void glProgramUniform2iv ( GLuint program, GLint location, GLsizei count, const GLint *value ) 538 int count, 543 // C function void glProgramUniform2iv ( GLuint program, GLint location, GLsizei count, const GLint *value ) 548 int count, 552 // C function void glProgramUniform3iv ( GLuint program, GLint location, GLsizei count, cons 516 glProgramUniform1iv( int program, int location, int count, int[] value, int offset ) argument 526 glProgramUniform1iv( int program, int location, int count, java.nio.IntBuffer value ) argument 535 glProgramUniform2iv( int program, int location, int count, int[] value, int offset ) argument 545 glProgramUniform2iv( int program, int location, int count, java.nio.IntBuffer value ) argument 554 glProgramUniform3iv( int program, int location, int count, int[] value, int offset ) argument 564 glProgramUniform3iv( int program, int location, int count, java.nio.IntBuffer value ) argument 573 glProgramUniform4iv( int program, int location, int count, int[] value, int offset ) argument 583 glProgramUniform4iv( int program, int location, int count, java.nio.IntBuffer value ) argument 592 glProgramUniform1uiv( int program, int location, int count, int[] value, int offset ) argument 602 glProgramUniform1uiv( int program, int location, int count, java.nio.IntBuffer value ) argument 611 glProgramUniform2uiv( int program, int location, int count, int[] value, int offset ) argument 621 glProgramUniform2uiv( int program, int location, int count, java.nio.IntBuffer value ) argument 630 glProgramUniform3uiv( int program, int location, int count, int[] value, int offset ) argument 640 glProgramUniform3uiv( int program, int location, int count, java.nio.IntBuffer value ) argument 649 glProgramUniform4uiv( int program, int location, int count, int[] value, int offset ) argument 659 glProgramUniform4uiv( int program, int location, int count, java.nio.IntBuffer value ) argument 668 glProgramUniform1fv( int program, int location, int count, float[] value, int offset ) argument 678 glProgramUniform1fv( int program, int location, int count, java.nio.FloatBuffer value ) argument 687 glProgramUniform2fv( int program, int location, int count, float[] value, int offset ) argument 697 glProgramUniform2fv( int program, int location, int count, java.nio.FloatBuffer value ) argument 706 glProgramUniform3fv( int program, int location, int count, float[] value, int offset ) argument 716 glProgramUniform3fv( int program, int location, int count, java.nio.FloatBuffer value ) argument 725 glProgramUniform4fv( int program, int location, int count, float[] value, int offset ) argument 735 glProgramUniform4fv( int program, int location, int count, java.nio.FloatBuffer value ) argument 744 glProgramUniformMatrix2fv( int program, int location, int count, boolean transpose, float[] value, int offset ) argument 755 glProgramUniformMatrix2fv( int program, int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument 765 glProgramUniformMatrix3fv( int program, int location, int count, boolean transpose, float[] value, int offset ) argument 776 glProgramUniformMatrix3fv( int program, int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument 786 glProgramUniformMatrix4fv( int program, int location, int count, boolean transpose, float[] value, int offset ) argument 797 glProgramUniformMatrix4fv( int program, int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument 807 glProgramUniformMatrix2x3fv( int program, int location, int count, boolean transpose, float[] value, int offset ) argument 818 glProgramUniformMatrix2x3fv( int program, int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument 828 glProgramUniformMatrix3x2fv( int program, int location, int count, boolean transpose, float[] value, int offset ) argument 839 glProgramUniformMatrix3x2fv( int program, int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument 849 glProgramUniformMatrix2x4fv( int program, int location, int count, boolean transpose, float[] value, int offset ) argument 860 glProgramUniformMatrix2x4fv( int program, int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument 870 glProgramUniformMatrix4x2fv( int program, int location, int count, boolean transpose, float[] value, int offset ) argument 881 glProgramUniformMatrix4x2fv( int program, int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument 891 glProgramUniformMatrix3x4fv( int program, int location, int count, boolean transpose, float[] value, int offset ) argument 902 glProgramUniformMatrix3x4fv( int program, int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument 912 glProgramUniformMatrix4x3fv( int program, int location, int count, boolean transpose, float[] value, int offset ) argument 923 glProgramUniformMatrix4x3fv( int program, int location, int count, boolean transpose, java.nio.FloatBuffer value ) argument [all...] |
H A D | GLES31Ext.java | 262 // C function void glDebugMessageControlKHR ( GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled ) 268 int count, 274 // C function void glDebugMessageControlKHR ( GLenum source, GLenum type, GLenum severity, GLsizei count, const GLuint *ids, GLboolean enabled ) 280 int count, 303 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) 306 int count, 321 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) 324 int count, 332 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) 335 int count, 264 glDebugMessageControlKHR( int source, int type, int severity, int count, int[] ids, int offset, boolean enabled ) argument 276 glDebugMessageControlKHR( int source, int type, int severity, int count, java.nio.IntBuffer ids, boolean enabled ) argument 305 glGetDebugMessageLogKHR( int count, int bufSize, int[] sources, int sourcesOffset, int[] types, int typesOffset, int[] ids, int idsOffset, int[] severities, int severitiesOffset, int[] lengths, int lengthsOffset, byte[] messageLog, int messageLogOffset) argument 323 glGetDebugMessageLogKHR( int count, java.nio.IntBuffer sources, java.nio.IntBuffer types, java.nio.IntBuffer ids, java.nio.IntBuffer severities, java.nio.IntBuffer lengths, java.nio.ByteBuffer messageLog) argument 334 glGetDebugMessageLogKHR( int count, int[] sources, int sourcesOffset, int[] types, int typesOffset, int[] ids, int idsOffset, int[] severities, int severitiesOffset) argument 347 glGetDebugMessageLogKHR( int count, java.nio.IntBuffer sources, java.nio.IntBuffer types, java.nio.IntBuffer ids, java.nio.IntBuffer severities) argument [all...] |
H A D | GLErrorWrapper.java | 255 public void glDrawArrays(int mode, int first, int count) { argument 257 mgl.glDrawArrays(mode, first, count); 261 public void glDrawElements(int mode, int count, int type, Buffer indices) { argument 263 mgl.glDrawElements(mode, count, type, indices); 1003 public void glDrawElements(int mode, int count, int type, int offset) { argument 1005 mgl11.glDrawElements(mode, count, type, offset);
|
H A D | GLLogWrapper.java | 1026 private char[] toCharIndices(int count, int type, Buffer indices) { argument 1027 char[] result = new char[count]; 1030 ByteBuffer byteBuffer = toByteBuffer(count, indices); 1033 for (int i = 0; i < count; i++) { 1043 ByteBuffer byteBuffer = toByteBuffer(count * 2, indices); 1513 public void glDrawArrays(int mode, int first, int count) { argument 1517 arg("count", count); 1519 for (int i = 0; i < count; i++) { 1525 mgl.glDrawArrays(mode, first, count); 1529 glDrawElements(int mode, int count, int type, Buffer indices) argument 3345 glDrawElements(int mode, int count, int type, int offset) argument [all...] |
H A D | GLSurfaceView.java | 1780 @Override public void write(char[] buf, int offset, int count) { argument 1781 for(int i = 0; i < count; i++) {
|
/frameworks/base/opengl/java/com/google/android/gles_jni/ |
H A D | GLImpl.java | 340 // C function void glDrawArrays ( GLenum mode, GLint first, GLsizei count ) 345 int count 348 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices ) 352 int count, 1254 // C function void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset ) 1258 int count, 350 glDrawElements( int mode, int count, int type, java.nio.Buffer indices ) argument 1256 glDrawElements( int mode, int count, int type, int offset ) argument
|
/frameworks/base/opengl/java/javax/microedition/khronos/opengles/ |
H A D | GL10.java | 436 int count 441 int count, 439 glDrawElements( int mode, int count, int type, java.nio.Buffer indices ) argument
|
H A D | GL11.java | 215 int count, 213 glDrawElements( int mode, int count, int type, int offset ) argument
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
H A D | KeyguardAccountView.java | 116 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument 119 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
|