/frameworks/rs/ |
H A D | rsElement.h | 117 static ObjectBaseRef<const Element> createRef(Context *rsc, size_t count, 132 static const Element* create(Context *rsc, size_t count, argument 137 ObjectBaseRef<const Element> elem = createRef(rsc, count, ein, nin, lengths, asin);
|
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsElement.cpp | 254 ObjectBaseRef<const Element> Element::createRef(Context *rsc, size_t count, const Element **ein, argument 262 if (ee->getFieldCount() == count) { 264 for (uint32_t i=0; i < count; i++) { 284 e->mFields = new ElementField_t [count]; 285 e->mFieldCount = count; 286 for (size_t ct=0; ct < count; ct++) {
|
H A D | rsElement.h | 117 static ObjectBaseRef<const Element> createRef(Context *rsc, size_t count, 132 static const Element* create(Context *rsc, size_t count, argument 137 ObjectBaseRef<const Element> elem = createRef(rsc, count, ein, nin, lengths, asin);
|
/frameworks/wilhelm/include/SLES/ |
H A D | OpenSLES_Android.h | 184 SLuint32 count; member in struct:SLAndroidSimpleBufferQueueState_ 253 SLuint32 count; member in struct:SLAndroidBufferQueueState_
|
/frameworks/wilhelm/tests/sandbox/ |
H A D | playbq.c | 81 sf_count_t count; local 82 count = sf_readf_short(sndfile, buffer, (sf_count_t) framesPerBuffer); 83 if (0 >= count) { 86 SLuint32 nbytes = count * sfinfo.channels * sizeof(short); 197 fprintf(stderr, "unsupported channel count %d\n", sfinfo.channels); 379 sf_count_t count; local 380 count = sf_readf_short(sndfile, buffer, frames); 381 if (0 >= count) { 387 SLuint32 nbytes = count * sfinfo.channels * sizeof(short); 421 if (0 >= bufqstate.count) { [all...] |
/frameworks/av/media/libmedia/ |
H A D | IAudioPolicyService.cpp | 344 uint32_t *count) 346 if (descriptors == NULL || count == NULL) { 352 data.writeInt32(*count); 360 uint32_t numDesc = (retCount < *count) ? retCount : *count; 363 *count = retCount; 615 uint32_t count = data.readInt32(); local 616 uint32_t retCount = count; 618 (effect_descriptor_t *)new char[count * sizeof(effect_descriptor_t)]; 626 if (retCount < count) { 342 queryDefaultPreProcessing(int audioSession, effect_descriptor_t *descriptors, uint32_t *count) argument [all...] |
H A D | SoundPool.cpp | 523 ALOGE("Sample channel count (%d) out of range", numChannels); 728 size_t count = 0; local 732 count = sample->size() - mPos; 733 if (count > b->size) { 734 count = b->size; 736 memcpy(q, p, count); 737 // ALOGV("fill: q=%p, p=%p, mPos=%u, b->size=%u, count=%d", q, p, mPos, b->size, count); 739 count = mAudioBufferSize - mPos; 740 if (count > [all...] |
/frameworks/av/media/libstagefright/codecs/m4v_h263/dec/src/ |
H A D | pvdec_api.cpp | 930 int count = 0; local 939 if ((count > 1) && (*ptr == 0x01)) 946 count = 0; 948 count++; 965 int count = 0; local 975 if ((count > 1) && ((*ptr & 0xFC) == 0x80)) 982 count = 0; 984 count++;
|
/frameworks/av/media/libstagefright/codecs/m4v_h263/enc/src/ |
H A D | motion_comp.cpp | 1909 Int i, j, count = 0, count1 = 0; local 1916 mb[0][count] = (Int)(*c_prev++); 1917 mb[4][count] = (Int)(*c_prev_u++); 1918 mb[5][count++] = (Int)(*c_prev_v++); 1931 count = count1 = 0; 1935 mb[2][count++] = (Int)(*c_prev++);
|
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/arm_neon/vc/m4p10/src/ |
H A D | omxVCM4P10_PredictIntra_16x16_s.s | 54 count RN 11 label 243 MOV count, #0 ;// count = 0 268 ADD count, count, #1 278 ADD count, count, #1 ;// if upper inc count by 1 286 CMP count, #2 ;// check if both available 294 CMP count, # [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | MyTransmitter.h | 958 size_t count = 4 - (offset % 4); local 959 switch (count) {
|
/frameworks/av/media/libstagefright/wifi-display/sink/ |
H A D | RTPSink.cpp | 137 // Sequence number wrapped - count another 64K cycle 707 size_t count = 4 - (offset % 4); local 708 switch (count) {
|
/frameworks/av/media/libstagefright/wifi-display/source/ |
H A D | Sender.cpp | 765 size_t count = 4 - (offset % 4); local 766 switch (count) {
|
/frameworks/av/media/mtp/ |
H A D | MtpDevice.cpp | 211 int count = mDeviceInfo->mDeviceProperties->size(); local 212 for (int i = 0; i < count; i++) { 236 int count = mDeviceInfo->mDeviceProperties->size(); local 237 for (int i = 0; i < count; i++) { 250 int count = mDeviceInfo->mPlaybackFormats->size(); local 251 for (int i = 0; i < count; i++) { 472 int count = read(srcFD, buffer, sizeof(buffer)); local 473 if (count > 0) { 474 int written = mData.write(mRequestOut, buffer, count); 476 remaining -= count; [all...] |
/frameworks/base/cmds/bootanimation/ |
H A D | BootAnimation.cpp | 417 int fps, width, height, count, pause; local 426 else if (sscanf(l, " %c %d %d %s", &pathType, &count, &pause, path) == 4) { 427 //LOGD("> type=%c, count=%d, pause=%d, path=%s", pathType, count, pause, path); 430 part.count = count; 502 for (int r=0 ; !part.count || r<part.count ; r++) { 514 if (part.count != 1) { 561 if(exitPending() && !part.count) [all...] |
/frameworks/base/core/java/android/view/ |
H A D | GLES20RecordingCanvas.java | 173 public void drawLines(float[] pts, int offset, int count, Paint paint) { argument 174 super.drawLines(pts, offset, count, paint); 209 public void drawPoints(float[] pts, int offset, int count, Paint paint) { argument 210 super.drawPoints(pts, offset, count, paint); 221 public void drawPosText(char[] text, int index, int count, float[] pos, Paint paint) { argument 222 super.drawPosText(text, index, count, pos, paint); 245 public void drawText(char[] text, int index, int count, float x, float y, Paint paint) { argument 246 super.drawText(text, index, count, x, y, paint); 269 public void drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, argument 271 super.drawTextOnPath(text, index, count, pat 282 drawTextRun(char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, int dir, Paint paint) argument [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
H A D | IconMenuView.java | 64 /** Actual number of items (the 'More' view does not count as an item) shown */ 501 void setNumActualItemsShown(int count) { argument 502 mNumActualItemsShown = count;
|
/frameworks/base/core/jni/android/graphics/ |
H A D | Bitmap.cpp | 397 int count = p->readInt32();
local 398 if (count > 0) {
399 size_t size = count * sizeof(SkPMColor);
401 ctable = new SkColorTable(src, count);
453 int count = ctable->count();
local 454 p->writeInt32(count);
455 memcpy(p->writeInplace(count * sizeof(SkPMColor)),
456 ctable->lockColors(), count * sizeof(SkPMColor));
628 if (ct0->count() ! [all...] |
H A D | Shader.cpp | 118 size_t count = env->GetArrayLength(colorArray); local 121 SkAutoSTMalloc<8, SkScalar> storage(posArray ? count : 0); 125 AutoJavaFloatArray autoPos(env, posArray, count); 128 for (size_t i = 0; i < count; i++) { 135 pos, count, 147 size_t count = env->GetArrayLength(colorArray); local 156 size_t stopCount = count; 160 AutoJavaFloatArray autoPos(env, posArray, count); 164 missLast = posValues[count - 1] != 1.0f; 173 for (size_t i = missFirst; i < count 265 size_t count = env->GetArrayLength(colorArray); local 309 size_t count = env->GetArrayLength(colorArray); local 369 size_t count = env->GetArrayLength(jcolors); local 408 size_t count = env->GetArrayLength(colorArray); local [all...] |
/frameworks/base/graphics/java/android/renderscript/ |
H A D | Allocation.java | 582 int count = data.length / eSize; 583 if ((eSize * count) != data.length) { 587 copy1DRangeFromUnchecked(xoff, count, data); 620 private void data1DChecks(int off, int count, int len, int dataSize) { argument 625 if(count < 1) { 628 if((off + count) > mCurrentCount) { 629 throw new RSIllegalArgumentException("Overflow, Available count " + mCurrentCount + 630 ", got " + count + " at offset " + off + "."); 657 * @param count The number of elements to be copied. 660 public void copy1DRangeFromUnchecked(int off, int count, in argument 674 copy1DRangeFromUnchecked(int off, int count, short[] d) argument 688 copy1DRangeFromUnchecked(int off, int count, byte[] d) argument 702 copy1DRangeFromUnchecked(int off, int count, float[] d) argument 717 copy1DRangeFrom(int off, int count, int[] d) argument 731 copy1DRangeFrom(int off, int count, short[] d) argument 745 copy1DRangeFrom(int off, int count, byte[] d) argument 759 copy1DRangeFrom(int off, int count, float[] d) argument 773 copy1DRangeFrom(int off, int count, Allocation data, int dataOff) argument 1066 createSized(RenderScript rs, Element e, int count, int usage) argument 1090 createSized(RenderScript rs, Element e, int count) argument [all...] |
H A D | Mesh.java | 608 private void makeSpace(int count) { argument 609 if ((mVtxCount + count) >= mVtxData.length) { 758 throw new IllegalStateException("Index provided greater than vertex count.");
|
/frameworks/base/libs/androidfw/ |
H A D | Input.cpp | 182 uint32_t count = __builtin_popcountll(bits); local 183 if (count >= MAX_AXES) { 188 for (uint32_t i = count; i > index; i--) { 218 uint32_t count = __builtin_popcountll(bits); local 219 if (count > MAX_AXES) { 223 for (uint32_t i = 0; i < count; i++) { 232 uint32_t count = __builtin_popcountll(bits); local 233 for (uint32_t i = 0; i < count; i++) { 249 uint32_t count = __builtin_popcountll(bits); local 250 for (uint32_t i = 0; i < count; 260 uint32_t count = __builtin_popcountll(bits); local [all...] |
H A D | VelocityTracker.cpp | 222 while (idBits.count() > MAX_POINTERS) { 386 uint32_t count = idBits.count(); local 387 for (uint32_t i = 0; i < count; i++) { 842 uint32_t count = idBits.count(); local 843 for (uint32_t i = 0; i < count; i++) {
|
/frameworks/base/services/java/com/android/server/am/ |
H A D | UsageStatsService.java | 126 int count; field in class:UsageStatsService.TimeStats 133 count++; 148 count = in.readInt(); 156 out.writeInt(count); 180 if (localLOGV) Slog.v(TAG, "Launch count: " + mLaunchCount 448 int count = fileList.size(); 449 if (count <= MAX_NUM_FILES) { 454 count -= MAX_NUM_FILES; 456 for (int i = 0; i < count; i++) { 942 sb.append(times.count); [all...] |
/frameworks/base/tools/aapt/ |
H A D | ZipFile.cpp | 177 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...] |