Searched refs:index (Results 401 - 425 of 901) sorted by relevance

<<11121314151617181920>>

/frameworks/av/media/libstagefright/rtsp/
H A DARTPConnection.cpp82 size_t index,
89 msg->setSize("index", index);
200 CHECK(msg->findSize("index", &info->mIndex));
625 ssize_t index = info->mSources.indexOfKey(srcId); local
626 if (index < 0) {
627 index = info->mSources.size();
634 source = info->mSources.valueAt(index);
640 void ARTPConnection::injectPacket(int index, const sp<ABuffer> &buffer) { argument
642 msg->setInt32("index", inde
79 addStream( int rtpSocket, int rtcpSocket, const sp<ASessionDescription> &sessionDesc, size_t index, const sp<AMessage> &notify, bool injected) argument
648 int32_t index; local
[all...]
H A DARTPSession.cpp86 notify->setSize("track-index", mTracks.size() - 1);
139 CHECK(msg->findSize("track-index", &trackIndex));
198 bool ARTPSession::validateMediaFormat(size_t index, unsigned *port) const { argument
200 mDesc->getFormat(index, &format);
237 sp<MediaSource> ARTPSession::trackAt(size_t index) { argument
238 CHECK_LT(index, mTracks.size());
239 return mTracks.editItemAt(index).mPacketSource;
/frameworks/av/libvideoeditor/vss/src/
H A DM4VD_EXTERNAL_BitstreamParser.c493 M4OSA_UInt16 index = 28; /* the 29th byte is SPS start */ local
500 if ((DSISize <= index) || (pDSI == M4OSA_NULL)) {
507 constraintSet3 = (pDSI[index+2] & 0x10);
509 pDSI[index+1], pDSI[index+3], constraintSet3);
511 switch (pDSI[index+1]) {
537 switch (pDSI[index+3]) {
596 M4OSA_UInt16 index = 7; /* the 5th and 6th bytes contain the level and profile */ local
603 if ((DSISize < index) || (pDSI == M4OSA_NULL)) {
/frameworks/base/tests/CoreTests/android/core/
H A DTestWebServer.java498 int index;
516 index = 4;
524 index = 5;
532 index = 5;
542 int i = index;
552 testID = new String(buf, 0, index, i-index);
568 int index = 0;
579 int i = index;
/frameworks/native/opengl/libagl/
H A Dtexture.cpp501 int index = 2 * (*pixels++); local
502 *p++ = palette[index + 0];
503 *p++ = palette[index + 1];
508 int index = 2 * (v >> 4); local
509 *p++ = palette[index + 0];
510 *p++ = palette[index + 1];
512 index = 2 * (v & 0xF);
513 *p++ = palette[index + 0];
514 *p++ = palette[index + 1];
525 int index local
533 int index = 3 * (v >> 4); local
552 int index = 4 * (*pixels++); local
561 int index = 4 * (v >> 4); local
[all...]
/frameworks/av/media/libstagefright/
H A DDRMExtractor.cpp249 sp<MediaSource> DRMExtractor::getTrack(size_t index) { argument
250 sp<MediaSource> originalMediaSource = mOriginalExtractor->getTrack(index);
254 CHECK(getTrackMetaData(index, 0)->findInt32(kKeyTrackID, &trackID));
264 sp<MetaData> DRMExtractor::getTrackMetaData(size_t index, uint32_t flags) { argument
265 return mOriginalExtractor->getTrackMetaData(index, flags);
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextSRTSource.cpp284 int TimedTextSRTSource::compareExtendedRangeAndTime(size_t index, int64_t timeUs) { argument
285 CHECK_LT(index, mTextVector.size());
286 int64_t endTimeUs = mTextVector.valueAt(index).endTimeUs;
287 int64_t startTimeUs = (index > 0) ?
288 mTextVector.valueAt(index - 1).endTimeUs : 0;
/frameworks/av/media/libstagefright/wifi-display/
H A DParsedMessage.cpp50 ssize_t index = mDict.indexOfKey(key); local
52 if (index < 0) {
58 *value = mDict.valueAt(index);
171 void ParsedMessage::getRequestField(size_t index, AString *field) const { argument
177 for (size_t i = 0; i <= index; ++i) {
/frameworks/base/core/java/com/android/internal/view/menu/
H A DActionMenu.java144 public MenuItem getItem(int index) { argument
145 return mItems.get(index);
183 final int index = findItemIndex(id);
184 if (index < 0) {
188 return mItems.get(index).invoke();
/frameworks/base/core/jni/
H A Dandroid_view_VelocityTracker.cpp84 for (uint32_t index = 0; !idBits.isEmpty(); index++) {
104 Velocity& velocity = mCalculatedVelocity[index];
117 uint32_t index = mCalculatedIdBits.getIndexOfBit(id); local
118 const Velocity& velocity = mCalculatedVelocity[index];
/frameworks/base/graphics/java/android/graphics/
H A DCanvas.java1279 * is optional, but if it is present, then it is used to specify the index
1326 public void drawText(char[] text, int index, int count, float x, float y, Paint paint) { argument
1327 if ((index | count | (index + count) |
1328 (text.length - index - count)) < 0) {
1331 native_drawText(mNativeCanvas, text, index, count, x, y, paint.mBidiFlags,
1354 * @param start The index of the first character in text to draw
1355 * @param end (end - 1) is the index of the last character in text to draw
1374 * @param start The index of the first character in text to draw
1375 * @param end (end - 1) is the index o
1419 drawTextRun(char[] text, int index, int count, int contextIndex, int contextCount, float x, float y, int dir, Paint paint) argument
1504 drawPosText(char[] text, int index, int count, float[] pos, Paint paint) argument
1544 drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, float vOffset, Paint paint) argument
1729 native_drawText(int nativeCanvas, char[] text, int index, int count, float x, float y, int flags, int paint) argument
1744 native_drawPosText(int nativeCanvas, char[] text, int index, int count, float[] pos, int paint) argument
1751 native_drawTextOnPath(int nativeCanvas, char[] text, int index, int count, int path, float hOffset, float vOffset, int bidiFlags, int paint) argument
[all...]
/frameworks/compile/linkloader/include/impl/
H A DELFSymbol.hxx35 size_t const index = shtab.getByName(std::string(".strtab"))->getIndex(); local
36 ELFSectionTy const *section = owner->getSectionByIndex(index);
47 size_t index) {
66 // Set the section header index
67 sh->index = index;
45 read(Archiver &AR, ELFObjectTy const *owner, size_t index) argument
/frameworks/base/media/java/android/media/
H A DAudioService.java206 * file index in SOUND_EFFECT_FILES[] (first column) and indicating if effect
220 /** @hide Maximum volume index values for audio streams */
597 pw.println("\nStream volumes (device: index)");
749 private int rescaleIndex(int index, int srcStream, int dstStream) { argument
750 return (index * mStreamStates[dstStream].getMaxIndex() + mStreamStates[srcStream].getMaxIndex() / 2) / mStreamStates[srcStream].getMaxIndex();
815 // get last audible index if stream is muted, current index otherwise
828 int index;
835 index = mStreamStates[streamType].getMaxIndex();
836 oldIndex = index;
909 setStreamVolume(int streamType, int index, int flags) argument
1064 sendVolumeUpdate(int streamType, int oldIndex, int index, int flags) argument
1117 setStreamVolumeInt(int streamType, int index, int device, boolean force, boolean lastAudible) argument
2775 setIndex(int index, int device, boolean lastAudible) argument
2829 setLastAudibleIndex(int index, int device) argument
2914 getValidIndex(int index) argument
5918 checkSafeMediaVolume(int streamType, int index, int device) argument
[all...]
/frameworks/base/services/java/com/android/server/
H A DNotificationManagerService.java687 int index = indexOfToastLocked(pkg, callback);
690 if (index >= 0) {
691 record = mToastQueue.get(index);
714 index = mToastQueue.size() - 1;
717 // If it's at index 0, it's the current toast. It doesn't matter if it's
721 if (index == 0) {
741 int index = indexOfToastLocked(pkg, callback);
742 if (index >= 0) {
743 cancelToastLocked(index);
765 int index
779 cancelToastLocked(int index) argument
[all...]
/frameworks/av/media/libmedia/
H A DIOMX.cpp132 node_id node, OMX_INDEXTYPE index,
137 data.writeInt32(index);
153 node_id node, OMX_INDEXTYPE index,
158 data.writeInt32(index);
167 node_id node, OMX_INDEXTYPE index,
172 data.writeInt32(index);
188 node_id node, OMX_INDEXTYPE index,
193 data.writeInt32(index);
384 OMX_INDEXTYPE *index) {
394 *index
131 getParameter( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument
152 setParameter( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument
166 getConfig( node_id node, OMX_INDEXTYPE index, void *params, size_t size) argument
187 setConfig( node_id node, OMX_INDEXTYPE index, const void *params, size_t size) argument
381 getExtensionIndex( node_id node, const char *parameter_name, OMX_INDEXTYPE *index) argument
503 OMX_INDEXTYPE index = static_cast<OMX_INDEXTYPE>(data.readInt32()); local
731 OMX_INDEXTYPE index; local
[all...]
/frameworks/av/media/libstagefright/codecs/avc/enc/
H A DSoftAVCEncoder.cpp158 void *userData, int32_t index, uint8_t **yuv) {
161 return encoder->bindOutputBuffer(index, yuv);
164 static void UnbindFrameWrapper(void *userData, int32_t index) { argument
167 return encoder->unbindOutputBuffer(index);
429 OMX_INDEXTYPE index, OMX_PTR params) {
430 switch (index) {
536 return SimpleSoftOMXComponent::internalGetParameter(index, params);
541 OMX_INDEXTYPE index, const OMX_PTR params) {
542 int32_t indexFull = index;
586 OMX_ERRORTYPE err = SimpleSoftOMXComponent::internalSetParameter(index, param
157 BindFrameWrapper( void *userData, int32_t index, uint8_t **yuv) argument
428 internalGetParameter( OMX_INDEXTYPE index, OMX_PTR params) argument
540 internalSetParameter( OMX_INDEXTYPE index, const OMX_PTR params) argument
937 unbindOutputBuffer(int32_t index) argument
941 bindOutputBuffer(int32_t index, uint8_t **yuv) argument
953 getExtensionIndex( const char *name, OMX_INDEXTYPE *index) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/android/graphics/
H A DPaint_Delegate.java571 /*package*/ static float native_measureText(Paint thisPaint, char[] text, int index, argument
579 return delegate.measureText(text, index, count);
593 /*package*/ static int native_breakText(Paint thisPaint, char[] text, int index, int count, argument
606 for (int i = index; i != index + count; i += inc, measureIndex++) {
608 if (i < index) {
610 end = index;
612 start = index;
625 // we should not return this char index, but since it's 0-based
923 /*package*/ static int native_getTextWidths(int native_object, char[] text, int index, argument
978 native_getTextRunAdvances(int native_object, char[] text, int index, int count, int contextIndex, int contextCount, int flags, float[] advances, int advancesIndex, int reserved) argument
1053 native_getTextPath(int native_object, int bidiFlags, char[] text, int index, int count, float x, float y, int path) argument
1075 nativeGetCharArrayBounds(int nativePaint, char[] text, int index, int count, Rect bounds) argument
1185 measureText(char[] text, int index, int count) argument
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DHTTPLiveSource.cpp49 ssize_t index = local
52 if (index >= 0) {
55 mExtraHeaders.removeItemsAt(index);
/frameworks/av/media/libstagefright/codecs/amrwb/src/
H A Dpvamrwbdecoder_acelp.h251 int16 index, /* (i) :index of quantization. */
270 int16 index, /* (i) : 12 bits index */
275 int16 index[], /* (i) : index (20): 5+5+5+5 = 20 bits. */
276 /* (i) : index (36): 9+9+9+9 = 36 bits. */
277 /* (i) : index (44): 13+9+13+9 = 44 bits. */
278 /* (i) : index (52): 13+13+13+13 = 52 bits. */
279 /* (i) : index (6
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/
H A DSoftAVC.cpp171 OMX_INDEXTYPE index, OMX_PTR params) {
172 switch (index) {
207 ALOGE("Invalid port index: %ld", profileLevel->nPortIndex);
211 size_t index = profileLevel->nProfileIndex; local
214 if (index >= nProfileLevels) {
218 profileLevel->eProfile = kProfileLevels[index].mProfile;
219 profileLevel->eLevel = kProfileLevels[index].mLevel;
224 return SimpleSoftOMXComponent::internalGetParameter(index, params);
229 OMX_INDEXTYPE index, const OMX_PTR params) {
230 switch (index) {
170 internalGetParameter( OMX_INDEXTYPE index, OMX_PTR params) argument
228 internalSetParameter( OMX_INDEXTYPE index, const OMX_PTR params) argument
266 getConfig( OMX_INDEXTYPE index, OMX_PTR params) argument
[all...]
/frameworks/base/core/java/android/view/
H A DViewStub.java265 final int index = parent.indexOfChild(this);
270 parent.addView(view, index, layoutParams);
272 parent.addView(view, index);
/frameworks/base/core/java/android/view/animation/
H A DLayoutAnimationController.java33 * characteristics of each child, like its index in the view group.
36 * amount of miliseconds by the index of the child in its parent view group.
274 * child animation delay = child index * delay * animation duration
353 * child animation delay = child index * delay
356 * The index is retrieved from the
391 * Transforms the index stored in
398 * @param params the animation parameters containing the index
399 * @return a transformed index
404 return params.count - 1 - params.index;
412 return params.index;
433 public int index; field in class:LayoutAnimationController.AnimationParameters
[all...]
/frameworks/base/core/java/android/widget/
H A DOverScroller.java669 final int index = (int) (NB_SAMPLES * x);
670 if (index < NB_SAMPLES) {
671 final float x_inf = (float) index / NB_SAMPLES;
672 final float x_sup = (float) (index + 1) / NB_SAMPLES;
673 final float t_inf = SPLINE_TIME[index];
674 final float t_sup = SPLINE_TIME[index + 1];
914 final int index = (int) (NB_SAMPLES * t);
917 if (index < NB_SAMPLES) {
918 final float t_inf = (float) index / NB_SAMPLES;
919 final float t_sup = (float) (index
[all...]
/frameworks/base/core/jni/android/opengl/
H A Dpoly_clip.cpp49 * copying the portion satisfying sign*s[index] < k*sw into q,
51 * index is an index into the array of floats at each vertex, such that
52 * s[index] is sx, sy, or sz (screen space x, y, or z).
59 void poly_clip_to_halfspace(Poly* p, Poly* q, int index, float sign, float k) argument
72 tu = sign*COORD(u, index) - u->sw*k;
76 tv = sign*COORD(v, index) - v->sw*k;
/frameworks/base/core/tests/coretests/src/android/text/format/
H A DTimeTest.java183 for (int index = 0; index < len; index++) {
184 DateTest test = dayTests[index];
198 "day test index " + index + ", normalize(): expected local " + expectedTime
216 "day test index " + index + ", toMillis(): expected local " + expectedTime
222 for (int index = 0; index < le
[all...]

Completed in 6914 milliseconds

<<11121314151617181920>>