Searched refs:count (Results 101 - 125 of 1384) sorted by relevance

1234567891011>>

/frameworks/base/libs/hwui/
H A DIProfileRenderer.h26 virtual void drawRects(const float* rects, int count, const SkPaint& paint) = 0;
/frameworks/base/media/tests/MediaFrameworkTest/src/com/android/mediaframeworktest/functional/
H A DEnergyProbe.java58 int count = 0;
85 count++;
94 if (count == 0) {
97 return energy/count;
/frameworks/base/tests/AccessoryDisplay/sink/src/com/android/accessorydisplay/sink/
H A DUsbAccessoryBulkTransport.java55 protected int ioRead(byte[] buffer, int offset, int count) throws IOException { argument
59 return mConnection.bulkTransfer(mBulkInEndpoint, buffer, offset, count, -1);
63 protected void ioWrite(byte[] buffer, int offset, int count) throws IOException { argument
68 buffer, offset, count, TIMEOUT_MILLIS);
/frameworks/base/tests/AccessoryDisplay/source/src/com/android/accessorydisplay/source/
H A DUsbAccessoryStreamTransport.java56 protected int ioRead(byte[] buffer, int offset, int count) throws IOException { argument
60 return mInputStream.read(buffer, offset, count);
64 protected void ioWrite(byte[] buffer, int offset, int count) throws IOException { argument
68 mOutputStream.write(buffer, offset, count);
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglDrawElementsInstanced.cpp1 /* void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount ) */
4 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf, jint instanceCount) {
17 (GLsizei)count,
27 /* void glDrawElementsInstanced ( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices, GLsizei instanceCount ) */
30 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint indicesOffset, jint instanceCount) {
33 (GLsizei)count,
3 android_glDrawElementsInstanced__IIILjava_nio_Buffer_2I(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jobject indices_buf, jint instanceCount) argument
29 android_glDrawElementsInstanced__IIIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint indicesOffset, jint instanceCount) argument
H A DglGetDebugMessageLog.cpp1 /* GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */
4 (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) {
9 /* GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */
12 (JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref, jobject severities_ref, jobject lengths_ref, jobject messageLog_ref) {
17 /* GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */
20 (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) {
25 /* GLuint glGetDebugMessageLog ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */
28 (JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref, jobject severities_ref) {
3 android_glGetDebugMessageLog__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
11 android_glGetDebugMessageLog__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
19 android_glGetDebugMessageLog__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
27 android_glGetDebugMessageLog__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
H A DglGetDebugMessageLogKHR.cpp1 /* GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */
4 (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) {
9 /* GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */
12 (JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref, jobject severities_ref, jobject lengths_ref, jobject messageLog_ref) {
17 /* GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */
20 (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) {
25 /* GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog ) */
28 (JNIEnv *_env, jobject _this, jint count, jobject sources_ref, jobject types_ref, jobject ids_ref, jobject severities_ref) {
3 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
11 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
19 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
27 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
/frameworks/opt/net/ims/src/java/com/android/ims/
H A DImsConnectionStateListener.java74 * Called when waiting voice message count changes.
76 public void onVoiceMessageCountChanged(int count) { argument
/frameworks/opt/net/voip/src/jni/rtp/
H A DAudioCodec.h33 virtual int decode(int16_t *samples, int count, void *payload, int length) = 0;
/frameworks/support/wear/src/android/support/wear/widget/
H A DWearableLinearLayoutManager.java117 for (int count = 0; count < childCount; count++) {
118 View child = getChildAt(count);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DarmVCM4P2_BlockMatch_Half.c90 OMX_INT outer, inner, count, index; local
110 for (outer = 0, count = 0,index = 0;
114 for (inner = 0; inner < BlockSize; inner++, count++, index++)
116 refSAD += armAbs (pTempSrcRefBuf[index] - pSrcCurrBuf[count]);
165 for (outer = 0, count = 0, candSAD = 0,index = 0;
169 for (inner = 0; inner < BlockSize; inner++, count++,index++)
179 candSAD += armAbs (tempPel - pSrcCurrBuf[count]);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_chroma_hor.s41 count RN 2 label
149 ;// pack values to count register
158 ADD count, count, tmp2, LSL #16 ;// chromaPartHeight-1
159 ADD count, count, tmp2, LSL #24 ;// loop_y
160 ADD count, count, tmp1, LSL #20 ;// chromaPartWidth-1
161 AND tmp2, count, #0x00F00000 ;// loop_x
175 ADD count, coun
[all...]
H A Dh264bsd_interpolate_chroma_hor_ver.s42 count RN 2 label
155 ;// pack values to count register
164 ADD count, count, tmp2, LSL #16 ;// chromaPartHeight-1
165 ADD count, count, tmp2, LSL #24 ;// loop_y
166 ADD count, count, tmp1, LSL #20 ;// chromaPartWidth-1
167 AND tmp2, count, #0x00F00000 ;// loop_x
190 ADD count, coun
[all...]
H A Dh264bsd_interpolate_chroma_ver.s40 count RN 2 label
147 ;// pack values to count register
156 ADD count, count, tmp2, LSL #16 ;// chromaPartHeight-1
157 ADD count, count, tmp2, LSL #24 ;// loop_y
158 ADD count, count, tmp1, LSL #20 ;// chromaPartWidth-1
159 AND tmp2, count, #0x00F00000 ;// loop_x
173 ADD count, coun
[all...]
/frameworks/opt/bitmap/src/com/android/bitmap/util/
H A DExif.java52 count = pack(jpeg, offset - 2, 2, littleEndian);
143 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2;
144 if (count < 10 || count > length) {
148 offset += count;
149 length -= count;
154 // Get the count and go through all the elements.
155 count = pack(jpeg, offset - 2, 2, littleEndian);
157 while (count-- > 0 && length >= 12) {
161 // We do not really care about type and count, d
[all...]
/frameworks/opt/photoviewer/src/com/android/ex/photo/util/
H A DExif.java47 count = pack(jpeg, offset - 2, 2, littleEndian);
138 int count = pack(jpeg, offset + 4, 4, littleEndian) + 2;
139 if (count < 10 || count > length) {
143 offset += count;
144 length -= count;
149 // Get the count and go through all the elements.
150 count = pack(jpeg, offset - 2, 2, littleEndian);
152 while (count-- > 0 && length >= 12) {
156 // We do not really care about type and count, d
[all...]
/frameworks/support/wear/src/android/support/wear/internal/widget/drawer/
H A DSinglePagePresenter.java55 * Initializes the {@link Ui} with {@code count} items.
57 void initialize(int count); argument
108 int count = mAdapter.getCount();
109 if (mCount != count) {
110 mCount = count;
111 mSelected = Math.min(mSelected, count - 1);
112 mUi.initialize(count);
114 for (int i = 0; i < count; i++) {
/frameworks/av/media/libnbaio/
H A DNBAIO.cpp79 size_t count = total - accumulator; local
80 if (count > block) {
81 count = block;
83 ssize_t ret = via(user, buffer, count);
85 ALOG_ASSERT((size_t) ret <= count);
115 size_t count = total - accumulator; local
116 if (count > block) {
117 count = block;
119 ssize_t ret = read(buffer, count);
121 ALOG_ASSERT((size_t) ret <= count);
[all...]
/frameworks/base/libs/usb/tests/accessorytest/
H A Dhid.c95 int count = desc_length - offset; local
96 if (count > max_packet) count = max_packet;
98 fprintf(stderr, "sending ACCESSORY_SET_HID_REPORT_DESC offset: %d count: %d desc_length: %d\n",
99 offset, count, desc_length);
101 ACCESSORY_SET_HID_REPORT_DESC, id, offset, &desc.value[offset], count, 1000);
103 offset += count;
167 int count = read(inotify_fd, event_buf, sizeof(event_buf)); local
168 if (count < (int)sizeof(*event)) {
174 while (count >
[all...]
/frameworks/base/core/java/android/view/
H A DHandlerActionQueue.java50 final int count = mCount;
54 for (int i = 0; i < count; i++) {
74 for (; j < count; j++) {
83 for (int i = 0, count = mCount; i < count; i++) {
/frameworks/base/media/mca/filterfw/java/android/filterfw/format/
H A DObjectFormat.java29 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/av/media/img_utils/include/img_utils/
H A DEndianUtils.h102 virtual status_t write(const uint8_t* buf, size_t offset, size_t count);
104 virtual status_t write(const int8_t* buf, size_t offset, size_t count);
106 virtual status_t write(const uint16_t* buf, size_t offset, size_t count);
108 virtual status_t write(const int16_t* buf, size_t offset, size_t count);
110 virtual status_t write(const uint32_t* buf, size_t offset, size_t count);
112 virtual status_t write(const int32_t* buf, size_t offset, size_t count);
114 virtual status_t write(const uint64_t* buf, size_t offset, size_t count);
116 virtual status_t write(const int64_t* buf, size_t offset, size_t count);
118 virtual status_t write(const float* buf, size_t offset, size_t count);
120 virtual status_t write(const double* buf, size_t offset, size_t count);
132 writeHelper(const T* buf, size_t offset, size_t count) argument
[all...]
/frameworks/base/core/java/android/view/animation/
H A DAnimationSet.java131 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/native/opengl/tools/glgen/specs/gles11/
H A Dchecks.spec28 glDebugMessageControl check ids count
36 glDrawElements check_AIOOBE indices count
37 glDrawElementsBaseVertex check_AIOOBE indices count-basevertex
38 glDrawRangeElementsBaseVertex check_AIOOBE indices count-basevertex
52 glGetAttachedShaders nullAllowed count check count 1 check shaders maxcount
103 glUniform1 check v count
104 glUniform2 check v count*2
105 glUniform3 check v count*3
106 glUniform4 check v count*
[all...]
/frameworks/base/core/java/android/util/jar/
H A DStrictJarFile.java188 int count = 0;
190 count += chain.length;
194 Certificate[] certs = new Certificate[count];
311 private long count; field in class:StrictJarFile.JarFileInputStream
318 count = size;
326 if (count > 0) {
330 count--;
332 count = 0;
334 if (count == 0) {
351 if (count >
[all...]

Completed in 1666 milliseconds

1234567891011>>