Searched defs:count (Results 251 - 275 of 352) sorted by relevance

<<1112131415

/frameworks/native/libs/gui/
H A DBufferQueue.cpp103 status_t BufferQueue::setDefaultMaxBufferCountLocked(int count) { argument
104 if (count < 2 || count > NUM_BUFFER_SLOTS)
107 mDefaultMaxBufferCount = count;
143 ST_LOGV("setBufferCount: count=%d", bufferCount);
175 ST_LOGE("setBufferCount: requested buffer count (%d) is less than "
293 // count.
326 // if they didn't set a buffer count.
329 "setting the buffer count");
342 ST_LOGE("dequeueBuffer: min undequeued buffer count (
[all...]
/frameworks/native/libs/ui/
H A DRegion.cpp563 size_t count = reg.mStorage.size(); local
565 while (count) {
568 count--;
601 size_t count = size / sizeof(Rect); local
602 if (count > 0) {
604 ssize_t err = result.mStorage.insertAt(0, count);
608 memcpy(result.mStorage.editArray(), rects, count*sizeof(Rect));
634 Rect const* Region::getArray(size_t* count) const {
637 if (count) *count
[all...]
/frameworks/native/services/surfaceflinger/
H A DLayer.cpp327 const size_t count = drawingLayers.size(); local
328 for (size_t i=0 ; i<count ; ++i) {
/frameworks/rs/driver/
H A DrsdAllocation.cpp537 rsc->setError(RS_ERROR_DRIVER, "Error setting IO output buffer count.");
575 uint32_t xoff, uint32_t lod, uint32_t count,
581 uint32_t size = count * eSize;
584 alloc->incRefs(data, count);
585 alloc->decRefs(ptr, count);
627 uint32_t xoff, uint32_t lod, uint32_t count,
633 memcpy(data, ptr, count * eSize);
678 uint32_t dstXoff, uint32_t dstLod, uint32_t count,
574 rsdAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument
626 rsdAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument
676 rsdAllocationData1D_alloc(const android::renderscript::Context *rsc, const android::renderscript::Allocation *dstAlloc, uint32_t dstXoff, uint32_t dstLod, uint32_t count, const android::renderscript::Allocation *srcAlloc, uint32_t srcXoff, uint32_t srcLod) argument
/frameworks/support/renderscript/v8/java/src/android/support/v8/renderscript/
H A DAllocation.java474 int count = data.length / eSize;
475 if ((eSize * count) != data.length) {
479 copy1DRangeFromUnchecked(xoff, count, data);
512 private void data1DChecks(int off, int count, int len, int dataSize) { argument
517 if(count < 1) {
520 if((off + count) > mCurrentCount) {
521 throw new RSIllegalArgumentException("Overflow, Available count " + mCurrentCount +
522 ", got " + count + " at offset " + off + ".");
549 * @param count The number of elements to be copied.
552 public void copy1DRangeFromUnchecked(int off, int count, in argument
566 copy1DRangeFromUnchecked(int off, int count, short[] d) argument
580 copy1DRangeFromUnchecked(int off, int count, byte[] d) argument
594 copy1DRangeFromUnchecked(int off, int count, float[] d) argument
609 copy1DRangeFrom(int off, int count, int[] d) argument
623 copy1DRangeFrom(int off, int count, short[] d) argument
637 copy1DRangeFrom(int off, int count, byte[] d) argument
651 copy1DRangeFrom(int off, int count, float[] d) argument
665 copy1DRangeFrom(int off, int count, Allocation data, int dataOff) argument
958 createSized(RenderScript rs, Element e, int count, int usage) argument
982 createSized(RenderScript rs, Element e, int count) argument
[all...]
/frameworks/support/renderscript/v8/rs_support/driver/
H A DrsdAllocation.cpp268 uint32_t xoff, uint32_t lod, uint32_t count,
274 uint32_t size = count * eSize;
277 alloc->incRefs(data, count);
278 alloc->decRefs(ptr, count);
320 uint32_t xoff, uint32_t lod, uint32_t count,
326 memcpy(data, ptr, count * eSize);
371 uint32_t dstXoff, uint32_t dstLod, uint32_t count,
267 rsdAllocationData1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, uint32_t count, const void *data, size_t sizeBytes) argument
319 rsdAllocationRead1D(const Context *rsc, const Allocation *alloc, uint32_t xoff, uint32_t lod, uint32_t count, void *data, size_t sizeBytes) argument
369 rsdAllocationData1D_alloc(const android::renderscript::Context *rsc, const android::renderscript::Allocation *dstAlloc, uint32_t dstXoff, uint32_t dstLod, uint32_t count, const android::renderscript::Allocation *srcAlloc, uint32_t srcXoff, uint32_t srcLod) argument
/frameworks/wilhelm/tests/sandbox/
H A Dreverb.c322 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/base/media/mca/filterfw/java/android/filterfw/core/
H A DShaderProgram.java222 public void setVertexCount(int count) { argument
223 if (!setShaderVertexCount(count)) {
224 throw new RuntimeException("Could not set GL vertex count to " + count + "!");
/frameworks/av/media/libeffects/testlibs/
H A DEffectReverb.c239 size_t count = inBuffer->frameCount; local
241 count *= 2;
242 while (count--) {
246 while (count--) {
1348 // Convert milliseconds to sample count => m_nEarlyDelay
1392 // Convert milliseconds to sample count => m_nDelay1Out + m_nMaxExcursion
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp338 const size_t count = pSH->GetCount(); local
342 for (size_t index = 0; index < count; index++) {
/frameworks/av/media/mtp/
H A DMtpServer.cpp230 int count = mObjectEditList.size(); local
231 for (int i = 0; i < count; i++) {
281 int count = mObjectEditList.size(); local
282 for (int i = 0; i < count; i++) {
290 int count = mObjectEditList.size(); local
291 for (int i = 0; i < count; i++) {
503 int count = mStorages.size(); local
504 mData.putUInt32(count);
505 for (int i = 0; i < count; i++)
571 int count local
[all...]
/frameworks/av/services/camera/libcameraservice/
H A DCamera2Client.cpp1317 status_t Camera2Client::commandSetVideoBufferCountL(size_t count) { argument
1319 ALOGE("%s: Camera %d: Error setting video buffer count after "
1324 return mStreamingProcessor->setRecordingBufferCount(count);
H A DCameraHardwareInterface.h609 static int __set_buffer_count(struct preview_stream_ops* w, int count) argument
612 return native_window_set_buffer_count(a, count);
655 int *count)
658 return a->query(a, NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, count);
653 __get_min_undequeued_buffer_count( const struct preview_stream_ops *w, int *count) argument
/frameworks/av/services/camera/tests/CameraServiceTest/
H A DCameraServiceTest.cpp177 void assertNotify(int32_t msgType, OP op, int count);
178 void assertData(int32_t msgType, OP op, int count);
179 void waitNotify(int32_t msgType, OP op, int count);
180 void waitData(int32_t msgType, OP op, int count);
224 void MCameraClient::assertNotify(int32_t msgType, OP op, int count) { argument
227 assertTest(op, v, count);
230 void MCameraClient::assertData(int32_t msgType, OP op, int count) { argument
233 assertTest(op, v, count);
280 void MCameraClient::waitNotify(int32_t msgType, OP op, int count) { argument
281 INFO("waitNotify: %d, %d, %d", msgType, op, count);
292 waitData(int32_t msgType, OP op, int count) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java747 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
750 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
952 public void onFilterComplete(int count) { argument
953 updateDropDownForFilter(count);
956 private void updateDropDownForFilter(int count) { argument
969 if ((count > 0 || dropDownAlwaysVisible) && enoughToFilter) {
976 // count (when the query is being performed on the network). Future updates when some
1116 final int count = Math.min(adapter.getCount(), 20);
1117 CompletionInfo[] completions = new CompletionInfo[count];
1120 for (int i = 0; i < count;
[all...]
H A DGridView.java230 final int count = getChildCount();
237 final int startOffset = count > 0 ?
238 getChildAt(count - 1).getBottom() + verticalSpacing : paddingTop;
239 int position = mFirstPosition + count;
250 final int startOffset = count > 0 ?
485 final int count = getChildCount();
486 if (mFirstPosition + count == mItemCount) {
487 final int bottom = getChildAt(count - 1).getBottom();
1038 final int count = mItemCount;
1039 if (count >
1100 attachLayoutAnimationParameters(View child, ViewGroup.LayoutParams params, int index, int count) argument
1531 commonKey(int keyCode, int count, KeyEvent event) argument
[all...]
H A DLinearLayout.java320 final int count = getVirtualChildCount();
321 for (int i = 0; i < count; i++) {
333 if (hasDividerBeforeChildAt(count)) {
334 final View child = getVirtualChildAt(count - 1);
347 final int count = getVirtualChildCount();
349 for (int i = 0; i < count; i++) {
366 if (hasDividerBeforeChildAt(count)) {
367 final View child = getVirtualChildAt(count - 1);
639 final int count = getVirtualChildCount();
652 for (int i = 0; i < count;
924 forceUniformWidth(int count, int heightMeasureSpec) argument
1340 forceUniformHeight(int count, int widthMeasureSpec) argument
[all...]
H A DRemoteViewsAdapter.java358 int count; field in class:RemoteViewsAdapter.RemoteViewsMetaData
378 count = d.count;
386 count = 0;
512 // The meta data related to all the RemoteViews, ie. count, is stable, etc.
573 // Trim the cache if we go beyond the count
681 int count = 0;
683 count = mMetaData.count;
696 int effectiveUpperBound = Math.min(mPreloadUpperBound, count
1240 getVisibleWindow(int lower, int upper, int count) argument
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java555 * count which is the number of records processed since the
595 synchronized int count() { method in class:StateMachine.LogRecords
1360 return mSmHandler.mLogRecords.count();
/frameworks/base/core/jni/
H A DAndroidRuntime.cpp1075 static int register_jni_procs(const RegJNIRec array[], size_t count, JNIEnv* env) argument
1077 for (size_t i = 0; i < count; i++) {
1088 static void register_jam_procs(const RegJAMProc array[], size_t count) argument
1090 for (size_t i = 0; i < count; i++) {
H A Dandroid_hardware_Camera.cpp941 static int find_fields(JNIEnv *env, field *fields, int count) argument
943 for (int i = 0; i < count; i++) {
H A Dandroid_media_AudioTrack.cpp213 ALOGE("Error creating AudioTrack: Could not get AudioSystem frame count.");
270 // compute the frame count
534 int count = sizeInBytes; local
537 while (count--) {
H A Dandroid_opengl_GLES11.cpp33 const GLvoid *ptr, GLsizei count);
466 /* void glDrawElements ( GLenum mode, GLsizei count, GLenum type, GLint offset ) */
469 (JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint offset) {
475 (GLsizei)count,
468 android_glDrawElements__IIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint offset) argument
H A Dandroid_util_Process.cpp484 jsize count = env->GetArrayLength(reqFields); local
485 if (count > env->GetArrayLength(outFields)) {
493 for (i=0; i<count; i++) {
515 //ALOGI("Clearing %d sizes", count);
516 for (i=0; i<count; i++) {
537 while (*p && foundCount < count) {
540 for (i=0; i<count; i++) {
905 jsize count = env->GetArrayLength(commandNames); local
907 for (int i=0; i<count; i++) {
/frameworks/base/core/jni/android/graphics/
H A DTextLayoutCache.cpp91 const jchar* text, jint start, jint count, jint contextCount, jint dirFlags) {
99 TextLayoutCacheKey key(paint, text, start, count, contextCount, dirFlags);
114 reinterpret_cast<const UChar*>(key.getText()), start, count,
146 " - start = %d, count = %d, contextCount = %d - Text = '%s'",
147 start, count, contextCount, String8(key.getText() + start, count).string());
152 "with start = %d, count = %d, contextCount = %d, "
155 value.get(), start, count, contextCount, size, mMaxSize - mSize,
158 String8(key.getText() + start, count).string());
163 "with start = %d, count
90 getValue(const SkPaint* paint, const jchar* text, jint start, jint count, jint contextCount, jint dirFlags) argument
230 TextLayoutCacheKey(const SkPaint* paint, const UChar* text, size_t start, size_t count, size_t contextCount, int dirFlags) argument
358 computeValues(TextLayoutValue* value, const SkPaint* paint, const UChar* chars, size_t start, size_t count, size_t contextCount, int dirFlags) argument
369 computeValues(const SkPaint* paint, const UChar* chars, size_t start, size_t count, size_t contextCount, int dirFlags, Vector<jfloat>* const outAdvances, jfloat* outTotalAdvance, Vector<jchar>* const outGlyphs, Vector<jfloat>* const outPos) argument
510 computeRunValues(const SkPaint* paint, const UChar* chars, size_t count, bool isRTL, Vector<jfloat>* const outAdvances, jfloat* outTotalAdvance, Vector<jchar>* const outGlyphs, Vector<jfloat>* const outPos) argument
940 getValue(const SkPaint* paint, const jchar* text, jint start, jint count, jint contextCount, jint dirFlags) argument
[all...]

Completed in 262 milliseconds

<<1112131415