Home
last modified time | relevance | path

Searched refs:minIndex (Results 1 – 10 of 10) sorted by relevance

/frameworks/av/media/libstagefright/
DNuMediaExtractor.cpp506 ssize_t minIndex = ERROR_END_OF_STREAM; in fetchAllTrackSamples() local
523 minIndex = i; in fetchAllTrackSamples()
529 minIndex = i; in fetchAllTrackSamples()
534 return minIndex; in fetchAllTrackSamples()
597 ssize_t minIndex = fetchAllTrackSamples(timeUs, mode); in seekTo() local
599 if (minIndex < 0) { in seekTo()
609 ssize_t minIndex = fetchAllTrackSamples(); in advance() local
611 if (minIndex < 0) { in advance()
615 TrackInfo *info = &mSelectedTracks.editItemAt(minIndex); in advance()
628 minIndex = fetchAllTrackSamples(); in advance()
[all …]
DMPEG2TSWriter.cpp620 size_t minIndex = 0; in onMessageReceived() local
635 minIndex = i; in onMessageReceived()
645 minTimeUs / 1E6, minIndex); in onMessageReceived()
647 source = mSources.editItemAt(minIndex); in onMessageReceived()
652 writeAccessUnit(minIndex, buffer); in onMessageReceived()
/frameworks/base/services/tests/servicestests/src/com/android/server/audio/
DAudioDeviceVolumeManagerTest.java95 final int minIndex = am.getStreamMinVolume(AudioManager.STREAM_MUSIC); in setDeviceVolume_checkIndex() local
97 final int midIndex = (minIndex + maxIndex) / 2; in setDeviceVolume_checkIndex()
99 .setMinVolumeIndex(minIndex) in setDeviceVolume_checkIndex()
102 final VolumeInfo volMin = new VolumeInfo.Builder(volMedia).setVolumeIndex(minIndex).build(); in setDeviceVolume_checkIndex()
110 AudioManager.STREAM_MUSIC, minIndex, AudioSystem.DEVICE_OUT_USB_DEVICE); in setDeviceVolume_checkIndex()
122 final int minIndex = am.getStreamMinVolume(AudioManager.STREAM_MUSIC); in configurablePreScaleAbsoluteVolume_checkIndex() local
125 .setMinVolumeIndex(minIndex) in configurablePreScaleAbsoluteVolume_checkIndex()
171 final int minIndex = am.getStreamMinVolume(AudioManager.STREAM_MUSIC); in disablePreScaleAbsoluteVolume_checkIndex() local
174 .setMinVolumeIndex(minIndex) in disablePreScaleAbsoluteVolume_checkIndex()
DVolumeHelperTest.java532 final int minIndex = mAm.getStreamMinVolume(STREAM_MUSIC); in setDeviceVolume_checkIndex() local
534 final int midIndex = (minIndex + maxIndex) / 2; in setDeviceVolume_checkIndex()
536 .setMinVolumeIndex(minIndex) in setDeviceVolume_checkIndex()
539 final VolumeInfo volMin = new VolumeInfo.Builder(volMedia).setVolumeIndex(minIndex).build(); in setDeviceVolume_checkIndex()
550 STREAM_MUSIC, minIndex, AudioSystem.DEVICE_OUT_USB_DEVICE); in setDeviceVolume_checkIndex()
563 final int minIndex = mAm.getStreamMinVolume(STREAM_MUSIC); in configurablePreScaleAbsoluteVolume_checkIndex() local
566 .setMinVolumeIndex(minIndex) in configurablePreScaleAbsoluteVolume_checkIndex()
618 final int minIndex = mAm.getStreamMinVolume(STREAM_MUSIC); in disablePreScaleAbsoluteVolume_checkIndex() local
621 .setMinVolumeIndex(minIndex) in disablePreScaleAbsoluteVolume_checkIndex()
/frameworks/base/media/java/android/media/
DVolumeInfo.java268 public @NonNull Builder setMinVolumeIndex(int minIndex) { in setMinVolumeIndex() argument
269 if (minIndex != INDEX_NOT_SET && minIndex < 0) { in setMinVolumeIndex()
272 mMinVolIndex = minIndex; in setMinVolumeIndex()
/frameworks/base/core/jni/android/opengl/
Dutil.cpp83 int minIndex = 65536; in visibilityTest() local
87 if ( index < minIndex ) { in visibilityTest()
88 minIndex = index; in visibilityTest()
99 int transformedIndexCount = maxIndex - minIndex + 1; in visibilityTest()
109 const float* pSrc = pPositions + 3 * minIndex; in visibilityTest()
122 memcpy(pDest , pTransformed + 4 * (pIndices[i ] - minIndex), 4 * sizeof(float)); in visibilityTest()
123 memcpy(pDest + 4, pTransformed + 4 * (pIndices[i + 1] - minIndex), 4 * sizeof(float)); in visibilityTest()
124 memcpy(pDest + 8, pTransformed + 4 * (pIndices[i + 2] - minIndex), 4 * sizeof(float)); in visibilityTest()
/frameworks/opt/vcard/java/com/android/vcard/
DVCardParserImpl_V21.java894 final int minIndex;
896 minIndex = semiColonIndex;
898 minIndex = colonIndex;
900 minIndex = Math.min(colonIndex, semiColonIndex);
902 return line.substring(0, minIndex).toUpperCase();
/frameworks/base/libs/WindowManager/Shell/src/com/android/wm/shell/common/split/
DDividerSnapAlgorithm.java298 int minIndex = -1; in snap() local
308 minIndex = i; in snap()
312 return mTargets.get(minIndex); in snap()
/frameworks/av/media/codec2/sfplugin/
DCCodecBufferChannel.cpp2046 size_t minIndex = clientInputBuffers.begin()->first; in requestInitialInputBuffers() local
2050 minIndex = index; in requestInitialInputBuffers()
2064 clientInputBuffers.erase(minIndex); in requestInitialInputBuffers()
/frameworks/av/services/audiopolicy/engine/config/src/
DEngineConfig.cpp145 legacy.indexMin = aidl.minIndex; in aidl2legacy_AudioHalVolumeGroup_VolumeGroup()