/frameworks/base/media/java/android/media/ |
D | Utils.java | 62 int ix = 0; in intersectSortedDistinctRanges() local 65 while (ix < one.length && in intersectSortedDistinctRanges() 66 one[ix].getUpper().compareTo(range.getLower()) < 0) { in intersectSortedDistinctRanges() 67 ++ix; in intersectSortedDistinctRanges() 69 while (ix < one.length && in intersectSortedDistinctRanges() 70 one[ix].getUpper().compareTo(range.getUpper()) < 0) { in intersectSortedDistinctRanges() 71 result.add(range.intersect(one[ix])); in intersectSortedDistinctRanges() 72 ++ix; in intersectSortedDistinctRanges() 74 if (ix == one.length) { in intersectSortedDistinctRanges() 77 if (one[ix].getLower().compareTo(range.getUpper()) <= 0) { in intersectSortedDistinctRanges() [all …]
|
D | SubtitleTrack.java | 168 private void removeRunsByEndTimeIndex(int ix) { in removeRunsByEndTimeIndex() argument 169 Run run = mRunsByEndTime.valueAt(ix); in removeRunsByEndTimeIndex() 184 mRunsByEndTime.removeAt(ix); in removeRunsByEndTimeIndex() 191 for(int ix = size - 1; ix >= 0; ix--) { in finalize() 192 removeRunsByEndTimeIndex(ix); in finalize() 628 int ix = runsByEndTime.indexOfKey(mStoredEndTimeMs); 629 if (ix >= 0) { 631 assert(this == runsByEndTime.valueAt(ix)); 633 runsByEndTime.removeAt(ix); 635 runsByEndTime.setValueAt(ix, mNextRunAtEndTimeMs);
|
/frameworks/av/media/libmedia/ |
D | MediaCodecInfo.cpp | 109 for (size_t ix = 0; ix < mQuirks.size(); ix++) { in hasQuirk() local 110 if (mQuirks.itemAt(ix).equalsIgnoreCase(name)) { in hasQuirk() 119 for (size_t ix = 0; ix < mCaps.size(); ix++) { in getSupportedMimes() local 120 mimes->push_back(mCaps.keyAt(ix)); in getSupportedMimes() 126 ssize_t ix = getCapabilityIndex(mime); in getCapabilitiesFor() local 127 if (ix >= 0) { in getCapabilitiesFor() 128 return mCaps.valueAt(ix); in getCapabilitiesFor() 176 for (size_t ix = 0; ix < mCaps.size(); ix++) { in getCapabilityIndex() local 177 if (mCaps.keyAt(ix).equalsIgnoreCase(mime)) { in getCapabilityIndex() 178 return ix; in getCapabilityIndex() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/common/src/ |
D | gmed_n.cpp | 188 register Word16 i, j, ix = 0; in gmed_n() local 207 ix = j; in gmed_n() 210 *(tmp2 + ix) = -32768; in gmed_n() 211 *(tmp + i) = ix; in gmed_n()
|
/frameworks/av/media/libstagefright/codecs/amrwbenc/src/ |
D | c2t64fx.c | 56 Word32 i, j, k, i0, i1, ix, iy, pos, pos2; in ACELP_2t64_fx() local 229 ix = 0; in ACELP_2t64_fx() 253 ix = i0; in ACELP_2t64_fx() 266 i0 = (ix >> 1); /* pos of pulse 1 (0..31) */ in ACELP_2t64_fx() 268 if (sign[ix] > 0) in ACELP_2t64_fx() 270 code[ix] = 512; /* codeword in Q9 format */ in ACELP_2t64_fx() 271 p0 = h - ix; in ACELP_2t64_fx() 274 code[ix] = -512; in ACELP_2t64_fx() 276 p0 = h_inv - ix; in ACELP_2t64_fx()
|
D | c4t64fx.c | 108 Word16 * ix, /* (o) position of pulse 1 */ 136 Word16 st, ix, iy, pos, index, track, nb_pulse, nbiter, j_temp; in ACELP_4t64_fx() local 568 ix = ind[0] = pos_max[ipos[0]]; in ACELP_4t64_fx() 570 ps = dn[ix] + dn[iy]; in ACELP_4t64_fx() 571 i = ix >> 2; /* ix / STEP */ in ACELP_4t64_fx() 578 if (sign[ix] < 0) in ACELP_4t64_fx() 579 p0 = h_inv - ix; in ACELP_4t64_fx() 581 p0 = h - ix; in ACELP_4t64_fx() 602 ix = ind[0] = pos_max[ipos[0]]; in ACELP_4t64_fx() 606 ps = add1(add1(add1(dn[ix], dn[iy]), dn[i]), dn[j]); in ACELP_4t64_fx() [all …]
|
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/ |
D | c4_17pf.cpp | 399 Word16 ix = 0; /* initialization only needed to keep gcc silent */ in search_4i40() local 466 ix = ipos[1]; in search_4i40() 507 ix = i1; in search_4i40() 510 i1 = ix; in search_4i40() 524 ix = ipos[2]; in search_4i40() 565 ix = i2; in search_4i40() 568 i2 = ix; in search_4i40() 580 ix = ipos[3]; in search_4i40() 620 ix = i3; in search_4i40() 644 *(p_codvec) = ix; in search_4i40()
|
D | c3_14pf.cpp | 385 Word16 ix = 0; /* initialization only needed to keep gcc silent */ in search_3i40() local 454 ix = ipos[1]; in search_3i40() 497 ix = i1; in search_3i40() 500 i1 = ix; in search_3i40() 514 ix = ipos[2]; in search_3i40() 555 ix = i2; in search_3i40() 558 i2 = ix; in search_3i40()
|
D | c2_11pf.cpp | 413 Word16 ix = 0; /* initialization only needed to keep gcc silent */ in search_2i40() local 471 ix = ipos[1]; in search_2i40() 511 ix = i1; in search_2i40() 531 *(p_codvec) = ix; in search_2i40()
|
D | c2_9pf.cpp | 597 Word16 ix = 0; /* initialization only needed to keep gcc silent */ in search_2i40() local 656 ix = *(ipos + 1); in search_2i40() 702 ix = i1; in search_2i40() 720 *(p_codvec) = ix; in search_2i40()
|
/frameworks/av/media/libstagefright/ |
D | MediaCodecList.cpp | 137 for (size_t ix = 0; ix < colorFormats.size(); ix++) { in parseTopLevelXMLFile() local 138 if (ix > 0) { in parseTopLevelXMLFile() 141 nice.append(colorFormats.itemAt(ix)); in parseTopLevelXMLFile() 149 for (size_t ix = 0; ix < profileLevels.size(); ix++) { in parseTopLevelXMLFile() local 150 if (ix > 0) { in parseTopLevelXMLFile() 154 profileLevels.itemAt(ix); in parseTopLevelXMLFile() 601 for (size_t ix = 0; ix < ARRAY_SIZE(advancedFeatures); ix++) { in findCodecByType() local 602 if (details->findInt32(advancedFeatures[ix], &required) && in findCodecByType()
|
D | ClockEstimator.cpp | 147 size_t ix = (mSampleIx + headIx) % mHistoryLength; in estimate() local 148 mHead.add(mXHistory[ix], mYHistory[ix], w); in estimate()
|
/frameworks/base/core/java/android/text/style/ |
D | DrawableMarginSpan.java | 46 int ix = (int)x; in drawLeadingMargin() local 53 mDrawable.setBounds(ix, itop, ix+dw, itop+dh); in drawLeadingMargin()
|
/frameworks/base/core/java/android/text/method/ |
D | MultiTapKeyListener.java | 140 int ix = val.indexOf(ch); in onKeyDown() local 142 if (ix >= 0) { in onKeyDown() 143 ix = (ix + 1) % (val.length()); in onKeyDown() 145 content.replace(selStart, selEnd, val, ix, ix + 1); in onKeyDown()
|
/frameworks/base/media/mca/filterfw/native/core/ |
D | geometry.cpp | 131 const Point& Quad::point(int ix) const { in point() 132 ALOG_ASSERT(ix < static_cast<int>(points_.size()), "Access out of bounds"); in point() 133 return points_[ix]; in point()
|
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/ |
D | RadialGradient_Delegate.java | 174 for (int ix = 0 ; ix < w ; ix++) { in getRaster() 176 pt1[0] = x + ix; in getRaster()
|
D | SweepGradient_Delegate.java | 166 for (int ix = 0 ; ix < w ; ix++) { in getRaster() 168 pt1[0] = x + ix; in getRaster()
|
D | LinearGradient_Delegate.java | 184 for (int ix = 0 ; ix < w ; ix++) { in getRaster() 186 pt1[0] = x + ix; in getRaster()
|
D | BitmapShader_Delegate.java | 165 for (int ix = 0 ; ix < w ; ix++) { in getRaster() 167 pt1[0] = x + ix; in getRaster()
|
/frameworks/base/media/mca/filterpacks/native/base/ |
D | geometry.cpp | 130 const Point& Quad::point(int ix) const { in point() 131 ALOG_ASSERT(ix < static_cast<int>(points_.size()), "Access out of bounds"); in point() 132 return points_[ix]; in point()
|
/frameworks/av/services/audioflinger/ |
D | AudioResamplerFirGen.h | 426 for (int j=0, ix=i ; j<halfNumCoef ; ++j, ix+=L) { 427 accum += cos(ix*w)*static_cast<double>(*coef++); 683 for (int j=0, ix=i ; j<halfNumCoef ; ++j, ix+=L) { 685 if (CC_LIKELY(ix)) { 686 double x = static_cast<double>(ix);
|
/frameworks/av/tools/resampler_tools/ |
D | fir.cpp | 251 int ix = j*M + i; in main() local 252 double x = (2.0 * M_PI * ix * Fcr) / M; in main() 253 double y = kaiser(ix+N, 2*N, beta) * sinc(x) * 2.0 * Fcr; in main()
|
/frameworks/av/media/libstagefright/codecs/g711/dec/ |
D | SoftG711.cpp | 265 int32_t ix = x ^ 0x55; in DecodeALaw() local 266 ix &= 0x7f; in DecodeALaw() 268 int32_t iexp = ix >> 4; in DecodeALaw() 269 int32_t mant = ix & 0x0f; in DecodeALaw()
|
/frameworks/av/media/libmediaplayerservice/nuplayer/ |
D | NuPlayerDecoder.cpp | 318 size_t ix; in onInputBufferFilled() local 319 for (ix = 0; ix < mInputBuffers.size(); ix++) { in onInputBufferFilled() 320 const sp<ABuffer> &buf = mInputBuffers[ix]; in onInputBufferFilled() 323 if (!mInputBufferIsDequeued[ix]) { in onInputBufferFilled() 325 mComponentName.c_str(), ix, bufferIx); in onInputBufferFilled() 337 bufferIx = ix; in onInputBufferFilled() 341 CHECK(ix < mInputBuffers.size()); in onInputBufferFilled()
|
/frameworks/base/core/jni/ |
D | android_util_AssetManager.cpp | 1304 jsize ix=0; in android_content_AssetManager_applyStyle() local 1305 uint32_t curXmlAttr = xmlParser ? xmlParser->getAttributeNameResID(ix) : 0; in android_content_AssetManager_applyStyle() 1327 while (ix < NX && curIdent > curXmlAttr) { in android_content_AssetManager_applyStyle() 1328 ix++; in android_content_AssetManager_applyStyle() 1329 curXmlAttr = xmlParser->getAttributeNameResID(ix); in android_content_AssetManager_applyStyle() 1332 if (ix < NX && curIdent == curXmlAttr) { in android_content_AssetManager_applyStyle() 1334 xmlParser->getAttributeValue(ix, &value); in android_content_AssetManager_applyStyle() 1335 ix++; in android_content_AssetManager_applyStyle() 1336 curXmlAttr = xmlParser->getAttributeNameResID(ix); in android_content_AssetManager_applyStyle() 1501 jsize ix=0; in android_content_AssetManager_retrieveAttributes() local [all …]
|