Searched defs:count (Results 151 - 175 of 589) sorted by relevance

1234567891011>>

/frameworks/native/services/surfaceflinger/
H A DEventThread.h64 // count >= 1 : continuous event. count is the vsync rate
65 // count == 0 : one-shot event that has not fired
66 // count ==-1 : one-shot event that fired this round / disabled
67 int32_t count; member in class:android::EventThread::Connection
73 status_t setVsyncRate(uint32_t count) override;
86 void setVsyncRate(uint32_t count, const sp<Connection>& connection);
/frameworks/opt/net/voip/src/jni/rtp/
H A DG711Codec.cpp42 int decode(int16_t *samples, int count, void *payload, int length);
67 int UlawCodec::decode(int16_t *samples, int count, void *payload, int length) argument
70 if (length > count) {
71 length = count;
93 int decode(int16_t *samples, int count, void *payload, int length);
117 int AlawCodec::decode(int16_t *samples, int count, void *payload, int length) argument
120 if (length > count) {
121 length = count;
/frameworks/support/emoji/core/src/android/support/text/emoji/widget/
H A DEmojiTextWatcher.java78 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DArrayObjectAdapter.java76 * @param itemCount The count of how many items have changed.
151 * @param count The number of items to remove.
154 public int removeItems(int position, int count) { argument
155 int itemsToRemove = Math.min(count, mItems.size() - position);
/frameworks/support/v7/appcompat/src/android/support/v7/widget/
H A DAlertDialogLayout.java74 final int count = getChildCount();
75 for (int i = 0; i < count; i++) {
184 for (int i = 0; i < count; i++) {
202 forceUniformWidth(count, heightMeasureSpec);
211 * @param count the number of child views
214 private void forceUniformWidth(int count, int heightMeasureSpec) { argument
219 for (int i = 0; i < count; i++) {
274 final int count = getChildCount();
301 for (int i = 0; i < count; i++) {
/frameworks/support/v7/recyclerview/src/android/support/v7/util/
H A DBatchingListUpdateCallback.java73 public void onInserted(int position, int count) { argument
76 mLastEventCount += count;
82 mLastEventCount = count;
87 public void onRemoved(int position, int count) { argument
89 mLastEventPosition <= position + count) {
90 mLastEventCount += count;
96 mLastEventCount = count;
107 public void onChanged(int position, int count, Object payload) { argument
110 || position + count < mLastEventPosition || mLastEventPayload != payload)) {
114 mLastEventCount = Math.max(previousEnd, position + count)
[all...]
/frameworks/wilhelm/src/
H A Dentry.cpp88 // if an engine already exists, then increment its ref count
186 SLuint32 count = 0; local
195 ++count;
204 *pNumSupportedInterfaces = count;
/frameworks/av/camera/ndk/impl/
H A DACameraMetadata.cpp66 if (entry.count == 0 || entry.type != TYPE_BYTE) {
67 ALOGE("%s: malformed available capability key! count %zu, type %d",
68 __FUNCTION__, entry.count, entry.type);
73 capabilities.setCapacity(entry.count);
74 for (size_t i = 0; i < entry.count; i++) {
92 if (entry.count == 0 || entry.count % 4 || entry.type != TYPE_INT32) {
93 ALOGE("%s: malformed available stream configuration key! count %zu, type %d",
94 __FUNCTION__, entry.count, entry.type);
99 filteredStreamConfigs.setCapacity(entry.count);
180 update(uint32_t tag, uint32_t count, const uint8_t* data) argument
185 update(uint32_t tag, uint32_t count, const int32_t* data) argument
190 update(uint32_t tag, uint32_t count, const float* data) argument
195 update(uint32_t tag, uint32_t count, const double* data) argument
200 update(uint32_t tag, uint32_t count, const int64_t* data) argument
205 update(uint32_t tag, uint32_t count, const ACameraMetadata_rational* data) argument
[all...]
/frameworks/av/drm/mediacas/plugins/clearkey/
H A Decm.cpp155 size_t count = (count_bytes[0] << 8) | count_bytes[1]; local
156 // Check that count is a legal value.
157 if (!CountLegal(count)) {
158 ALOGE("Invalid descriptor count: expected %zu <= count <= %zu, received %zu.",
159 kMinDescriptorCount, kMaxDescriptorCount, count);
163 if (count > kMinDescriptorCount) {
165 kCountSizeBytes + (count * EcmDescriptor::kSizeBytes);
172 set_count(count);
/frameworks/av/media/img_utils/include/img_utils/
H A DTiffWriter.h121 * - BAD_VALUE - The given count doesn't match the required count for
132 * was constructed with. The count and type are validated.
137 * - BAD_VALUE - The given count doesn't match the required count for
144 status_t addEntry(uint16_t tag, uint32_t count, const T* data, uint32_t ifd);
149 * with. The count and type are validated. If this succeeds, the resulting
155 * - BAD_VALUE - The given count doesn't match the required count for
161 status_t buildEntry(uint16_t tag, uint32_t count, cons
272 buildEntry(uint16_t tag, uint32_t count, const T* data, sp<TiffEntry>* outEntry) const argument
301 addEntry(uint16_t tag, uint32_t count, const T* data, uint32_t ifd) argument
314 uncheckedBuildEntry(uint16_t tag, TagType type, uint32_t count, Endianness end, const T* data) argument
[all...]
/frameworks/av/media/libaudioprocessing/
H A DAudioResamplerFirProcessNeon.h75 int count,
85 ALOG_ASSERT(count > 0 && (count & 7) == 0); // multiple of 8
160 } while (count -= 8);
183 int count,
193 ALOG_ASSERT(count > 0 && (count & 7) == 0); // multiple of 8
335 } while (count -= 8);
358 int count,
368 ALOG_ASSERT(count >
74 ProcessNeonIntrinsic(int32_t* out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* volumeLR, uint32_t lerpP, const int16_t* coefsP1, const int16_t* coefsN1) argument
182 ProcessNeonIntrinsic(int32_t* out, int count, const int32_t* coefsP, const int32_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* volumeLR, uint32_t lerpP, const int32_t* coefsP1, const int32_t* coefsN1) argument
357 ProcessNeonIntrinsic(float* out, int count, const float* coefsP, const float* coefsN, const float* sP, const float* sN, const float* volumeLR, float lerpP, const float* coefsP1, const float* coefsN1) argument
526 ProcessL(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument
583 ProcessL(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument
646 Process(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* coefsP1, const int16_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument
722 Process(int32_t* const out, int count, const int16_t* coefsP, const int16_t* coefsN, const int16_t* coefsP1, const int16_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument
803 ProcessL(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument
869 ProcessL(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int16_t* sP, const int16_t* sN, const int32_t* const volumeLR) argument
954 Process(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int32_t* coefsP1, const int32_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument
1044 Process(int32_t* const out, int count, const int32_t* coefsP, const int32_t* coefsN, const int32_t* coefsP1, const int32_t* coefsN1, const int16_t* sP, const int16_t* sN, uint32_t lerpP, const int32_t* const volumeLR) argument
1153 ProcessL(float* const out, int count, const float* coefsP, const float* coefsN, const float* sP, const float* sN, const float* const volumeLR) argument
1166 ProcessL(float* const out, int count, const float* coefsP, const float* coefsN, const float* sP, const float* sN, const float* const volumeLR) argument
1179 Process(float* const out, int count, const float* coefsP, const float* coefsN, const float* coefsP1, const float* coefsN1, const float* sP, const float* sN, float lerpP, const float* const volumeLR) argument
1195 Process(float* const out, int count, const float* coefsP, const float* coefsN, const float* coefsP1, const float* coefsN1, const float* sP, const float* sN, float lerpP, const float* const volumeLR) argument
[all...]
H A DAudioResamplerFirProcessSSE.h39 int count,
49 ALOG_ASSERT(count > 0 && (count & 7) == 0); // multiple of 8
128 } while (count -= 4);
155 int count,
162 ProcessSSEIntrinsic<1, 16, true>(out, count, coefsP, coefsN, sP, sN, volumeLR,
168 int count,
175 ProcessSSEIntrinsic<2, 16, true>(out, count, coefsP, coefsN, sP, sN, volumeLR,
181 int count,
191 ProcessSSEIntrinsic<1, 16, false>(out, count, coefs
38 ProcessSSEIntrinsic(float* out, int count, const float* coefsP, const float* coefsN, const float* sP, const float* sN, const float* volumeLR, float lerpP, const float* coefsP1, const float* coefsN1) argument
154 ProcessL(float* const out, int count, const float* coefsP, const float* coefsN, const float* sP, const float* sN, const float* const volumeLR) argument
167 ProcessL(float* const out, int count, const float* coefsP, const float* coefsN, const float* sP, const float* sN, const float* const volumeLR) argument
180 Process(float* const out, int count, const float* coefsP, const float* coefsN, const float* coefsP1, const float* coefsN1, const float* sP, const float* sN, float lerpP, const float* const volumeLR) argument
196 Process(float* const out, int count, const float* coefsP, const float* coefsN, const float* coefsP1, const float* coefsN1, const float* sP, const float* sN, float lerpP, const float* const volumeLR) argument
[all...]
/frameworks/av/media/libmedia/
H A DIMediaCodecList.cpp118 size_t count = countCodecs(); local
119 if (count > INT32_MAX) {
120 count = INT32_MAX;
122 reply->writeInt32(count);
/frameworks/av/media/libnbaio/
H A DMonoPipe.cpp66 ssize_t MonoPipe::write(const void *buffer, size_t count) argument
72 while (count > 0) {
73 ssize_t actual = mFifoWriter.write(buffer, count);
74 ALOG_ASSERT(actual <= count);
86 count -= written;
121 ns = count * (1350000000 / Format_sampleRate(mFormat));
H A DNBAIO.cpp79 size_t count = total - accumulator; local
80 if (count > block) {
81 count = block;
83 ssize_t ret = via(user, buffer, count);
85 ALOG_ASSERT((size_t) ret <= count);
115 size_t count = total - accumulator; local
116 if (count > block) {
117 count = block;
119 ssize_t ret = read(buffer, count);
121 ALOG_ASSERT((size_t) ret <= count);
[all...]
/frameworks/av/media/libstagefright/codecs/aacenc/src/
H A Dstat_bits.c46 * description: count ms stereo bits demand
75 * description: count tns bit demand core function
84 Word32 count; local
88 count = 0;
105 /*count += 1; */
109 count += 1;
111 count += 2;
114 count += 1;
117 count += 4;
118 count
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Ddtx_enc.cpp64 1. Modified FOR loops to count down.
226 CLOCK CYCLES: (cycle count equation for this function) + (variable
227 used to represent cycle count for each subroutine
229 where: (cycle count variable) = cycle count for [subroutine
347 CLOCK CYCLES: (cycle count equation for this function) + (variable
348 used to represent cycle count for each subroutine
350 where: (cycle count variable) = cycle count for [subroutine
454 CLOCK CYCLES: (cycle count equatio
1126 Word16 count; local
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/
H A DEvaluationTestBench.c334 void H264SwDecMemcpy(void *dest, void *src, u32 count) argument
336 memcpy(dest, src, count);
349 void H264SwDecMemset(void *ptr, i32 value, u32 count) argument
351 memset(ptr, value, count);
/frameworks/av/media/libstagefright/codecs/on2/h264dec/source/arm11_asm/
H A Dh264bsd_interpolate_chroma_hor.s41 count RN 2 label
149 ;// pack values to count register
158 ADD count, count, tmp2, LSL #16 ;// chromaPartHeight-1
159 ADD count, count, tmp2, LSL #24 ;// loop_y
160 ADD count, count, tmp1, LSL #20 ;// chromaPartWidth-1
161 AND tmp2, count, #0x00F00000 ;// loop_x
175 ADD count, coun
[all...]
H A Dh264bsd_interpolate_chroma_hor_ver.s42 count RN 2 label
155 ;// pack values to count register
164 ADD count, count, tmp2, LSL #16 ;// chromaPartHeight-1
165 ADD count, count, tmp2, LSL #24 ;// loop_y
166 ADD count, count, tmp1, LSL #20 ;// chromaPartWidth-1
167 AND tmp2, count, #0x00F00000 ;// loop_x
190 ADD count, coun
[all...]
H A Dh264bsd_interpolate_chroma_ver.s40 count RN 2 label
147 ;// pack values to count register
156 ADD count, count, tmp2, LSL #16 ;// chromaPartHeight-1
157 ADD count, count, tmp2, LSL #24 ;// loop_y
158 ADD count, count, tmp1, LSL #20 ;// chromaPartWidth-1
159 AND tmp2, count, #0x00F00000 ;// loop_x
173 ADD count, coun
[all...]
H A Dh264bsd_interpolate_hor_ver_quarter.s39 count RN 2 label
153 ;// pack values to count register
159 MOV count, width
163 ADD count, count, tmp5, LSL #16
169 AND tmp4, count, #0x000F0000 ;// partHeight-1
170 AND tmp6, count, #0x00F00000 ;// partWidth-1
171 ADD count, count, tmp4, LSL #8 ;// partH-1 to lower part of top byte
177 ADD count, coun
[all...]
/frameworks/av/media/mtp/
H A DMtpProperty.cpp294 void MtpProperty::setFormEnum(const int* values, int count) { argument
297 mEnumValues = new MtpPropertyValue[count];
298 mEnumLength = count;
300 for (int i = 0; i < count; i++) {
/frameworks/av/services/audioflinger/
H A DBufLog.cpp93 int count = 0; local
100 count++;
103 ALOGV("Reset %d BufLogs", count);
H A DFastMixerDumpState.cpp147 uint32_t count = n / kTailDenominator; local
149 for (uint32_t i = 0; i < count; ++i) {

Completed in 457 milliseconds

1234567891011>>