Home
last modified time | relevance | path

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

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DBannerMessagePreferenceTest.java134 TextView mSubtitleView = mRootView.findViewById(R.id.banner_subtitle); in onBindViewHolder_whenAtLeastS_whenSubtitleSetByString_shouldSetSubtitle() local
135 assertThat(mSubtitleView.getText()).isEqualTo("test"); in onBindViewHolder_whenAtLeastS_whenSubtitleSetByString_shouldSetSubtitle()
136 assertThat(mSubtitleView.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_whenAtLeastS_whenSubtitleSetByString_shouldSetSubtitle()
146 TextView mSubtitleView = mRootView.findViewById(R.id.banner_subtitle); in onBindViewHolder_whenAtLeastS_whenSubtitleSetByResId_shouldSetSubtitle() local
147 assertThat(mSubtitleView.getText()).isEqualTo(mContext.getString(TEST_STRING_RES_ID)); in onBindViewHolder_whenAtLeastS_whenSubtitleSetByResId_shouldSetSubtitle()
148 assertThat(mSubtitleView.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_whenAtLeastS_whenSubtitleSetByResId_shouldSetSubtitle()
161 TextView mSubtitleView = mRootView.findViewById(R.id.banner_subtitle); in onBindViewHolder_whenAtLeastS_whenSubtitleXmlAttribute_shouldSetSubtitle() local
162 assertThat(mSubtitleView.getText()).isEqualTo("Test"); in onBindViewHolder_whenAtLeastS_whenSubtitleXmlAttribute_shouldSetSubtitle()
163 assertThat(mSubtitleView.getVisibility()).isEqualTo(View.VISIBLE); in onBindViewHolder_whenAtLeastS_whenSubtitleXmlAttribute_shouldSetSubtitle()
171 TextView mSubtitleView = mRootView.findViewById(R.id.banner_subtitle); in onBindViewHolder_whenAtLeastS_shouldNotShowSubtitleIfUnset() local
[all …]
/frameworks/base/packages/SystemUI/src/com/android/systemui/biometrics/
DAuthBiometricView.java192 private TextView mSubtitleView; field in AuthBiometricView
328 mSubtitleView.setVisibility(View.GONE); in updateSize()
369 if (!TextUtils.isEmpty(mSubtitleView.getText())) { in updateSize()
370 mSubtitleView.setAlpha(opacity); in updateSize()
396 if (!TextUtils.isEmpty(mSubtitleView.getText())) { in updateSize()
397 mSubtitleView.setVisibility(View.VISIBLE); in updateSize()
656 mSubtitleView = mInjector.getSubtitleView(); in onFinishInflateInternal()
748 setTextOrHide(mSubtitleView, mPromptInfo.getSubtitle()); in onAttachedToWindowInternal()
DAuthCredentialView.java82 private TextView mSubtitleView; field in AuthCredentialView
220 setTextOrHide(mSubtitleView, getSubtitle(mPromptInfo)); in onAttachedToWindow()
266 mSubtitleView = findViewById(R.id.subtitle); in onFinishInflate()
/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()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/biometrics/
DAuthBiometricFaceToFingerprintViewTest.java74 @Mock private TextView mSubtitleView; field in AuthBiometricFaceToFingerprintViewTest
306 return mSubtitleView; in getSubtitleView()
DAuthBiometricViewTest.java69 @Mock private TextView mSubtitleView; field in AuthBiometricViewTest
421 return mSubtitleView; in getSubtitleView()