Home
last modified time | relevance | path

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

12

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DGuidanceRelativeLayout.java60 TextView titleView = getRootView().findViewById(R.id.guidance_title); in onLayout() local
64 if (titleView != null && titleView.getParent() == this) { in onLayout()
65 LayoutParams lp = (LayoutParams) titleView.getLayoutParams(); in onLayout()
74 if (titleView.getLineCount() > 1) { in onLayout()
75 guidanceTextContainerTop -= titleView.getLayout().getLineBaseline(1); in onLayout()
77 guidanceTextContainerTop -= titleView.getLayout().getLineBaseline(0); in onLayout()
81 titleView.offsetTopAndBottom(offset); in onLayout()
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()
/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/enterprise/
DActionDisabledByAdminDialogHelper.java156 final TextView titleView = root.findViewById(R.id.admin_support_dialog_title); in setAdminSupportTitle() local
157 if (titleView == null) { in setAdminSupportTitle()
161 titleView.setText(R.string.disabled_by_policy_title); in setAdminSupportTitle()
166 titleView.setText(R.string.disabled_by_policy_title_adjust_volume); in setAdminSupportTitle()
169 titleView.setText(R.string.disabled_by_policy_title_outgoing_calls); in setAdminSupportTitle()
172 titleView.setText(R.string.disabled_by_policy_title_sms); in setAdminSupportTitle()
175 titleView.setText(R.string.disabled_by_policy_title_camera); in setAdminSupportTitle()
178 titleView.setText(R.string.disabled_by_policy_title_screen_capture); in setAdminSupportTitle()
181 titleView.setText(R.string.disabled_by_policy_title_suspend_packages); in setAdminSupportTitle()
185 titleView.setText(R.string.disabled_by_policy_title); in setAdminSupportTitle()
/packages/apps/Settings/src/com/android/settings/enterprise/
DActionDisabledByAdminDialogHelper.java156 final TextView titleView = root.findViewById(R.id.admin_support_dialog_title); in setAdminSupportTitle() local
157 if (titleView == null) { in setAdminSupportTitle()
161 titleView.setText(R.string.disabled_by_policy_title); in setAdminSupportTitle()
166 titleView.setText(R.string.disabled_by_policy_title_adjust_volume); in setAdminSupportTitle()
169 titleView.setText(R.string.disabled_by_policy_title_outgoing_calls); in setAdminSupportTitle()
172 titleView.setText(R.string.disabled_by_policy_title_sms); in setAdminSupportTitle()
175 titleView.setText(R.string.disabled_by_policy_title_camera); in setAdminSupportTitle()
178 titleView.setText(R.string.disabled_by_policy_title_screen_capture); in setAdminSupportTitle()
181 titleView.setText(R.string.disabled_by_policy_title_suspend_packages); in setAdminSupportTitle()
185 titleView.setText(R.string.disabled_by_policy_title); in setAdminSupportTitle()
/packages/apps/Settings/src/com/android/settings/display/
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()
/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/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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/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/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/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/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/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DNetworkRequestDialogFragment.java374 final TextView titleView = view.findViewById(android.R.id.title); in getView() local
375 if (titleView != null) { in getView()
377 titleView.setSingleLine(false); in getView()
378 titleView.setText(accessPoint.getTitle()); in getView()
/packages/apps/Settings/src/com/android/settings/wifi/
DNetworkRequestDialogFragment.java379 final TextView titleView = view.findViewById(android.R.id.title); in getView() local
380 if (titleView != null) { in getView()
382 titleView.setSingleLine(false); in getView()
383 titleView.setText(accessPoint.getTitle()); in getView()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerGaugePreference.java118 final TextView titleView = (TextView) view.findViewById(android.R.id.title); in onBindViewHolder() local
119 titleView.setContentDescription(mContentDescription); in onBindViewHolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/
DPowerGaugePreference.java118 final TextView titleView = (TextView) view.findViewById(android.R.id.title); in onBindViewHolder() local
119 titleView.setContentDescription(mContentDescription); in onBindViewHolder()
/packages/apps/TV/src/com/android/tv/menu/
DMenuLayoutManager.java720 View titleView = mMenuRowViews.get(position).getTitleView(); in setSelectedPositionSmooth()
723 titleView, in setSelectedPositionSmooth()
724 titleView.getAlpha(), in setSelectedPositionSmooth()
856 View titleView = view.getTitleView(); in onMenuRowUpdated() local
857 MarginLayoutParams params = (MarginLayoutParams) titleView.getLayoutParams(); in onMenuRowUpdated()
858 titleView.layout( in onMenuRowUpdated()
/packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
DAppItem.java80 final TextView titleView = (TextView) convertView.findViewById(android.R.id.title); in bindView() local
85 titleView.setText(title); in bindView()
DRootItem.java128 final TextView titleView = (TextView) view.findViewById(android.R.id.title); in bindTitle() local
129 titleView.setText(title); in bindTitle()
/packages/apps/Car/libs/car-ui-lib/tests/robotests/src/com/android/car/ui/recyclerview/
DCarUiListItemTest.java291 TextView titleView = getHeaderViewHolderTitleAtPosition(0); in testHeader_titleAndBody() local
294 assertThat(titleView.getVisibility()).isEqualTo(View.VISIBLE); in testHeader_titleAndBody()
295 assertThat(titleView.getText()).isEqualTo(title); in testHeader_titleAndBody()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/activity/
DMovieDetailsActivity.java132 TextView titleView = findViewById(R.id.activity_movie_details_title); in updateViews() local
138 titleView.setText(mMovie.getTitle()); in updateViews()
DOtherDetailsActivity.java135 TextView titleView = findViewById(R.id.activity_other_details_title); in updateViews() local
139 titleView.setText(mOther.getTitle()); in updateViews()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DLeanbackPickerDialogFragment.java164 final TextView titleView = view.findViewById(R.id.decor_title); in onCreateView() local
165 titleView.setText(title); in onCreateView()
/packages/apps/UniversalMediaPlayer/java/com/android/pump/fragment/
DAudioFragment.java145 TextView titleView = itemView.findViewById(R.id.audio_title); in bind() local
150 titleView.setText(audio.getTitle()); in bind()

12