Home
last modified time | relevance | path

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

/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/core/java/android/preference/
DPreferenceScreen.java201 View titleView = childPrefScreen.findViewById(android.R.id.title); in showDialog() local
213 if (titleView != null) { in showDialog()
214 titleView.setVisibility(View.GONE); in showDialog()
218 if (titleView instanceof TextView) { in showDialog()
219 ((TextView) titleView).setText(title); in showDialog()
220 titleView.setVisibility(View.VISIBLE); in showDialog()
DPreferenceFragment.java370 View titleView = root.findViewById(android.R.id.title); in bindPreferences() local
371 if (titleView instanceof TextView) { in bindPreferences()
374 titleView.setVisibility(View.GONE); in bindPreferences()
376 ((TextView) titleView).setText(title); in bindPreferences()
377 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/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/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/
DDeviceChooserActivity.java121 final TextView titleView = findViewById(R.id.title); in setTitle() local
123 titleView.setPadding(padding, padding, padding, padding); in setTitle()
124 titleView.setText(title); in setTitle()
/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/core/java/com/android/internal/view/menu/
DStandardMenuPopup.java191 TextView titleView = (TextView) titleItemView.findViewById( in tryShow() local
193 if (titleView != null) { in tryShow()
194 titleView.setText(mMenu.getHeaderTitle()); in tryShow()
DCascadingMenuPopup.java441 final TextView titleView = (TextView) titleItemView.findViewById(R.id.title); in showMenu() local
443 titleView.setText(menu.getHeaderTitle()); in showMenu()
/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);
DPrintActivity.java2499 TextView titleView = (TextView) convertView.findViewById(R.id.title); in getView() local
2500 titleView.setText(title); in getView()
/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/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/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DAppEntitiesHeaderControllerTest.java214 final View titleView = mAppEntitiesHeaderView.findViewById(R.id.header_title); in apply_noAppEntitySet_shouldOnlyShowTitleAndEmptyView() local
222 assertThat(titleView.getVisibility()).isEqualTo(View.VISIBLE); in apply_noAppEntitySet_shouldOnlyShowTitleAndEmptyView()
/frameworks/base/services/autofill/java/com/android/server/autofill/ui/
DFillUi.java155 final TextView titleView = decor.findViewById(R.id.autofill_dataset_title); in FillUi() local
156 if (titleView != null) { in FillUi()
157 titleView.setText(mContext.getString(R.string.autofill_window_title, serviceLabel)); in FillUi()
DSaveUi.java172 final TextView titleView = view.findViewById(R.id.autofill_save_title); in SaveUi() local
219 titleView.setText(mTitle); in SaveUi()
/frameworks/base/core/java/com/android/internal/app/
DResolverActivity.java1323 final TextView titleView = findViewById(R.id.title);
1324 if (titleView != null) {
1325 titleView.setVisibility(View.GONE);
1334 final TextView titleView = findViewById(R.id.title);
1335 if (titleView != null) {
1336 titleView.setText(title);