Searched refs:count (Results 201 - 225 of 1169) sorted by relevance

1234567891011>>

/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.cpp95 ssize_t count = audio_utils_fifo_read(&fifo, buffer, framesPerBuffer); local
97 if (0 >= count) {
99 count = framesPerBuffer;
102 if (count > 0) {
103 SLuint32 nbytes = count * sfframesize;
120 sf_count_t count; local
124 count = sf_readf_float(sndfile, (float *) temp, READ_FRAMES);
128 count = sf_readf_int(sndfile, (int *) temp, READ_FRAMES);
132 count = sf_readf_short(sndfile, (short *) temp, READ_FRAMES);
135 count
499 sf_count_t count; local
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DomxVCM4P2_MotionEstimationMB.c295 OMX_INT intraSAD, average, count, index, x, y; local
334 for (y = 0, index = count = 0; y < 16; y++, index += srcCurrStep - 16)
336 for(x = 0; x < 16; x++, count++, index++)
338 pTempSrcCurrBuf[count] = pSrcCurrBuf[index];
516 for (count = 0, average = 0; count < 256 ; count++)
518 average = average + pTempSrcCurrBuf[count];
525 for (count = 0; count < 25
[all...]
H A DarmVCM4P2_BlockMatch_Integer.c98 OMX_INT outer, inner, count,index; local
156 for (outer = 0, count = 0, index = 0, candSAD = 0;
160 for (inner = 0; inner < BlockSize; inner++, count++, index++)
162 candSAD += armAbs (pTempSrcRefBuf[index] - pSrcCurrBuf[count]);
H A DomxVCM4P2_DecodeBlockCoef_Intra.c124 OMX_INT predDir, predACDir, i, j, count; local
226 for (j = 0, count = 0; j < 8; j++)
228 for(i = 0; i < 8; i++, count++)
230 pDst[i] = armClip (0, 255, pTempBuf2[count]);
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/base/core/tests/coretests/src/android/app/backup/
H A DBackupDataTest.java91 int count = 0;
94 count++;
96 assertEquals("only one entity in this stream", 1, count);
112 int count = 0;
114 readAndVerifyEntity(bdi, KEYS[count], DATA[count].getBytes());
115 count++;
117 assertEquals("four entities in this stream", KEYS.length, count);
133 int count = 0;
135 readAndVerifyDeletedEntity(bdi, KEYS[count]);
[all...]
/frameworks/base/core/tests/coretests/src/android/widget/listview/arrowscroll/
H A DListWithScreenOfNoSelectablesTest.java73 for(int count = 0; count < maxDowns && mListView.getLastVisiblePosition() <= lastPosition; count++) {
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/
H A DRootCursorWrapper.java46 final int count = cursor.getCount();
47 if (maxCount > 0 && count > maxCount) {
50 mCount = count;
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DStatusBarIconList.java73 int count = 0;
76 count++;
79 return count;
/frameworks/base/tests/UiBench/src/com/android/test/uibench/
H A DEditTextTypeActivity.java39 final int count = 100;
42 StringBuilder builder = new StringBuilder(count * string.length());
43 for (int i = 0; i < count; i++) {
/frameworks/native/cmds/installd/
H A Dglobals.cpp53 for (i = 0; i < android_system_dirs.count; i++) {
109 android_system_dirs.count = 4;
111 android_system_dirs.dirs = (dir_rec_t*) calloc(android_system_dirs.count, sizeof(dir_rec_t));
/frameworks/av/camera/ndk/
H A DNdkCaptureRequest.cpp105 ACaptureRequest* req, uint32_t tag, uint32_t count, const NDK_TYPE* data) { \
107 if (req == nullptr || (count > 0 && data == nullptr)) { \
108 ALOGE("%s: invalid argument! req %p, tag 0x%x, count %d, data 0x%p", \
109 __FUNCTION__, req, tag, count, data); \
112 return req->settings->update(tag, count, data); \
/frameworks/av/include/media/nbaio/
H A DAudioBufferProviderSource.h45 virtual ssize_t read(void *buffer, size_t count);
H A DAudioStreamOutSink.h48 virtual ssize_t write(const void *buffer, size_t count);
H A DNBAIO.h51 // attributes, rather than a struct with separate fields for format, sample rate, channel count,
55 // Sample rate and channel count are explicit, PCM interleaved 16-bit is assumed.
70 // Convert a sample rate in Hz and channel count to an NBAIO_Format
77 // Return the channel count of an NBAIO_Format
81 typedef ssize_t (*writeVia_t)(void *user, void *buffer, size_t count);
82 typedef ssize_t (*readVia_t)(void *user, const void *buffer, size_t count);
158 // larger transfer count, however it will make a good faith effort to give an accurate estimate.
169 // count Maximum number of frames to transfer.
179 virtual ssize_t write(const void *buffer, size_t count) = 0;
188 // block Number of frames per block, that is a suggested value for 'count' i
[all...]
H A DPipeReader.h48 virtual ssize_t read(void *buffer, size_t count);
/frameworks/av/media/img_utils/include/img_utils/
H A DByteArrayOutput.h49 * Write bytes from the given buffer. The number of bytes given in the count
55 virtual status_t write(const uint8_t* buf, size_t offset, size_t count);
H A DFileInput.h52 * of bytes given in the count argument will be read. Bytes will be written
58 virtual ssize_t read(uint8_t* buf, size_t offset, size_t count);
H A DFileOutput.h35 virtual status_t write(const uint8_t* buf, size_t offset, size_t count);
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dton_stab.h95 Word16 count; member in struct:__anon420
/frameworks/base/core/java/com/android/internal/util/
H A DProcFileReader.java75 private void consumeBuf(int count) throws IOException { argument
78 System.arraycopy(mBuffer, count, mBuffer, 0, mTail - count);
79 mTail -= count;
/frameworks/base/libs/hwui/
H A DAssetAtlas.cpp30 void AssetAtlas::init(sp<GraphicBuffer> buffer, int64_t* map, int count) { argument
44 createEntries(caches, map, count);
96 void AssetAtlas::createEntries(Caches& caches, int64_t* map, int count) { argument
100 for (int i = 0; i < count; ) {
/frameworks/base/libs/hwui/hwui/
H A DMinikinUtils.cpp54 Typeface* typeface, const uint16_t* buf, size_t start, size_t count,
60 layout->doLayout(buf, start, count, bufSize, bidiFlags, minikinStyle, minikinPaint);
64 const uint16_t* buf, size_t start, size_t count, size_t bufSize, float *advances) {
68 return Layout::measureText(buf, start, count, bufSize, bidiFlags, minikinStyle, minikinPaint,
53 doLayout(Layout* layout, const Paint* paint, int bidiFlags, Typeface* typeface, const uint16_t* buf, size_t start, size_t count, size_t bufSize) argument
63 measureText(const Paint* paint, int bidiFlags, Typeface* typeface, const uint16_t* buf, size_t start, size_t count, size_t bufSize, float *advances) argument
/frameworks/base/media/tests/SoundPoolTest/src/com/android/
H A DSoundPoolTest.java132 int count = mSounds.length;
133 for (int index = 0; index < count; index++) {
154 int count = mScale.length;
155 for (int step = 0; step < count; step++) {
176 int count = mScale.length;
186 for (int step = 1; step < count; step++) {
261 for (int count = 0; count < 5; count++) {
288 for (int count
[all...]
/frameworks/base/test-runner/src/android/test/
H A DViewAsserts.java326 * Assert the specified group's integrity. The children count should be >= 0 and each
332 final int count = parent.getChildCount();
333 assertTrue("child count should be >= 0", count >= 0);
335 for (int i = 0; i < count; i++) {
348 final int count = parent.getChildCount();
349 assertTrue("Child count should be >= 0", count >= 0);
352 for (int i = 0; i < count; i++) {
372 final int count
[all...]

Completed in 2406 milliseconds

1234567891011>>