/frameworks/ex/variablespeed/jni/ |
H A D | variablespeed.cc | 407 int count = GetTimeScaler()->RetrieveSamples( local 409 if (count <= 0) { 410 LOGD("error: count was %d", count); 413 frameCount += count; 430 int count = GetTimeScaler()->InjectSamples(injectBuffer_, framesToInject); local 431 if (count <= 0) { 432 LOGD("error: count was %d", count); 435 decodeBuffer_.AdvanceHeadPointerShorts(count * channel [all...] |
/frameworks/native/libs/input/ |
H A D | InputTransport.cpp | 549 Batch& batch, size_t count, uint32_t* outSeq, InputEvent** outEvent) { 554 for (size_t i = 0; i < count; i++) { 568 batch.samples.removeItemsAt(0, count); 548 consumeSamples(InputEventFactoryInterface* factory, Batch& batch, size_t count, uint32_t* outSeq, InputEvent** outEvent) argument
|
/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); 533 void drawPrimitivesPoints(ogles_context_t* c, GLint first, GLsizei count) argument 535 if (ggl_unlikely(count < 1)) 544 GLsizei num = count > vcs ? vcs : count; 312 init( GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, const buffer_t* bo, GLsizei count) argument 564 drawPrimitivesLineStrip(ogles_context_t* c, GLint first, GLsizei count) argument 603 drawPrimitivesLineLoop(ogles_context_t* c, GLint first, GLsizei count) argument 618 drawPrimitivesLines(ogles_context_t* c, GLint first, GLsizei count) argument 650 drawPrimitivesTriangleFanOrStrip(ogles_context_t* c, GLint first, GLsizei count, int winding) argument 704 drawPrimitivesTriangleStrip(ogles_context_t* c, GLint first, GLsizei count) argument 709 drawPrimitivesTriangleFan(ogles_context_t* c, GLint first, GLsizei count) argument 714 drawPrimitivesTriangles(ogles_context_t* c, GLint first, GLsizei count) argument 764 drawIndexedPrimitivesPoints(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 781 drawIndexedPrimitivesLineStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 806 drawIndexedPrimitivesLineLoop(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 838 drawIndexedPrimitivesLines(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 860 drawIndexedPrimitivesTriangleFanOrStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices, int winding) argument 896 drawIndexedPrimitivesTriangleStrip(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 901 drawIndexedPrimitivesTriangleFan(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 906 drawIndexedPrimitivesTriangles(ogles_context_t* c, GLsizei count, const GLvoid *indices) argument 965 compileElements__generic(ogles_context_t* c, vertex_t* v, GLint first, GLsizei count) argument 1345 glDrawArrays(GLenum mode, GLint first, GLsizei count) argument 1389 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 | 305 /* void glShaderSource(GLuint shader, GLsizei count, const GLchar** string, 311 GLsizei count = arg_count.intvalue(0); local 320 for (int i = 0; i < count; i++) { 332 /* void glUniform?iv(GLint location, GLsizei count, const GLint *value); */ 345 /* void glUniformMatrix?fv(GLint location, GLsizei count, GLboolean transpose, 611 void findMinAndMaxIndices(GLvoid *indices, GLsizei count, GLenum type, argument 621 for (GLsizei i = 0; i < count; i++) { 666 /* void glDrawArrays(GLenum mode, GLint first, GLsizei count) */ 667 GLsizei count = glmsg->args(2).intvalue(0); local 673 trace_VertexAttribPointerData(context, 0, count, tim 684 GLsizei count = glmsg->args(1).intvalue(0); local 728 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:__anon1381 123 result->count = vertices; 165 glDrawArrays(GL_TRIANGLES, 0, object->count); 339 result->count = currentVertex;
|
/frameworks/native/services/sensorservice/ |
H A D | SensorService.cpp | 82 ssize_t count = dev.getSensorList(&list); local 83 if (count > 0) { 91 mLastEventSeen.setCapacity(count); 92 for (ssize_t i=0 ; i<count ; i++) { 129 aSensor = registerVirtualSensor( new GravitySensor(list, count) ); 134 aSensor = registerVirtualSensor( new LinearAccelerationSensor(list, count) ); 147 registerVirtualSensor( new CorrectedGyroSensor(list, count) ); 359 sensors_event_t const* buffer, const int count) { 360 for (int i=0 ; i<count ; i++) { 393 ssize_t count local 358 cleanupAutoDisabledSensorLocked(const sp<SensorEventConnection>& connection, sensors_event_t const* buffer, const int count) argument 578 recordLastValueLocked( const sensors_event_t* buffer, size_t count) argument 595 sortEventBuffer(sensors_event_t* buffer, size_t count) argument 608 size_t count = mUserSensorList.size(); local 1206 size_t count = 0; local 1358 reAllocateCacheLocked(sensors_event_t const* scratch, int count) argument 1476 findWakeUpSensorEventLocked( sensors_event_t const* scratch, const int count) argument [all...] |
/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/opt/net/voip/src/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/opt/net/wifi/service/java/com/android/server/wifi/ |
H A D | WifiWatchdogStateMachine.java | 965 * Bundle of good link count parameters 971 public GoodLinkTarget(int adj, int count, int time) { argument 973 SAMPLE_COUNT = count; 1149 + " count=" + mGoodLinkTargetCount); 1159 if (DBG) logd("New link verifying target set, rssi=" + mGoodLinkTargetRssi + " count="
|
/frameworks/rs/driver/ |
H A D | rsdAllocation.cpp | 796 uint32_t xoff, uint32_t lod, size_t count, 802 size_t size = count * eSize; 807 alloc->incRefs(data, count); 808 alloc->decRefs(ptr, count); 915 uint32_t xoff, uint32_t lod, size_t count, 922 memcpy(data, ptr, count * eSize); 997 uint32_t dstXoff, uint32_t dstLod, size_t count, 795 rsdAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, const void *data, size_t sizeBytes) argument 914 rsdAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, size_t count, void *data, size_t sizeBytes) argument 995 rsdAllocationData1D_alloc(const android::renderscript::Context *rsc, const android::renderscript::Allocation *dstAlloc, uint32_t dstXoff, uint32_t dstLod, size_t count, const android::renderscript::Allocation *srcAlloc, uint32_t srcXoff, uint32_t srcLod) argument
|
/frameworks/rs/ |
H A D | rsAllocation.cpp | 116 uint32_t count, const void *data, size_t sizeBytes) { 119 if ((count * eSize) != sizeBytes) { 122 (count * eSize), sizeBytes); 128 rsc->mHal.funcs.allocation.data1D(rsc, this, xoff, lod, count, data, sizeBytes); 146 uint32_t count, void *data, size_t sizeBytes) { 149 if ((count * eSize) != sizeBytes) { 152 (count * eSize), sizeBytes); 158 rsc->mHal.funcs.allocation.read1D(rsc, this, xoff, lod, count, data, sizeBytes); 410 uint32_t count = dataSize / type->getElementSizeBytes(); local 412 alloc->data(rsc, 0, 0, count, strea 115 data(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument 145 read(Context *rsc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument 582 rsi_Allocation1DData(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument 769 rsi_Allocation1DRead(Context *rsc, RsAllocation va, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument [all...] |
/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | LinearLayoutCompat.java | 291 final int count = getVirtualChildCount(); 292 for (int i = 0; i < count; i++) { 304 if (hasDividerBeforeChildAt(count)) { 305 final View child = getVirtualChildAt(count - 1); 318 final int count = getVirtualChildCount(); 320 for (int i = 0; i < count; i++) { 337 if (hasDividerBeforeChildAt(count)) { 338 final View child = getVirtualChildAt(count - 1); 598 final int count = getVirtualChildCount(); 612 for (int i = 0; i < count; 888 forceUniformWidth(int count, int heightMeasureSpec) argument 1309 forceUniformHeight(int count, int widthMeasureSpec) argument [all...] |
/frameworks/support/v7/recyclerview/tests/src/android/support/v7/widget/ |
H A D | AdapterHelperTest.java | 191 void setupBasic(int count, int visibleStart, int visibleCount) { argument 193 log("setupBasic(" + count + "," + visibleStart + "," + visibleCount + ");"); 195 mTestAdapter = new TestAdapter(count, mAdapterHelper); 777 final int count = 10;// + nextInt(random,100); 778 final int start = nextInt(random, count - 1); 779 final int layoutCount = Math.max(1, nextInt(random, count - start)); 780 setupBasic(count, start, layoutCount); 887 AdapterHelper.UpdateOp op(int cmd, int start, int count) { argument 888 return new AdapterHelper.UpdateOp(cmd, start, count); 891 AdapterHelper.UpdateOp addOp(int start, int count) { argument 895 rmOp(int start, int count) argument 899 upOp(int start, int count) argument 903 add(int start, int count) argument 926 rm(int start, int count) argument 939 up(int start, int count) argument 963 add(int index, int count) argument 980 remove(int index, int count) argument 989 update(int index, int count) argument [all...] |
H A D | BaseRecyclerViewInstrumentationTest.java | 328 public void expectLayouts(int count) { argument 329 layoutLatch = new CountDownLatch(count); 339 public void assertLayoutCount(int count, String msg, long timeout) throws Throwable { argument 341 assertEquals(msg, count, layoutLatch.getCount()); 475 TestAdapter(int count) { argument 476 mItems = new ArrayList<Item>(count); 477 for (int i = 0; i < count; i++) { 519 public void deleteAndNotify(final int start, final int count) throws Throwable { argument 520 deleteAndNotify(new int[]{start, count}); 561 public void addAndNotify(final int start, final int count) throw argument 578 changeAndNotify(final int start, final int count) argument [all...] |
H A D | RecyclerViewAnimationsTest.java | 375 assertEquals("Children count should add up", childCount.get(), 591 assertEquals("scroll by should be called w/ updated adapter count", 625 assertEquals("scroll by should be called w/ updated adapter count", 711 private void setLayoutRange(int start, int count) { argument 713 mLayoutManager.mOnLayoutCallbacks.mLayoutItemCount = count; 921 public void expectLayouts(int count) { argument 922 super.expectLayouts(count); 1042 Log.d(TAG, "item count " + state.getItemCount()); 1046 final int count = mLayoutItemCount 1048 lm.layoutRange(recycler, start, start + count); 1151 expectDraw(int count) argument [all...] |
H A D | RecyclerViewLayoutTest.java | 488 final int count = recyclerView.getChildCount(); 490 assertTrue("test sanity", count > 0); 491 for (int i = 0; i < count; i ++) { 503 for (int i = 0; i < count; i++) { 1205 assertEquals("child count should be ", 6, lm.getChildCount()); 2005 " should work fine. child count:" + getChildCount(), view); 2179 assertEquals("item count in state should be correct", adapter.getItemCount() 2197 assertEquals("when items are removed, item count in state should be updated", 2206 assertEquals("when items are added, item count in state should be updated", 2242 private TestAdapter2(int count) { argument [all...] |
H A D | StaggeredGridLayoutManagerTest.java | 909 assertEquals("after setting new span count, layout manager should keep new value", 913 assertTrue("when span count is dramatically changed after restore, # of child views " 1081 assertEquals(config + " on saved state, span count should be preserved", 1345 final int count = span.size(); 1346 for (int i = 0, j = 1; j < count; i++, j++) { 1508 * @param count Number of times to run 1510 private void waitForMainThread(int count) throws Throwable { argument 1511 final AtomicInteger i = new AtomicInteger(count); 1586 public void expectLayouts(int count) { argument 1587 layoutLatch = new CountDownLatch(count); 1834 GridTestAdapter(int count, int orientation) argument [all...] |
/frameworks/wilhelm/src/itf/ |
H A D | IEngine.c | 287 // copy the buffer queue count from source locator (for playback) / from the 452 // always PCM buffer queue, so we know the channel count and sample rate early. 796 SLuint32 count = 0; local 805 ++count; 814 *pNumSupportedInterfaces = count;
|
/frameworks/av/media/libstagefright/rtsp/ |
H A D | MyHandler.h | 292 size_t count = 4 - (offset % 4); local 293 switch (count) {
|
/frameworks/av/services/camera/libcameraservice/api1/client2/ |
H A D | Parameters.cpp | 136 if (!availableFpsRanges.count) return NO_INIT; 225 for (size_t i=0; i < availableFpsRanges.count; i += 2) { 239 for (size_t i=0; i < availableFpsRanges.count; i += 2) { 297 if (!availableJpegThumbnailSizes.count) return NO_INIT; 307 availableJpegThumbnailSizes.count); 318 for (size_t i=0; i < availableJpegThumbnailSizes.count; i += 2) { 352 if (!availableWhiteBalanceModes.count) { 358 for (size_t i=0; i < availableWhiteBalanceModes.count; i++) { 416 if (!availableEffects.count) { 422 for (size_t i=0; i < availableEffects.count; 2746 getMaxSizeForRatio( float ratio, const int32_t* sizeArray, size_t count) argument [all...] |
/frameworks/av/services/camera/libcameraservice/device3/ |
H A D | Camera3Device.cpp | 193 if (partialResultsCount.count > 0) { 200 if (partialResultsQuirk.count > 0 && partialResultsQuirk.data.u8[0] == 1) { 310 if (availableStreamConfigs.count == 0 || 311 availableStreamConfigs.count % STREAM_CONFIGURATION_SIZE != 0) { 316 for (size_t i=0; i < availableStreamConfigs.count; i+= STREAM_CONFIGURATION_SIZE) { 331 if (availableJpegSizes.count == 0 || availableJpegSizes.count % 2 != 0) { 336 for (size_t i = 0; i < availableJpegSizes.count; i += 2) { 359 if (jpegBufMaxSize.count == 0) { 505 if (it->find(ANDROID_REQUEST_ID).count 2420 queueTrigger( RequestTrigger trigger[], size_t count) argument 2970 size_t count = mTriggerMap.size(); local [all...] |
/frameworks/base/core/java/android/inputmethodservice/ |
H A D | InputMethodService.java | 1831 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { argument 1832 return doMovementKey(keyCode, event, count); 1900 void reportExtractedMovement(int keyCode, int count) { argument 1904 dx = -count; 1907 dx = count; 1910 dy = -count; 1913 dy = count; 1919 boolean doMovementKey(int keyCode, KeyEvent event, int count) { argument 1930 if (count == MOVEMENT_DOWN) { 1936 } else if (count [all...] |
/frameworks/base/core/java/android/view/ |
H A D | GLES20Canvas.java | 692 final int count = (meshWidth + 1) * (meshHeight + 1); 693 checkRange(verts.length, vertOffset, count * 2); 696 checkRange(colors.length, colorOffset, count); 762 public void drawLines(float[] pts, int offset, int count, Paint paint) { argument 763 if (count < 4) return; 765 if ((offset | count) < 0 || offset + count > pts.length) { 768 nDrawLines(mRenderer, pts, offset, count, paint.mNativePaint); 772 int offset, int count, long paint); 828 public void drawPoints(float[] pts, int offset, int count, Pain argument 771 nDrawLines(long renderer, float[] points, int offset, int count, long paint) argument 834 nDrawPoints(long renderer, float[] points, int offset, int count, long paint) argument 873 drawText(char[] text, int index, int count, float x, float y, Paint paint) argument 882 nDrawText(long renderer, char[] text, int index, int count, float x, float y, int bidiFlags, long paint, long typeface) argument 925 drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, float vOffset, Paint paint) argument 935 nDrawTextOnPath(long renderer, char[] text, int index, int count, long path, float hOffset, float vOffset, int bidiFlags, long nativePaint, long typeface) argument 952 drawTextRun(char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, boolean isRtl, Paint paint) argument 962 nDrawTextRun(long renderer, char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, boolean isRtl, long nativePaint, long nativeTypeface) argument [all...] |
/frameworks/base/core/java/android/widget/ |
H A D | CalendarViewLegacyDelegate.java | 342 public void setShownWeekCount(int count) { argument 343 if (mShownWeekCount != count) { 344 mShownWeekCount = count; 700 for (int i = mFirstDayOfWeek, count = mFirstDayOfWeek + mDaysPerWeek; i < count; i++) { 714 for (int i = 1, count = mDayNamesHeader.getChildCount(); i < count; i++) {
|