/frameworks/native/services/surfaceflinger/ |
H A D | Client.cpp | 44 const size_t count = mLayers.size(); local 45 for (size_t i=0 ; i<count ; i++) { 69 const size_t count = mLayers.size(); local 70 for (size_t i=0 ; i<count ; i++) {
|
/frameworks/opt/mailcommon/tests/src/com/android/mailcommon/ |
H A D | MergedAdapterTest.java | 42 public TestAdapter(int count) { argument 43 mCount = count; 51 public void setCount(int count) { argument 52 mCount = count;
|
/frameworks/rs/ |
H A D | rsAdapter.cpp | 40 void Adapter1D::data(Context *rsc, uint32_t x, uint32_t count, const void *data, size_t sizeBytes) { argument 41 mAllocation->data(rsc, x, mY, mLOD, mFace, count, 1, data, sizeBytes);
|
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/ |
H A D | AllocationAdapter.java | 53 public void subData1D(int off, int count, int[] d) { argument 54 super.copy1DRangeFrom(off, count, d); 59 public void subData1D(int off, int count, short[] d) { argument 60 super.copy1DRangeFrom(off, count, d); 65 public void subData1D(int off, int count, byte[] d) { argument 66 super.copy1DRangeFrom(off, count, d); 71 public void subData1D(int off, int count, float[] d) { argument 72 super.copy1DRangeFrom(off, count, d);
|
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsAdapter.cpp | 40 void Adapter1D::data(Context *rsc, uint32_t x, uint32_t count, const void *data, size_t sizeBytes) { argument 41 mAllocation->data(rsc, x, mY, mLOD, mFace, count, 1, data, sizeBytes);
|
/frameworks/support/volley/tests/src/com/android/volley/ |
H A D | RequestQueueTest.java | 51 * @param count Number of requests to make 53 private List<MockRequest> makeRequests(int count) { argument 58 for (int i = 0; i < count; i++) {
|
/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/base/media/jni/mediaeditor/ |
H A D | VideoEditorJava.h | 308 int count; member in struct:__anon21 325 int count; member in struct:__anon23 345 int count; member in struct:__anon26 509 int count, 523 int count,
|
/frameworks/base/native/android/ |
H A D | sensor.cpp | 124 ASensorEvent* events, size_t count) 126 return static_cast<SensorEventQueue*>(queue)->read(events, count); 123 ASensorEventQueue_getEvents(ASensorEventQueue* queue, ASensorEvent* events, size_t count) argument
|
/frameworks/av/media/libmedia/ |
H A D | JetPlayer.cpp | 162 EAS_I32 count; local 207 result = EAS_Render(mEasData, p, pLibConfig->mixBufferSize, &count); 211 p += count * pLibConfig->numChannels; 212 num_output += count * pLibConfig->numChannels * sizeof(EAS_PCM);
|
H A D | ToneGenerator.cpp | 1099 // Update pcm frame count and end time (current time at the end of this process) 1193 // Pre increment loop count and restart if total count not reached. Stop sequence otherwise 1518 // Description: Generates count samples of a sine wave and accumulates 1523 // count: number of samples to produce. 1531 unsigned int count, unsigned int command) { 1549 if (count == 0) { 1552 long dec = lAmplitude/count; 1554 while (count--) { 1565 while (count 1530 getSamples(short *outBuffer, unsigned int count, unsigned int command) argument [all...] |
/frameworks/av/media/libmediaplayerservice/ |
H A D | MidiFile.cpp | 434 EAS_I32 count; local 475 result = EAS_Render(mEasData, p, pLibConfig->mixBufferSize, &count); 479 p += count * pLibConfig->numChannels; 480 num_output += count * pLibConfig->numChannels * sizeof(EAS_PCM);
|
/frameworks/av/media/libnbaio/ |
H A D | MonoPipe.cpp | 96 ssize_t MonoPipe::write(const void *buffer, size_t count) argument 102 while (count > 0) { 106 if (CC_LIKELY(written > count)) { 107 written = count; 128 count -= written; 156 ns = count * (1350000000 / Format_sampleRate(mFormat));
|
/frameworks/av/media/libstagefright/ |
H A D | SurfaceMediaSource.cpp | 154 ALOGE("Failed to find the advertised buffer count"); 181 status_t SurfaceMediaSource::setMaxAcquiredBufferCount(size_t count) { argument 182 ALOGV("setMaxAcquiredBufferCount(%d)", count); 185 CHECK_GT(count, 1); 186 mMaxAcquiredBufferCount = count;
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/ |
H A D | omxVCM4P2_MotionEstimationMB.c | 280 OMX_INT intraSAD, average, count, index, x, y; local 319 for (y = 0, index = count = 0; y < 16; y++, index += srcCurrStep - 16) 321 for(x = 0; x < 16; x++, count++, index++) 323 pTempSrcCurrBuf[count] = pSrcCurrBuf[index]; 501 for (count = 0, average = 0; count < 256 ; count++) 503 average = average + pTempSrcCurrBuf[count]; 510 for (count = 0; count < 25 [all...] |
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/ |
H A D | H264SwDecApi.c | 86 void H264SwDecMemcpy(void *dest, void *src, u32 count) { argument 87 memcpy(dest, src, count); 90 void H264SwDecMemset(void *ptr, i32 value, u32 count) { argument 91 memset(ptr, value, count);
|
H A D | TestBenchMultipleInstance.c | 436 void H264SwDecMemcpy(void *dest, void *src, u32 count) argument 438 memcpy(dest, src, count); 446 void H264SwDecMemset(void *ptr, i32 value, u32 count) argument 448 memset(ptr, value, count);
|
/frameworks/av/services/camera/libcameraservice/camera2/ |
H A D | StreamingProcessor.cpp | 206 status_t StreamingProcessor::setRecordingBufferCount(size_t count) { argument 208 // 32 is the current upper limit on the video buffer count for BufferQueue 211 if (count > 32) { 212 ALOGE("%s: Camera %d: Error setting %d as video buffer count value", 213 __FUNCTION__, client->getCameraId(), count); 220 if (mRecordingHeapCount != count) { 225 mRecordingHeapCount = count;
|
/frameworks/base/cmds/installd/ |
H A D | installd.h | 92 size_t count; member in struct:__anon949
|
/frameworks/base/core/java/android/content/ |
H A D | ContentProviderOperation.java | 82 final int count = source.readInt(); 83 for (int i = 0; i < count; i++) { 205 * if the number of rows affected didn't match the expected count 370 backRefValue = backRef.count; 580 * this count {@link OperationApplicationException} will be throw. 584 public Builder withExpectedCount(int count) { argument 589 mExpectedCount = count;
|
/frameworks/base/core/java/android/content/res/ |
H A D | AssetFileDescriptor.java | 195 public int read(byte[] buffer, int offset, int count) throws IOException { argument 198 if (count > mRemaining) count = (int)mRemaining; 199 int res = super.read(buffer, offset, count); 204 return super.read(buffer, offset, count); 213 public long skip(long count) throws IOException { argument 216 if (count > mRemaining) count = mRemaining; 217 long res = super.skip(count); 222 return super.skip(count); 270 write(byte[] buffer, int offset, int count) argument [all...] |
/frameworks/base/core/java/android/os/ |
H A D | MemoryFile.java | 51 int srcOffset, int destOffset, int count, boolean isUnpinned) throws IOException; 53 int srcOffset, int destOffset, int count, boolean isUnpinned) throws IOException; 189 * @param count number of bytes to read. 193 public int readBytes(byte[] buffer, int srcOffset, int destOffset, int count) argument 198 if (destOffset < 0 || destOffset > buffer.length || count < 0 199 || count > buffer.length - destOffset 201 || count > mLength - srcOffset) { 204 return native_read(mFD, mAddress, buffer, srcOffset, destOffset, count, mAllowPurging); 214 * @param count number of bytes to write. 217 public void writeBytes(byte[] buffer, int srcOffset, int destOffset, int count) argument 50 native_read(FileDescriptor fd, int address, byte[] buffer, int srcOffset, int destOffset, int count, boolean isUnpinned) argument 52 native_write(FileDescriptor fd, int address, byte[] buffer, int srcOffset, int destOffset, int count, boolean isUnpinned) argument 298 read(byte buffer[], int offset, int count) argument 331 write(byte buffer[], int offset, int count) argument [all...] |
/frameworks/base/core/java/android/text/format/ |
H A D | DateFormat.java | 460 int count; 462 for (int i = 0; i < length; i += count) { 463 count = 1; 467 count = skipQuotedText(inFormat, i, length); 481 int count = 1; 489 count++; 498 count++; 502 return count; 515 int count; 519 for (int i = 0; i < len; i += count) { 611 getMonthString(Calendar inDate, int count, int kind) argument 629 getTimeZoneString(Calendar inDate, int count) argument 642 formatZoneOffset(int offset, int count) argument 661 getYearString(Calendar inDate, int count) argument [all...] |
/frameworks/base/core/java/android/text/method/ |
H A D | PasswordTransformationMethod.java | 72 int count, int after) { 77 int before, int count) { 104 if (count > 0) { 107 if (count == 1) { 108 sp.setSpan(new Visible(sp, this), start, start + count, 71 beforeTextChanged(CharSequence s, int start, int count, int after) argument 76 onTextChanged(CharSequence s, int start, int before, int count) argument
|
/frameworks/base/core/java/android/util/ |
H A D | Base64.java | 574 private int count; field in class:Base64.Encoder 592 count = do_newline ? LINE_GROUPS : -1; 608 int count = this.count; 650 if (--count == 0) { 653 count = LINE_GROUPS; 672 if (--count == 0) { 675 count = LINE_GROUPS; 714 } else if (do_newline && op > 0 && count != LINE_GROUPS) { 734 this.count [all...] |