Searched refs:index (Results 276 - 300 of 1205) sorted by relevance

<<11121314151617181920>>

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DStaggeredGridDefault.java100 * next row of last item. Search until row index wrapped.
108 int index = indexLimit;
122 index = i;
138 index = i;
145 indices[1] = index;
152 * next row of last item. Search until row index wrapped.
160 int index = indexLimit;
175 index = i;
190 index = i;
197 indices[1] = index;
[all...]
/frameworks/support/v8/renderscript/java/src/android/support/v8/renderscript/
H A DScript.java320 * @param index
323 public void setVar(int index, float v) { argument
324 mRS.nScriptSetVarF(getID(mRS), index, v, mUseIncSupp);
330 * @param index
333 public void setVar(int index, double v) { argument
334 mRS.nScriptSetVarD(getID(mRS), index, v, mUseIncSupp);
340 * @param index
343 public void setVar(int index, int v) { argument
344 mRS.nScriptSetVarI(getID(mRS), index, v, mUseIncSupp);
350 * @param index
353 setVar(int index, long v) argument
363 setVar(int index, boolean v) argument
373 setVar(int index, BaseObj o) argument
388 setVar(int index, FieldPacker v) argument
400 setVar(int index, FieldPacker v, Element e, int[] dims) argument
[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.java98 * @param whichChild the index of the child view to display
118 * Returns the index of the currently displayed child view.
146 * @param childIndex The index of the child to be shown.
174 * @param childIndex The index of the child to be shown.
182 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
183 super.addView(child, index, params);
189 if (index >= 0 && mWhichChild >= index) {
190 // Added item above current one, increment the index of the displayed child
204 final int index
211 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...]
/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/av/media/libstagefright/codecs/amrnb/enc/src/
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/av/media/libstagefright/codecs/on2/h264dec/omxdl/reference/vc/m4p2/src/
H A DomxVCM4P2_MotionEstimationMB.c295 OMX_INT intraSAD, average, count, index, x, y; local
334 for (y = 0, index = count = 0; y < 16; y++, index += srcCurrStep - 16)
336 for(x = 0; x < 16; x++, count++, index++)
338 pTempSrcCurrBuf[count] = pSrcCurrBuf[index];
341 for(y = 0, index = 0; y < 2; y++)
343 for(x = 0; x < 2; x++,index++)
347 pSrcCandMV1[index] = &(pMBInfo[0]->pMV0[y][x]);
351 pSrcCandMV1[index] = NULL;
355 pSrcCandMV2[index]
[all...]
/frameworks/base/tools/aapt2/
H A DStringPool.cpp71 return mEntry->index;
147 entry->index = mStrings.size();
162 entry->index = mStrings.size();
182 entry->index = mStrings.size();
207 for (size_t index = 0; index < len; index++) {
208 mStrings[index]->index = index;
[all...]
/frameworks/av/media/libstagefright/
H A DFrameRenderTracker.cpp51 ANativeWindowBuffer *buf, int fenceFd, int index) {
52 if (index < 0) {
83 // store dequeue fence and buffer index
85 renderInfo->mIndex = index;
152 void FrameRenderTracker::untrackFrame(const FrameRenderTracker::Info *info, ssize_t index) { argument
153 if (info == NULL && index == SSIZE_MAX) {
163 if (it->mIndex > index) {
177 ALOGI(" RENDERED: handle: %p, media time: %lldus, index: %zd, render time: %lldns",
185 ALOGI(" DEQUEUED: handle: %p, media time: %lldus, index: %zd",
50 updateInfoForDequeuedBuffer( ANativeWindowBuffer *buf, int fenceFd, int index) argument
/frameworks/av/services/audiopolicy/common/managerdefinitions/src/
H A DEffectDescriptor.cpp83 ssize_t index = indexOfKey(id); local
84 if (index < 0) {
89 sp<EffectDescriptor> effectDesc = valueAt(index);
109 ssize_t index = indexOfKey(id); local
110 if (index < 0) {
115 return setEffectEnabled(valueAt(index), enabled);
/frameworks/base/core/java/android/view/
H A DWindowManagerGlobal.java275 int index = findViewLocked(view, false);
276 if (index >= 0) {
279 mRoots.get(index).doDie();
314 final int index = findViewLocked(view, false);
315 if (index >= 0) {
316 removeViewLocked(index, true);
336 int index = findViewLocked(view, true);
337 ViewRootImpl root = mRoots.get(index);
338 mParams.remove(index);
339 mParams.add(index, wparam
387 removeViewLocked(int index, boolean immediate) argument
[all...]
/frameworks/base/libs/hwui/
H A DAssetAtlas.cpp85 ssize_t index = mEntries.indexOfKey(bitmap->pixelRef()); local
86 return index >= 0 ? mEntries.valueAt(index) : nullptr;
90 ssize_t index = mEntries.indexOfKey(bitmap->pixelRef()); local
91 return index >= 0 ? mEntries.valueAt(index)->texture : nullptr;
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
157 IndexEntry(RenderScript rs, int index, lon argument
214 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/av/media/libstagefright/codecs/on2/enc/
H A DSoftVPXEncoder.h74 OMX_INDEXTYPE index, OMX_PTR param);
79 OMX_INDEXTYPE index, const OMX_PTR param);
82 OMX_INDEXTYPE index, const OMX_PTR params);
202 // Temporal pattern current index
/frameworks/av/media/libstagefright/include/
H A DSoftVideoEncoderOMXComponent.h43 virtual OMX_ERRORTYPE internalSetParameter(OMX_INDEXTYPE index, const OMX_PTR param);
44 virtual OMX_ERRORTYPE internalGetParameter(OMX_INDEXTYPE index, OMX_PTR params);
69 virtual OMX_ERRORTYPE getExtensionIndex(const char *name, OMX_INDEXTYPE *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 1976 milliseconds

<<11121314151617181920>>