Home
last modified time | relevance | path

Searched refs:TYPE_AUDIO (Results 1 – 20 of 20) sorted by relevance

/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlayer.java312 if (trackType == TvTrackInfo.TYPE_AUDIO) { in setOnTrackSelectedListener()
323 if (trackType == TvTrackInfo.TYPE_AUDIO) { in getOnTrackSelectedListener()
384 return new ArrayList<>(mTvView.getTracks(TvTrackInfo.TYPE_AUDIO)); in getAudioTracks()
391 if (trackType == TvTrackInfo.TYPE_AUDIO) { in getSelectedTrackId()
435 if (trackType == TvTrackInfo.TYPE_AUDIO) { in setSelectedTrackId()
511 boolean hasMultiAudio = mTvView.getTracks(TvTrackInfo.TYPE_AUDIO).size() > 1; in setTvViewCallbacks()
523 if (type == TvTrackInfo.TYPE_AUDIO || type == TvTrackInfo.TYPE_SUBTITLE) { in setTvViewCallbacks()
DDvrPlaybackOverlayFragment.java173 selectBestMatchedTrack(TvTrackInfo.TYPE_AUDIO); in onActivityCreated()
307 if (trackType == TvTrackInfo.TYPE_AUDIO) { in getTracks()
364 trackType == TvTrackInfo.TYPE_AUDIO ? selectedTrack.getAudioChannelCount() : 0); in selectBestMatchedTrack()
365 if (bestMatchedTrack != null && (trackType == TvTrackInfo.TYPE_AUDIO || Utils in selectBestMatchedTrack()
DDvrPlaybackControlHelper.java139 trackType = TvTrackInfo.TYPE_AUDIO; in onActionClicked()
/packages/apps/DocumentsUI/src/com/android/documentsui/base/
DRootInfo.java64 TYPE_AUDIO,
77 public static final int TYPE_AUDIO = 3; field in RootInfo
228 derivedType = TYPE_AUDIO; in deriveFields()
284 || derivedType == TYPE_AUDIO in isLibrary()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DConstants.java29 TvTrackInfo.TYPE_AUDIO, "English Stereo Audio").setLanguage("en")
32 TvTrackInfo.TYPE_AUDIO, "Generic Audio").build();
/packages/apps/TV/src/com/android/tv/util/
DTvTrackInfoUtils.java60 boolean lhsCountMatch = lhs.getType() != TvTrackInfo.TYPE_AUDIO in createComparator()
62 boolean rhsCountMatch = rhs.getType() != TvTrackInfo.TYPE_AUDIO in createComparator()
DTvSettings.java103 if (trackType == TvTrackInfo.TYPE_AUDIO) { in setDvrPlaybackTrackSettings()
131 if (trackType == TvTrackInfo.TYPE_AUDIO) { in getDvrPlaybackTrackSettings()
DUtils.java575 if (track.getType() != TvTrackInfo.TYPE_AUDIO) { in getMultiAudioString()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DMultiAudioFragment.java51 List<TvTrackInfo> tracks = getMainActivity().getTracks(TvTrackInfo.TYPE_AUDIO); in getItemList()
52 mSelectedTrackId = getMainActivity().getSelectedTrack(TvTrackInfo.TYPE_AUDIO); in getItemList()
/packages/apps/TV/tests/unit/src/com/android/tv/menu/
DTvOptionsRowAdapterTest.java117 waitUntilTracksHaveSize(TvTrackInfo.TYPE_AUDIO, expected); in waitUntilAudioTracksHaveSize()
143 waitUntilTrackSelected(TvTrackInfo.TYPE_AUDIO, trackId); in waitUntilAudioTrackSelected()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaDocumentsProvider.java94 private static final String TYPE_AUDIO = "audio"; field in MediaDocumentsProvider
155 AUTHORITY, getDocIdForIdent(TYPE_AUDIO, id)); in onMediaStoreDelete()
198 } else if (TYPE_AUDIO.equals(ident.type) && ident.id != -1) { in getUriForDocumentId()
301 } else if (TYPE_AUDIO.equals(ident.type)) { in queryDocument()
790 final String docId = getDocIdForIdent(TYPE_AUDIO, id); in includeAudio()
/packages/apps/TV/src/com/android/tv/tuner/tvinput/
DTunerSessionWorker.java1112 if (type == TvTrackInfo.TYPE_AUDIO) { in doSelectTrack()
1280 removeTvTracks(TvTrackInfo.TYPE_AUDIO); in notifyAudioTracksUpdated()
1296 TvTrackInfo.TYPE_AUDIO, AUDIO_TRACK_PREFIX + i); in notifyAudioTracksUpdated()
1359 mSession.notifyTrackSelected(TvTrackInfo.TYPE_AUDIO, in updateChannelInfo()
/packages/apps/TV/src/com/android/tv/
DMainActivity.java1739 List<TvTrackInfo> tracks = getTracks(TvTrackInfo.TYPE_AUDIO);
1751 String selectedTrack = getSelectedTrack(TvTrackInfo.TYPE_AUDIO);
1753 selectTrack(TvTrackInfo.TYPE_AUDIO, bestTrack, UNDEFINED_TRACK_INDEX);
2357 if (type == TvTrackInfo.TYPE_AUDIO) {
2371 List<TvTrackInfo> tracks = getTracks(TvTrackInfo.TYPE_AUDIO);
/packages/apps/TV/tests/unit/src/com/android/tv/util/
DUtilsTest_GetMultiAudioString.java90 return new TvTrackInfo.Builder(TvTrackInfo.TYPE_AUDIO, TRACK_ID) in createAudioTrackInfo()
DTvTrackInfoUtilsTest.java51 return new TvTrackInfo.Builder(TvTrackInfo.TYPE_AUDIO, id) in create()
/packages/apps/Messaging/src/com/android/messaging/util/
DContentType.java30 public static final int TYPE_AUDIO = 2; field in ContentType
/packages/apps/TV/src/com/android/tv/menu/
DTvOptionsRowAdapter.java97 List<TvTrackInfo> audioTracks = getMainActivity().getTracks(TvTrackInfo.TYPE_AUDIO); in updateMultiAudioAction()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DComposeMessageView.java722 newType = ContentType.TYPE_AUDIO; in updateVisualsOnDraftChanged()
745 case ContentType.TYPE_AUDIO: in updateVisualsOnDraftChanged()
/packages/apps/TV/src/com/android/tv/ui/
DTunableTvView.java255 } else if (type == TvTrackInfo.TYPE_AUDIO) {
278 } else if (type == TvTrackInfo.TYPE_AUDIO) {
/packages/apps/TV/tests/input/src/com/android/tv/testinput/
DTestTvInputService.java157 notifyTrackSelected(TvTrackInfo.TYPE_AUDIO, mCurrentAudioTrackId); in setAudioTrack()