/frameworks/base/core/jni/ |
H A D | android_view_Surface.cpp | 433 size_t count; local 434 Rect const* r = dirtyRegion.getArray(&count); 435 while (count) { 437 r++, count--;
|
/frameworks/base/icu4j/java/android/icu/text/ |
H A D | ArabicShaping.java | 971 int count) { 972 for (int i = start, e = start + count; i < e; ++i) { 977 return count; 982 int count) { 984 for (int i = start + count; --i >= start;) { 986 return start + count - 1 - i; 989 return count; 1178 int count = 0; 1181 count++; 1185 return count; 969 countSpacesLeft(char[] dest, int start, int count) argument 980 countSpacesRight(char[] dest, int start, int count) argument [all...] |
/frameworks/base/libs/androidfw/ |
H A D | InputTransport.cpp | 539 Batch& batch, size_t count, uint32_t* outSeq, InputEvent** outEvent) { 544 for (size_t i = 0; i < count; i++) { 558 batch.samples.removeItemsAt(0, count); 538 consumeSamples(InputEventFactoryInterface* factory, Batch& batch, size_t count, uint32_t* outSeq, InputEvent** outEvent) argument
|
/frameworks/base/libs/hwui/ |
H A D | ProgramCache.cpp | 432 size_t count = mCache.size(); local 433 for (size_t i = 0; i < count; i++) {
|
/frameworks/base/services/java/com/android/server/ |
H A D | AlarmManagerService.java | 104 int count; field in class:AlarmManagerService.FilterStats 501 pw.print(" Broadcast ref count: "); pw.println(mBroadcastRefCount); 513 pw.print(" "); pw.print(fe.getValue().count); 567 // phone was asleep or off, so pass a trigger count when sending them. 569 alarm.count = 1; 573 alarm.count += (now - alarm.when) / alarm.repeatInterval; 590 alarm.when += alarm.count * alarm.repeatInterval; 618 public int count; field in class:AlarmManagerService.Alarm 647 pw.print(" count="); pw.println(count); [all...] |
/frameworks/base/voip/jni/rtp/ |
H A D | AudioGroup.cpp | 394 int count = (BUFFER_SIZE - (mBufferTail - mBufferHead)) * mSampleRate; local 395 if (count < mSampleCount) { 403 int16_t samples[count]; 406 count = recv(mSocket, samples, sizeof(samples), 432 length = mCodec->decode(samples, count, &buffer[offset], length); 438 count = length; 440 if (count <= 0) { 462 for (int i = 0; i < count; ++i) { 723 int count = 0; local 732 ++count; [all...] |
/frameworks/base/wifi/java/android/net/wifi/ |
H A D | WifiWatchdogStateMachine.java | 978 * Bundle of good link count parameters 984 public GoodLinkTarget(int adj, int count, int time) { argument 986 SAMPLE_COUNT = count; 1162 + " count=" + mGoodLinkTargetCount); 1172 if (DBG) logd("New link verifying target set, rssi=" + mGoodLinkTargetRssi + " count="
|
/frameworks/ex/variablespeed/jni/ |
H A D | variablespeed.cc | 400 int count = GetTimeScaler()->RetrieveSamples( local 402 if (count <= 0) { 403 LOGD("error: count was %d", count); 406 frameCount += count; 423 int count = GetTimeScaler()->InjectSamples(injectBuffer_, framesToInject); local 424 if (count <= 0) { 425 LOGD("error: count was %d", count); 428 decodeBuffer_.AdvanceHeadPointerShorts(count * channel [all...] |
/frameworks/native/opengl/libagl/ |
H A D | array.cpp | 314 const GLvoid *pointer, const buffer_t* bo, GLsizei count) 334 this->bounds = count; 381 size_t count = VERTEX_BUFFER_SIZE + VERTEX_CACHE_SIZE; local 385 } while (--count); 392 size_t count = VERTEX_BUFFER_SIZE + VERTEX_CACHE_SIZE; local 396 } while (--count); 529 void drawPrimitivesPoints(ogles_context_t* c, GLint first, GLsizei count) argument 531 if (ggl_unlikely(count < 1)) 540 GLsizei num = count > vcs ? vcs : count; 312 init( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, const buffer_t* bo, GLsizei count) argument 560 drawPrimitivesLineStrip(ogles_context_t* c, GLint first, GLsizei count) argument 599 drawPrimitivesLineLoop(ogles_context_t* c, GLint first, GLsizei count) argument 614 drawPrimitivesLines(ogles_context_t* c, GLint first, GLsizei count) argument 646 drawPrimitivesTriangleFanOrStrip(ogles_context_t* c, GLint first, GLsizei count, int winding) argument 700 drawPrimitivesTriangleStrip(ogles_context_t* c, GLint first, GLsizei count) argument 705 drawPrimitivesTriangleFan(ogles_context_t* c, GLint first, GLsizei count) argument 710 drawPrimitivesTriangles(ogles_context_t* c, GLint first, GLsizei count) argument 760 drawIndexedPrimitivesPoints(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 777 drawIndexedPrimitivesLineStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 802 drawIndexedPrimitivesLineLoop(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 834 drawIndexedPrimitivesLines(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 856 drawIndexedPrimitivesTriangleFanOrStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices, int winding) argument 892 drawIndexedPrimitivesTriangleStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 897 drawIndexedPrimitivesTriangleFan(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 902 drawIndexedPrimitivesTriangles(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 961 compileElements__generic(ogles_context_t* c, vertex_t* v, GLint first, GLsizei count) argument 1341 glDrawArrays(GLenum mode, GLint first, GLsizei count) argument 1385 glDrawElements( GLenum mode, GLsizei count, GLenum type, const GLvoid *indices) argument [all...] |
H A D | primitives.cpp | 542 unsigned int count = clip_line(c, v0, v1); local 543 if (ggl_unlikely(count == 0))
|
/frameworks/native/opengl/libs/GLES_trace/src/ |
H A D | gltrace_fixup.cpp | 222 /* void glShaderSource(GLuint shader, GLsizei count, const GLchar** string, 228 GLsizei count = arg_count.intvalue(0); local 237 for (int i = 0; i < count; i++) { 251 /* void glUniform?iv(GLint location, GLsizei count, const GLint *value); */ 260 /* void glUniformMatrix?fv(GLint location, GLsizei count, GLboolean transpose, 546 void findMinAndMaxIndices(GLvoid *indices, GLsizei count, GLenum type, argument 556 for (GLsizei i = 0; i < count; i++) { 601 /* void glDrawArrays(GLenum mode, GLint first, GLsizei count) */ 602 GLsizei count = glmsg->args(2).intvalue(0); local 608 trace_VertexAttribPointerData(context, 0, count, tim 619 GLsizei count = glmsg->args(1).intvalue(0); local 663 GLsizei count = glmsg->args(1).intvalue(0); local [all...] |
/frameworks/native/opengl/tests/angeles/ |
H A D | demo.c | 85 GLsizei count; member in struct:__anon1486 123 result->count = vertices; 165 glDrawArrays(GL_TRIANGLES, 0, object->count); 339 result->count = currentVertex;
|
/frameworks/opt/calendar/src/com/android/calendarcommon2/ |
H A D | EventRecurrence.java | 53 public int count; field in class:EventRecurrence 296 int count, int[] values) 298 if (count > 0) { 300 count--; 301 for (int i=0; i<count; i++) { 305 s.append(values[count]); 356 if (this.count != 0) { 358 s.append(this.count); 376 int count = this.bydayCount; 377 if (count > 295 appendNumbers(StringBuilder s, String label, int count, int[] values) argument [all...] |
/frameworks/rs/ |
H A D | rsAllocation.cpp | 77 uint32_t count, const void *data, size_t sizeBytes) { 80 if ((count * eSize) != sizeBytes) { 82 (count * eSize), sizeBytes); 87 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); 114 uint32_t count, void *data, size_t sizeBytes) { 117 if ((count * eSize) != sizeBytes) { 119 (count * eSize), sizeBytes); 124 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes); 373 uint32_t count = dataSize / type->getElementSizeBytes(); local 375 alloc->data(rsc, 0, 0, count, strea 76 data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument 113 read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument 504 rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument [all...] |
/frameworks/support/renderscript/v8/rs_support/driver/ |
H A D | rsdRuntimeStubs.cpp | 89 uint32_t count, 93 rsrAllocationCopy1DRange(rsc, dstAlloc, dstOff, dstMip, count, 86 SC_AllocationCopy1DRange(Allocation *dstAlloc, uint32_t dstOff, uint32_t dstMip, uint32_t count, Allocation *srcAlloc, uint32_t srcOff, uint32_t srcMip) argument
|
/frameworks/support/renderscript/v8/rs_support/ |
H A D | rsAllocation.cpp | 72 uint32_t count, const void *data, size_t sizeBytes) { 75 if ((count * eSize) != sizeBytes) { 77 (count * eSize), sizeBytes); 82 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); 109 uint32_t count, void *data, size_t sizeBytes) { 112 if ((count * eSize) != sizeBytes) { 114 (count * eSize), sizeBytes); 119 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes); 354 uint32_t count = dataSize / type->getElementSizeBytes(); local 356 alloc->data(rsc, 0, 0, count, strea 71 data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument 108 read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument 442 rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IEngine.c | 287 // copy the buffer queue count from source locator (for playback) / from the 448 // always PCM buffer queue, so we know the channel count and sample rate early. 787 SLuint32 count = 0; local 796 ++count; 805 *pNumSupportedInterfaces = count;
|
/frameworks/base/media/jni/ |
H A D | android_mtp_MtpDatabase.cpp | 360 int count = env->GetIntField(list, field_mCount); local 361 if (result == MTP_RESPONSE_OK && count != 1) 661 int count = env->GetIntField(list, field_mCount); local 664 packet.putUInt32(count); 665 if (count > 0) { 677 for (int i = 0; i < count; i++) { 915 int count = sizeof(kObjectPropertyTable) / sizeof(kObjectPropertyTable[0]); local 917 for (int i = 0; i < count; i++, entry++) { 927 int count = sizeof(kDevicePropertyTable) / sizeof(kDevicePropertyTable[0]); local 929 for (int i = 0; i < count; 959 int count = references->size(); local [all...] |
/frameworks/base/media/mca/filterfw/native/core/ |
H A D | shader_program.cpp | 348 GLuint ShaderProgram::LinkProgram(GLuint* shaders, GLuint count) { argument 352 for (GLuint i = 0; i < count; ++i) { 662 // Here we return the minimum of the max uniform count for fragment and vertex 704 int count) { 709 if (count == 0) 722 if (!CheckValueCount("Uniform (int)", name, capacity, components, count) 723 || !CheckValueMult ("Uniform (int)", name, components, count)) 727 const int n = count / components; 755 int count) { 760 if (count 702 SetUniformValue(ProgramVar var, const int* values, int count) argument 753 SetUniformValue(ProgramVar var, const float* values, int count) argument 1117 SetVertexCount(int count) argument [all...] |
/frameworks/av/media/libstagefright/rtsp/ |
H A D | MyHandler.h | 237 size_t count = 4 - (offset % 4); local 238 switch (count) {
|
/frameworks/av/services/audioflinger/ |
H A D | AudioPolicyService.cpp | 500 uint32_t *count) 504 *count = 0; 517 *count = 0; 524 if (i < *count) { 528 if (effects.size() > *count) { 531 *count = effects.size(); 884 ssize_t i; // not size_t because i will count down to -1 498 queryDefaultPreProcessing(int audioSession, effect_descriptor_t *descriptors, uint32_t *count) argument
|
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | InputMethodService.java | 1784 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { argument 1785 return doMovementKey(keyCode, event, count); 1853 void reportExtractedMovement(int keyCode, int count) { argument 1857 dx = -count; 1860 dx = count; 1863 dy = -count; 1866 dy = count; 1872 boolean doMovementKey(int keyCode, KeyEvent event, int count) { argument 1883 if (count == MOVEMENT_DOWN) { 1889 } else if (count [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | CalendarView.java | 423 * @param count The shown week count. 427 public void setShownWeekCount(int count) { argument 428 if (mShownWeekCount != count) { 429 mShownWeekCount = count; 437 * @return The shown week count. 1032 for (int i = mFirstDayOfWeek, count = mFirstDayOfWeek + mDaysPerWeek; i < count; i++) { 1044 for (int i = 1, count = mDayNamesHeader.getChildCount(); i < count; [all...] |
H A D | ListView.java | 511 final int count = infos.size(); 513 for (int i = 0; i < count; i++) { 630 final int count = getChildCount(); 636 final int startOffset = count > 0 ? getChildAt(count - 1).getBottom() + mDividerHeight : 638 fillDown(mFirstPosition + count, startOffset); 645 final int startOffset = count > 0 ? getChildAt(0).getTop() - mDividerHeight : 2039 final int count = adapter.getCount(); 2043 while (position < count && !adapter.isEnabled(position)) { 2047 position = Math.min(position, count 2116 commonKey(int keyCode, int count, KeyEvent event) argument [all...] |
/frameworks/base/core/jni/android/graphics/ |
H A D | Canvas.cpp | 328 jint offset, jint count, jobject jpaint, 340 if ((offset | count) < 0 || offset + count > length) { 346 count >>= 1; // now it is the number of points 347 SkAutoSTMalloc<32, SkPoint> storage(count); 350 for (int i = 0; i < count; i++) { 354 canvas->drawPoints(mode, count, pts, paint); 358 jint offset, jint count, jobject jpaint) { 359 doPoints(env, jcanvas, jptsArray, offset, count, jpaint, 364 jint offset, jint count, jobjec 327 doPoints(JNIEnv* env, jobject jcanvas, jfloatArray jptsArray, jint offset, jint count, jobject jpaint, SkCanvas::PointMode mode) argument 357 drawPoints(JNIEnv* env, jobject jcanvas, jfloatArray jptsArray, jint offset, jint count, jobject jpaint) argument 363 drawLines(JNIEnv* env, jobject jcanvas, jfloatArray jptsArray, jint offset, jint count, jobject jpaint) argument 701 int count = ptCount; // for verts local 736 drawText___CIIFFIPaint(JNIEnv* env, jobject, SkCanvas* canvas, jcharArray text, int index, int count, jfloat x, jfloat y, int flags, SkPaint* paint) argument 757 jint count = end - start; local 761 drawTextWithGlyphs(SkCanvas* canvas, const jchar* textArray, int start, int count, int contextCount, jfloat x, jfloat y, int flags, SkPaint* paint) argument 819 doDrawGlyphs(SkCanvas* canvas, const jchar* glyphArray, int index, int count, jfloat x, jfloat y, int flags, SkPaint* paint) argument 825 doDrawGlyphsPos(SkCanvas* canvas, const jchar* glyphArray, const jfloat* posArray, int index, int count, jfloat x, jfloat y, int flags, SkPaint* paint) argument 836 drawTextRun___CIIIIFFIPaint( JNIEnv* env, jobject, SkCanvas* canvas, jcharArray text, int index, int count, int contextIndex, int contextCount, jfloat x, jfloat y, int dirFlags, SkPaint* paint) argument 852 jint count = end - start; local 860 drawPosText___CII_FPaint(JNIEnv* env, jobject, SkCanvas* canvas, jcharArray text, int index, int count, jfloatArray pos, SkPaint* paint) argument 917 drawTextOnPath___CIIPathFFPaint(JNIEnv* env, jobject, SkCanvas* canvas, jcharArray text, int index, int count, SkPath* path, jfloat hOffset, jfloat vOffset, jint bidiFlags, SkPaint* paint) argument 931 int count = env->GetStringLength(text); local [all...] |