Home
last modified time | relevance | path

Searched refs:getSubtitle (Results 1 – 25 of 41) sorted by relevance

12

/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/audio/
DMediaViewModelTest.java103 assertNull(content.getSubtitle()); in noChange_doesNotCallPresenter()
125 assertEquals(content.getSubtitle(), ARTIST_NAME); in changeSourceAndMetadata_updatesModel()
142 assertNull(content.getSubtitle()); in changeSourceOnly_updatesModel()
157 assertEquals(content.getSubtitle(), ARTIST_NAME); in changeMetadataOnly_doesNotCallPresenter()
DInCallModelTest.java103 assertEquals(content.getSubtitle(), mOngoingCallSecondaryText); in updateModelWithPhoneNumber_setsPhoneNumber()
117 assertEquals(content.getSubtitle(), mOngoingCallSecondaryText); in updateModelWithContact_noAvatarUri_setsContactNameAndInitialsIcon()
133 assertEquals(content.getSubtitle(), mOngoingCallSecondaryText); in updateModelWithContact_invalidAvatarUri_setsContactNameAndInitialsIcon()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DMediaItemMetadata.java199 public CharSequence getSubtitle() { in getSubtitle() method in MediaItemMetadata
200 return mMediaDescription.getSubtitle(); in getSubtitle()
356 && Objects.equals(getSubtitle(), that.getSubtitle()) in equals()
411 + mMediaDescription != null ? mMediaDescription.getSubtitle().toString() : "-" in toString()
DPlaybackFragment.java122 mInnerViewModel.getSubtitle().observe(getViewLifecycleOwner(), subtitle::setText); in onCreateView()
269 LiveData<CharSequence> getSubtitle() { in getSubtitle() method in PlaybackFragment.ViewModel
/packages/apps/Car/libs/car-ui-lib/referencedesign/sharedlibrary/src/main/java/com/chassis/car/ui/sharedlibrary/toolbar/
DToolbarControllerImpl.java113 boolean hadSubtitle = !TextUtils.isEmpty(getSubtitle()); in setSubtitle()
115 boolean hasSubtitle = !TextUtils.isEmpty(getSubtitle()); in setSubtitle()
122 private CharSequence getSubtitle() { in getSubtitle() method in ToolbarControllerImpl
291 setVisible(mSubtitleView, !TextUtils.isEmpty(getSubtitle()) && !isSearching
/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/assistive/
DProjectionModelTest.java102 assertEquals(content.getSubtitle(), PROJECTING_DEVICE_NAME); in changeProjectionStatusToProjectingDevice_callsPresenter()
111 assertEquals(content.getSubtitle(), NONPROJECTING_DEVICE_NAME); in changeProjectionStatusToNonProjectingDevice_callsPresenter()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackControlHelper.java112 viewHolder.getSubtitle().setText(glue.getMediaSubtitle()); in createControlsRowPresenter()
115 viewHolder.getSubtitle().setText(""); in createControlsRowPresenter()
117 if (TextUtils.isEmpty(viewHolder.getSubtitle().getText())) { in createControlsRowPresenter()
/packages/apps/Settings/tests/unit/src/com/android/settings/network/
DProviderModelSliceHelperTest.java181 assertThat(testRowBuild.getSubtitle()).isEqualTo(expectedSubtitle); in createCarrierRow_hasDdsAndActiveNetworkIsNotCellular_verifyTitleAndSummary()
201 assertThat(testRowBuild.getSubtitle()).isEqualTo(expectedSubtitle); in createCarrierRow_wifiOnhasDdsAndActiveNetworkIsCellular_verifyTitleAndSummary()
220 assertThat(testRowBuild.getSubtitle()).isEqualTo(expectedSubtitle); in createCarrierRow_noNetworkAvailable_verifyTitleAndSummary()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/audio/
DAudioFragment.java72 updateMediaView(audioContent.getTitle(), audioContent.getSubtitle()); in updateContentViewInternal()
75 audioContent.getSubtitle(), in updateContentViewInternal()
/packages/apps/Car/Media/src/com/android/car/media/browse/
DBrowseViewHolder.java80 boolean showSubtitle = hasMediaItem && !TextUtils.isEmpty(data.mMediaItem.getSubtitle()); in bind()
87 mSubtitle.setText(hasMediaItem ? data.mMediaItem.getSubtitle() : null); in bind()
/packages/apps/Car/Messenger/src/com/android/car/messenger/core/ui/conversationlist/
DConversationItemViewHolder.java87 mTextView.setText(uiData.getSubtitle()); in bind()
92 !uiData.getReadableTime().isEmpty() && !uiData.getSubtitle().isEmpty(); in bind()
DUIConversationItem.java80 public String getSubtitle() { in getSubtitle() method in UIConversationItem
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/main/java/com/android/car/ui/toolbar/
DToolbarControllerAdapterV1.java160 public CharSequence getSubtitle() { in getSubtitle() method in ToolbarControllerAdapterV1
161 return mAdapterState.getSubtitle(); in getSubtitle()
439 mOemToolbar.setSubtitle(newAdapterState.getSubtitle()); in update()
725 public String getSubtitle() { in getSubtitle() method in ToolbarControllerAdapterV1.ToolbarAdapterState
/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/helpers/
DMetadata.java161 if (desc.getSubtitle() != null) mMetadata.artist = desc.getSubtitle().toString(); in fromMediaDescription()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/
DHomeCardFragment.java165 descriptiveTextContent.getSubtitle(), descriptiveTextContent.getImage(), in updateContentViewInternal()
173 descriptiveTextWithControlsContent.getSubtitle(), in updateContentViewInternal()
/packages/apps/Contacts/src/com/android/contacts/quickcontact/
DAction.java30 public CharSequence getSubtitle(); in getSubtitle() method
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/ui/
DDescriptiveTextView.java58 public CharSequence getSubtitle() { in getSubtitle() method in DescriptiveTextView
DDescriptiveTextWithControlsView.java79 public CharSequence getSubtitle() { in getSubtitle() method in DescriptiveTextWithControlsView
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/
DAvrcpItemTest.java582 Assert.assertEquals(desc.getSubtitle(), null); in avrcpItemNoDisplayName_toMediaItem()
611 Assert.assertEquals(desc.getSubtitle(), null); in avrcpItemWithDisplayName_toMediaItem()
638 Assert.assertEquals(desc.getSubtitle(), null); in avrcpItemBrowsable_toMediaItem()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerGaugePreference.java89 public CharSequence getSubtitle() { in getSubtitle() method in PowerGaugePreference
/packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/
DPeopleOptionsItemView.java75 final String subtitle = mData.getSubtitle(); in bind()
/packages/apps/Messaging/src/com/android/messaging/datamodel/data/
DPeopleOptionsItemData.java128 public String getSubtitle() { in getSubtitle() method in PeopleOptionsItemData
/packages/apps/Settings/src/com/android/settings/password/
DBiometricFragment.java133 .setSubtitle(promptInfo.getSubtitle()) in onCreate()
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DPlayer.java215 song.subtitle = description.getSubtitle().toString(); in saveState()
388 .setContentText(current.getSubtitle()) in postMediaNotification()
/packages/apps/Car/libs/car-ui-lib/car-ui-lib/src/androidTest/java/com/android/car/ui/toolbar/
DEmptyToolbarController.java61 public CharSequence getSubtitle() { in getSubtitle() method in EmptyToolbarController

12