Searched defs:count (Results 301 - 325 of 430) sorted by relevance

<<1112131415161718

/frameworks/av/media/libmedia/
H A DIAudioPolicyService.cpp472 uint32_t *count)
474 if (descriptors == NULL || count == NULL) {
480 data.writeInt32(*count);
488 uint32_t numDesc = (retCount < *count) ? retCount : *count;
491 *count = retCount;
1023 uint32_t count = data.readInt32(); local
1024 if (count > AudioEffect::kMaxPreProcessing) {
1025 count = AudioEffect::kMaxPreProcessing;
1027 uint32_t retCount = count;
470 queryDefaultPreProcessing(int audioSession, effect_descriptor_t *descriptors, uint32_t *count) argument
[all...]
/frameworks/av/media/libstagefright/matroska/
H A DMatroskaExtractor.cpp388 const size_t count = pSH->GetCount(); local
392 for (size_t index = 0; index < count; index++) {
/frameworks/av/media/mtp/
H A DMtpServer.cpp232 int count = mObjectEditList.size(); local
233 for (int i = 0; i < count; i++) {
288 int count = mObjectEditList.size(); local
289 for (int i = 0; i < count; i++) {
297 int count = mObjectEditList.size(); local
298 for (int i = 0; i < count; i++) {
522 int count = mStorages.size(); local
523 mData.putUInt32(count);
524 for (int i = 0; i < count; i++)
599 int count local
[all...]
/frameworks/av/services/camera/libcameraservice/api1/
H A DCamera2Client.cpp787 // since it exceeds the max stream count on some devices.
1703 status_t Camera2Client::commandSetVideoBufferCountL(size_t count) { argument
1705 ALOGE("%s: Camera %d: Error setting video buffer count after "
1710 return mStreamingProcessor->setRecordingBufferCount(count);
/frameworks/av/services/camera/libcameraservice/device1/
H A DCameraHardwareInterface.h619 static int __set_buffer_count(struct preview_stream_ops* w, int count) argument
622 return native_window_set_buffer_count(a, count);
670 int *count)
673 return a->query(a, NATIVE_WINDOW_MIN_UNDEQUEUED_BUFFERS, count);
668 __get_min_undequeued_buffer_count( const struct preview_stream_ops *w, int *count) argument
/frameworks/base/core/java/android/service/voice/
H A DVoiceInteractionSession.java678 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { argument
/frameworks/base/core/java/android/widget/
H A DAutoCompleteTextView.java750 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
753 public void onTextChanged(CharSequence s, int start, int before, int count) { argument
955 public void onFilterComplete(int count) { argument
956 updateDropDownForFilter(count);
959 private void updateDropDownForFilter(int count) { argument
972 if ((count > 0 || dropDownAlwaysVisible) && enoughToFilter) {
979 // count (when the query is being performed on the network). Future updates when some
1125 final int count = Math.min(adapter.getCount(), 20);
1126 CompletionInfo[] completions = new CompletionInfo[count];
1129 for (int i = 0; i < count;
[all...]
H A DGridView.java249 final int count = getChildCount();
256 final int startOffset = count > 0 ?
257 getChildAt(count - 1).getBottom() + verticalSpacing : paddingTop;
258 int position = mFirstPosition + count;
269 final int startOffset = count > 0 ?
505 final int count = getChildCount();
506 if (mFirstPosition + count == mItemCount) {
507 final int bottom = getChildAt(count - 1).getBottom();
1058 final int count = mItemCount;
1059 if (count >
1120 attachLayoutAnimationParameters(View child, ViewGroup.LayoutParams params, int index, int count) argument
1627 commonKey(int keyCode, int count, KeyEvent event) argument
[all...]
H A DLinearLayout.java345 final int count = getVirtualChildCount();
346 for (int i = 0; i < count; i++) {
358 if (hasDividerBeforeChildAt(count)) {
359 final View child = getVirtualChildAt(count - 1);
372 final int count = getVirtualChildCount();
374 for (int i = 0; i < count; i++) {
391 if (hasDividerBeforeChildAt(count)) {
392 final View child = getVirtualChildAt(count - 1);
664 final int count = getVirtualChildCount();
678 for (int i = 0; i < count;
952 forceUniformWidth(int count, int heightMeasureSpec) argument
1372 forceUniformHeight(int count, int widthMeasureSpec) argument
[all...]
H A DRemoteViewsAdapter.java395 int count; field in class:RemoteViewsAdapter.RemoteViewsMetaData
415 count = d.count;
423 count = 0;
549 // The meta data related to all the RemoteViews, ie. count, is stable, etc.
610 // Trim the cache if we go beyond the count
718 int count = 0;
720 count = mMetaData.count;
733 int effectiveUpperBound = Math.min(mPreloadUpperBound, count
1308 getVisibleWindow(int lower, int upper, int count) argument
[all...]
/frameworks/base/core/java/com/android/internal/util/
H A DStateMachine.java569 * count which is the number of records processed since the
618 synchronized int count() { method in class:StateMachine.LogRecords
1439 return smh.mLogRecords.count();
/frameworks/base/core/jni/android/graphics/
H A DBitmap.cpp584 int count = p->readInt32(); local
585 if (count > 0) {
586 size_t size = count * sizeof(SkPMColor);
588 ctable = new SkColorTable(src, count);
644 int count = ctable->count(); local
645 p->writeInt32(count);
646 memcpy(p->writeInplace(count * sizeof(SkPMColor)),
647 ctable->lockColors(), count * sizeof(SkPMColor));
831 if (ct0->count() !
[all...]
H A DBitmapFactory.cpp93 static void scaleDivRange(int32_t* divs, int count, float scale, int maxValue) { argument
94 for (int i = 0; i < count; i++) {
101 if (CC_UNLIKELY(divs[count - 1] > maxValue)) {
105 for (int i = count - 1; i >= 0; i--) {
/frameworks/base/core/jni/
H A Dandroid_hardware_Camera.cpp1034 static int find_fields(JNIEnv *env, field *fields, int count) argument
1036 for (int i = 0; i < count; i++) {
H A Dandroid_media_AudioTrack.cpp231 // compute the frame count
548 int count = sizeInBytes; local
551 memcpy_to_i16_from_u8(dst, src, count);
H A Dandroid_opengl_GLES11.cpp46 const GLvoid *ptr, GLsizei count);
48 const GLvoid *pointer, GLsizei count);
50 GLsizei stride, const GLvoid *pointer, GLsizei count);
52 GLsizei stride, const GLvoid *pointer, GLsizei count);
54 GLsizei stride, const GLvoid *pointer, GLsizei count);
56 GLsizei stride, const GLvoid *pointer, GLsizei count);
58 GLsizei stride, const GLvoid *pointer, GLsizei count);
62 GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) {
68 GLsizei stride, const GLvoid *pointer, GLsizei count) {
297 _remaining /= sizeof(CTYPE); // convert from bytes to item count
61 glVertexAttribPointerBounds(GLuint indx, GLint size, GLenum type, GLboolean normalized, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
67 glVertexAttribIPointerBounds(GLuint indx, GLint size, GLenum type, GLsizei stride, const GLvoid *pointer, GLsizei count) argument
673 android_glDrawElements__IIII(JNIEnv *_env, jobject _this, jint mode, jint count, jint type, jint offset) argument
[all...]
H A Dandroid_util_Process.cpp493 jsize count = env->GetArrayLength(reqFields); local
494 if (count > env->GetArrayLength(outFields)) {
502 for (i=0; i<count; i++) {
524 //ALOGI("Clearing %" PRId32 " sizes", count);
525 for (i=0; i<count; i++) {
546 while (*p && foundCount < count) {
549 for (i=0; i<count; i++) {
929 jsize count = env->GetArrayLength(commandNames); local
931 for (int i=0; i<count; i++) {
/frameworks/base/libs/hwui/
H A DDisplayListRenderer.cpp342 status_t DisplayListRenderer::drawLines(const float* points, int count, const SkPaint* paint) { argument
343 points = refBuffer<float>(points, count);
346 addDrawOp(new (alloc()) DrawLinesOp(points, count, paint));
350 status_t DisplayListRenderer::drawPoints(const float* points, int count, const SkPaint* paint) { argument
351 points = refBuffer<float>(points, count);
354 addDrawOp(new (alloc()) DrawPointsOp(points, count, paint));
358 status_t DisplayListRenderer::drawTextOnPath(const char* text, int bytesCount, int count, argument
360 if (!text || count <= 0) return DrawGlInfo::kStatusDone;
366 DrawOp* op = new (alloc()) DrawTextOnPathOp(text, bytesCount, count, path,
372 status_t DisplayListRenderer::drawPosText(const char* text, int bytesCount, int count, argument
395 drawText(const char* text, int bytesCount, int count, float x, float y, const float* positions, const SkPaint* paint, float totalAdvance, const Rect& bounds, DrawOpMode drawOpMode) argument
434 drawRects(const float* rects, int count, const SkPaint* paint) argument
[all...]
H A DProgramCache.cpp421 size_t count = mCache.size(); local
422 for (size_t i = 0; i < count; i++) {
/frameworks/base/media/java/android/media/tv/
H A DTvInputService.java804 * @param count The number of times the action was made.
810 public boolean onKeyMultiple(int keyCode, int count, KeyEvent event) { argument
/frameworks/base/media/jni/
H A Dandroid_mtp_MtpDatabase.cpp368 int count = env->GetIntField(list, field_mCount); local
369 if (result == MTP_RESPONSE_OK && count != 1)
677 int count = env->GetIntField(list, field_mCount); local
680 packet.putUInt32(count);
681 if (count > 0) {
693 for (int i = 0; i < count; i++) {
948 int count = sizeof(kObjectPropertyTable) / sizeof(kObjectPropertyTable[0]); local
950 for (int i = 0; i < count; i++, entry++) {
960 int count = sizeof(kDevicePropertyTable) / sizeof(kDevicePropertyTable[0]); local
962 for (int i = 0; i < count;
992 int count = references->size(); local
[all...]
/frameworks/base/media/mca/filterfw/native/core/
H A Dshader_program.cpp348 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/base/rs/java/android/renderscript/
H A DAllocation.java782 int count = data_length / eSize;
783 if ((eSize * count) != data_length) {
787 copy1DRangeFromUnchecked(xoff, count, data);
821 private void data1DChecks(int off, int count, int len, int dataSize) { argument
826 if(count < 1) {
829 if((off + count) > mCurrentCount) {
830 throw new RSIllegalArgumentException("Overflow, Available count " + mCurrentCount +
831 ", got " + count + " at offset " + off + ".");
852 private void copy1DRangeFromUnchecked(int off, int count, Object array, argument
855 final int dataSize = mType.mElement.getBytesSize() * count;
869 copy1DRangeFromUnchecked(int off, int count, Object array) argument
883 copy1DRangeFromUnchecked(int off, int count, int[] d) argument
895 copy1DRangeFromUnchecked(int off, int count, short[] d) argument
907 copy1DRangeFromUnchecked(int off, int count, byte[] d) argument
919 copy1DRangeFromUnchecked(int off, int count, float[] d) argument
933 copy1DRangeFrom(int off, int count, Object array) argument
948 copy1DRangeFrom(int off, int count, int[] d) argument
962 copy1DRangeFrom(int off, int count, short[] d) argument
976 copy1DRangeFrom(int off, int count, byte[] d) argument
990 copy1DRangeFrom(int off, int count, float[] d) argument
1004 copy1DRangeFrom(int off, int count, Allocation data, int dataOff) argument
1438 createSized(RenderScript rs, Element e, int count, int usage) argument
1463 createSized(RenderScript rs, Element e, int count) argument
[all...]
/frameworks/base/tests/Camera2Tests/SmartCamera/SimpleCamera/src/androidx/media/filterfw/
H A DImageShader.java144 // count depends on the drawing step. GL should catch such errors then, and
549 public void setVertexCount(int count) { argument
550 mVertexCount = count;
680 private static void checkTexCount(int count) { argument
681 if (count > maxTextureUnits()) {
682 throw new RuntimeException("Number of textures passed (" + count + ") exceeds the "
/frameworks/compile/mclinker/lib/Target/Hexagon/
H A DHexagonLDBackend.cpp213 uint64_t count = size / align_frag.getValueSize(); local
216 std::memset(out_offset, align_frag.getValue(), count);

Completed in 581 milliseconds

<<1112131415161718