/frameworks/native/libs/ui/ |
H A D | Fence.cpp | 140 status_t Fence::flatten(void*& buffer, size_t& size, int*& fds, size_t& count) const { 141 if (size < getFlattenedSize() || count < getFdCount()) { 149 count--; 154 status_t Fence::unflatten(void const*& buffer, size_t& size, int const*& fds, size_t& count) { argument 171 if (count < numFds) { 177 count--;
|
/frameworks/support/core-ui/java/android/support/v4/widget/ |
H A D | SimpleCursorAdapter.java | 126 final int count = mTo.length; 130 for (int i = 0; i < count; i++) { 317 int count = from.length; 318 if (mFrom == null || mFrom.length != count) { 319 mFrom = new int[count]; 321 for (i = 0; i < count; i++) {
|
/frameworks/support/v7/mediarouter/src/android/support/v7/media/ |
H A D | MediaRouteProviderDescriptor.java | 59 final int count = routeBundles.size(); 60 mRoutes = new ArrayList<MediaRouteDescriptor>(count); 61 for (int i = 0; i < count; i++) { 187 final int count = mRoutes.size(); 188 ArrayList<Bundle> routeBundles = new ArrayList<Bundle>(count); 189 for (int i = 0; i < count; i++) {
|
/frameworks/wilhelm/src/itf/ |
H A D | IBufferQueue.c | 67 ++thiz->mState.count; 72 (1 == thiz->mState.count) && (SL_PLAYSTATE_PLAYING == getAssociatedState(thiz))) ? 97 thiz->mState.count = 0; 135 state.count = thiz->mState.count; 181 thiz->mState.count = 0;
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | playbq.c | 95 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...] |
H A D | playbq.cpp | 95 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 D | omxVCM4P2_MotionEstimationMB.c | 295 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 D | armVCM4P2_BlockMatch_Integer.c | 98 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 D | omxVCM4P2_DecodeBlockCoef_Intra.c | 124 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 D | omxVCM4P2_EncodeMV.c | 104 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 D | BackupDataTest.java | 91 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 D | ListWithScreenOfNoSelectablesTest.java | 73 for(int count = 0; count < maxDowns && mListView.getLastVisiblePosition() <= lastPosition; count++) {
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | RootCursorWrapper.java | 46 final int count = cursor.getCount(); 47 if (maxCount > 0 && count > maxCount) { 50 mCount = count;
|
/frameworks/base/tests/UiBench/src/com/android/test/uibench/ |
H A D | EditTextTypeActivity.java | 39 final int count = 100; 42 StringBuilder builder = new StringBuilder(count * string.length()); 43 for (int i = 0; i < count; i++) {
|
/frameworks/av/camera/ndk/ |
H A D | NdkCaptureRequest.cpp | 105 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 D | AudioBufferProviderSource.h | 45 virtual ssize_t read(void *buffer, size_t count);
|
H A D | AudioStreamOutSink.h | 48 virtual ssize_t write(const void *buffer, size_t count);
|
H A D | NBAIO.h | 51 // 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 D | PipeReader.h | 48 virtual ssize_t read(void *buffer, size_t count);
|
/frameworks/av/media/img_utils/include/img_utils/ |
H A D | ByteArrayOutput.h | 49 * 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 D | FileInput.h | 52 * 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 D | FileOutput.h | 35 virtual status_t write(const uint8_t* buf, size_t offset, size_t count);
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
H A D | ton_stab.h | 95 Word16 count; member in struct:__anon423
|
/frameworks/base/core/java/com/android/internal/util/ |
H A D | ProcFileReader.java | 75 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 D | AssetAtlas.cpp | 30 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; ) {
|