Searched defs:count (Results 26 - 50 of 430) sorted by relevance

1234567891011>>

/frameworks/base/core/java/android/database/
H A DBulkCursorDescriptor.java47 public int count; field in class:BulkCursorDescriptor
60 out.writeInt(count);
73 count = in.readInt();
/frameworks/base/core/java/android/test/
H A DPerformanceTestCase.java32 void setInternalIterations(int count); argument
46 * <p>If you return a non-zero iteration count, you should call
/frameworks/base/core/java/android/text/
H A DTextWatcher.java26 * the <code>count</code> characters beginning at <code>start</code>
32 int count, int after);
35 * the <code>count</code> characters beginning at <code>start</code>
40 public void onTextChanged(CharSequence s, int start, int before, int count); argument
31 beforeTextChanged(CharSequence s, int start, int count, int after) argument
/frameworks/base/core/jni/android/graphics/
H A DAutoDecodeCancel.cpp85 int count = 0; local
87 count += 1;
88 SkASSERT(count <= gCount);
97 SkASSERT(count == gCount);
/frameworks/base/libs/androidfw/tests/
H A DResTable_test.cpp146 ssize_t count = table.lockBag(base::R::array::integerArray1, &entry); local
147 ASSERT_GE(count, 0);
159 count = table.lockBag(base::R::array::integerArray1, &entry);
160 ASSERT_GE(count, 0);
/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);
H A DPrimitiveFormat.java28 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/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/compile/libbcc/lib/Support/
H A DOutputFile.cpp30 ssize_t OutputFile::write(const void *pBuf, size_t count) { argument
35 if ((count <= 0) || (pBuf == NULL)) {
37 ALOGW("OutputFile::write: count = %zu, buffer = %p", count, pBuf);
41 while (count > 0) {
42 ssize_t write_size = ::write(mFD, pBuf, count);
/frameworks/minikin/libs/minikin/
H A DGraphemeBreak.cpp25 bool GraphemeBreak::isGraphemeBreak(const uint16_t* buf, size_t start, size_t count, argument
33 if (offset <= start || offset >= start + count) {
44 U16_NEXT(buf, offset, count, c2);
100 size_t GraphemeBreak::getTextRunCursor(const uint16_t* buf, size_t start, size_t count, argument
104 if (offset < start + count) {
109 while (!isGraphemeBreak(buf, start, count, offset)) {
119 while (!isGraphemeBreak(buf, start, count, offset)) {
124 if (!isGraphemeBreak(buf, start, count, offset)) {
/frameworks/native/libs/gui/
H A DDisplayEventReceiver.cpp60 status_t DisplayEventReceiver::setVsyncRate(uint32_t count) { argument
61 if (int32_t(count) < 0)
65 mEventConnection->setVsyncRate(count);
81 size_t count) {
82 return DisplayEventReceiver::getEvents(mDataChannel, events, count);
86 Event* events, size_t count)
88 return BitTube::recvObjects(dataChannel, events, count);
92 Event const* events, size_t count)
94 return BitTube::sendObjects(dataChannel, events, count);
80 getEvents(DisplayEventReceiver::Event* events, size_t count) argument
85 getEvents(const sp<BitTube>& dataChannel, Event* events, size_t count) argument
91 sendEvents(const sp<BitTube>& dataChannel, Event const* events, size_t count) argument
H A DIDisplayEventConnection.cpp55 virtual void setVsyncRate(uint32_t count) { argument
58 data.writeInt32(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 DglGetDebugMessageLogKHR.java1 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
4 int count,
19 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
22 int count,
30 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
33 int count,
43 // C function GLuint glGetDebugMessageLogKHR ( GLuint count, GLsizei bufSize, GLenum *sources, GLenum *types, GLuint *ids, GLenum *severities, GLsizei *lengths, GLchar *messageLog )
46 int count,
3 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
21 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
32 glGetDebugMessageLogKHR( int count, int[] sources, int sourcesOffset, int[] types, int typesOffset, int[] ids, int idsOffset, int[] severities, int severitiesOffset) argument
45 glGetDebugMessageLogKHR( int count, java.nio.IntBuffer sources, java.nio.IntBuffer types, java.nio.IntBuffer ids, java.nio.IntBuffer severities) argument
/frameworks/native/services/sensorservice/
H A DBatteryService.h40 int32_t count; member in struct:android::BatteryService::Info
41 Info() : uid(0), handle(0), count(0) { }
42 Info(uid_t uid, int handle) : uid(uid), handle(handle), count(0) { }
H A DCorrectedGyroSensor.cpp32 CorrectedGyroSensor::CorrectedGyroSensor(sensor_t const* list, size_t count) argument
36 for (size_t i=0 ; i<count ; i++) {
/frameworks/rs/cpu_ref/linkloader/include/
H A DStubLayout.h26 size_t count; member in class:StubLayout
34 void initStubTable(unsigned char *table, size_t count);
37 size_t calcStubTableSize(size_t count) const;
/frameworks/support/v4/java/android/support/v4/util/
H A DLogWriter.java51 @Override public void write(char[] buf, int offset, int count) { argument
52 for(int i = 0; i < count; i++) {
/frameworks/av/media/img_utils/src/
H A DEndianUtils.cpp48 status_t EndianOutput::write(const uint8_t* buf, size_t offset, size_t count) { argument
50 if((res = mOutput->write(buf, offset, count)) == OK) {
51 mOffset += count;
56 status_t EndianOutput::write(const int8_t* buf, size_t offset, size_t count) { argument
57 return write(reinterpret_cast<const uint8_t*>(buf), offset, count);
61 status_t EndianOutput::write(const _type_* buf, size_t offset, size_t count) { \
62 return writeHelper<_type_>(buf, offset, count); \
72 status_t EndianOutput::write(const float* buf, size_t offset, size_t count) { argument
74 return writeHelper<uint32_t>(reinterpret_cast<const uint32_t*>(buf), offset, count);
77 status_t EndianOutput::write(const double* buf, size_t offset, size_t count) { argument
[all...]
/frameworks/av/media/libmedia/
H A DIMediaDeathNotifier.cpp92 size_t count = list.size(); local
93 for (size_t iter = 0; iter < count; ++iter) {
/frameworks/av/media/libnbaio/
H A DMonoPipeReader.cpp46 ssize_t MonoPipeReader::read(void *buffer, size_t count, int64_t readPTS) argument
50 // with a count (which is the number of audio frames they are going to
52 // by the duration of count will give us the readPTS which will be passed to
57 nextReadPTS = mPipe->offsetTimestampByAudioFrames(readPTS, count);
59 // count == 0 is unlikely and not worth checking for explicitly; will be handled automatically
67 if (CC_LIKELY((size_t) red > count)) {
68 red = count;
H A DPipeReader.cpp62 ssize_t PipeReader::read(void *buffer, size_t count, int64_t readPTS __unused) argument
70 if (CC_LIKELY(count > (size_t) avail)) {
71 count = avail;
75 if (CC_LIKELY(red > count)) {
76 red = count;
82 if (CC_UNLIKELY((count -= red) > front)) {
83 count = front;
85 if (CC_LIKELY(count > 0)) {
86 memcpy((char *) buffer + (red * mFrameSize), mPipe.mBuffer, count * mFrameSize);
87 red += count;
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DomxVCM4P2_EncodeMV.c104 OMX_INT iBlk, i, count = 1; local
133 count = 4;
137 count = 1;
143 for (iBlk = 0; iBlk < count; iBlk++)
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_mid_hor.s37 count RN 2 ;// bit-packed width and count values label
71 ;// pack values to count register
81 AND tmp3, count, #0x000F0000 ;// partWidth-1
84 ADD count, count, tmp3, LSL #12
115 SUBS count, count, #4<<28
146 SUBS count, count, #
[all...]
/frameworks/av/media/mtp/
H A DMtpStringBuffer.cpp59 // count the characters
60 int count = 0; local
64 while ((ch = *src++) != 0 && count < MTP_STRING_MAX_CHARACTER_NUMBER) {
95 count++;
100 mCharCount = count;
104 int count = 0; local
108 while ((ch = *src++) != 0 && count < MTP_STRING_MAX_CHARACTER_NUMBER) {
119 count++;
122 mCharCount = count;
127 uint8_t count; local
155 int count = mCharCount; local
[all...]

Completed in 281 milliseconds

1234567891011>>