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

<<11121314151617181920>>

/frameworks/base/media/java/android/media/
H A DAmrInputStream.java110 int index = mCodec.dequeueInputBuffer(0);
111 if (index < 0) {
124 ByteBuffer buf = mCodec.getInputBuffer(index);
126 mCodec.queueInputBuffer(index,
137 int index = mCodec.dequeueOutputBuffer(mInfo, -1);
138 if (index >= 0) {
140 ByteBuffer out = mCodec.getOutputBuffer(index);
142 mCodec.releaseOutputBuffer(index, false /* render */);
H A DAudioGain.java72 AudioGain(int index, int mode, int channelMask, argument
75 mIndex = index;
H A DDecoderCapabilities.java81 private static native final int native_get_video_decoder_type(int index); argument
83 private static native final int native_get_audio_decoder_type(int index); argument
H A DAudioPort.java138 * Get the list of supported channel index mask configurations
140 * Empty array if channel index mask is not relevant for this audio port
164 * Get the gain descriptor at a given index
166 AudioGain gain(int index) { argument
167 if (index < 0 || index >= mGains.length) {
170 return mGains[index];
/frameworks/base/media/jni/
H A Dandroid_media_MediaCodec.h78 size_t index,
83 size_t index,
95 status_t dequeueInputBuffer(size_t *index, int64_t timeoutUs);
98 JNIEnv *env, jobject bufferInfo, size_t *index, int64_t timeoutUs);
101 size_t index, bool render, bool updatePTS, int64_t timestampNs);
107 status_t getOutputFormat(JNIEnv *env, size_t index, jobject *format) const;
113 JNIEnv *env, bool input, size_t index, jobject *buf) const;
116 JNIEnv *env, bool input, size_t index, jobject *image) const;
/frameworks/base/obex/javax/obex/
H A DObexHelper.java184 int index = 0;
191 while (index < headerArray.length) {
192 headerID = 0xFF & headerArray[index];
207 index++;
208 length = 0xFF & headerArray[index];
210 index++;
211 length += 0xFF & headerArray[index];
213 index++;
215 System.arraycopy(headerArray, index, value, 0, length);
237 System.arraycopy(headerArray, index, headerImp
[all...]
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/
H A DQuickTileLayout.java22 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
26 super.addView(child, index, params);
/frameworks/minikin/libs/minikin/
H A DSparseBitSet.cpp87 size_t index = ((currentPage - 1) << (kLogValuesPerPage - kLogBitsPerEl)) +
91 mBitmaps[index] |= (kElAllOnes >> (start & kElMask)) &
94 mBitmaps[index] |= kElAllOnes >> (start & kElMask);
96 mBitmaps[index + j] = kElAllOnes;
98 mBitmaps[index + nElements - 1] |= kElAllOnes << ((~end + 1) & kElMask);
131 uint16_t index = mIndices[page];
132 if (index == mZeroPageIndex) {
135 bitmap = &mBitmaps[index];
/frameworks/native/opengl/tools/glgen/src/
H A DJFunc.java76 public String getBufferArgName(int index) { argument
77 return bufferArgNames.get(index);
109 public String getArgName(int index) { argument
110 return argNames.get(index);
113 public JType getArgType(int index) { argument
114 return argTypes.get(index);
117 public int getArgCIndex(int index) { argument
118 return argCIndices.get(index).intValue();
/frameworks/rs/driver/
H A DrsdFrameBufferObj.h30 void setColorTarget(DrvAllocation *color, uint32_t index) { argument
31 mColorTargets[index] = color;
/frameworks/rs/
H A DrsMap.h56 const size_t index = hash(key) & MAP_NUM_BUCKET_MASK; local
57 LinkNode* node = bucket[index];
72 bucket[index] = node;
118 iterator(size_t index, LinkNode* n, const Map* m) : bucket_index(index), node(n), map(m) {} argument
144 const size_t index = hash(key) & MAP_NUM_BUCKET_MASK; local
145 LinkNode* node = bucket[index];
149 return iterator(index, node, this);
/frameworks/support/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DFragmentLayoutSupport.java138 void showDetails(int index) { argument
139 mCurCheckPosition = index;
144 getListView().setItemChecked(index, true);
149 if (details == null || details.getShownIndex() != index) {
151 details = DetailsFragment.newInstance(index);
166 intent.putExtra("index", index);
181 * show the text at 'index'.
183 public static DetailsFragment newInstance(int index) { argument
186 // Supply index inpu
[all...]
/frameworks/support/samples/Support4Demos/src/com/example/android/supportv4/app/
H A DFragmentLayoutSupport.java138 void showDetails(int index) { argument
139 mCurCheckPosition = index;
144 getListView().setItemChecked(index, true);
149 if (details == null || details.getShownIndex() != index) {
151 details = DetailsFragment.newInstance(index);
166 intent.putExtra("index", index);
181 * show the text at 'index'.
183 public static DetailsFragment newInstance(int index) { argument
186 // Supply index inpu
[all...]
/frameworks/wilhelm/src/itf/
H A DIMetadataExtraction.cpp47 SLuint32 index, SLuint32 *pKeySize)
58 index, pKeySize);
72 SLuint32 index, SLuint32 keySize, SLMetadataInfo *pKey)
83 index, keySize, pKey);
97 SLuint32 index, SLuint32 *pValueSize)
108 index, pValueSize);
122 SLuint32 index, SLuint32 valueSize, SLMetadataInfo *pValue)
133 index, valueSize, pValue);
46 IMetadataExtraction_GetKeySize(SLMetadataExtractionItf self, SLuint32 index, SLuint32 *pKeySize) argument
71 IMetadataExtraction_GetKey(SLMetadataExtractionItf self, SLuint32 index, SLuint32 keySize, SLMetadataInfo *pKey) argument
96 IMetadataExtraction_GetValueSize(SLMetadataExtractionItf self, SLuint32 index, SLuint32 *pValueSize) argument
121 IMetadataExtraction_GetValue(SLMetadataExtractionItf self, SLuint32 index, SLuint32 valueSize, SLMetadataInfo *pValue) argument
/frameworks/wilhelm/src/
H A Dsl_entry.cpp52 SL_API SLresult SLAPIENTRY slQuerySupportedEngineInterfaces(SLuint32 index, argument
57 result = liQuerySupportedInterfaces(index, pInterfaceId, objectIDtoClass(SL_OBJECTID_ENGINE));
H A Dxa_entry.cpp51 XA_API XAresult XAAPIENTRY xaQuerySupportedEngineInterfaces(XAuint32 index, argument
56 result = liQuerySupportedInterfaces(index, (SLInterfaceID *) pInterfaceId,
/frameworks/opt/calendar/src/com/android/calendarcommon2/
H A DICalendar.java397 public int index; field in class:ICalendar.ParserState
425 // TODO: use an index into the text, so we can make this a recursive
432 state.index = 0;
474 for (state.index = 0; state.index < len; ++state.index) {
475 c = line.charAt(state.index);
480 String name = line.substring(0, state.index);
528 if (state.index >= line.length() || line.charAt(state.index) !
[all...]
/frameworks/base/core/java/android/widget/
H A DEditText.java126 public void setSelection(int index) { argument
127 Selection.setSelection(getText(), index);
140 public void extendSelection(int index) { argument
141 Selection.extendSelection(getText(), index);
/frameworks/base/core/java/com/android/internal/util/
H A DCharSequences.java32 public char charAt(int index) {
33 return (char) bytes[index];
55 * @param start index, inclusive
56 * @param end index, exclusive
65 public char charAt(int index) {
66 return (char) bytes[index + start];
/frameworks/base/tools/layoutlib/bridge/src/android/util/
H A DBridgeXmlPullAttributes.java78 public int getAttributeNameResource(int index) { argument
80 String name = getAttributeName(index);
83 String ns = mParser.getAttributeNamespace(index);
213 public int getAttributeListValue(int index, argument
216 getAttributeValue(index), options, defaultValue);
220 public boolean getAttributeBooleanValue(int index, boolean defaultValue) { argument
221 String value = getAttributeValue(index);
236 public int getAttributeResourceValue(int index, int defaultValue) { argument
237 String value = getAttributeValue(index);
243 public int getAttributeIntValue(int index, in argument
250 getAttributeUnsignedIntValue(int index, int defaultValue) argument
266 getAttributeFloatValue(int index, float defaultValue) argument
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/
H A DMockView.java67 public void addView(View child, int index) { argument
69 super.addView(child, index);
88 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
90 super.addView(child, index, params);
/frameworks/data-binding/compiler/src/main/java/android/databinding/tool/writer/
H A DCallbackWrapperWriter.kt22 "int ${CallbackWrapper.SOURCE_ID} ${method.parameterTypes.withIndex().map { ", ${it.value.toJavaCode()} ${CallbackWrapper.ARG_PREFIX}${it.index}" }.joinToString("")}"
25 method.parameterTypes.withIndex().map { "${it.value.toJavaCode()} ${CallbackWrapper.ARG_PREFIX}${it.index}" }.joinToString(", ")
28 method.parameterTypes.withIndex().map { "${CallbackWrapper.ARG_PREFIX}${it.index}" }.joinToString(", ")
31 "mSourceId ${method.parameterTypes.withIndex().map { ", ${CallbackWrapper.ARG_PREFIX}${it.index}" }.joinToString("")}"
/frameworks/native/docs/
H A DMakefile12 rm -f website/index.html
/frameworks/native/opengl/libagl/
H A DBufferObjectManager.cpp91 int32_t index = mBuffers.indexOfKey(t); local
92 if (index >= 0) {
93 buffer_t* bo = mBuffers.valueAt(index);
95 mBuffers.removeItemsAt(index);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/
H A DIIccPhoneBook.aidl107 * Update an ADN-like EF record by record index
117 * @param index is 1-based adn record index to be updated
122 String newPhoneNumber, int index,
126 * Update an ADN-like EF record by record index
136 * @param index is 1-based adn record index to be updated
142 String newPhoneNumber, int index,

Completed in 1097 milliseconds

<<11121314151617181920>>