Home
last modified time | relevance | path

Searched refs:mTitleView (Results 1 – 25 of 28) sorted by relevance

12

/packages/apps/Settings/src/com/android/settings/widget/
DSlidingTabLayout.java38 private final LinearLayout mTitleView; field in SlidingTabLayout
49 mTitleView = new LinearLayout(context); in SlidingTabLayout()
50 mTitleView.setGravity(Gravity.CENTER_HORIZONTAL); in SlidingTabLayout()
53 addView(mTitleView, LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); in SlidingTabLayout()
62 mTitleView.removeAllViews(); in setViewPager()
74 final int titleCount = mTitleView.getChildCount(); in onMeasure()
77 mTitleView.getMeasuredWidth() / titleCount, MeasureSpec.EXACTLY); in onMeasure()
86 if (mTitleView.getChildCount() > 0) { in onLayout()
94 mTitleView.layout(leftPadding, 0, mTitleView.getMeasuredWidth() + rightPadding, in onLayout()
95 mTitleView.getMeasuredHeight()); in onLayout()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/widget/
DSlidingTabLayout.java38 private final LinearLayout mTitleView; field in SlidingTabLayout
49 mTitleView = new LinearLayout(context); in SlidingTabLayout()
50 mTitleView.setGravity(Gravity.CENTER_HORIZONTAL); in SlidingTabLayout()
53 addView(mTitleView, LayoutParams.MATCH_PARENT, LayoutParams.WRAP_CONTENT); in SlidingTabLayout()
62 mTitleView.removeAllViews(); in setViewPager()
74 final int titleCount = mTitleView.getChildCount(); in onMeasure()
77 mTitleView.getMeasuredWidth() / titleCount, MeasureSpec.EXACTLY); in onMeasure()
86 if (mTitleView.getChildCount() > 0) { in onLayout()
94 mTitleView.layout(leftPadding, 0, mTitleView.getMeasuredWidth() + rightPadding, in onLayout()
95 mTitleView.getMeasuredHeight()); in onLayout()
[all …]
/packages/apps/TV/src/com/android/tv/menu/
DMenuRowView.java37 private TextView mTitleView; field in MenuRowView
97 mTitleView = (TextView) findViewById(R.id.title); in onFinishInflate()
129 return mTitleView; in getTitleView()
155 mTitleView.setText(row.getTitle()); in onBind()
205 mTitleView.setVisibility(INVISIBLE); in onSelected()
207 mTitleView.setVisibility(VISIBLE); in onSelected()
208 mTitleView.setAlpha(1.0f); in onSelected()
209 mTitleView.setScaleX(mTitleViewScaleSelected); in onSelected()
210 mTitleView.setScaleY(mTitleViewScaleSelected); in onSelected()
221 mTitleView.setVisibility(VISIBLE); in onDeselected()
[all …]
/packages/apps/TV/src/com/android/tv/dialog/
DPinDialogFragment.java82 private TextView mTitleView; field in PinDialogFragment
156 mTitleView = (TextView) mEnterPinView.findViewById(R.id.title); in onCreateView()
172 mTitleView.setText(R.string.pin_enter_unlock_channel); in onCreateView()
175 mTitleView.setText(R.string.pin_enter_unlock_program); in onCreateView()
181 mTitleView.setText(getString(R.string.pin_enter_unlock_dvr_unrated)); in onCreateView()
183 mTitleView.setText( in onCreateView()
193 mTitleView.setText(R.string.pin_enter_pin); in onCreateView()
197 mTitleView.setText(R.string.pin_enter_create_pin); in onCreateView()
199 mTitleView.setText(R.string.pin_enter_old_pin); in onCreateView()
293 mTitleView.setText(R.string.pin_enter_again);
[all …]
/packages/apps/Car/Notification/src/com/android/car/notification/template/
DCarNotificationBodyView.java47 private TextView mTitleView; field in CarNotificationBodyView
91 mTitleView = findViewById(R.id.notification_body_title); in onFinishInflate()
106 mTitleView.setVisibility(View.VISIBLE); in bind()
107 mTitleView.setText(title); in bind()
123 mTitleView.setVisibility(View.VISIBLE); in bindTitleAndMessage()
124 mTitleView.setText(title); in bindTitleAndMessage()
143 mTitleView.setTextColor(color); in setPrimaryTextColor()
151 mTitleView.setVisibility(View.GONE); in reset()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DDividerItem.java24 private TextView mTitleView; field in DividerItem
41 mTitleView = (TextView) view.findViewById(R.id.title); in onBind()
43 mTitleView.setVisibility(View.GONE); in onBind()
46 mTitleView.setVisibility(View.VISIBLE); in onBind()
47 mTitleView.setText(mTitle); in onBind()
57 mTitleView = null; in onUnbind()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/dialpad/
DDialpadFragment.java76 private TextView mTitleView; field in DialpadFragment
121 mTitleView = rootView.findViewById(R.id.title); in onCreateView()
122 mTitleView.setTextAppearance( in onCreateView()
210 mTitleView.setGravity(Gravity.CENTER); in presentDialedNumber()
211 mTitleView.setText( in presentDialedNumber()
216 mTitleView.setGravity(Gravity.END | Gravity.CENTER_VERTICAL); in presentDialedNumber()
218 mTitleView.setText( in presentDialedNumber()
221 mTitleView.setText(number.substring(number.length() - MAX_DIAL_NUMBER)); in presentDialedNumber()
DAbstractDialpadFragment.java68 private TextView mTitleView; field in AbstractDialpadFragment
92 mTitleView = view.findViewById(R.id.title); in onViewCreated()
93 if (mTitleView != null && getResources().getBoolean(R.bool.config_enable_dial_motion)) { in onViewCreated()
96 float startTextSize = mTitleView.getTextSize() * getResources().getFloat( in onViewCreated()
173 final String currentText = mTitleView.getText().toString(); in appendDialedNumber()
177 (float) valueAnimator.getAnimatedValue() * mTitleView.getTextSize(); in appendDialedNumber()
181 mTitleView.setText(spannableString, TextView.BufferType.SPANNABLE); in appendDialedNumber()
DInCallDialpadFragment.java42 private TextView mTitleView; field in InCallDialpadFragment
56 mTitleView = rootView.findViewById(R.id.title); in onCreateView()
88 mTitleView.setText(""); in presentDialedNumber()
90 mTitleView.setText(number); in presentDialedNumber()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/
DPinDialogFragment.java111 private TextView mTitleView; field in PinDialogFragment
190 mTitleView = mEnterPinView.findViewById(R.id.title); in onCreateView()
198 mTitleView.setText(R.string.pin_enter_unlock_channel); in onCreateView()
201 mTitleView.setText(R.string.pin_enter_unlock_program); in onCreateView()
205 mTitleView.setText(R.string.pin_enter_pin); in onCreateView()
209 mTitleView.setText(R.string.pin_enter_new_pin); in onCreateView()
211 mTitleView.setText(R.string.pin_enter_old_pin); in onCreateView()
317 mTitleView.setText(R.string.pin_enter_again);
323 mTitleView.setText(R.string.pin_enter_new_pin);
334 mTitleView.setText(R.string.pin_enter_new_pin);
DProgressDialogFragment.java39 private TextView mTitleView; field in ProgressDialogFragment
52 mTitleView = view.findViewById(android.R.id.title); in onCreateView()
77 mTitleView.setText(resId); in setTitle()
81 mTitleView.setText(title); in setTitle()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/calllog/
DCallLogViewHolder.java46 private TextView mTitleView; field in CallLogViewHolder
60 mTitleView = itemView.findViewById(R.id.title); in CallLogViewHolder()
74 mTitleView.setText(uiCallLog.getTitle()); in onBind()
76 mTitleView.setTextAppearance(R.style.TextAppearance_CallLogTitleMissedCall); in onBind()
78 mTitleView.setTextAppearance(R.style.TextAppearance_CallLogTitleDefault); in onBind()
/packages/apps/QuickSearchBox/src/com/android/quicksearchbox/
DDialogActivity.java31 protected TextView mTitleView; field in DialogActivity
39 mTitleView = (TextView) findViewById(R.id.alertTitle); in onCreate()
44 mTitleView.setText(titleRes); in setHeading()
48 mTitleView.setText(title); in setHeading()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/
DToolbarFragment.java59 private TextView mTitleView; field in ToolbarFragment
68 mTitleView = mToolbar.findViewById(R.id.custom_toolbar_title); in setUpToolbar()
105 if (mTitleView != null) { in setTitle()
107 mTitleView.setText(title); in setTitle()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/individual/
DIndividualHolder.java40 protected TextView mTitleView; field in IndividualHolder
50 mTitleView = (TextView) itemView.findViewById(R.id.title); in IndividualHolder()
68 mTitleView.setText(title); in bindWallpaper()
69 mTitleView.setVisibility(View.VISIBLE); in bindWallpaper()
/packages/apps/Launcher3/src/com/android/launcher3/notification/
DNotificationMainView.java74 private TextView mTitleView; field in NotificationMainView
105 mTitleView = mTextAndBackground.findViewById(R.id.title); in onFinishInflate()
126 mTitleView.setText(title.toString()); in applyNotificationInfo()
129 mTitleView.setMaxLines(2); in applyNotificationInfo()
130 mTitleView.setText(TextUtils.isEmpty(title) ? text.toString() : title.toString()); in applyNotificationInfo()
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/
DLensPickerRow.java32 private final TextView mTitleView; field in LensPickerRow
38 mTitleView = (TextView) itemView.findViewById(R.id.text); in LensPickerRow()
47 mTitleView.setText(label); in bind()
DResolverListRow.java34 private final TextView mTitleView; field in ResolverListRow
44 mTitleView = (TextView) itemView.findViewById(R.id.text); in ResolverListRow()
54 mTitleView.setText(label); in bind()
/packages/apps/TV/src/com/android/tv/onboarding/
DWelcomeFragment.java588 private TextView mTitleView; field in WelcomeFragment
624 mTitleView = view.findViewById(android.support.v17.leanback.R.id.title); in onCreateView()
636 if (!mTitleChanged || mTitleView.isAccessibilityFocused()) { in onCreateView()
655 if (!mTitleChanged || mTitleView.isAccessibilityFocused()) { in onCreateView()
666 mTitleView.setAccessibilityDelegate( in onCreateView()
671 if (!mTitleChanged || mTitleView.isAccessibilityFocused()) { in onCreateView()
682 mTitleView.addTextChangedListener( in onCreateView()
694 if (!mTitleView.isAccessibilityFocused()) { in onCreateView()
695 mTitleView.performAccessibilityAction( in onCreateView()
698 mTitleView.sendAccessibilityEvent( in onCreateView()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/contact/
DContactListViewHolder.java44 private final TextView mTitleView; field in ContactListViewHolder
55 mTitleView = itemView.findViewById(R.id.title); in ContactListViewHolder()
63 mTitleView.setText(contact.getDisplayName()); in onBind()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/panel/
DPanelFragment.java46 private TextView mTitleView; field in PanelFragment
67 mTitleView = view.findViewById(R.id.panel_title); in onCreateView()
101 mTitleView.setText(mPanel.getTitle()); in onCreateView()
/packages/apps/TV/src/com/android/tv/guide/
DProgramTableAdapter.java311 private final TextView mTitleView; field in ProgramTableAdapter.ProgramRowViewHolder
370 mTitleView = (TextView) mDetailView.findViewById(R.id.title); in ProgramRowViewHolder()
565 mTitleView.setTextColor(mDetailTextColor);
582 mTitleView.setText(program.getTitle());
593 mTitleView.setText(text);
667 mTitleView.setTextColor(mDetailGrayedTextColor);
669 updateTextView(mTitleView, mProgramTitleForBlockedChannel);
671 updateTextView(mTitleView, mProgramTitleForNoInformation);
/packages/apps/Settings/src/com/android/settings/datetime/timezone/
DBaseTimeZoneAdapter.java192 final TextView mTitleView; field in BaseTimeZoneAdapter.ItemViewHolder
202 mTitleView = itemView.findViewById(android.R.id.title); in ItemViewHolder()
211 mTitleView.setText(item.getTitle()); in setAdapterItem()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datetime/timezone/
DBaseTimeZoneAdapter.java192 final TextView mTitleView; field in BaseTimeZoneAdapter.ItemViewHolder
202 mTitleView = itemView.findViewById(android.R.id.title); in ItemViewHolder()
211 mTitleView.setText(item.getTitle()); in setAdapterItem()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/dialpad/
DInCallDialpadFragmentTest.java54 TextView mTitleView = mInCallDialpadFragment.getView().findViewById(R.id.title); in testOnCreateView_modeInCall() local
55 assertThat(mTitleView.getText()).isEqualTo(""); in testOnCreateView_modeInCall()

12