Searched defs:count (Results 276 - 300 of 430) sorted by relevance

<<1112131415161718

/frameworks/base/media/mca/filterfw/java/android/filterfw/core/
H A DShaderProgram.java222 public void setVertexCount(int count) { argument
223 if (!setShaderVertexCount(count)) {
224 throw new RuntimeException("Could not set GL vertex count to " + count + "!");
/frameworks/base/packages/WallpaperCropper/src/com/android/gallery3d/exif/
H A DExifTag.java94 // If tag has defined count
96 // Actual data count in tag (should be number of elements in value array)
201 * Gets the component count of this tag.
210 * Sets the component count of this tag. Call this function before
211 * setValue() if the length of value does not match the component count.
213 protected void forceSetComponentCount(int count) { argument
214 mComponentCountActual = count;
232 * <li>The value.length does NOT match the component count in the definition
267 * <li>The component count in the definition of this tag is not 1.</li>
282 * <li>The value.length does NOT match the component count i
882 checkBadComponentCount(int count) argument
[all...]
/frameworks/base/rs/java/android/renderscript/
H A DMesh.java607 private void makeSpace(int count) { argument
608 if ((mVtxCount + count) >= mVtxData.length) {
757 throw new IllegalStateException("Index provided greater than vertex count.");
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DFilter.java473 * @param count the minimum number of frames required to process.
478 protected final void setMinimumAvailableInputs(int count) { argument
479 mMinimumAvailableInputs = count;
499 * @param count the minimum number of frames required to process.
504 protected final void setMinimumAvailableOutputs(int count) { argument
505 mMinimumAvailableOutputs = count;
/frameworks/base/tools/aapt/
H A DZipFile.cpp177 int count = mEntries.size(); local
179 while (--count >= 0)
180 delete mEntries[count];
649 size_t count; local
654 count = fread(tmpBuf, 1, sizeof(tmpBuf), srcFp);
657 if (count == 0)
660 *pCRC32 = crc32(*pCRC32, tmpBuf, count);
662 if (fwrite(tmpBuf, 1, count, dstFp) != count) {
663 ALOGD("fwrite %d bytes failed\n", (int) count);
679 size_t count; local
705 size_t count; local
901 int i, count; local
953 int i, count; local
[all...]
/frameworks/compile/mclinker/lib/LD/
H A DELFObjectWriter.cpp191 // getOutputSize - count the final output size
684 uint64_t count = size / align_frag.getValueSize(); local
689 count);
/frameworks/compile/mclinker/lib/Target/ARM/
H A DARMLDBackend.cpp382 uint64_t count = size / align_frag.getValueSize(); local
385 std::memset(out_offset, align_frag.getValue(), count);
/frameworks/native/cmds/installd/
H A Dinstalld.c189 static int readx(int s, void *_buf, int count) argument
193 if (count < 0) return -1;
194 while (n < count) {
195 r = read(s, buf + n, count - n);
210 static int writex(int s, const void *_buf, int count) argument
214 if (count < 0) return -1;
215 while (n < count) {
216 r = write(s, buf + n, count - n);
238 unsigned short count; local
281 count
664 int lsocket, s, count; local
712 unsigned short count; local
[all...]
/frameworks/native/libs/input/
H A DInput.cpp109 uint32_t count = BitSet64::count(bits); local
110 if (count >= MAX_AXES) {
115 for (uint32_t i = count; i > index; i--) {
151 uint32_t count = BitSet64::count(bits); local
152 if (count > MAX_AXES) {
156 for (uint32_t i = 0; i < count; i++) {
165 uint32_t count = BitSet64::count(bit local
182 uint32_t count = BitSet64::count(bits); local
193 uint32_t count = BitSet64::count(bits); local
[all...]
H A DVelocityTracker.cpp221 while (idBits.count() > MAX_POINTERS) {
385 uint32_t count = idBits.count(); local
386 for (uint32_t i = 0; i < count; i++) {
841 uint32_t count = idBits.count(); local
842 for (uint32_t i = 0; i < count; i++) {
/frameworks/native/libs/ui/
H A DRegion.cpp714 size_t count = reg.mStorage.size(); local
716 while (count) {
719 count--;
755 size_t count = size / sizeof(Rect); local
756 if (count > 0) {
758 ssize_t err = result.mStorage.insertAt(0, count);
762 memcpy(result.mStorage.editArray(), rects, count*sizeof(Rect));
788 Rect const* Region::getArray(size_t* count) const {
791 if (count) *count
[all...]
/frameworks/native/services/surfaceflinger/
H A DDispSync.cpp392 void DispSync::setRefreshSkipCount(int count) { argument
394 ALOGD("setRefreshSkipCount(%d)", count);
395 mRefreshSkipCount = count;
H A DDisplayDevice.cpp300 size_t count = layers.size(); local
301 for (size_t i=0 ; i<count ; i++) {
/frameworks/native/services/surfaceflinger/RenderEngine/
H A DRenderEngine.cpp241 void RenderEngine::genTextures(size_t count, uint32_t* names) { argument
242 glGenTextures(count, names);
245 void RenderEngine::deleteTextures(size_t count, uint32_t const* names) { argument
246 glDeleteTextures(count, names);
/frameworks/support/v7/recyclerview/src/android/support/v7/widget/
H A DGridLayoutManager.java336 int count = 0;
344 while (count < mSpanCount && layoutState.hasMore(state) && remainingSpan > 0) {
361 mSet[count] = view;
362 count++;
365 if (count == 0) {
373 assignSpans(recycler, state, count, consumedSpanCount, layingOutInPrimaryDirection);
374 for (int i = 0; i < count; i++) {
407 for (int i = 0; i < count; i ++) {
441 for (int i = 0; i < count; i++) {
500 private void assignSpans(RecyclerView.Recycler recycler, RecyclerView.State state, int count, argument
[all...]
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/
H A DDefaultItemAnimatorTest.java199 public void cancelBefore(int count, final RecyclerView.ViewHolder... toCancel) argument
201 cancelTest(true, count, toCancel);
204 public void cancelAfter(int count, final RecyclerView.ViewHolder... toCancel) argument
206 cancelTest(false, count, toCancel);
209 public void cancelTest(boolean before, int count, final RecyclerView.ViewHolder... toCancel) throws Throwable { argument
212 runAndWait(count, 1);
214 runAndWait(count, 1, new ThrowingRunnable() {
390 private Adapter(int count) { argument
392 for (int i = 0; i < count; i++) {
H A DLinearLayoutManagerTest.java423 assertEquals("Children count should add up", childCount.get(),
434 assertEquals("Children count should add up", childCount.get(),
914 public void expectLayouts(int count) { argument
915 layoutLatch = new CountDownLatch(count);
H A DOpReorderTest.java60 public void setup(int count) { argument
61 itemCount = count;
265 UpdateOp rm(int start, int count) { argument
266 updatedItemCount -= count;
267 return record(new UpdateOp(REMOVE, start, count));
274 UpdateOp add(int start, int count) { argument
275 updatedItemCount += count;
276 return record(new UpdateOp(ADD, start, count));
279 UpdateOp up(int start, int count) { argument
280 return record(new UpdateOp(UPDATE, start, count));
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DAllocation.java648 int count = data_length / eSize;
649 if ((eSize * count) != data_length) {
653 copy1DRangeFromUnchecked(xoff, count, data);
687 private void data1DChecks(int off, int count, int len, int dataSize) { argument
692 if(count < 1) {
695 if((off + count) > mCurrentCount) {
696 throw new RSIllegalArgumentException("Overflow, Available count " + mCurrentCount +
697 ", got " + count + " at offset " + off + ".");
723 * @param count The number of elements to be copied.
726 public void copy1DRangeFromUnchecked(int off, int count, in argument
739 copy1DRangeFromUnchecked(int off, int count, short[] d) argument
752 copy1DRangeFromUnchecked(int off, int count, byte[] d) argument
765 copy1DRangeFromUnchecked(int off, int count, float[] d) argument
780 copy1DRangeFrom(int off, int count, int[] d) argument
794 copy1DRangeFrom(int off, int count, short[] d) argument
808 copy1DRangeFrom(int off, int count, byte[] d) argument
822 copy1DRangeFrom(int off, int count, float[] d) argument
836 copy1DRangeFrom(int off, int count, Allocation data, int dataOff) argument
1264 createSized(RenderScript rs, Element e, int count, int usage) argument
1291 createSized(RenderScript rs, Element e, int count) argument
[all...]
/frameworks/wilhelm/include/SLES/
H A DOpenSLES_Android.h206 SLuint32 count; member in struct:SLAndroidSimpleBufferQueueState_
275 SLuint32 count; member in struct:SLAndroidBufferQueueState_
/frameworks/wilhelm/tests/sandbox/
H A Dplaybq.c104 ssize_t count = pipeReader->read(buffer, framesPerBuffer, (int64_t) -1); local
106 if (0 >= count) {
108 count = framesPerBuffer;
111 if (count > 0) {
112 SLuint32 nbytes = count * sfframesize;
138 sf_count_t count; local
142 count = sf_readf_float(sndfile, (float *) temp, READ_FRAMES);
146 count = sf_readf_int(sndfile, (int *) temp, READ_FRAMES);
150 count = sf_readf_short(sndfile, (short *) temp, READ_FRAMES);
153 count
505 sf_count_t count; local
[all...]
H A Dplaybq.cpp104 ssize_t count = pipeReader->read(buffer, framesPerBuffer, (int64_t) -1); local
106 if (0 >= count) {
108 count = framesPerBuffer;
111 if (count > 0) {
112 SLuint32 nbytes = count * sfframesize;
138 sf_count_t count; local
142 count = sf_readf_float(sndfile, (float *) temp, READ_FRAMES);
146 count = sf_readf_int(sndfile, (int *) temp, READ_FRAMES);
150 count = sf_readf_short(sndfile, (short *) temp, READ_FRAMES);
153 count
505 sf_count_t count; local
[all...]
H A Dreverb.c322 SLuint32 count = 0; local
324 mix_req[count] = SL_BOOLEAN_TRUE;
325 mix_ids[count++] = SL_IID_PRESETREVERB;
328 mix_req[count] = SL_BOOLEAN_TRUE;
329 mix_ids[count++] = SL_IID_ENVIRONMENTALREVERB;
332 result = (*engineEngine)->CreateOutputMix(engineEngine, &mixObject, count, mix_ids, mix_req);
409 count = 0;
411 player_req[count] = SL_BOOLEAN_TRUE;
412 player_ids[count++] = SL_IID_PRESETREVERB;
415 player_req[count]
[all...]
/frameworks/av/camera/tests/
H A DProCameraTests.cpp445 static bool ExistsItem(T needle, T* array, size_t count) { argument
450 for (size_t i = 0; i < count; ++i) {
484 void createSubmitRequestForStreams(int32_t* streamIds, size_t count, int requestCount=-1) { argument
487 ASSERT_LT(0u, count);
498 request.update(tag, streamIds, count);
529 entry.data.i32, entry.count));
531 entry.data.i32, entry.count));
634 /*count*/1));
977 ASSERT_NO_FATAL_FAILURE(createSubmitRequestForStreams(streams, /*count*/1));
1005 ASSERT_NO_FATAL_FAILURE(createSubmitRequestForStreams(streams, /*count*/
[all...]
/frameworks/av/media/libeffects/testlibs/
H A DEffectReverb.c222 size_t count = inBuffer->frameCount; local
224 count *= 2;
225 while (count--) {
229 while (count--) {
1331 // Convert milliseconds to sample count => m_nEarlyDelay
1375 // Convert milliseconds to sample count => m_nDelay1Out + m_nMaxExcursion

Completed in 352 milliseconds

<<1112131415161718