Home
last modified time | relevance | path

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

1234

/aosp12/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
H A 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()
H A 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()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
H A DGuidanceRelativeLayout.java61 TextView titleView = getRootView().findViewById(R.id.guidance_title); in onLayout() local
66 if (titleView != null && titleView.getParent() == this) { in onLayout()
67 LayoutParams lp = (LayoutParams) titleView.getLayoutParams(); in onLayout()
76 if (titleView.getLineCount() > 1) { in onLayout()
77 guidanceTextContainerTop -= titleView.getLayout().getLineBaseline(1); in onLayout()
79 guidanceTextContainerTop -= titleView.getLayout().getLineBaseline(0); in onLayout()
83 titleView.offsetTopAndBottom(offset); in onLayout()
H A DMessageFragment.java71 final TextView titleView = view.findViewById(R.id.status_text); in onCreateView() local
78 titleView.setText(title); in onCreateView()
79 titleView.setVisibility(View.VISIBLE); in onCreateView()
81 titleView.setFocusable(true); in onCreateView()
82 titleView.setFocusableInTouchMode(true); in onCreateView()
85 titleView.setVisibility(View.GONE); in onCreateView()
101 TextView titleView = getView().findViewById(R.id.status_text); in onResume() local
102 titleView.requestFocus(); in onResume()
/aosp12/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
H A DActionDisabledByAdminDialogHelper.java128 final TextView titleView = root.findViewById(R.id.admin_support_dialog_title); in setAdminSupportTitle() local
129 if (titleView == null) { in setAdminSupportTitle()
133 titleView.setText(R.string.disabled_by_policy_title); in setAdminSupportTitle()
138 titleView.setText(R.string.disabled_by_policy_title_adjust_volume); in setAdminSupportTitle()
141 titleView.setText(R.string.disabled_by_policy_title_outgoing_calls); in setAdminSupportTitle()
144 titleView.setText(R.string.disabled_by_policy_title_sms); in setAdminSupportTitle()
147 titleView.setText(R.string.disabled_by_policy_title_camera); in setAdminSupportTitle()
150 titleView.setText(R.string.disabled_by_policy_title_screen_capture); in setAdminSupportTitle()
153 titleView.setText(R.string.disabled_by_policy_title_suspend_packages); in setAdminSupportTitle()
157 titleView.setText(R.string.disabled_by_policy_title); in setAdminSupportTitle()
/aosp12/packages/apps/TV/src/com/android/tv/dvr/ui/
H A DDvrPrioritySettingsFragment.java237 TextView titleView = (TextView) itemView.findViewById(R.id.guidedactions_item_title);
246 titleView.setTypeface(titleView.getTypeface(), Typeface.ITALIC);
248 titleView.setTextColor(mActionColor);
254 titleView.setTypeface(titleView.getTypeface(), Typeface.NORMAL);
256 titleView.setTextColor(mSelectedActionColor);
262 titleView.setTypeface(titleView.getTypeface(), Typeface.NORMAL);
264 titleView.setTextColor(mActionColor);
269 titleView.setTypeface(titleView.getTypeface(), Typeface.NORMAL);
/aosp12/packages/apps/Settings/src/com/android/settings/display/
H A DDarkUIInfoDialogFragment.java52 View titleView = inflater.inflate(R.layout.settings_dialog_title, null); in onCreateDialog() local
53 ((ImageView) titleView.findViewById(R.id.settings_icon)) in onCreateDialog()
55 ((TextView) titleView.findViewById(R.id.settings_title)).setText(R.string.dark_ui_mode); in onCreateDialog()
57 dialog.setCustomTitle(titleView) in onCreateDialog()
/aosp12/frameworks/base/core/java/android/preference/
H A 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()
H A 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()
/aosp12/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/savedqueries/
H A DSavedQueryViewHolder.java29 public final TextView titleView; field in SavedQueryViewHolder
33 titleView = view.findViewById(android.R.id.title); in SavedQueryViewHolder()
50 titleView.setText(result.title); in onBind()
/aosp12/packages/apps/Settings/src/com/android/settings/wifi/calling/
H A DDisclaimerItemListAdapter.java54 holder.titleView.setText(mDisclaimerItemList.get(position).getTitleId()); in onBindViewHolder()
69 public final TextView titleView; field in DisclaimerItemListAdapter.DisclaimerItemViewHolder
74 titleView = itemView.findViewById(ID_DISCLAIMER_ITEM_TITLE); in DisclaimerItemViewHolder()
/aosp12/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/
H A 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()
H A 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()
/aosp12/packages/apps/Settings/src/com/android/settings/security/
H A DCredentialManagementAppHeaderController.java83 TextView titleView = headerPref.findViewById(R.id.entity_header_title); in displayHeader() local
92 titleView.setText(applicationInfo.loadLabel(mPackageManager)); in displayHeader()
96 titleView.setText(mCredentialManagerPackageName); in displayHeader()
/aosp12/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
H A DAppItem.java85 final TextView titleView = (TextView) convertView.findViewById(android.R.id.title); in bindView() local
90 titleView.setText(title); in bindView()
91 titleView.setContentDescription(userId.getUserBadgedLabel(convertView.getContext(), title)); in bindView()
H A DHeaderItem.java42 final TextView titleView = convertView.findViewById(android.R.id.title); in bindView() local
43 titleView.setText(title); in bindView()
/aosp12/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/
H A DSearchViewHolder.java41 public final TextView titleView; field in SearchViewHolder
53 titleView = view.findViewById(android.R.id.title); in SearchViewHolder()
64 titleView.setText(result.title); in onBind()
/aosp12/frameworks/opt/setupwizard/library/gingerbread/src/com/android/setupwizardlib/items/
H A 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()
/aosp12/packages/apps/TV/src/com/android/tv/ui/sidepanel/
H A DActionItem.java44 TextView titleView = (TextView) view.findViewById(R.id.title); in onBind() local
45 titleView.setText(mTitle); in onBind()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
H A DWifiPasswordDialogTest.java77 View titleView = mFragment.getDialog().findViewById(com.android.internal.R.id.alertTitle); in onDialogCreated_titleSet() local
78 assertThat(titleView).isNotNull(); in onDialogCreated_titleSet()
79 assertThat(((TextView) titleView).getText().toString()).isEqualTo(TEST_SSID); in onDialogCreated_titleSet()
/aosp12/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
H A DDialogTestUtils.java53 TextView titleView = dialogFragment.getDialog().getWindow().findViewById( in getTitle() local
55 return titleView.getText().toString(); in getTitle()
/aosp12/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/
H A DDialogTestUtils.java53 TextView titleView = dialogFragment.getDialog().getWindow().findViewById( in getTitle() local
55 return titleView.getText().toString(); in getTitle()
/aosp12/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
H A DSuggestionStripLayoutHelper.java549 final TextView titleView = (TextView)importantNoticeStrip.findViewById( in layoutImportantNotice() local
551 final int width = titleView.getWidth() - titleView.getPaddingLeft() in layoutImportantNotice()
552 - titleView.getPaddingRight(); in layoutImportantNotice()
553 titleView.setTextColor(mColorAutoCorrect); in layoutImportantNotice()
554 titleView.setText(importantNoticeTitle); // TextView.setText() resets text scale x to 1.0. in layoutImportantNotice()
555 final float titleScaleX = getTextScaleX(importantNoticeTitle, width, titleView.getPaint()); in layoutImportantNotice()
556 titleView.setTextScaleX(titleScaleX); in layoutImportantNotice()
/aosp12/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
H A 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()
/aosp12/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/
H A DSettingsPreferenceFragment.java97 TextView titleView = view.findViewById(R.id.decor_title); in onViewCreated() local
101 if (titleView != null in onViewCreated()
104 titleView.setGravity(Gravity.RIGHT); in onViewCreated()

1234