/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/ |
D | RestrictedPreferenceHelperTest.java | 76 final TextView summaryView = mock(TextView.class, RETURNS_DEEP_STUBS); in bindPreference_disabled_shouldDisplayDisabledSummary() local 78 .thenReturn(summaryView); in bindPreference_disabled_shouldDisplayDisabledSummary() 79 when(summaryView.getContext().getText(R.string.disabled_by_admin_summary_text)) in bindPreference_disabled_shouldDisplayDisabledSummary() 87 verify(summaryView).setText("test"); in bindPreference_disabled_shouldDisplayDisabledSummary() 88 verify(summaryView, never()).setVisibility(View.GONE); in bindPreference_disabled_shouldDisplayDisabledSummary() 93 final TextView summaryView = mock(TextView.class, RETURNS_DEEP_STUBS); in bindPreference_disabledByEcm_shouldDisplayDisabledSummary() local 95 .thenReturn(summaryView); in bindPreference_disabledByEcm_shouldDisplayDisabledSummary() 101 verify(summaryView, never()).setVisibility(View.GONE); in bindPreference_disabledByEcm_shouldDisplayDisabledSummary() 106 final TextView summaryView = mock(TextView.class, RETURNS_DEEP_STUBS); in bindPreference_notDisabled_shouldNotHideSummary() local 108 .thenReturn(summaryView); in bindPreference_notDisabled_shouldNotHideSummary() [all …]
|
/frameworks/base/core/java/android/preference/ |
D | TwoStatePreference.java | 207 TextView summaryView = (TextView) view.findViewById(com.android.internal.R.id.summary); in syncSummaryView() local 208 if (summaryView != null) { in syncSummaryView() 211 summaryView.setText(mSummaryOn); in syncSummaryView() 214 summaryView.setText(mSummaryOff); in syncSummaryView() 221 summaryView.setText(summary); in syncSummaryView() 231 if (newVisibility != summaryView.getVisibility()) { in syncSummaryView() 232 summaryView.setVisibility(newVisibility); in syncSummaryView()
|
D | Preference.java | 648 final TextView summaryView = (TextView) view.findViewById( in onBindView() local 650 if (summaryView != null) { in onBindView() 653 summaryView.setText(summary); in onBindView() 654 summaryView.setVisibility(View.VISIBLE); in onBindView() 656 summaryView.setVisibility(View.GONE); in onBindView()
|
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/ |
D | RestrictedPreferenceHelper.java | 121 final TextView summaryView = (TextView) holder.findViewById(android.R.id.summary); in onBindViewHolder() local 122 if (summaryView != null) { in onBindViewHolder() 127 summaryView.setText(disabledText); in onBindViewHolder() 129 summaryView.setText(R.string.disabled_by_app_ops_text); in onBindViewHolder() 130 } else if (TextUtils.equals(disabledText, summaryView.getText())) { in onBindViewHolder() 132 summaryView.setText(null); in onBindViewHolder()
|
D | RestrictedSwitchPreference.java | 153 final TextView summaryView = (TextView) holder.findViewById(android.R.id.summary); in onBindViewHolder() local 154 if (summaryView != null) { in onBindViewHolder() 156 summaryView.setText(switchSummary); in onBindViewHolder() 157 summaryView.setVisibility(View.VISIBLE); in onBindViewHolder()
|
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/ |
D | Item.java | 140 TextView summaryView = (TextView) view.findViewById(R.id.suw_items_summary); in onBindView() local 143 summaryView.setText(summary); in onBindView() 144 summaryView.setVisibility(View.VISIBLE); in onBindView() 146 summaryView.setVisibility(View.GONE); in onBindView()
|
/frameworks/base/packages/CompanionDeviceManager/src/com/android/companiondevicemanager/ |
D | CompanionDeviceDataTransferActivity.java | 71 TextView summaryView = findViewById(R.id.summary); in onCreate() local 91 summaryView.setText(getHtmlFromResources(this, R.string.permission_sync_summary, in onCreate()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/privacy/ |
D | PrivacyDialogV2.kt | 150 val summaryView = in <lambda>() constant 152 summaryView.text = usageText in <lambda>() 153 summaryView.contentDescription = usageText in <lambda>() 280 val summaryView = itemCard.findViewById<TextView>(R.id.privacy_dialog_item_header_summary)!! in <lambda>() constant 281 summaryView.text = closedAppText in <lambda>() 282 summaryView.contentDescription = closedAppText in <lambda>()
|
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/ |
D | SwitchItemTest.java | 226 TextView summaryView = new TextView(application); in createLayout() local 227 summaryView.setId(R.id.suw_items_summary); in createLayout() 228 root.addView(summaryView); in createLayout()
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/bluetooth/qsdialog/ |
D | BluetoothTileDialogDelegate.kt | 369 private val summaryView = view.requireViewById<TextView>(R.id.bluetooth_device_summary) in <lambda>() constant 410 summaryView.setTextAppearance( in <lambda>() 432 summaryView.text = item.connectionSummary in <lambda>()
|
/frameworks/base/packages/SettingsLib/BannerMessagePreference/src/com/android/settingslib/widget/ |
D | BannerMessagePreference.java | 149 final TextView summaryView = (TextView) holder.findViewById(R.id.banner_summary); in onBindViewHolder() local 150 summaryView.setText(getSummary()); in onBindViewHolder()
|