/frameworks/wilhelm/include/OMXAL/ |
H A D | OpenMAXAL_Android.h | 95 XAuint32 count; member in struct:XAAndroidBufferQueueState_
|
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES.h | 1381 SLuint32 count; member in struct:SLBufferQueueState_
|
H A D | OpenSLES_Android.h | 64 // corresponding to the maximum channel count (currently FCC_8). 241 SLuint32 count; member in struct:SLAndroidSimpleBufferQueueState_ 310 SLuint32 count; member in struct:SLAndroidBufferQueueState_
|
/frameworks/wilhelm/src/ |
H A D | data.c | 444 // We can derive the channel mask from the channel count, 453 "requested speaker count of %u", pDataFormat->mPCM.numChannels); 458 "speaker count of %u", 465 SLuint32 count = sles_channel_count_from_mask(mask); local 466 if (count != pDataFormat->mPCM.numChannels) { 471 count);
|
H A D | entry.c | 89 // if an engine already exists, then increment its ref count 188 SLuint32 count = 0; local 197 ++count; 206 *pNumSupportedInterfaces = count;
|
/frameworks/wilhelm/src/desktop/ |
H A D | SndFile.c | 46 sf_count_t count; local 47 count = sf_read_short(thiz->mSNDFILE, pBuffer, (sf_count_t) SndFile_BUFSIZE); 75 if (0 < count) { 77 SLuint32 size = (SLuint32) (count * sizeof(short)); 194 SLboolean empty = 0 == audioPlayer->mBufferQueue.mState.count;
|
/frameworks/wilhelm/src/itf/ |
H A D | IEngine.c | 288 // copy the buffer queue count from source locator (for playback) / from the 453 // always PCM buffer queue, so we know the channel count and sample rate early. 797 SLuint32 count = 0; local 806 ++count; 815 *pNumSupportedInterfaces = count;
|
H A D | IMetadataTraversal.c | 55 SLuint32 count = thiz->mCount; local 57 *pCount = count;
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | intbufq.c | 171 uintptr_t count = 0; local 182 count = count * 10 + (ch - '0'); 184 count = ch - '0'; 203 expectedContext = (void *) count; 216 for (i = 0; i < (in_count ? count : 1); ++i) { 227 if (bufqstate.count != 0) 228 printf("\rcount=%u\r\n", (unsigned) bufqstate.count); 239 printf("count=%u\r\n", (unsigned) bufqstate.count); [all...] |
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...] |
H A D | reverb.c | 322 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/wilhelm/tools/permute/ |
H A D | permute.c | 243 sf_count_t count; local 244 count = sf_readf_short(sf_in, ptr, sfinfo_in.frames); 245 if (count != sfinfo_in.frames) { 247 (int) sfinfo_in.frames, (int) count); 270 count = sf_writef_short(sf_out, &((short *) ptr)[sfinfo_in.channels * s.mSegmentArray[i] 272 if (count != s.mSegmentArray[i].mFrameLength) { 274 path_out, (int) s.mSegmentArray[i].mFrameLength, (int) count);
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ArrayObjectAdapter.java | 76 * @param itemCount The count of how many items have changed. 151 * @param count The number of items to remove. 154 public int removeItems(int position, int count) { argument 155 int itemsToRemove = Math.min(count, mItems.size() - position);
|
H A D | CursorObjectAdapter.java | 180 * Removes {@code count} items starting at {@code index}. 182 protected final void invalidateCache(int index, int count) { argument 183 for (int limit = count + index; index < limit; index++) {
|
/frameworks/support/v17/tests/src/android/support/v17/leanback/widget/ |
H A D | GridWidgetTest.java | 334 protected void verifyBoundCount(int count) { argument 335 if (mActivity.getBoundCount() != count) { 341 assertEquals("Bound count does not match, ItemsLengths: "+ b, 342 count, mActivity.getBoundCount());
|
/frameworks/support/v4/java/android/support/v4/text/ |
H A D | TextDirectionHeuristicCompat.java | 28 * @param count the length to check, must not be negative and not greater than 33 boolean isRtl(char[] array, int start, int count); argument 40 * @param count the length to check, must not be negative and not greater than 45 boolean isRtl(CharSequence cs, int start, int count); argument
|
H A D | TextDirectionHeuristicsCompat.java | 124 public boolean isRtl(char[] array, int start, int count) { argument 125 return isRtl(CharBuffer.wrap(array), start, count); 129 public boolean isRtl(CharSequence cs, int start, int count) { argument 130 if (cs == null || start < 0 || count < 0 || cs.length() - count < start) { 136 return doCheck(cs, start, count); 139 private boolean doCheck(CharSequence cs, int start, int count) { argument 140 switch(mAlgorithm.checkRtl(cs, start, count)) { 173 int checkRtl(CharSequence cs, int start, int count); argument 182 public int checkRtl(CharSequence cs, int start, int count) { argument 205 checkRtl(CharSequence cs, int start, int count) argument [all...] |
/frameworks/support/v4/java/android/support/v4/util/ |
H A D | LogWriter.java | 51 @Override public void write(char[] buf, int offset, int count) { argument 52 for(int i = 0; i < count; i++) {
|
/frameworks/support/v4/tests/java/android/support/v4/view/ |
H A D | ViewPropertyAnimatorCompatTest.java | 124 void waitAndCheckCallCount(final int count) throws InterruptedException { argument 126 while (mNumListenerCalls != count) {
|
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | LinearLayoutCompat.java | 289 final int count = getVirtualChildCount(); 290 for (int i = 0; i < count; i++) { 302 if (hasDividerBeforeChildAt(count)) { 303 final View child = getVirtualChildAt(count - 1); 316 final int count = getVirtualChildCount(); 318 for (int i = 0; i < count; i++) { 335 if (hasDividerBeforeChildAt(count)) { 336 final View child = getVirtualChildAt(count - 1); 596 final int count = getVirtualChildCount(); 610 for (int i = 0; i < count; 886 forceUniformWidth(int count, int heightMeasureSpec) argument 1307 forceUniformHeight(int count, int widthMeasureSpec) argument [all...] |
/frameworks/support/v7/gridlayout/src/android/support/v7/widget/ |
H A D | GridLayout.java | 713 private static int clip(Interval minorRange, boolean minorWasDefined, int count) { argument 715 if (count == 0) { 718 int min = minorWasDefined ? min(minorRange.min, count) : 0; 719 return min(size, count - min); 726 final int count = (axis.definedCount != UNDEFINED) ? axis.definedCount : 0; 730 int[] maxSizes = new int[count]; 746 final int minorSpan = clip(minorRange, minorWasDefined, count); 751 if (count != 0) { 758 if (minor + minorSpan <= count) { 813 int count 1162 setCount(int count) argument [all...] |
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/util/ |
H A D | SortedListAdapterCallbackWrapperTest.java | 48 public void onInserted(int position, int count) { 51 lastReceivedCount = count; 55 public void onRemoved(int position, int count) { 58 lastReceivedCount = count; 69 public void onChanged(int position, int count) { 72 lastReceivedCount = count; 300 private void assertLast(int type, int position, int count) throws Throwable { argument 306 if (count >= 0) { 307 assertEquals(lastReceivedCount, count); 310 throw new Throwable("last event: expected=" + log(type, position, count) 316 assertPending(int type, int position, int count) argument 332 log(int type, int position, int count) argument [all...] |
H A D | SortedListTest.java | 56 public abstract void onInserted(int position, int count); argument 60 public abstract void onChanged(int position, int count); argument 74 public void onInserted(int position, int count) { 75 mAdditions.add(new Pair(position, count)); 77 mInsertedCallback.onInserted(position, count); 82 public void onRemoved(int position, int count) { 83 mRemovals.add(new Pair(position, count)); 92 public void onChanged(int position, int count) { 93 mUpdates.add(new Pair(position, count)); 95 mChangedCallback.onChanged(position, count); [all...] |
/frameworks/support/v7/recyclerview/jvm-tests/src/android/support/v7/widget/ |
H A D | AdapterHelperTest.java | 196 void setupBasic(int count, int visibleStart, int visibleCount) { argument 198 log("setupBasic(" + count + "," + visibleStart + "," + visibleCount + ");"); 200 mTestAdapter = new TestAdapter(count, mAdapterHelper); 861 final int count = 10;// + nextInt(random,100); 862 final int start = nextInt(random, count - 1); 863 final int layoutCount = Math.max(1, nextInt(random, count - start)); 864 setupBasic(count, start, layoutCount); 978 AdapterHelper.UpdateOp op(int cmd, int start, int count) { argument 979 return new AdapterHelper.UpdateOp(cmd, start, count, null); 982 AdapterHelper.UpdateOp op(int cmd, int start, int count, Objec argument 986 addOp(int start, int count) argument 990 rmOp(int start, int count) argument 994 upOp(int start, int count, Object payload) argument 998 add(int start, int count) argument 1021 rm(int start, int count) argument 1034 up(int start, int count) argument 1041 up(int start, int count, Object payload) argument 1065 add(int index, int count) argument 1083 remove(int index, int count) argument 1092 update(int index, int count) argument 1096 update(int index, int count, Object payload) argument [all...] |