Home
last modified time | relevance | path

Searched refs:mSubtitleView (Results 1 – 3 of 3) sorted by relevance

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DBannerMessagePreferenceTest.java136 TextView mSubtitleView = mRootView.findViewById(R.id.banner_subtitle); in onBindViewHolder_whenAtLeastS_whenSubtitleSetByString_shouldSetSubtitle() local
137 assertThat(mSubtitleView.getText()).isEqualTo("test"); in onBindViewHolder_whenAtLeastS_whenSubtitleSetByString_shouldSetSubtitle()
138 assertThat(mSubtitleView.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_whenAtLeastS_whenSubtitleSetByString_shouldSetSubtitle()
148 TextView mSubtitleView = mRootView.findViewById(R.id.banner_subtitle); in onBindViewHolder_whenAtLeastS_whenSubtitleSetByResId_shouldSetSubtitle() local
149 assertThat(mSubtitleView.getText()).isEqualTo(mContext.getString(TEST_STRING_RES_ID)); in onBindViewHolder_whenAtLeastS_whenSubtitleSetByResId_shouldSetSubtitle()
150 assertThat(mSubtitleView.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_whenAtLeastS_whenSubtitleSetByResId_shouldSetSubtitle()
163 TextView mSubtitleView = mRootView.findViewById(R.id.banner_subtitle); in onBindViewHolder_whenAtLeastS_whenSubtitleXmlAttribute_shouldSetSubtitle() local
164 assertThat(mSubtitleView.getText()).isEqualTo("Test"); in onBindViewHolder_whenAtLeastS_whenSubtitleXmlAttribute_shouldSetSubtitle()
165 assertThat(mSubtitleView.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_whenAtLeastS_whenSubtitleXmlAttribute_shouldSetSubtitle()
173 TextView mSubtitleView = mRootView.findViewById(R.id.banner_subtitle); in onBindViewHolder_whenAtLeastS_shouldNotShowSubtitleIfUnset() local
[all …]
/frameworks/base/core/java/com/android/internal/widget/
DActionBarContextView.java51 private TextView mSubtitleView; field in ActionBarContextView
182 mSubtitleView = (TextView) mTitleLayout.findViewById(R.id.action_bar_subtitle); in initTitle()
187 mSubtitleView.setTextAppearance(mSubtitleStyleRes); in initTitle()
192 mSubtitleView.setText(mSubtitle); in initTitle()
196 mSubtitleView.setVisibility(hasSubtitle ? VISIBLE : GONE); in initTitle()
DActionBarView.java98 private TextView mSubtitleView; field in ActionBarView
237 mSubtitleView = null; in onConfigurationChanged()
520 if (mSubtitleView != null) { in setSubtitle()
521 mSubtitleView.setText(subtitle); in setSubtitle()
522 mSubtitleView.setVisibility(subtitle != null ? VISIBLE : GONE); in setSubtitle()
815 mSubtitleView = (TextView) mTitleLayout.findViewById(R.id.action_bar_subtitle); in initTitle()
825 mSubtitleView.setTextAppearance(mSubtitleStyleRes); in initTitle()
828 mSubtitleView.setText(mSubtitle); in initTitle()
829 mSubtitleView.setVisibility(VISIBLE); in initTitle()