Searched refs:index (Results 501 - 525 of 1076) sorted by relevance

<<21222324252627282930>>

/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
H A DStaggeredGrid.java60 public abstract void createItem(int index, int row, boolean append); argument
64 * Location of an item in the grid. For now it only saves row index but
69 * The index of the row for this Location.
74 * Create a Location with the given row index.
102 * A constant representing a default starting index, indicating that the
103 * developer did not provide a start index.
107 // the first index that grid will layout
109 // the row to layout the first index
150 * Set the first item index and the row index t
185 getLocation(int index) argument
[all...]
H A DPlaybackControlsRow.java83 * Returns the drawable at the given index.
85 public Drawable getDrawable(int index) { argument
86 return mDrawables[index];
90 * Returns the label at the given index.
92 public String getLabel(int index) { argument
93 return mLabels[index];
97 * Increments the index, wrapping to zero once the end is reached.
104 * Sets the current index.
106 public void setIndex(int index) { argument
107 mIndex = index;
487 getStyledDrawable(Context context, int index) argument
[all...]
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/
H A DViewStubCompat.java208 final int index = parent.indexOfChild(this);
213 parent.addView(view, index, layoutParams);
215 parent.addView(view, index);
/frameworks/av/media/libstagefright/
H A DAACWriter.cpp209 * Returns an index into the sample rate table if the
221 for (int index = 0; index < tableSize; ++index) {
222 if (sampleRate == kSampleRateTable[index]) {
223 ALOGV("Sample rate: %d and index: %d",
224 sampleRate, index);
225 *tableIndex = index;
243 * 4 bits of sampling frequency index code (15 is not allowed)
/frameworks/av/media/libstagefright/codecs/aacenc/
H A DAACEncoder.cpp96 static status_t getSampleRateTableIndex(int32_t sampleRate, int32_t &index) { argument
104 index = i;
117 int32_t index = 0; local
118 CHECK_EQ((status_t)OK, getSampleRateTableIndex(mSampleRate, index));
125 mAudioSpecificConfigData[0] = ((0x02 << 3) | (index >> 1));
126 mAudioSpecificConfigData[1] = ((index & 0x01) << 7) | (mChannels << 3);
/frameworks/av/media/libstagefright/codecs/amrnb/dec/
H A DSoftAMR.cpp144 OMX_INDEXTYPE index, OMX_PTR params) {
145 switch (index) {
198 return SimpleSoftOMXComponent::internalGetParameter(index, params);
203 OMX_INDEXTYPE index, const OMX_PTR params) {
204 switch (index) {
252 return SimpleSoftOMXComponent::internalSetParameter(index, params);
143 internalGetParameter( OMX_INDEXTYPE index, OMX_PTR params) argument
202 internalSetParameter( OMX_INDEXTYPE index, const OMX_PTR params) argument
/frameworks/av/media/libstagefright/codecs/amrnb/enc/
H A DSoftAMRNBEncoder.cpp116 OMX_INDEXTYPE index, OMX_PTR params) {
117 switch (index) {
179 return SimpleSoftOMXComponent::internalGetParameter(index, params);
184 OMX_INDEXTYPE index, const OMX_PTR params) {
185 switch (index) {
269 return SimpleSoftOMXComponent::internalSetParameter(index, params);
115 internalGetParameter( OMX_INDEXTYPE index, OMX_PTR params) argument
183 internalSetParameter( OMX_INDEXTYPE index, const OMX_PTR params) argument
/frameworks/av/media/libstagefright/codecs/mp3dec/
H A DSoftMP3.cpp124 OMX_INDEXTYPE index, OMX_PTR params) {
125 switch (index) {
167 return SimpleSoftOMXComponent::internalGetParameter(index, params);
172 OMX_INDEXTYPE index, const OMX_PTR params) {
173 switch (index) {
204 return SimpleSoftOMXComponent::internalSetParameter(index, params);
123 internalGetParameter( OMX_INDEXTYPE index, OMX_PTR params) argument
171 internalSetParameter( OMX_INDEXTYPE index, const OMX_PTR params) argument
/frameworks/base/core/java/android/text/style/
H A DSuggestionSpan.java347 public void notifySelection(Context context, String original, int index) { argument
355 if (mSuggestions == null || index < 0 || index >= mSuggestions.length) {
356 Log.w(TAG, "Unable to notify the suggestion as the index is out of range index=" + index
367 intent.putExtra(SuggestionSpan.SUGGESTION_SPAN_PICKED_AFTER, mSuggestions[index]);
373 imm.notifySuggestionPicked(this, original, index);
/frameworks/base/media/java/android/media/
H A DIAudioService.aidl47 void setStreamVolume(int streamType, int index, int flags, String callingPackage);
49 oneway void setRemoteStreamVolume(int index);
51 void setMasterVolume(int index, int flags, String callingPackage);
/frameworks/base/tools/velocityplot/
H A Dvelocityplot.py52 index = self.buffer.find('\n', self.pos)
53 if index != -1:
54 result = self.buffer[self.pos:index]
55 self.pos = index + 1
129 def _add_timeseries_axes(self, index, title, ylabel, ylim, yticks, sharex=None):
132 top = 0.95 - height * index
/frameworks/av/media/libstagefright/include/
H A DAVIExtractor.h33 virtual sp<MediaSource> getTrack(size_t index);
36 size_t index, uint32_t flags);
H A DMPEG4Extractor.h56 virtual sp<MediaSource> getTrack(size_t index);
57 virtual sp<MetaData> getTrackMetaData(size_t index, uint32_t flags);
/frameworks/base/core/java/android/bluetooth/
H A DIBluetoothHeadset.aidl56 void clccResponse(int index, int direction, int status, int mode, boolean mpty,
/frameworks/base/core/java/android/hardware/usb/
H A DUsbInterface.java32 * <a href="{@docRoot}guide/topics/usb/index.html">USB</a> developer guide.</p>
130 * Returns the {@link android.hardware.usb.UsbEndpoint} at the given index.
134 public UsbEndpoint getEndpoint(int index) { argument
135 return (UsbEndpoint)mEndpoints[index];
/frameworks/base/core/java/com/android/internal/preference/
H A DYesNoPreference.java84 protected Object onGetDefaultValue(TypedArray a, int index) { argument
85 return a.getBoolean(index, false);
/frameworks/base/core/jni/android/graphics/
H A DInterpolator.cpp25 static void Interpolator_setKeyFrame(JNIEnv* env, jobject clazz, jlong interpHandle, jint index, jint msec, jfloatArray valueArray, jfloatArray blendArray) argument
38 interp->setKeyFrame(index, msec, scalars, blend);
/frameworks/base/docs/html/
H A Djd_tag_helpers.js23 ALL_RESOURCES[i].index = i;
57 dictForKey[srcArr[i].index] = true;
/frameworks/base/libs/hwui/thread/
H A DTaskManager.cpp115 ssize_t index = mTasks.add(task); local
118 return index >= 0;
/frameworks/base/tools/aapt/
H A DXMLNode.cpp788 status_t XMLNode::insertChildAt(const sp<XMLNode>& child, size_t index)
795 mChildren.insertAt(child, index);
809 e.index = mNextAttributeIndex++;
814 mAttributeOrder.add(e.index, mAttributes.size()-1);
819 status_t XMLNode::removeAttribute(size_t index)
825 if (index >= mAttributes.size()) {
829 const attribute_entry& e = mAttributes[index];
830 const uint32_t key = e.nameResId ? e.nameResId : e.index;
832 mAttributes.removeAt(index);
838 if (attrIdx > index) {
[all...]
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
H A DFakeAdapter.java75 int index = typeCount[typeIndex];
79 mItems.add(new AdapterItem(dataBindingItem, typeIndex, mItems.size(), index++));
/frameworks/native/include/gui/
H A DBufferQueueCore.h38 #define ATRACE_BUFFER_INDEX(index) \
42 mCore->mConsumerName.string(), (index)); \
174 // allocated for a slot when requestBuffer is called with that slot's index.
/frameworks/opt/net/voip/src/java/android/net/sip/
H A DSimpleSessionDescription.java566 * Returns the index of the key.
585 int index = find(key, delimiter);
590 if (index == -1) {
593 mLines.set(index, key);
595 } else if (index != -1) {
596 mLines.remove(index);
604 int index = find(key, delimiter);
605 if (index == -1) {
608 String line = mLines.get(index);
/frameworks/rs/
H A DrsFileA3D.cpp224 const FileA3D::A3DIndexEntry *FileA3D::getIndexEntry(size_t index) const {
225 if (index < mIndex.size()) {
226 return mIndex[index];
231 ObjectBase *FileA3D::initializeFromEntry(size_t index) { argument
232 if (index >= mIndex.size()) {
236 FileA3D::A3DIndexEntry *entry = mIndex[index];
388 RsObjectBase rsaFileA3DGetEntryByIndex(RsContext con, uint32_t index, RsFile file) { argument
395 ObjectBase *obj = fa3d->initializeFromEntry(index);
416 ALOGE("Can't load index entries. No valid file");
422 ALOGE("Can't load index entrie
[all...]
/frameworks/wilhelm/src/android/
H A Dandroid_Effect.cpp517 ssize_t index = outputMix->mAndroidEffect.mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); local
519 if (0 > index) {
524 android::AudioEffect* pFx = outputMix->mAndroidEffect.mEffects->valueAt(index);
716 SLresult android_genericFx_queryEffect(SLuint32 index, effect_descriptor_t* pDescriptor) { argument
723 android::AudioEffect::queryEffect(index, pDescriptor);
789 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); local
791 if (0 > index) {
794 android::AudioEffect* pFx = iae->mEffects->valueAt(index);
796 iae->mEffects->removeItem(index);
805 ssize_t index local
820 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); local
837 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); local
[all...]

Completed in 710 milliseconds

<<21222324252627282930>>