/aosp12/packages/apps/Car/Launcher/tests/src/com/android/car/carlauncher/homescreen/audio/ |
H A D | MediaViewModelTest.java | 103 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 D | InCallModelTest.java | 103 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 D | WifiTileTest.java | 70 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 D | HotspotRowTest.java | 94 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 D | WifiRowTest.java | 78 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 D | MobileDataTileTest.java | 95 assertThat(tile.getSubtitle()).isEqualTo( in getQCItem_noNetworkName_setsDefaultSubtitle() 105 assertThat(tile.getSubtitle()).isEqualTo(TEST_NETWORK_NAME); in getQCItem_hasNetworkName_setsSubtitle()
|
H A D | MobileDataRowTest.java | 95 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 D | MediaItemMetadata.java | 199 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 D | ToolbarControllerImpl.java | 117 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 D | StandaloneActionMode.java | 119 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 D | HotspotRow.java | 69 .setSubtitle(getSubtitle()) in getQCItem() 118 private String getSubtitle() { in getSubtitle() method in HotspotRow
|
H A D | WifiTile.java | 51 .setSubtitle(WifiQCUtils.getSubtitle(getContext(), mWifiManager)) in getQCItem()
|
H A D | WifiQCUtils.java | 38 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 D | ProjectionModelTest.java | 102 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 D | BrowseViewHolder.java | 80 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 D | ProviderModelSliceHelperTest.java | 181 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 D | AudioFragment.java | 72 updateMediaView(audioContent.getTitle(), audioContent.getSubtitle()); in updateContentViewInternal() 75 audioContent.getSubtitle(), in updateContentViewInternal()
|
/aosp12/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
H A D | Action.java | 30 public CharSequence getSubtitle(); in getSubtitle() method
|
/aosp12/packages/apps/TV/src/com/android/tv/dvr/ui/playback/ |
H A D | DvrPlaybackControlHelper.java | 112 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 D | DescriptiveTextView.java | 58 public CharSequence getSubtitle() { in getSubtitle() method in DescriptiveTextView
|
H A D | DescriptiveTextWithControlsView.java | 79 public CharSequence getSubtitle() { in getSubtitle() method in DescriptiveTextWithControlsView
|
/aosp12/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ |
H A D | AuthCredentialView.java | 220 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 D | ActionMode.java | 252 public abstract CharSequence getSubtitle(); in getSubtitle() method in ActionMode
|
/aosp12/packages/apps/Bluetooth/src/com/android/bluetooth/audio_util/helpers/ |
H A D | Metadata.java | 161 if (desc.getSubtitle() != null) mMetadata.artist = desc.getSubtitle().toString(); in fromMediaDescription()
|
/aosp12/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/ |
H A D | HomeCardFragment.java | 165 descriptiveTextContent.getSubtitle(), descriptiveTextContent.getImage(), in updateContentViewInternal() 173 descriptiveTextWithControlsContent.getSubtitle(), in updateContentViewInternal()
|