Home
last modified time | relevance | path

Searched refs:subtitle (Results 1 – 25 of 35) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerGaugePreference.java83 public void setSubtitle(CharSequence subtitle) { in setSubtitle() argument
84 mProgress = subtitle; in setSubtitle()
109 final TextView subtitle = (TextView) view.findViewById(R.id.widget_summary); in onBindViewHolder() local
110 subtitle.setText(mProgress); in onBindViewHolder()
112 subtitle.setCompoundDrawablesRelativeWithIntrinsicBounds(R.drawable.ic_warning_24dp, 0, in onBindViewHolder()
115 subtitle.setCompoundDrawablesRelativeWithIntrinsicBounds(0, 0, 0, 0); in onBindViewHolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DPowerGaugePreference.java83 public void setSubtitle(CharSequence subtitle) { in setSubtitle() argument
84 mProgress = subtitle; in setSubtitle()
109 final TextView subtitle = (TextView) view.findViewById(R.id.widget_summary); in onBindViewHolder() local
110 subtitle.setText(mProgress); in onBindViewHolder()
112 subtitle.setCompoundDrawablesRelativeWithIntrinsicBounds(R.drawable.ic_warning_24dp, 0, in onBindViewHolder()
115 subtitle.setCompoundDrawablesRelativeWithIntrinsicBounds(0, 0, 0, 0); in onBindViewHolder()
/packages/apps/Dialer/java/com/android/dialer/widget/
DDialerToolbar.java32 private final BidiTextView subtitle; field in DialerToolbar
38 subtitle = (BidiTextView) findViewById(R.id.subtitle); in DialerToolbar()
70 subtitle.setText(charSequence); in setSubtitle()
71 subtitle.setVisibility(VISIBLE); in setSubtitle()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DAttributionFormatter.java41 String subtitle = ""; in formatWallpaperSubtitle() local
43 subtitle += attributions.get(1); in formatWallpaperSubtitle()
46 subtitle += " • " + attributions.get(2); in formatWallpaperSubtitle()
48 return subtitle; in formatWallpaperSubtitle()
/packages/apps/Settings/src/com/android/settings/homepage/contextualcards/slices/
DFaceSetupSlice.java91 CharSequence subtitle = ""; in getSlice() local
97 subtitle = mContext.getText( in getSlice()
102 subtitle = mContext.getText( in getSlice()
107 subtitle = mContext.getText( in getSlice()
118 return listBuilder.addRow(buildRowBuilder(title, subtitle, icon, mContext, getIntent())) in getSlice()
DContextualAdaptiveSleepSlice.java85 final CharSequence subtitle = mContext.getText( in getSlice() local
99 .setSubtitle(subtitle) in getSlice()
/packages/apps/Car/libs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/platform/
DProgramInfoExt.java151 String subtitle; in toMediaMetadata() local
153 subtitle = artist; in toMediaMetadata()
155 subtitle = title; in toMediaMetadata()
157 subtitle = title + TITLE_SEPARATOR + artist; in toMediaMetadata()
159 bld.putString(MediaMetadata.METADATA_KEY_DISPLAY_SUBTITLE, subtitle); in toMediaMetadata()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationsettings/
DPeopleOptionsItemView.java58 mSubtitle = (TextView) findViewById(R.id.subtitle); in onFinishInflate()
75 final String subtitle = mData.getSubtitle(); in bind() local
76 if (TextUtils.isEmpty(subtitle)) { in bind()
80 mSubtitle.setText(subtitle); in bind()
/packages/apps/Car/Cluster/src/android/car/cluster/
DMusicFragment.java71 TextView subtitle = view.findViewById(R.id.subtitle); in onCreateView() local
86 subtitle, in onCreateView() local
/packages/apps/Settings/src/com/android/settings/notification/
DZenRuleSelectionDialog.java128 TextView subtitle = (TextView) v.findViewById(R.id.subtitle); in bindType() local
129 subtitle.setText(info.loadLabel(mPm)); in bindType()
130 subtitle.setVisibility(View.VISIBLE); in bindType()
DZenModeSliceBuilder.java76 final CharSequence subtitle = context.getText(R.string.zen_mode_slice_subtitle); in getSlice() local
91 .setSubtitle(subtitle) in getSlice()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DZenRuleSelectionDialog.java128 TextView subtitle = (TextView) v.findViewById(R.id.subtitle); in bindType() local
129 subtitle.setText(info.loadLabel(mPm)); in bindType()
130 subtitle.setVisibility(View.VISIBLE); in bindType()
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/
DAlertDialogBuilder.java98 public AlertDialogBuilder setSubtitle(@StringRes int subtitle) { in setSubtitle() argument
99 return setSubtitle(mContext.getString(subtitle)); in setSubtitle()
107 public AlertDialogBuilder setSubtitle(CharSequence subtitle) { in setSubtitle() argument
108 mSubtitle = subtitle; in setSubtitle()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DSliceTester.java252 String subtitle) { in assertAnySliceItemContainsSubtitle() argument
254 assertThat(hasText(sliceItems, subtitle, null /* hints */)).isTrue(); in assertAnySliceItemContainsSubtitle()
264 String subtitle) { in assertNoSliceItemContainsSubtitle() argument
266 assertThat(hasText(sliceItems, subtitle, null /* hints */)).isFalse(); in assertNoSliceItemContainsSubtitle()
/packages/apps/PermissionController/src/com/android/packageinstaller/role/ui/
DRequestRoleFragment.java707 String subtitle; in getView() local
711 subtitle = !mHasHolderApplication ? context.getString( in getView()
718 subtitle = isHolderApplication in getView()
726 holder.subtitleText.setVisibility(!TextUtils.isEmpty(subtitle) ? View.VISIBLE in getView()
728 holder.subtitleText.setText(subtitle); in getView()
748 subtitleText = view.requireViewById(R.id.subtitle); in ViewHolder()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DPlaybackFragment.java86 TextView subtitle = view.findViewById(R.id.subtitle); in onCreateView() local
87 innerViewModel.getSubtitle().observe(getViewLifecycleOwner(), subtitle::setText); in onCreateView()
/packages/apps/TV/src/com/android/tv/dvr/ui/playback/
DDvrPlaybackMediaSessionHelper.java241 final long programId, final String title, final String subtitle, final long duration) { in updateMetadataTextInfo() argument
246 if (subtitle != null) { in updateMetadataTextInfo()
247 builder.putString(MediaMetadata.METADATA_KEY_DISPLAY_SUBTITLE, subtitle); in updateMetadataTextInfo()
/packages/apps/Settings/src/com/android/settings/print/
DPrintServiceSettingsFragment.java526 CharSequence subtitle = printer.getDescription();
532 TextView subtitleView = holder.itemView.findViewById(R.id.subtitle);
533 if (!TextUtils.isEmpty(subtitle)) {
534 subtitleView.setText(subtitle);
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/print/
DPrintServiceSettingsFragment.java526 CharSequence subtitle = printer.getDescription();
532 TextView subtitleView = holder.itemView.findViewById(R.id.subtitle);
533 if (!TextUtils.isEmpty(subtitle)) {
534 subtitleView.setText(subtitle);
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/activecall/
DOnGoingCallControllerBarFragment.java132 String subtitle = getString(R.string.audio_route_dialog_subtitle); in onCreate() local
133 if (!subtitle.isEmpty()) { in onCreate()
134 audioRouteSelectionDialogBuilder.setSubtitle(subtitle); in onCreate()
/packages/apps/Settings/tests/robotests/src/com/android/settings/slices/
DSlicesDatabaseAccessorTest.java250 String subtitle = "subtitle"; in testGetSliceDataFromKey_customizeSubtitleOfUnavailableSlice_validSliceReturned() local
251 insertSpecialCase(key, true /* isPlatformSlice */, subtitle); in testGetSliceDataFromKey_customizeSubtitleOfUnavailableSlice_validSliceReturned()
264 assertThat(data.getUnavailableSliceSubtitle()).isEqualTo(subtitle); in testGetSliceDataFromKey_customizeSubtitleOfUnavailableSlice_validSliceReturned()
/packages/apps/Gallery2/src/com/android/photos/
DAlbumFragment.java92 TextView subtitle = (TextView) mHeaderView.findViewById(R.id.album_header_subtitle); in updateHeaderView() local
95 subtitle.setText(getActivity().getResources().getQuantityString( in updateHeaderView()
/packages/apps/Messaging/src/com/android/messaging/ui/
DBugleActionBarActivity.java289 public void setSubtitle(final CharSequence subtitle) { in setSubtitle() argument
290 mSubtitle = subtitle; in setSubtitle()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/wifi/calling/
DWifiCallingSliceHelper.java467 private Slice getNonActionableWifiCallingSlice(CharSequence title, CharSequence subtitle, in getNonActionableWifiCallingSlice() argument
474 .setSubtitle(subtitle) in getNonActionableWifiCallingSlice()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
DWifiCallingSliceHelper.java458 private Slice getNonActionableWifiCallingSlice(CharSequence title, CharSequence subtitle, in getNonActionableWifiCallingSlice() argument
465 .setSubtitle(subtitle) in getNonActionableWifiCallingSlice()

12