Home
last modified time | relevance | path

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

1234

/aosp12/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/audio/
H A 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()
H A 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()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/qc/
H A DWifiTileTest.java70 assertThat(tile.getSubtitle()).isEqualTo(mContext.getString(R.string.wifi_disabled)); in getQCItem_wifiDisabled_returnsTile()
84 assertThat(tile.getSubtitle()).isEqualTo(mContext.getString(R.string.wifi_disconnected)); in getQCItem_wifiNotConnected_returnsTile()
101 assertThat(tile.getSubtitle()).isEqualTo(testSSID); in getQCItem_wifiConnected_returnsTile()
H A DHotspotRowTest.java94 assertThat(row.getSubtitle()).isEqualTo( in getQCItem_hotspotDisabled_returnsRow()
104 assertThat(row.getSubtitle()).isEqualTo(String.format("%s / %s", TEST_SSID, TEST_PASSWORD)); in getQCItem_hotspotEnabled_noDevices_returnsRow()
115 assertThat(row.getSubtitle()).isEqualTo(mContext.getResources().getQuantityString( in getQCItem_hotspotEnabled_hasDevices_returnsRow()
H A DWifiRowTest.java78 assertThat(row.getSubtitle()).isEqualTo(mContext.getString(R.string.wifi_disabled)); in getQCItem_wifiDisabled_returnsRow()
93 assertThat(row.getSubtitle()).isEqualTo(mContext.getString(R.string.wifi_disconnected)); in getQCItem_wifiNotConnected_returnsRow()
111 assertThat(row.getSubtitle()).isEqualTo(testSSID); in getQCItem_wifiConnected_returnsRow()
H A DMobileDataTileTest.java95 assertThat(tile.getSubtitle()).isEqualTo( in getQCItem_noNetworkName_setsDefaultSubtitle()
105 assertThat(tile.getSubtitle()).isEqualTo(TEST_NETWORK_NAME); in getQCItem_hasNetworkName_setsSubtitle()
H A DMobileDataRowTest.java95 assertThat(row.getSubtitle()).isNull(); in getQCItem_noNetworkName_nullSubtitle()
104 assertThat(row.getSubtitle()).isEqualTo(TEST_NETWORK_NAME); in getQCItem_hasNetworkName_setsSubtitle()
/aosp12/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
H A 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()
/aosp12/packages/apps/Car/libs/car-ui-lib/referencedesign/plugin/src/main/java/com/chassis/car/ui/plugin/toolbar/
H A DToolbarControllerImpl.java117 boolean hadSubtitle = !TextUtils.isEmpty(getSubtitle()); in setSubtitle()
119 boolean hasSubtitle = !TextUtils.isEmpty(getSubtitle()); in setSubtitle()
126 private CharSequence getSubtitle() { in getSubtitle() method in ToolbarControllerImpl
305 setVisible(mSubtitleView, !TextUtils.isEmpty(getSubtitle()) && !isSearching
/aosp12/frameworks/base/core/java/com/android/internal/view/
H A DStandaloneActionMode.java119 public CharSequence getSubtitle() { in getSubtitle() method in StandaloneActionMode
120 return mContextView.getSubtitle(); in getSubtitle()
/aosp12/packages/apps/Car/Settings/src/com/android/car/settings/qc/
H A DHotspotRow.java69 .setSubtitle(getSubtitle()) in getQCItem()
118 private String getSubtitle() { in getSubtitle() method in HotspotRow
H A DWifiTile.java51 .setSubtitle(WifiQCUtils.getSubtitle(getContext(), mWifiManager)) in getQCItem()
H A DWifiQCUtils.java38 public static String getSubtitle(Context context, WifiManager wifiManager) { in getSubtitle() method in WifiQCUtils
/aosp12/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/assistive/
H A DProjectionModelTest.java102 assertEquals(content.getSubtitle(), PROJECTING_DEVICE_NAME); in changeProjectionStatusToProjectingDevice_callsPresenter()
111 assertEquals(content.getSubtitle(), NONPROJECTING_DEVICE_NAME); in changeProjectionStatusToNonProjectingDevice_callsPresenter()
/aosp12/packages/apps/Car/Media/src/com/android/car/media/browse/
H A DBrowseViewHolder.java80 boolean showSubtitle = hasMediaItem && !TextUtils.isEmpty(data.mMediaItem.getSubtitle()); in bind()
87 mSubtitle.setText(hasMediaItem ? data.mMediaItem.getSubtitle() : null); in bind()
/aosp12/packages/apps/Settings/tests/unit/src/com/android/settings/network/
H A 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()
/aosp12/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/audio/
H A DAudioFragment.java72 updateMediaView(audioContent.getTitle(), audioContent.getSubtitle()); in updateContentViewInternal()
75 audioContent.getSubtitle(), in updateContentViewInternal()
/aosp12/packages/apps/Contacts/src/com/android/contacts/quickcontact/
H A DAction.java30 public CharSequence getSubtitle(); in getSubtitle() method
/aosp12/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
H A DDvrPlaybackControlHelper.java112 viewHolder.getSubtitle().setText(glue.getMediaSubtitle()); in createControlsRowPresenter()
115 viewHolder.getSubtitle().setText(""); in createControlsRowPresenter()
117 if (TextUtils.isEmpty(viewHolder.getSubtitle().getText())) { in createControlsRowPresenter()
/aosp12/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/ui/
H A DDescriptiveTextView.java58 public CharSequence getSubtitle() { in getSubtitle() method in DescriptiveTextView
H A DDescriptiveTextWithControlsView.java79 public CharSequence getSubtitle() { in getSubtitle() method in DescriptiveTextWithControlsView
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
H A DAuthCredentialView.java220 setTextOrHide(mSubtitleView, getSubtitle(mPromptInfo)); in onAttachedToWindow()
480 private static CharSequence getSubtitle(@NonNull PromptInfo promptInfo) { in getSubtitle() method in AuthCredentialView
482 return credentialSubtitle != null ? credentialSubtitle : promptInfo.getSubtitle(); in getSubtitle()
/aosp12/frameworks/base/core/java/android/view/
H A DActionMode.java252 public abstract CharSequence getSubtitle(); in getSubtitle() method in ActionMode
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/helpers/
H A DMetadata.java161 if (desc.getSubtitle() != null) mMetadata.artist = desc.getSubtitle().toString(); in fromMediaDescription()
/aosp12/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/
H A DHomeCardFragment.java165 descriptiveTextContent.getSubtitle(), descriptiveTextContent.getImage(), in updateContentViewInternal()
173 descriptiveTextWithControlsContent.getSubtitle(), in updateContentViewInternal()

1234