/frameworks/native/services/surfaceflinger/ |
H A D | EventThread.h | 64 // 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 D | G711Codec.cpp | 42 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 D | EmojiTextWatcher.java | 78 public void beforeTextChanged(CharSequence s, int start, int count, int after) { argument
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
H A D | ArrayObjectAdapter.java | 76 * @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 D | AlertDialogLayout.java | 74 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 D | BatchingListUpdateCallback.java | 73 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 D | entry.cpp | 88 // 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 D | ACameraMetadata.cpp | 66 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 D | ecm.cpp | 155 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 D | TiffWriter.h | 121 * - 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 D | AudioResamplerFirProcessNeon.h | 75 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 D | AudioResamplerFirProcessSSE.h | 39 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 D | IMediaCodecList.cpp | 118 size_t count = countCodecs(); local 119 if (count > INT32_MAX) { 120 count = INT32_MAX; 122 reply->writeInt32(count);
|
/frameworks/av/media/libnbaio/ |
H A D | MonoPipe.cpp | 66 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 D | NBAIO.cpp | 79 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 D | stat_bits.c | 46 * 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 D | dtx_enc.cpp | 64 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 D | EvaluationTestBench.c | 334 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 D | h264bsd_interpolate_chroma_hor.s | 41 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 D | h264bsd_interpolate_chroma_hor_ver.s | 42 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 D | h264bsd_interpolate_chroma_ver.s | 40 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 D | h264bsd_interpolate_hor_ver_quarter.s | 39 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 D | MtpProperty.cpp | 294 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 D | BufLog.cpp | 93 int count = 0; local 100 count++; 103 ALOGV("Reset %d BufLogs", count);
|
H A D | FastMixerDumpState.cpp | 147 uint32_t count = n / kTailDenominator; local 149 for (uint32_t i = 0; i < count; ++i) {
|