Home
last modified time | relevance | path

Searched refs:mPreviewText (Results 1 – 4 of 4) sorted by relevance

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/
DCaptionSettingsFragment.java46 private SubtitleView mPreviewText; field in CaptionSettingsFragment
117 mPreviewText = view.findViewById(R.id.preview_text); in onViewCreated()
149 if (mPreviewText != null) { in refreshPreviewText()
152 mPreviewText.setVisibility(View.VISIBLE); in refreshPreviewText()
154 mPreviewText.setStyle(mStyleId); in refreshPreviewText()
155 mPreviewText.setTextSize(mFontScale * mDefaultFontSize); in refreshPreviewText()
159 mPreviewText.setText(localizedText); in refreshPreviewText()
161 mPreviewText.setText(getResources() in refreshPreviewText()
174 mPreviewText.invalidate(); in refreshPreviewText()
176 mPreviewText.setVisibility(View.INVISIBLE); in refreshPreviewText()
/packages/apps/Car/LatinIME/src/com/android/inputmethod/latin/car/
DKeyboardView.java164 private TextView mPreviewText; field in KeyboardView
351 mPreviewText = (TextView) inflate.inflate(previewLayout, null); in KeyboardView()
352 mPreviewTextSizeLarge = (int) mPreviewText.getTextSize(); in KeyboardView()
353 mPreviewPopup.setContentView(mPreviewText); in KeyboardView()
1019 if (previewPopup.isShowing() && mPreviewText.getVisibility() == VISIBLE) { in showPreview()
1037 mPreviewText.setCompoundDrawables(null, null, null, in showKey()
1039 mPreviewText.setText(null); in showKey()
1041 mPreviewText.setCompoundDrawables(null, null, null, null); in showKey()
1042 mPreviewText.setText(getPreviewText(key)); in showKey()
1044 mPreviewText.setTextSize(TypedValue.COMPLEX_UNIT_PX, mKeyTextSize); in showKey()
[all …]
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DCaptionPropertiesFragment.java75 private SubtitleView mPreviewText; field in CaptionPropertiesFragment
141 mPreviewText = (SubtitleView) view.findViewById(R.id.preview_text); in onViewCreated()
142 mPreviewText.setVisibility(enabled ? View.VISIBLE : View.INVISIBLE); in onViewCreated()
187 final SubtitleView preview = mPreviewText; in refreshPreviewText()
247 if (mPreviewText != null) { in onInstallSwitchBarToggleSwitch()
248 mPreviewText.setVisibility(checked ? View.VISIBLE : View.INVISIBLE); in onInstallSwitchBarToggleSwitch()
/packages/apps/Settings/src/com/android/settings/accessibility/
DCaptionPropertiesFragment.java72 private SubtitleView mPreviewText; field in CaptionPropertiesFragment
136 mPreviewText.setVisibility(enabled ? View.VISIBLE : View.INVISIBLE); in refreshPreferenceViewEnabled()
146 final SubtitleView preview = mPreviewText; in refreshPreviewText()
201 mPreviewText = captionPreview.findViewById(R.id.preview_text); in initializeAllPreferences()