/aosp12/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/ |
H A D | HeaderMixin.java | 67 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 D | ColoredHeaderMixin.java | 59 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 D | GuidanceRelativeLayout.java | 61 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 D | MessageFragment.java | 71 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 D | ActionDisabledByAdminDialogHelper.java | 128 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 D | DvrPrioritySettingsFragment.java | 237 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 D | DarkUIInfoDialogFragment.java | 52 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 D | PreferenceScreen.java | 202 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 D | PreferenceFragment.java | 371 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 D | SavedQueryViewHolder.java | 29 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 D | DisclaimerItemListAdapter.java | 54 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 D | ExpandableSwitchItemTest.java | 135 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 D | SwitchItemTest.java | 214 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 D | CredentialManagementAppHeaderController.java | 83 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 D | AppItem.java | 85 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 D | HeaderItem.java | 42 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 D | SearchViewHolder.java | 41 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 D | ExpandableSwitchItem.java | 150 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 D | ActionItem.java | 44 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 D | WifiPasswordDialogTest.java | 77 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 D | DialogTestUtils.java | 53 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 D | DialogTestUtils.java | 53 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 D | SuggestionStripLayoutHelper.java | 549 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 D | GlifLayoutTest.java | 99 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 D | SettingsPreferenceFragment.java | 97 TextView titleView = view.findViewById(R.id.decor_title); in onViewCreated() local 101 if (titleView != null in onViewCreated() 104 titleView.setGravity(Gravity.RIGHT); in onViewCreated()
|