Home
last modified time | relevance | path

Searched refs:titleView (Results 1 – 25 of 34) sorted by relevance

12

/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DHeaderMixin.java67 final TextView titleView = getTextView(); in setText() local
68 if (titleView != null) { in setText()
69 titleView.setText(title); in setText()
79 final TextView titleView = getTextView(); in setText() local
80 if (titleView != null) { in setText()
81 titleView.setText(title); in setText()
87 final TextView titleView = getTextView(); in getText() local
88 return titleView != null ? titleView.getText() : null; in getText()
DColoredHeaderMixin.java59 final TextView titleView = getTextView(); in setColor() local
60 if (titleView != null) { in setColor()
61 titleView.setTextColor(color); in setColor()
67 final TextView titleView = getTextView(); in getColor() local
68 return titleView != null ? titleView.getTextColors() : null; in getColor()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/
DCredentialPasswordView.kt58 val titleView: TextView? = findViewById(R.id.title) in onApplyWindowInsets() constant
59 if (titleView != null) { in onApplyWindowInsets()
63 titleView.isSingleLine = true in onApplyWindowInsets()
64 titleView.ellipsize = TextUtils.TruncateAt.MARQUEE in onApplyWindowInsets()
65 titleView.marqueeRepeatLimit = -1 in onApplyWindowInsets()
67 titleView.isSelected = accessibilityManager?.shouldMarquee() ?: false in onApplyWindowInsets()
69 titleView.isSingleLine = false in onApplyWindowInsets()
70 titleView.ellipsize = null in onApplyWindowInsets()
72 titleView.isSelected = false in onApplyWindowInsets()
/frameworks/base/core/java/android/preference/
DPreferenceScreen.java202 View titleView = childPrefScreen.findViewById(android.R.id.title); in showDialog() local
214 if (titleView != null) { in showDialog()
215 titleView.setVisibility(View.GONE); in showDialog()
219 if (titleView instanceof TextView) { in showDialog()
220 ((TextView) titleView).setText(title); in showDialog()
221 titleView.setVisibility(View.VISIBLE); in showDialog()
DPreferenceFragment.java371 View titleView = root.findViewById(android.R.id.title); in bindPreferences() local
372 if (titleView instanceof TextView) { in bindPreferences()
375 titleView.setVisibility(View.GONE); in bindPreferences()
377 ((TextView) titleView).setText(title); in bindPreferences()
378 titleView.setVisibility(View.VISIBLE); in bindPreferences()
DPreference.java634 final TextView titleView = (TextView) view.findViewById(com.android.internal.R.id.title); in onBindView() local
635 if (titleView != null) { in onBindView()
638 titleView.setText(title); in onBindView()
639 titleView.setVisibility(View.VISIBLE); in onBindView()
641 titleView.setSingleLine(mSingleLineTitle); in onBindView()
644 titleView.setVisibility(View.GONE); in onBindView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/row/wrapper/
DNotificationCompactMessagingTemplateViewWrapper.kt35 private var titleView: View? = null variable
48 titleView = compactMessagingView.findViewById(R.id.title) in resolveViews()
64 titleView, in updateTransformedTypes()
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/
DExpandableSwitchItemTest.java135 final View titleView = view.findViewById(R.id.suw_items_title); in testDrawableState() local
136 assertThat(titleView.getDrawableState()) in testDrawableState()
143 assertThat(titleView.getDrawableState()) in testDrawableState()
150 assertThat(titleView.getDrawableState()) in testDrawableState()
DSwitchItemTest.java214 final View titleView = view.findViewById(R.id.suw_items_title); in testAccessibility() local
216 "Title view should label for switch", R.id.suw_items_switch, titleView.getLabelFor()); in testAccessibility()
222 TextView titleView = new TextView(application); in createLayout() local
223 titleView.setId(R.id.suw_items_title); in createLayout()
224 root.addView(titleView); in createLayout()
/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/
DExpandableSwitchItem.java150 TextView titleView = (TextView) view.findViewById(R.id.suw_items_title); in tintCompoundDrawables() local
151 for (Drawable drawable : titleView.getCompoundDrawables()) { in tintCompoundDrawables()
157 for (Drawable drawable : titleView.getCompoundDrawablesRelative()) { in tintCompoundDrawables()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DGlifLayoutTest.java99 final TextView titleView = (TextView) glifLayout.findManagedViewById(R.id.suw_layout_title); in testGlifV2Theme() local
101 assertEquals(View.TEXT_ALIGNMENT_GRAVITY, titleView.getTextAlignment()); in testGlifV2Theme()
106 titleView.getGravity() & Gravity.CENTER_HORIZONTAL); in testGlifV2Theme()
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DCompanionDeviceDataTransferActivity.java70 TextView titleView = findViewById(R.id.title); in onCreate() local
88 titleView.setText(getHtmlFromResources(this, in onCreate()
/frameworks/base/packages/SystemUI/src/com/android/systemui/controls/management/
DControlsFavoritingActivity.kt84 private lateinit var titleView: TextView in <lambda>() variable in com.android.systemui.controls.management.ControlsFavoritingActivity
229 titleView.text = title in <lambda>()
230 titleView.requestFocus() in <lambda>()
285 titleView = requireViewById<TextView>(R.id.title).apply { in <lambda>()
/frameworks/base/core/java/com/android/internal/app/
DAbstractMultiProfilePagerAdapter.java377 TextView titleView = emptyStateView.findViewById(R.id.resolver_empty_state_title); in showEmptyState() local
380 titleView.setVisibility(View.VISIBLE); in showEmptyState()
381 titleView.setText(title); in showEmptyState()
383 titleView.setVisibility(View.GONE); in showEmptyState()
/frameworks/base/core/java/com/android/internal/view/menu/
DStandardMenuPopup.java203 TextView titleView = (TextView) titleItemView.findViewById( in tryShow() local
205 if (titleView != null) { in tryShow()
206 titleView.setText(mMenu.getHeaderTitle()); in tryShow()
/frameworks/base/core/tests/batterystatstests/BatteryStatsViewer/src/com/android/frameworks/core/batterystatsviewer/
DBatteryConsumerPickerActivity.java242 viewHolder.titleView.setText(item.label); in onBindViewHolder()
272 public TextView titleView; field in BatteryConsumerPickerActivity.BatteryConsumerViewHolder
282 titleView = view.findViewById(android.R.id.title); in BatteryConsumerViewHolder()
/frameworks/base/packages/SettingsLib/BarChartPreference/src/com/android/settingslib/widget/
DBarChartPreference.java191 final TextView titleView = (TextView) holder.findViewById(R.id.bar_chart_title); in bindChartTitleView() local
192 titleView.setText(mBarChartInfo.getTitle()); in bindChartTitleView()
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/ui/binder/
DBiometricViewBinder.kt104 val titleView = view.requireViewById<TextView>(R.id.title) in <lambda>() constant
117 titleView.isSelected = in <lambda>()
176 titleView.text = viewModel.title.first() in <lambda>()
212 titleView, in <lambda>()
221 titleView, in <lambda>()
DCredentialViewBinder.kt50 val titleView: TextView = view.requireViewById(R.id.title) in <lambda>() constant
80 titleView.text = header.title in <lambda>()
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
DSelectPrinterActivity.java419 TextView titleView = findViewById(R.id.title); in updateEmptyView() local
422 titleView.setText(R.string.print_no_print_services); in updateEmptyView()
425 titleView.setText(R.string.print_searching_for_printers); in updateEmptyView()
428 titleView.setText(R.string.print_no_printers); in updateEmptyView()
697 TextView titleView = (TextView) convertView.findViewById(R.id.title);
698 titleView.setText(title);
/frameworks/base/packages/SettingsLib/BannerMessagePreference/src/com/android/settingslib/widget/
DBannerMessagePreference.java144 final TextView titleView = (TextView) holder.findViewById(R.id.banner_title); in onBindViewHolder() local
146 titleView.setText(title); in onBindViewHolder()
147 titleView.setVisibility(title == null ? View.GONE : View.VISIBLE); in onBindViewHolder()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/media/dialog/
DMediaOutputBaseDialogTest.java215 final TextView titleView = mMediaOutputBaseDialogImpl.mDialogView.requireViewById( in refresh_checkTitle() local
218 assertThat(titleView.getVisibility()).isEqualTo(View.VISIBLE); in refresh_checkTitle()
219 assertThat(titleView.getText()).isEqualTo(mHeaderTitle); in refresh_checkTitle()
/frameworks/base/core/java/android/widget/
DActivityChooserView.java770 TextView titleView = convertView.findViewById(R.id.title); in getView() local
771 titleView.setText(mContext.getString( in getView()
786 TextView titleView = convertView.findViewById(R.id.title); in getView() local
787 titleView.setText(activity.loadLabel(packageManager)); in getView()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/notification/row/
DSingleLineViewBinderTest.kt82 Assert.assertEquals(viewModel.titleText, viewHolder?.titleView?.text) in bindNonConversationSingleLineView()
DSingleLineConversationViewBinderTest.kt101 assertEquals(viewModel.titleText, viewHolder.titleView.text) in bindGroupConversationSingleLineView()

12