Searched refs:index (Results 251 - 275 of 1076) sorted by relevance

<<11121314151617181920>>

/frameworks/av/media/libeffects/proxy/
H A DEffectProxy.cpp189 int index = pContext->index; local
190 // if the index refers to HW , do not do anything. Just return.
191 if (index == SUB_FX_HOST) {
192 ret = (*pContext->eHandle[index])->process(pContext->eHandle[index],
234 // Return error if the CMD_OFFLOAD sends the index as OFFLOAD
236 pContext->index = SUB_FX_HOST;
250 // Assign the effect context index based on isOffload field of the structure
251 pContext->index
277 int index = pContext->index; local
[all...]
/frameworks/av/media/libstagefright/codecs/amrnb/enc/src/
H A Dc4_17pf.cpp114 Word16 sign[], /* o : index of 4 pulses (position+sign+ampl)*4 */
151 index
231 Word16 index; local
282 index =
317 return index;
468 /* initialize 4 index for next loop. */
470 * These index have low complexity address computation because *
526 /* initialize 4 index for next loop (see i1 loop) */
530 /* index increment = STEP */
582 /* initialize 5 index fo
752 Word16 index; local
[all...]
H A Dc3_14pf.cpp140 index
220 Word16 index; local
272 index =
304 return index;
456 /* initialize 4 index for next loop. */
458 * These index have low complexity address computation because *
516 /* initialize 4 index for next loop (see i1 loop) */
520 /* index increment = STEP */
628 PURPOSE: Builds the codeword, the filtered codeword and index of the
682 Word16 index; local
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
H A DTicker.java107 int index = this.next;
109 while (index < len && !isGraphicOrEmoji(this.text.charAt(index))) {
110 index++;
112 if (index >= len) {
116 CharSequence substr = this.text.subSequence(index, this.text.length());
126 this.next = index + l.getLineStart(i+1);
130 this.current = index + start;
142 int index = 0;
144 while (index < le
[all...]
/frameworks/base/core/java/android/content/res/
H A DXmlBlock.java177 public String getAttributeNamespace(int index) { argument
178 int id = nativeGetAttributeNamespace(mParseState, index);
179 if (DEBUG) System.out.println("getAttributeNamespace of " + index + " = " + id);
182 throw new IndexOutOfBoundsException(String.valueOf(index));
184 public String getAttributeName(int index) { argument
185 int id = nativeGetAttributeName(mParseState, index);
186 if (DEBUG) System.out.println("getAttributeName of " + index + " = " + id);
188 throw new IndexOutOfBoundsException(String.valueOf(index));
190 public String getAttributePrefix(int index) { argument
200 public String getAttributeValue(int index) { argument
214 getAttributeType(int index) argument
217 isAttributeDefault(int index) argument
310 getAttributeNameResource(int index) argument
[all...]
/frameworks/base/tests/CanvasCompare/src/com/android/test/hwuicompare/
H A DDisplayModifier.java54 int index;
55 for (index = 0; index < gTriPts.length; index++) {
56 gLinePts[index] = gTriPts[index];
60 gLinePts[index + 0] = 150;
61 gLinePts[index + 1] = val;
62 gLinePts[index + 2] = 300;
63 gLinePts[index
425 getMapAtIndex(int index) argument
[all...]
/frameworks/base/services/core/java/com/android/server/input/
H A DPersistentDataStore.java354 int index = Collections.binarySearch(mKeyboardLayouts, keyboardLayout);
355 if (index >= 0) {
358 mKeyboardLayouts.add(-index - 1, keyboardLayout);
366 int index = Collections.binarySearch(mKeyboardLayouts, keyboardLayout);
367 if (index < 0) {
370 mKeyboardLayouts.remove(index);
371 updateCurrentKeyboardLayoutIfRemoved(keyboardLayout, index);
379 int index = removedIndex;
380 if (index == mKeyboardLayouts.size()) {
381 index
[all...]
/frameworks/av/drm/drmserver/
H A DDrmManager.cpp59 for (size_t index = 0; index < kMaxNumUniqueIds; ++index) {
60 int temp = (random + index) % kMaxNumUniqueIds;
141 for (size_t index = 0; index < plugInIdList.size(); index++) {
142 IDrmEngine& rDrmEngine = mPlugInManager.getPlugIn(plugInIdList.itemAt(index));
152 for (size_t index = 0; index < plugInIdLis
[all...]
/frameworks/av/media/libstagefright/omx/
H A DSoftOMXComponent.cpp126 OMX_INDEXTYPE index,
132 return me->getParameter(index, params);
138 OMX_INDEXTYPE index,
144 return me->setParameter(index, params);
150 OMX_INDEXTYPE index,
156 return me->getConfig(index, params);
162 OMX_INDEXTYPE index,
168 return me->setConfig(index, params);
175 OMX_INDEXTYPE *index) {
180 return me->getExtensionIndex(name, index);
124 GetParameterWrapper( OMX_HANDLETYPE component, OMX_INDEXTYPE index, OMX_PTR params) argument
136 SetParameterWrapper( OMX_HANDLETYPE component, OMX_INDEXTYPE index, OMX_PTR params) argument
148 GetConfigWrapper( OMX_HANDLETYPE component, OMX_INDEXTYPE index, OMX_PTR params) argument
160 SetConfigWrapper( OMX_HANDLETYPE component, OMX_INDEXTYPE index, OMX_PTR params) argument
172 GetExtensionIndexWrapper( OMX_HANDLETYPE component, OMX_STRING name, OMX_INDEXTYPE *index) argument
[all...]
/frameworks/base/core/java/android/widget/
H A DViewAnimator.java99 * @param whichChild the index of the child view to display
119 * Returns the index of the currently displayed child view.
147 * @param childIndex The index of the child to be shown.
175 * @param childIndex The index of the child to be shown.
183 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
184 super.addView(child, index, params);
190 if (index >= 0 && mWhichChild >= index) {
191 // Added item above current one, increment the index of the displayed child
205 final int index
212 removeViewAt(int index) argument
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DTelephonyDevController.java202 * get modem at index 'index'.
204 public HardwareConfig getModem(int index) { argument
211 if (index > getModemCount()) {
212 loge("getModem: out-of-bounds access for modem device " + index + " max: " + getModemCount());
216 if (DBG) logd("getModem: " + index);
217 return mModems.get(index);
233 * get sim at index 'index'.
235 public HardwareConfig getSim(int index) { argument
[all...]
H A DWapPushOverSms.java119 int index = 0;
120 int transactionId = pdu[index++] & 0xFF;
121 int pduType = pdu[index++] & 0xFF;
128 index = mContext.getResources().getInteger(
130 if (index != -1) {
131 transactionId = pdu[index++] & 0xff;
132 pduType = pdu[index++] & 0xff;
134 Rlog.d(TAG, "index = " + index + " PDU Type = " + pduType +
157 if (pduDecoder.decodeUintvarInteger(index)
[all...]
/frameworks/opt/telephony/src/java/com/android/internal/telephony/uicc/
H A DAdnRecordCache.java131 * Update an ADN-like record in EF by record index
135 * @param recordIndex is the 1-based adn record index
200 int index = -1;
204 index = count;
210 if (index == -1) {
216 AdnRecord foundAdn = oldAdnList.get(index-1);
219 index = foundAdn.mRecordNumber;
223 newAdn.mRecordNumber = index;
236 index, pin2,
237 obtainMessage(EVENT_UPDATE_ADN_DONE, efid, index, newAd
[all...]
/frameworks/native/opengl/libs/GLES_trace/src/
H A Dgltrace.pb.h923 inline ::google::protobuf::int32 intvalue(int index) const;
924 inline void set_intvalue(int index, ::google::protobuf::int32 value);
935 inline float floatvalue(int index) const;
936 inline void set_floatvalue(int index, float value);
947 inline const ::std::string& charvalue(int index) const;
948 inline ::std::string* mutable_charvalue(int index);
949 inline void set_charvalue(int index, const ::std::string& value);
950 inline void set_charvalue(int index, const char* value);
951 inline void set_charvalue(int index, const void* value, size_t size);
963 inline const ::std::string& rawbytes(int index) cons
1021 _set_bit(int index) argument
1024 _clear_bit(int index) argument
1123 _set_bit(int index) argument
1126 _clear_bit(int index) argument
2055 _set_bit(int index) argument
2058 _clear_bit(int index) argument
2115 set_intvalue(int index, ::google::protobuf::int32 value) argument
2140 set_floatvalue(int index, float value) argument
2165 mutable_charvalue(int index) argument
2168 set_charvalue(int index, const ::std::string& value) argument
2171 set_charvalue(int index, const char* value) argument
2174 set_charvalue(int index, const void* value, size_t size) argument
2209 mutable_rawbytes(int index) argument
2212 set_rawbytes(int index, const ::std::string& value) argument
2215 set_rawbytes(int index, const char* value) argument
2218 set_rawbytes(int index, const void* value, size_t size) argument
2253 set_boolvalue(int index, bool value) argument
2278 set_int64value(int index, ::google::protobuf::int64 value) argument
2339 mutable_contents(int index) argument
2342 set_contents(int index, const ::std::string& value) argument
2345 set_contents(int index, const char* value) argument
2348 set_contents(int index, const void* value, size_t size) argument
2452 mutable_args(int index) argument
[all...]
/frameworks/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DomxVCM4P2_MotionEstimationMB.c280 OMX_INT intraSAD, average, count, index, x, y; local
319 for (y = 0, index = count = 0; y < 16; y++, index += srcCurrStep - 16)
321 for(x = 0; x < 16; x++, count++, index++)
323 pTempSrcCurrBuf[count] = pSrcCurrBuf[index];
326 for(y = 0, index = 0; y < 2; y++)
328 for(x = 0; x < 2; x++,index++)
332 pSrcCandMV1[index] = &(pMBInfo[0]->pMV0[y][x]);
336 pSrcCandMV1[index] = NULL;
340 pSrcCandMV2[index]
[all...]
/frameworks/base/libs/hwui/
H A DAssetAtlas.cpp78 ssize_t index = mEntries.indexOfKey(bitmap); local
79 return index >= 0 ? mEntries.valueAt(index) : NULL;
83 ssize_t index = mEntries.indexOfKey(bitmap); local
84 return index >= 0 ? mEntries.valueAt(index)->texture : NULL;
H A DProgram.cpp113 ssize_t index = mAttributes.indexOfKey(name); local
114 if (index >= 0) {
115 return mAttributes.valueAt(index);
127 ssize_t index = mUniforms.indexOfKey(name); local
128 if (index >= 0) {
129 return mUniforms.valueAt(index);
/frameworks/base/rs/java/android/renderscript/
H A DFileA3D.java35 * index entries for all the objects stored inside it.
71 * objects inside the file's index. It could be used to query the
85 * Returns the name of a renderscript object the index entry
88 * @return name of a renderscript object the index entry
98 * Returns the type of a renderscript object the index entry
100 * @return type of a renderscript object the index entry
109 * Used to load the object described by the index entry
120 * Used to load the mesh described by the index entry, object
121 * described by the index entry must be a renderscript mesh
154 IndexEntry(RenderScript rs, int index, lon argument
211 getIndexEntry(int index) argument
[all...]
/frameworks/base/test-runner/src/android/test/
H A DTestCaseUtil.java131 int index = name.lastIndexOf(".");
132 if (index > -1) {
133 return name.substring(index + 1);
143 int index = 0;
147 if (index == position) {
150 index++;
/frameworks/wilhelm/src/itf/
H A DIAndroidEffectCapabilities.c44 SLuint32 index, SLInterfaceID *pEffectType, SLInterfaceID *pEffectImplementation,
50 if (index > thiz->mNumFx) {
55 *pEffectType = (SLInterfaceID) &thiz->mFxDescriptors[index].type;
58 *pEffectImplementation = (SLInterfaceID) &thiz->mFxDescriptors[index].uuid;
61 int len = strlen(thiz->mFxDescriptors[index].name);
62 strncpy((char*)pName, thiz->mFxDescriptors[index].name,
43 IAndroidEffectCapabilities_QueryEffect(SLAndroidEffectCapabilitiesItf self, SLuint32 index, SLInterfaceID *pEffectType, SLInterfaceID *pEffectImplementation, SLchar * pName, SLuint16 *pNameSize) argument
/frameworks/av/drm/libdrmframework/plugins/common/util/include/
H A DSessionMap.h82 * returns the session object by the index in the session map table
84 * @param index - index of the value required
86 * @return session object as per the index
88 TValue getValueAt(unsigned int index) { argument
92 if (map.size() > index) {
93 value = map.valueAt(index);
/frameworks/av/include/media/stagefright/timedtext/
H A DTimedTextDriver.h46 status_t selectTrack(size_t index);
47 status_t unselectTrack(size_t index);
93 status_t selectTrack_l(size_t index);
/frameworks/base/core/java/android/hardware/camera2/utils/
H A DArrayUtils.java33 /** Return the index of {@code needle} in the {@code array}, or else {@code -1} */
39 int index = 0;
42 return index;
44 index++;
50 /** Return the index of {@code needle} in the {@code array}, or else {@code -1} */
65 * {@code convertTo} as a one-to-one map (via the index).
95 * {@code convertTo} as a one-to-one map (via the index).
/frameworks/base/location/java/android/location/
H A DAddress.java75 * Returns the largest index currently in use to specify an address line.
83 * Returns a line of the address numbered by the given index
86 * @throws IllegalArgumentException if index < 0
88 public String getAddressLine(int index) { argument
89 if (index < 0) {
90 throw new IllegalArgumentException("index = " + index + " < 0");
92 return mAddressLines == null? null : mAddressLines.get(index);
96 * Sets the line of the address numbered by index (starting at 0) to the
99 * @throws IllegalArgumentException if index <
101 setAddressLine(int index, String line) argument
[all...]
/frameworks/base/media/java/android/media/
H A DEncoderCapabilities.java158 private static native final int native_get_file_format(int index); argument
160 private static native final VideoEncoderCap native_get_video_encoder_cap(int index); argument
162 private static native final AudioEncoderCap native_get_audio_encoder_cap(int index); argument

Completed in 653 milliseconds

<<11121314151617181920>>