Searched refs:index (Results 451 - 475 of 901) sorted by relevance

<<11121314151617181920>>

/frameworks/base/core/java/android/view/
H A DGLES20RecordingCanvas.java221 public void drawPosText(char[] text, int index, int count, float[] pos, Paint paint) { argument
222 super.drawPosText(text, index, count, pos, paint);
245 public void drawText(char[] text, int index, int count, float x, float y, Paint paint) { argument
246 super.drawText(text, index, count, x, y, paint);
269 public void drawTextOnPath(char[] text, int index, int count, Path path, float hOffset, argument
271 super.drawTextOnPath(text, index, count, path, hOffset, vOffset, paint);
282 public void drawTextRun(char[] text, int index, int count, int contextIndex, int contextCount, argument
284 super.drawTextRun(text, index, count, contextIndex, contextCount, x, y, dir, paint);
H A DViewGroup.java237 * to get the index of the child to draw for that iteration.
1084 int index = indexOfChild(child);
1085 if (index >= 0) {
1086 removeFromArray(index);
2354 int index;
2359 index = 0;
2363 index = count - 1;
2368 for (int i = index; i != end; i += increment) {
2851 * Returns the index of the child to draw for this iteration. Override this
2859 * @return The index o
3147 addView(View child, int index) argument
3200 addView(View child, int index, LayoutParams params) argument
3295 addViewInLayout(View child, int index, LayoutParams params) argument
3312 addViewInLayout(View child, int index, LayoutParams params, boolean preventRequestLayout) argument
3329 addViewInner(View child, int index, LayoutParams params, boolean preventRequestLayout) argument
3400 addInArray(View child, int index) argument
3431 removeFromArray(int index) argument
3502 attachLayoutAnimationParameters(View child, LayoutParams params, int index, int count) argument
3566 removeViewAt(int index) argument
3595 removeViewInternal(int index, View view) argument
3876 attachViewToParent(View child, int index, LayoutParams params) argument
3934 detachViewFromParent(int index) argument
4753 getChildAt(int index) argument
6189 getChildAt(int index) argument
[all...]
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
/frameworks/base/core/java/com/android/internal/preference/
H A DYesNoPreference.java80 protected Object onGetDefaultValue(TypedArray a, int index) { argument
81 return a.getBoolean(index, false);
/frameworks/base/core/jni/android/graphics/
H A DInterpolator.cpp23 static void Interpolator_setKeyFrame(JNIEnv* env, jobject clazz, SkInterpolator* interp, int index, int msec, jfloatArray valueArray, jfloatArray blendArray) argument
46 interp->setKeyFrame(index, msec, scalars, blend);
/frameworks/base/services/jni/
H A Dcom_android_server_connectivity_Vpn.cpp107 ALOGE("Cannot get index of %s: %s", name, strerror(errno));
115 int index = get_interface_index(name); local
116 if (index < 0) {
117 return index;
128 ifr6.ifr6_ifindex = index;
192 int index = get_interface_index(name); local
193 if (index < 0) {
194 return index;
206 rt6.rtmsg_ifindex = index;
/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/impl/binding/
H A DFakeAdapter.java67 int index = typeCount[typeIndex];
71 mItems.add(new AdapterItem(dataBindingItem, typeIndex, mItems.size(), index++));
/frameworks/base/voip/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/opt/telephony/src/java/com/android/internal/telephony/
H A DIccSmsInterfaceManagerProxy.java40 updateMessageOnIccEf(int index, int status, byte[] pdu) throws android.os.RemoteException { argument
41 return mIccSmsInterfaceManager.updateMessageOnIccEf(index, status, pdu);
/frameworks/opt/telephony/src/java/com/android/internal/telephony/gsm/
H A DGsmConnection.java52 int index; // index in GsmCallTracker.connections[], -1 if unassigned field in class:GsmConnection
53 // The GSM index is 1 + this
73 int nextPostDialChar; // index into postDialString
120 GsmConnection (Context context, DriverCall dc, GsmCallTracker ct, int index) { argument
136 this.index = index;
156 index = -1;
419 index = -1;
524 if (index >
[all...]
/frameworks/rs/
H A DrsFileA3D.cpp217 const FileA3D::A3DIndexEntry *FileA3D::getIndexEntry(size_t index) const {
218 if (index < mIndex.size()) {
219 return mIndex[index];
224 ObjectBase *FileA3D::initializeFromEntry(size_t index) { argument
225 if (index >= mIndex.size()) {
229 FileA3D::A3DIndexEntry *entry = mIndex[index];
382 RsObjectBase rsaFileA3DGetEntryByIndex(RsContext con, uint32_t index, RsFile file) { argument
389 ObjectBase *obj = fa3d->initializeFromEntry(index);
410 ALOGE("Can't load index entries. No valid file");
416 ALOGE("Can't load index entrie
[all...]
/frameworks/wilhelm/src/android/
H A Dandroid_Effect.cpp513 ssize_t index = outputMix->mAndroidEffect.mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); local
515 if (0 > index) {
520 android::AudioEffect* pFx = outputMix->mAndroidEffect.mEffects->valueAt(index);
712 SLresult android_genericFx_queryEffect(SLuint32 index, effect_descriptor_t* pDescriptor) { argument
719 android::AudioEffect::queryEffect(index, pDescriptor);
785 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); local
787 if (0 > index) {
790 android::AudioEffect* pFx = iae->mEffects->valueAt(index);
792 iae->mEffects->removeItem(index);
801 ssize_t index local
816 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); local
833 ssize_t index = iae->mEffects->indexOfKey(KEY_FROM_GUID(pUuid)); local
[all...]
/frameworks/base/media/java/android/media/
H A DMediaCodecInfo.java22 /* package private */ MediaCodecInfo(int index) { argument
23 mIndex = index;
/frameworks/av/media/libstagefright/mpeg2ts/
H A DMPEG2PSExtractor.cpp125 sp<MediaSource> MPEG2PSExtractor::getTrack(size_t index) { argument
126 if (index >= mTracks.size()) {
130 return new WrappedTrack(this, mTracks.valueAt(index));
133 sp<MetaData> MPEG2PSExtractor::getTrackMetaData(size_t index, uint32_t flags) { argument
134 if (index >= mTracks.size()) {
138 return mTracks.valueAt(index)->getFormat();
483 ssize_t index = mTracks.indexOfKey(stream_id); local
484 if (index < 0 && mScanning) {
503 index = mTracks.add(
509 if (index >
[all...]
/frameworks/av/media/libstagefright/omx/
H A DSimpleSoftOMXComponent.cpp70 OMX_INDEXTYPE index, const OMX_PTR params) const {
77 switch (index) {
106 OMX_INDEXTYPE index, OMX_PTR params) {
108 return internalGetParameter(index, params);
112 OMX_INDEXTYPE index, const OMX_PTR params) {
115 CHECK(isSetParameterAllowed(index, params));
117 return internalSetParameter(index, params);
121 OMX_INDEXTYPE index, OMX_PTR params) {
122 switch (index) {
148 OMX_INDEXTYPE index, cons
69 isSetParameterAllowed( OMX_INDEXTYPE index, const OMX_PTR params) const argument
[all...]
H A DOMXMaster.h46 OMX_U32 index);
/frameworks/base/core/java/android/widget/
H A DFastScroller.java535 int index = mSectionIndexer.getPositionForSection(section);
536 // Given the expected section and index, the following code will
543 int prevIndex = index;
551 // Find the previous index if we're slicing the previous section
552 if (nextIndex == index) {
557 if (prevIndex != index) {
569 // Find the next index, in case the assumed next index is not
586 index = prevIndex;
588 index
[all...]
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);
/frameworks/av/media/libstagefright/rtsp/
H A DMyHandler.h491 size_t index; local
492 CHECK(msg->findSize("index", &index));
496 if (msg->findSize("track-index", &trackIndex)) {
504 index, result, strerror(-result));
556 notify->setSize("track-index", trackIndex);
574 mSessionDesc, index,
598 ++index;
599 if (index < mSessionDesc->countTracks()) {
600 setupTrack(index);
1009 int32_t index; local
1168 getTrackFormat(size_t index, int32_t *timeScale) argument
1240 setupTrack(size_t index) argument
[all...]
H A DARTPSource.h37 const sp<ASessionDescription> &sessionDesc, size_t index,
/frameworks/base/media/java/android/media/videoeditor/
H A DMediaArtistNativeHelper.java2526 * @return The updated index
2604 * @param i The index in clip Properties array for current clip
2607 PreviewClipProperties clipPropertiesArray, int index) {
2611 editSettings.clipSettingsArray[index] = new ClipSettings();
2612 editSettings.clipSettingsArray[index].clipPath = transition.getFilename();
2613 editSettings.clipSettingsArray[index].fileType = FileType.THREE_GPP;
2614 editSettings.clipSettingsArray[index].beginCutTime = 0;
2615 editSettings.clipSettingsArray[index].endCutTime = (int)transition.getDuration();
2616 editSettings.clipSettingsArray[index].mediaRendering = MediaRendering.BLACK_BORDERS;
2619 clipPropertiesArray.clipProperties[index]
2606 generateTransition(Transition transition, EditSettings editSettings, PreviewClipProperties clipPropertiesArray, int index) argument
2644 adjustVolume(MediaItem m, PreviewClipProperties clipProperties, int index) argument
2666 checkOddSizeImage(MediaItem m, PreviewClipProperties clipProperties, int index) argument
2693 populateMediaItemProperties(MediaItem m, int index, int maxHeight) argument
3868 onThumbnail(int index) argument
[all...]
/frameworks/av/include/media/
H A DAudioParameter.h63 status_t getAt(size_t index, String8& key, String8& value);
/frameworks/av/media/libstagefright/timedtext/
H A DTimedTextSRTSource.h73 // Compares the time range of the subtitle at index to the given timeUs.
86 // If the 'index' parameter contains 1, this function
90 int compareExtendedRangeAndTime(size_t index, int64_t timeUs);
/frameworks/base/core/java/android/speech/srec/
H A DRecognizer.java338 * @param index index of result.
341 public String[] getResultKeys(int index) { argument
342 return SR_RecognizerResultGetKeyList(mRecognizer, index);
350 * @param index index of the result.
358 public String getResult(int index, String key) { argument
359 return SR_RecognizerResultGetValue(mRecognizer, index, key);
/frameworks/base/core/java/com/android/internal/widget/
H A DPointerLocationView.java415 private void logCoords(String type, int action, int index, argument
435 if (index == ((action & MotionEvent.ACTION_POINTER_INDEX_MASK)
443 if (index == ((action & MotionEvent.ACTION_POINTER_INDEX_MASK)
497 final int index = (action & MotionEvent.ACTION_POINTER_INDEX_MASK)
519 final int id = event.getPointerId(index);
586 final int index = (action & MotionEvent.ACTION_POINTER_INDEX_MASK)
589 final int id = event.getPointerId(index);
600 mActivePointerId = event.getPointerId(index == 0 ? 1 : 0);
743 final int index = reserve(valueLength);
744 value.getChars(0, valueLength, mChars, index);
[all...]

Completed in 317 milliseconds

<<11121314151617181920>>