Home
last modified time | relevance | path

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

123

/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/ui/
DDescriptiveTextWithControlsView.java39 CharSequence subtitle) { in DescriptiveTextWithControlsView() argument
42 mSubtitle = subtitle; in DescriptiveTextWithControlsView()
46 CharSequence subtitle, SeekBarViewModel seekBarViewModel) { in DescriptiveTextWithControlsView() argument
49 mSubtitle = subtitle; in DescriptiveTextWithControlsView()
54 CharSequence subtitle, Control leftControl, Control centerControl, in DescriptiveTextWithControlsView() argument
58 mSubtitle = subtitle; in DescriptiveTextWithControlsView()
65 CharSequence subtitle, long startTime, Control leftControl, in DescriptiveTextWithControlsView() argument
69 mSubtitle = subtitle; in DescriptiveTextWithControlsView()
DDescriptiveTextView.java31 public DescriptiveTextView(Drawable image, CharSequence title, CharSequence subtitle) { in DescriptiveTextView() argument
32 this(image, title, subtitle, /* footer = */ null); in DescriptiveTextView()
35 public DescriptiveTextView(Drawable image, CharSequence title, CharSequence subtitle, in DescriptiveTextView() argument
39 mSubtitle = subtitle; in DescriptiveTextView()
/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/Car/systemlibs/car-broadcastradio-support/src/com/android/car/broadcastradio/support/platform/
DProgramInfoExt.java178 String subtitle = getProgramName(info, /* flags= */ 0, programNameOrder); in toMediaDisplayMetadata() local
179 bld.putString(MediaMetadata.METADATA_KEY_DISPLAY_SUBTITLE, subtitle); in toMediaDisplayMetadata()
231 String subtitle; in toMediaMetadata() local
233 subtitle = artist; in toMediaMetadata()
235 subtitle = title; in toMediaMetadata()
237 subtitle = title + TITLE_SEPARATOR + artist; in toMediaMetadata()
239 bld.putString(MediaMetadata.METADATA_KEY_DISPLAY_SUBTITLE, subtitle); in toMediaMetadata()
/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/Car/Settings/src/com/android/car/settings/wifi/
DWifiTetherUtil.java67 String subtitle = softApConfig.getSsid(); in getHotspotSubtitle() local
68 if (TextUtils.isEmpty(subtitle)) { in getHotspotSubtitle()
74 subtitle += " / " + password; in getHotspotSubtitle()
76 return subtitle; in getHotspotSubtitle()
/packages/apps/Launcher3/src/com/android/launcher3/widget/model/
DWidgetsListHeaderEntry.java50 String subtitle;
56 subtitle = resources.getString(R.string.widgets_and_shortcuts_count,
59 subtitle = PluralMessageFormat.getIcuPluralString(context,
62 subtitle = PluralMessageFormat.getIcuPluralString(context,
65 return subtitle;
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/consent/
DConsentUiHelperImpl.java128 TextView subtitle = layout.findViewById(R.id.sud_layout_subtitle); in setupViewTermsButton() local
129 subtitle.setTextColor(mUtils.getAccentColor(mActivity)); in setupViewTermsButton()
130 subtitle.setOnClickListener(v -> mBridgeCallbacks.onTermsButtonClicked()); in setupViewTermsButton()
131 mTouchTargetEnforcer.enforce(subtitle, (View) subtitle.getParent()); in setupViewTermsButton()
/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()
/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/Settings/src/com/android/car/settings/qc/
DMobileDataTile.java59 String subtitle = MobileNetworkQCUtils.getMobileNetworkSummary(getContext(), dataEnabled); in getQCItem() local
60 if (subtitle == null) { in getQCItem()
61 subtitle = getContext().getString(R.string.mobile_network_toggle_title); in getQCItem()
80 .setSubtitle(subtitle) in getQCItem()
DMobileNetworkQCUtils.java69 String subtitle = manager.getNetworkOperatorName(); in getMobileNetworkSummary() local
70 if (TextUtils.isEmpty(subtitle)) { in getMobileNetworkSummary()
73 return subtitle; in getMobileNetworkSummary()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batteryusage/
DPowerGaugePreference.java126 final TextView subtitle = (TextView) view.findViewById(R.id.widget_summary); in onBindViewHolder() local
127 subtitle.setText(mProgress); in onBindViewHolder()
129 subtitle.setCompoundDrawablesRelativeWithIntrinsicBounds(R.drawable.ic_warning_24dp, 0, in onBindViewHolder()
132 subtitle.setCompoundDrawablesRelativeWithIntrinsicBounds(0, 0, 0, 0); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/applications/credentials/
DCombinedProviderInfo.java176 String subtitle = String.valueOf(cpi.getSettingsSubtitle()); in getSettingsSubtitle() local
177 if (subtitle != null && !TextUtils.isEmpty(subtitle) && !subtitle.equals("null")) { in getSettingsSubtitle()
178 subtitles.add(subtitle); in getSettingsSubtitle()
/packages/apps/Car/systemlibs/car-qc-lib/src/com/android/car/qc/
DQCTile.java44 boolean isClickableWhileDisabled, @Nullable String subtitle, @Nullable Icon icon, in QCTile() argument
49 mSubtitle = subtitle; in QCTile()
185 public Builder setSubtitle(@Nullable String subtitle) { in setSubtitle() argument
186 mSubtitle = subtitle; in setSubtitle()
DQCRow.java49 public QCRow(@Nullable String title, @Nullable String subtitle, boolean isEnabled, in QCRow() argument
56 mSubtitle = subtitle; in QCRow()
228 public Builder setSubtitle(@Nullable String subtitle) { in setSubtitle() argument
229 mSubtitle = subtitle; in setSubtitle()
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBlockingPrefWithSliceController.java173 Optional<CharSequence> subtitle = extractSubtitleFromSlice(sliceItem.getSlice()); in parseSliceToPreferenceList() local
176 Optional<Preference> preferenceItem = createPreferenceItem(title, subtitle, action, in parseSliceToPreferenceList()
188 Optional<CharSequence> subtitle, Optional<SliceAction> sliceAction, int orderLevel) { in createPreferenceItem() argument
190 + ", Subtitle: " + subtitle.orElse("no Subtitle") in createPreferenceItem()
204 if (subtitle.isPresent()) { in createPreferenceItem()
205 preference.setSummary(subtitle.get()); in createPreferenceItem()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/displaysound/
DFontScalePreviewFragment.java64 TextView subtitle = ((TextView) view.findViewById(R.id.preview_subtitle)); in onCreateView() local
66 (subtitle.getTextSize() / current_font_scale) * preview_font_scale; in onCreateView()
67 subtitle.setTextSize(TypedValue.COMPLEX_UNIT_PX, adjustedTextSizeSubtitle); in onCreateView()
/packages/apps/Settings/src/com/android/settings/panel/
DPanelFragment.java251 final CharSequence subtitle = mPanel.getSubTitle(); in createPanelContent() local
253 if (icon != null || (subtitle != null && subtitle.length() > 0)) { in createPanelContent()
254 enablePanelHeader(icon, title, subtitle); in createPanelContent()
278 private void enablePanelHeader(IconCompat icon, CharSequence title, CharSequence subtitle) { in enablePanelHeader() argument
283 mHeaderSubtitle.setText(subtitle); in enablePanelHeader()
284 mHeaderSubtitle.setAccessibilityPaneTitle(subtitle); in enablePanelHeader()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DMusicFragment.java74 TextView subtitle = view.findViewById(R.id.subtitle); in onCreateView() local
90 subtitle, in onCreateView() local
/packages/apps/Car/systemlibs/car-qc-lib/tests/unit/src/com/android/car/qc/view/
DQCTileViewTest.java75 String subtitle = "TEST_SUBTITLE"; in onChanged_setsSubtitleView() local
76 QCTile tile = new QCTile.Builder().setSubtitle(subtitle).build(); in onChanged_setsSubtitleView()
79 assertThat(subtitleView.getText().toString()).isEqualTo(subtitle); in onChanged_setsSubtitleView()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/widget/floatingsheetcontent/
DWallpaperActionSelectionBottomSheet.kt54 fun setBottomSheetSubtitle(subtitle: String) { in setBottomSheetSubtitle()
55 wallpaperActionsSubtitle.text = subtitle in setBottomSheetSubtitle()
/packages/modules/AdServices/adservices/apk/tests/settingsgaota/src/com/android/adservices/ui/settingsga/
DSettingsGaUiAutomatorTest.java450 UiObject subtitle = sDevice.findObject(new UiSelector().resourceIdMatches(regexResId)); in checkSubtitleMatchesToggle() local
451 subtitle.waitForExists(PRIMITIVE_UI_OBJECTS_LAUNCH_TIMEOUT); in checkSubtitleMatchesToggle()
452 scrollView.scrollIntoView(subtitle); in checkSubtitleMatchesToggle()
453 if (subtitle.getText().equals("Off")) { in checkSubtitleMatchesToggle()
462 assertThat(subtitle.getText().equals("Off")).isFalse(); in checkSubtitleMatchesToggle()
472 assertThat(subtitle.getText().equals("Off")).isTrue(); in checkSubtitleMatchesToggle()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenRuleSelectionDialog.java144 TextView subtitle = (TextView) v.findViewById(R.id.subtitle); in bindType() local
145 subtitle.setText(info.loadLabel(mPm)); in bindType()
146 subtitle.setVisibility(View.VISIBLE); in bindType()
/packages/apps/Settings/tests/robotests/src/com/android/settings/testutils/
DSliceTester.java255 String subtitle) { in assertAnySliceItemContainsSubtitle() argument
257 assertThat(hasText(sliceItems, subtitle, null /* hints */)).isTrue(); in assertAnySliceItemContainsSubtitle()
267 String subtitle) { in assertNoSliceItemContainsSubtitle() argument
269 assertThat(hasText(sliceItems, subtitle, null /* hints */)).isFalse(); in assertNoSliceItemContainsSubtitle()

123