Searched refs:index (Results 76 - 100 of 1090) sorted by relevance

1234567891011>>

/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DarmVCM4P2_BlockMatch_Half.c90 OMX_INT outer, inner, count, index; local
110 for (outer = 0, count = 0,index = 0;
112 outer++, index += refWidth - BlockSize)
114 for (inner = 0; inner < BlockSize; inner++, count++, index++)
116 refSAD += armAbs (pTempSrcRefBuf[index] - pSrcCurrBuf[count]);
165 for (outer = 0, count = 0, candSAD = 0,index = 0;
167 outer++, index += refWidth - BlockSize)
169 for (inner = 0; inner < BlockSize; inner++, count++,index++)
172 pTempSrcRefBuf[index]
173 + pTempSrcRefBuf[index
[all...]
/frameworks/base/core/java/android/database/
H A DObservable.java67 int index = mObservers.indexOf(observer);
68 if (index == -1) {
71 mObservers.remove(index);
/frameworks/base/tools/split-select/
H A DRuleGenerator.cpp35 sp<Rule> RuleGenerator::generateDensity(const Vector<int>& allDensities, size_t index) { argument
36 if (allDensities[index] != ResTable_config::DENSITY_ANY) {
51 if (index > 0) {
55 gt->longArgs.add(findMid(allDensities[index - 1], allDensities[index]) - 1);
59 if (index + 1 < allDensities.size() && allDensities[index + 1] != ResTable_config::DENSITY_ANY) {
63 lt->longArgs.add(findMid(allDensities[index], allDensities[index + 1]));
76 sp<Rule> RuleGenerator::generateAbi(const Vector<abi::Variant>& splitAbis, size_t index) { argument
98 generate(const SortedVector<SplitDescription>& group, size_t index) argument
[all...]
/frameworks/av/media/libmediaplayerservice/nuplayer/
H A DNuPlayerCCDecoder.h34 sp<AMessage> getTrackInfo(size_t index) const;
35 status_t selectTrack(size_t index, bool select);
49 bool isTrackValid(size_t index) const;
52 sp<ABuffer> filterCCBuf(const sp<ABuffer> &ccBuf, size_t index);
/frameworks/av/media/libstagefright/codecs/amrnb/common/include/
H A Dd_gain_c.h45 Purpose : Decode the fixed codebook gain using the received index.
102 * Purpose : Decode the fixed codebook gain using the received index.
103 * Description : The received index gives the gain correction factor
113 Word16 index, /* i : received quantization index */
/frameworks/av/media/libstagefright/codecs/amrnb/dec/src/
H A Dd2_9pf.h109 Word16 index, /* i : Positions of the 2 pulses. */
H A Ddec_lag6.h107 Word16 index, /* input : received pitch index */
/frameworks/av/media/libstagefright/foundation/
H A DALooperRoster.cpp57 ssize_t index = mHandlers.indexOfKey(handlerID); local
59 if (index < 0) {
63 const HandlerInfo &info = mHandlers.valueAt(index);
71 mHandlers.removeItemsAt(index);
118 ssize_t index = mHandlers.indexOfKey(msg->target()); local
120 if (index < 0) {
125 const HandlerInfo &info = mHandlers.valueAt(index);
133 mHandlers.removeItemsAt(index);
144 ssize_t index = mHandlers.indexOfKey(handlerID); local
146 if (index <
180 ssize_t index; local
[all...]
/frameworks/base/core/java/android/webkit/
H A DWebBackForwardList.java36 * Get the index of the current history item. This index can be used to
37 * directly index into the array list.
38 * @return The current index from 0...n or -1 if the list is empty.
43 * Get the history item at the given index. The index range is from 0...n
45 * @param index The index to retrieve.
47 public abstract WebHistoryItem getItemAtIndex(int index); argument
/frameworks/base/services/core/java/com/android/server/hdmi/
H A DUnmodifiableSparseArray.java45 public int keyAt(int index) { argument
46 return mArray.keyAt(index);
49 public E valueAt(int index) { argument
50 return mArray.valueAt(index);
/frameworks/base/tools/aapt/
H A DAaptConfig.cpp39 ssize_t index = 0; local
42 const char* part = parts[index].string();
49 index++;
50 if (index == N) {
53 part = parts[index].string();
57 index++;
58 if (index == N) {
61 part = parts[index].string();
65 // control the index.
66 localeIndex = locale.initFromDirName(parts, index);
[all...]
/frameworks/native/libs/binder/
H A DDebug.cpp218 size_t index; local
231 for (index = 0; index < alignment || (alignment == 0 && index < bytesPerLine); index++) {
234 if (index == 0 && word > 0 && alignment > 0) {
239 const unsigned char val = *(pos+startIndex+(index*dir));
248 if (index == 0 && word > 0) {
252 if (index == 0) {
256 const unsigned char val = *(pos+startIndex+(index*di
[all...]
/frameworks/native/opengl/tools/glgen/stubs/gles11/
H A DglGetProgramResourceName.cpp1 /* void glGetProgramResourceName ( GLuint program, GLenum programInterface, GLuint index, GLsizei bufSize, GLsizei *length, GLchar *name ) */
4 (JNIEnv *_env, jobject _this, jint program, jint programInterface, jint index) {
3 android_glGetProgramResourceName(JNIEnv *_env, jobject _this, jint program, jint programInterface, jint index) argument
/frameworks/rs/cpu_ref/linkloader/include/
H A DMemChunk.h57 unsigned char &operator[](size_t index) { argument
58 return buf[index];
61 unsigned char const &operator[](size_t index) const {
62 return buf[index];
H A DELFSectionStrTab.h43 char const *operator[](size_t index) const {
44 return &*buf.begin() + index;
/frameworks/rs/driver/runtime/
H A Drs_element.c17 rsElementGetSubElement(rs_element e, uint32_t index) { argument
19 if (element == NULL || index >= element->mHal.state.fieldsCount) {
23 rs_element returnElem = {element->mHal.state.fields[index]};
28 rsElementGetSubElementNameLength(rs_element e, uint32_t index) { argument
30 if (element == NULL || index >= element->mHal.state.fieldsCount) {
33 return element->mHal.state.fieldNameLengths[index];
37 rsElementGetSubElementName(rs_element e, uint32_t index, char *name, uint32_t nameLength) { argument
39 if (element == NULL || index >= element->mHal.state.fieldsCount ||
44 uint32_t numToCopy = element->mHal.state.fieldNameLengths[index];
51 const char *nameSource = element->mHal.state.fieldNames[index];
59 rsElementGetSubElementArraySize(rs_element e, uint32_t index) argument
68 rsElementGetSubElementOffsetBytes(rs_element e, uint32_t index) argument
[all...]
/frameworks/wilhelm/src/itf/
H A DIEngineCapabilities.c109 SLuint32 index; local
113 index = *pIndex;
114 if (index >= thiz->mMaxIndexLED) {
117 id_descriptor = &LED_id_descriptors[index];
129 for (index = 0; index < thiz->mMaxIndexLED; ++index) {
130 id_descriptor = &LED_id_descriptors[index];
151 SLuint32 index; local
155 index
[all...]
/frameworks/base/core/java/android/util/
H A DLongSparseLongArray.java41 * <code>keyAt(int)</code> with ascending values of the index will return the
124 * Removes the mapping at the given index.
126 public void removeAt(int index) { argument
127 System.arraycopy(mKeys, index + 1, mKeys, index, mSize - (index + 1));
128 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1));
160 * Given an index i
169 keyAt(int index) argument
184 valueAt(int index) argument
[all...]
H A DSparseIntArray.java41 * <code>keyAt(int)</code> with ascending values of the index will return the
122 * Removes the mapping at the given index.
124 public void removeAt(int index) { argument
125 System.arraycopy(mKeys, index + 1, mKeys, index, mSize - (index + 1));
126 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1));
158 * Given an index i
167 keyAt(int index) argument
182 valueAt(int index) argument
[all...]
H A DSparseLongArray.java41 * <code>keyAt(int)</code> with ascending values of the index will return the
122 * Removes the mapping at the given index.
124 public void removeAt(int index) { argument
125 System.arraycopy(mKeys, index + 1, mKeys, index, mSize - (index + 1));
126 System.arraycopy(mValues, index + 1, mValues, index, mSize - (index + 1));
158 * Given an index i
167 keyAt(int index) argument
182 valueAt(int index) argument
[all...]
/frameworks/av/media/libeffects/testlibs/
H A DAudioCoefInterpolator.cpp44 size_t index = 0; local
51 index += mInDimOffsets[dim] * (mInDims[dim] - 1);
53 index += mInDimOffsets[dim] * intCoord[dim];
56 getCoefRecurse(index, fracCoord, out, 0);
59 void AudioCoefInterpolator::getCoefRecurse(size_t index, argument
63 memcpy(out, mTable + index, mNumOutDims * sizeof(audio_coef_t));
65 getCoefRecurse(index, fracCoord, out, dim + 1);
68 getCoefRecurse(index + mInDimOffsets[dim], fracCoord, tempCoef,
/frameworks/av/media/libstagefright/wifi-display/
H A DVideoFormats.h67 void setNativeResolution(ResolutionType type, size_t index);
68 void getNativeResolution(ResolutionType *type, size_t *index) const;
73 ResolutionType type, size_t index,
77 ResolutionType type, size_t index, bool enabled = true);
79 bool isResolutionEnabled(ResolutionType type, size_t index) const;
82 ResolutionType type, size_t index,
86 ResolutionType type, size_t index,
90 ResolutionType type, size_t index,
/frameworks/base/core/java/android/view/
H A DFrameStats.java88 * Get the time a frame at a given index was presented.
90 * @param index The frame index.
94 public final long getFramePresentedTimeNano(int index) { argument
98 return mFramesPresentedTimeNano[index];
/frameworks/base/services/core/java/com/android/server/wm/
H A DStackTapPointerEventListener.java58 int index = motionEvent.findPointerIndex(mPointerId);
60 || index < 0
61 || (motionEvent.getX(index) - mDownX) > mMotionSlop
62 || (motionEvent.getY(index) - mDownY) > mMotionSlop) {
69 int index = (action & MotionEvent.ACTION_POINTER_INDEX_MASK)
71 // Extract the index of the pointer that left the touch sensor
72 if (mPointerId == motionEvent.getPointerId(index)) {
73 final int x = (int)motionEvent.getX(index);
74 final int y = (int)motionEvent.getY(index);
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScriptIntrinsicLUTThunker.java45 public void setRed(int index, int value) { argument
47 mN.setRed(index, value);
53 public void setGreen(int index, int value) { argument
55 mN.setGreen(index, value);
61 public void setBlue(int index, int value) { argument
63 mN.setBlue(index, value);
69 public void setAlpha(int index, int value) { argument
71 mN.setAlpha(index, value);

Completed in 652 milliseconds

1234567891011>>