Searched defs:index (Results 251 - 275 of 587) sorted by relevance

<<11121314151617181920>>

/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextSRTSource.cpp284 int TimedTextSRTSource::compareExtendedRangeAndTime(size_t index, int64_t timeUs) { argument
285 CHECK_LT(index, mTextVector.size());
286 int64_t endTimeUs = mTextVector.valueAt(index).endTimeUs;
287 int64_t startTimeUs = (index > 0) ?
288 mTextVector.valueAt(index - 1).endTimeUs : 0;
/frameworks/av/media/libstagefright/wifi-display/sink/
H A DTunnelRenderer.cpp57 virtual void onBufferAvailable(size_t index);
101 void TunnelRenderer::StreamSource::onBufferAvailable(size_t index) { argument
102 CHECK_LT(index, mBuffers.size());
106 mIndicesAvailable.push_back(index);
146 size_t index = *mIndicesAvailable.begin(); local
149 sp<IMemory> mem = mBuffers.itemAt(index);
154 mListener->queueBuffer(index, srcBuffer->size());
/frameworks/av/services/audioflinger/
H A DAudioResampler.cpp71 static inline void Advance(size_t* index, uint32_t* frac, uint32_t inc) { argument
73 *index += (size_t)(*frac >> kNumPhaseBits);
375 // ALOGE("buffer done, new input index %d", inputIndex);
471 // ALOGE("buffer done, new input index %d", inputIndex);
498 * maxInIdx : index on first not used
499 * outputIndex : pointer on current output index
501 * inputIndex : pointer on current input index
508 * inputIndex : index of next to use
609 * maxInIdx : index on first not used
610 * outputIndex : pointer on current output index
[all...]
/frameworks/av/services/camera/libcameraservice/camera2/
H A DZslProcessor.cpp256 size_t index = mZslQueueTail; local
257 while (index != mZslQueueHead) {
258 if (!mZslQueue[index].frame.isEmpty()) {
259 request = mZslQueue[index].frame;
262 index = (index + 1) % kZslBufferDepth;
264 if (index == mZslQueueHead) {
286 &(mZslQueue[index].buffer.mGraphicBuffer->handle);
/frameworks/base/core/java/android/app/
H A DFragmentBreadCrumbs.java269 * Returns the pre-entry corresponding to the index. If there is a parent and a top entry
270 * set, parent has an index of zero and top entry has an index of 1. Returns null if the
271 * specified index doesn't exist or is null.
272 * @param index should not be more than {@link #getPreEntryCount()} - 1
274 private BackStackEntry getPreEntry(int index) { argument
277 return index == 0 ? mParentEntry : mTopEntry;
/frameworks/base/core/java/android/content/
H A DClipData.java786 * Return a single item inside of the clip data. The index can range
789 public Item getItemAt(int index) { argument
790 return mItems.get(index);
/frameworks/base/core/java/android/content/res/
H A DTypedArray.java62 * Return an index in the array that has data.
64 * @param at The index you would like to returned, ranging from 0 to
67 * @return The index at the given offset, which can be used with
82 * Retrieve the styled string value for the attribute at <var>index</var>.
84 * @param index Index of attribute to retrieve.
89 public CharSequence getText(int index) { argument
90 index *= AssetManager.STYLE_NUM_ENTRIES;
92 final int type = data[index+AssetManager.STYLE_TYPE];
96 return loadStringValueAt(index);
100 if (getValueAt(index,
117 getString(int index) argument
152 getNonResourceString(int index) argument
178 getNonConfigurationString(int index, int allowedChangingConfigs) argument
210 getBoolean(int index, boolean defValue) argument
240 getInt(int index, int defValue) argument
269 getFloat(int index, float defValue) argument
307 getColor(int index, int defValue) argument
339 getColorStateList(int index) argument
356 getInteger(int index, int defValue) argument
387 getDimension(int index, float defValue) argument
419 getDimensionPixelOffset(int index, int defValue) argument
452 getDimensionPixelSize(int index, int defValue) argument
479 getLayoutDimension(int index, String name) argument
508 getLayoutDimension(int index, int defValue) argument
538 getFraction(int index, int base, int pbase, float defValue) argument
567 getResourceId(int index, int defValue) argument
589 getDrawable(int index) argument
616 getTextArray(int index) argument
642 getValue(int index, TypedValue outValue) argument
653 hasValue(int index) argument
671 peekValue(int index) argument
699 getValueAt(int index, TypedValue outValue) argument
715 loadStringValueAt(int index) argument
[all...]
/frameworks/base/core/java/android/hardware/usb/
H A DUsbDevice.java41 * <a href="{@docRoot}guide/topics/usb/index.html">USB</a> developer guide.</p>
150 * Returns the {@link UsbInterface} at the given index.
154 public UsbInterface getInterface(int index) { argument
155 return (UsbInterface)mInterfaces[index];
H A DUsbDeviceConnection.java115 * @param index index field for this transaction
124 int index, byte[] buffer, int length, int timeout) {
125 return native_control_request(requestType, request, value, index, buffer, length, timeout);
178 int index, byte[] buffer, int length, int timeout);
123 controlTransfer(int requestType, int request, int value, int index, byte[] buffer, int length, int timeout) argument
177 native_control_request(int requestType, int request, int value, int index, byte[] buffer, int length, int timeout) argument
/frameworks/base/core/java/android/os/storage/
H A DStorageVolume.java148 public void setStorageId(int index) { argument
151 mStorageId = ((index + 1) << 16) + 1;
/frameworks/base/core/java/android/preference/
H A DListPreference.java71 * Each entry must have a corresponding index in
176 * Sets the value to the given index from the entry values.
178 * @param index The index of the value to set.
180 public void setValueIndex(int index) { argument
182 setValue(mEntryValues[index].toString());
202 int index = getValueIndex();
203 return index >= 0 && mEntries != null ? mEntries[index] : null;
207 * Returns the index o
272 onGetDefaultValue(TypedArray a, int index) argument
[all...]
H A DMultiCheckPreference.java74 * Each entry must have a corresponding index in
146 public boolean getValue(int index) { argument
147 return mSetValues[index];
153 public void setValue(int index, boolean state) { argument
154 mSetValues[index] = state;
215 * Returns the index of the given value (in the entry values array).
217 * @param value The value whose index should be returned.
218 * @return The index of the value, or -1 if not found.
263 protected Object onGetDefaultValue(TypedArray a, int index) { argument
264 return a.getString(index);
[all...]
H A DMultiSelectListPreference.java66 * Each entry must have a corresponding index in
142 * Returns the index of the given value (in the entry values array).
144 * @param value The value whose index should be returned.
145 * @return The index of the value, or -1 if not found.
210 protected Object onGetDefaultValue(TypedArray a, int index) { argument
211 final CharSequence[] defaultValues = a.getTextArray(index);
H A DSeekBarPreference.java80 protected Object onGetDefaultValue(TypedArray a, int index) { argument
81 return a.getInt(index, 0);
H A DTwoStatePreference.java184 protected Object onGetDefaultValue(TypedArray a, int index) { argument
185 return a.getBoolean(index, false);
/frameworks/base/core/java/android/text/
H A DSelection.java84 * Move the cursor to offset <code>index</code>.
86 public static final void setSelection(Spannable text, int index) { argument
87 setSelection(text, index, index);
98 * Move the selection edge to offset <code>index</code>.
100 public static final void extendSelection(Spannable text, int index) { argument
101 if (text.getSpanStart(SELECTION_END) != index)
102 text.setSpan(SELECTION_END, index, index, Spanned.SPAN_POINT_POINT);
/frameworks/base/core/java/android/view/
H A DMenu.java388 * Gets the menu item at the given index.
390 * @param index The index of the menu item to return.
393 * when {@code index < 0 || >= size()}
395 public MenuItem getItem(int index); argument
H A DVelocityTracker.java318 * Gets the X coefficient with the specified index.
319 * @param index The index of the coefficient to return.
320 * @return The X coefficient, or 0 if the index is greater than the degree.
322 public float getXCoeff(int index) { argument
323 return index <= degree ? xCoeff[index] : 0;
327 * Gets the Y coefficient with the specified index.
328 * @param index The index o
331 getYCoeff(int index) argument
[all...]
/frameworks/base/core/java/android/view/inputmethod/
H A DInputMethodInfo.java326 * Return the Input Method's subtype at the specified index.
328 * @param index the index of the subtype to return.
330 public InputMethodSubtype getSubtypeAt(int index) { argument
331 return mSubtypes.get(index);
/frameworks/base/core/java/android/widget/
H A DArrayAdapter.java218 * Inserts the specified object at the specified index in the array.
221 * @param index The index at which the object must be inserted.
223 public void insert(T object, int index) { argument
226 mOriginalValues.add(index, object);
228 mObjects.add(index, object);
489 // Start at index 0, in case valueText starts with space(s)
H A DRadioGroup.java89 final int index = attributes.getInt(com.android.internal.R.styleable.RadioGroup_orientation, VERTICAL);
90 setOrientation(index);
128 public void addView(View child, int index, ViewGroup.LayoutParams params) { argument
141 super.addView(child, index, params);
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/base/core/java/com/android/internal/view/menu/
H A DActionMenu.java144 public MenuItem getItem(int index) { argument
145 return mItems.get(index);
183 final int index = findItemIndex(id);
184 if (index < 0) {
188 return mItems.get(index).invoke();
/frameworks/base/core/jni/android/graphics/
H A DYuvToJpegEncoder.cpp123 int index = row * (width >> 1) + i; local
124 uRows[index] = vu[1];
125 vRows[index] = vu[0];
/frameworks/base/core/jni/
H A Dandroid_media_AudioSystem.cpp190 jint index,
195 index,
205 int index; local
207 &index,
210 index = -1;
212 return index;
187 android_media_AudioSystem_setStreamVolumeIndex(JNIEnv *env, jobject thiz, jint stream, jint index, jint device) argument

Completed in 3493 milliseconds

<<11121314151617181920>>