Home
last modified time | relevance | path

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

123

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
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()
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()
/packages/apps/TV/src/com/android/tv/dvr/ui/
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);
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DActionDisabledByAdminDialogHelper.java130 final TextView titleView = root.findViewById(R.id.admin_support_dialog_title); in setAdminSupportTitle() local
131 if (titleView == null) { in setAdminSupportTitle()
135 titleView.setText(R.string.disabled_by_policy_title); in setAdminSupportTitle()
140 titleView.setText(R.string.disabled_by_policy_title_adjust_volume); in setAdminSupportTitle()
143 titleView.setText(R.string.disabled_by_policy_title_outgoing_calls); in setAdminSupportTitle()
146 titleView.setText(R.string.disabled_by_policy_title_sms); in setAdminSupportTitle()
149 titleView.setText(R.string.disabled_by_policy_title_camera); in setAdminSupportTitle()
152 titleView.setText(R.string.disabled_by_policy_title_screen_capture); in setAdminSupportTitle()
155 titleView.setText(R.string.disabled_by_policy_title_suspend_packages); in setAdminSupportTitle()
159 titleView.setText(R.string.disabled_by_policy_title); in setAdminSupportTitle()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/savedqueries/
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()
/packages/apps/Settings/src/com/android/settings/wifi/calling/
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()
/packages/apps/Settings/src/com/android/settings/
DActionDisabledByAppOpsHelper.java77 final TextView titleView = root.findViewById(R.id.admin_support_dialog_title); in setSupportTitle() local
78 if (titleView == null) { in setSupportTitle()
81 titleView.setText(R.string.blocked_by_restricted_settings_title); in setSupportTitle()
DMainClear.java505 View titleView = Utils.inflateCategoryHeader(inflater, contents); in loadAccountList() local
506 titleView.setPadding(0 /* left */, titleView.getPaddingTop(), in loadAccountList()
507 0 /* right */, titleView.getPaddingBottom()); in loadAccountList()
508 final TextView titleText = (TextView) titleView.findViewById(android.R.id.title); in loadAccountList()
520 contents.addView(titleView); in loadAccountList()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/suggestions/
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()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/privacy/
DPhysicalPrivacyUnblockInfoFragment.java76 TextView titleView = view.findViewById(R.id.info_title); in onCreateView() local
77 titleView.setVisibility(View.VISIBLE); in onCreateView()
78 titleView.setText(mToggle.physicalPrivacyEnabledInfoTitle); in onCreateView()
/packages/apps/Settings/src/com/android/settings/security/
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()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/
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()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
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()
DHeaderItem.java42 final TextView titleView = convertView.findViewById(android.R.id.title); in bindView() local
43 titleView.setText(title); in bindView()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/wifi/
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_TITLE); in onDialogCreated_titleSet()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/compat/
DPreferenceControllerFragmentCompat.java235 TextView titleView = view.findViewById(R.id.decor_title); in onViewCreated() local
239 if (titleView != null) { in onViewCreated()
241 titleView.setText(mTitle); in onViewCreated()
245 titleView.setGravity(Gravity.RIGHT); in onViewCreated()
/packages/apps/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/slices/
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()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DActionItem.java44 TextView titleView = (TextView) view.findViewById(R.id.title); in onBind() local
45 titleView.setText(mTitle); in onBind()
/packages/apps/Settings/tests/robotests/src/com/android/settings/panel/
DPanelFragmentTest.java182 final View titleView = panelFragment.mLayoutView.findViewById(R.id.panel_title); in supportIcon_displayIconHeaderLayout() local
189 assertThat(titleView.getVisibility()).isEqualTo(View.GONE); in supportIcon_displayIconHeaderLayout()
206 final View titleView = panelFragment.mLayoutView.findViewById(R.id.panel_title); in notSupportIcon_displayDefaultHeaderLayout() local
210 assertThat(titleView.getVisibility()).isEqualTo(View.VISIBLE); in notSupportIcon_displayDefaultHeaderLayout()
/packages/apps/Settings/src/com/android/settings/dashboard/profileselector/
DProfileSelectDialog.java108 DialogTitle titleView = in createDialog() local
110 titleView.setText(com.android.settingslib.R.string.choose_profile); in createDialog()
121 .setCustomTitle(titleView) in createDialog()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/testutils/
DDialogTestUtils.java53 TextView titleView = dialogFragment.getDialog().getWindow().findViewById( in getTitle() local
55 return titleView.getText().toString(); in getTitle()
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/testutils/
DDialogTestUtils.java53 TextView titleView = dialogFragment.getDialog().getWindow().findViewById( in getTitle() local
55 return titleView.getText().toString(); in getTitle()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/v31/
DPermissionUsageV2ControlPreference.java54 TextView titleView = (TextView) view.findViewById(android.R.id.title); in onBindViewHolder() local
59 titleView.setTextAppearance(resId); in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/wifi/
DNetworkRequestDialogFragment.java325 final TextView titleView = view.findViewById(android.R.id.title); in getView() local
326 if (titleView != null) { in getView()
328 titleView.setSingleLine(false); in getView()
329 titleView.setText(wifiEntry.getTitle()); in getView()
/packages/apps/Settings/src/com/android/settings/enterprise/
DActionDisabledByAdminDialogHelper.java165 final TextView titleView = root.findViewById(R.id.admin_support_dialog_title); in setAdminSupportTitle() local
166 if (titleView == null) { in setAdminSupportTitle()
169 titleView.setText(mActionDisabledByAdminController.getAdminSupportTitle(restriction)); in setAdminSupportTitle()

123