Home
last modified time | relevance | path

Searched refs:setSummary (Results 1 – 25 of 75) sorted by relevance

123

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/deviceinfo/
DUptimePreferenceControllerTest.java66 verify(mPreference).setSummary(DateUtils.formatDuration(SystemClock.elapsedRealtime())); in testDisplayPreference()
76 verify(mPreference, times(1)).setSummary(any(CharSequence.class)); in testUptimeTick()
80 verify(mPreference, times(2)).setSummary(any(CharSequence.class)); in testUptimeTick()
84 verify(mPreference, times(3)).setSummary(any(CharSequence.class)); in testUptimeTick()
88 verify(mPreference, times(4)).setSummary(any(CharSequence.class)); in testUptimeTick()
DWifiMacAddressPreferenceControllerTest.java95 verify(mPreference).setSummary(R.string.status_unavailable); in testWifiMacAddress()
100 verify(mPreference).setSummary(TEST_MAC_ADDRESS); in testWifiMacAddress()
105 verify(mPreference, times(2)).setSummary(TEST_MAC_ADDRESS); in testWifiMacAddress()
109 verify(mPreference).setSummary(R.string.wifi_status_mac_randomized); in testWifiMacAddress()
/frameworks/opt/setupwizard/library/gingerbread/test/robotest/src/com/android/setupwizardlib/items/
DSwitchItemTest.java64 item.setSummary("TestSummary"); in testChecked()
78 item.setSummary("TestSummary"); in testNotChecked()
92 item.setSummary("TestSummary"); in testListener()
118 item1.setSummary("TestSummary1"); in testRebind()
123 item2.setSummary("TestSummary2"); in testRebind()
151 item.setSummary("TestSummary"); in testListenerSetChecked()
177 item.setSummary("TestSummary"); in testToggle()
196 item.setSummary("TestSummary"); in testAccessibility()
/frameworks/base/core/tests/coretests/src/android/preference/
DListPreferenceTest.java35 lp.setSummary("%1$s"); in testListPreferenceSummaryFromEntries()
41 lp.setSummary(null); in testListPreferenceSummaryFromEntries()
44 lp.setSummary("The color is %1$s"); in testListPreferenceSummaryFromEntries()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/deviceinfo/
DAbstractWifiMacAddressPreferenceController.java87 mWifiMacAddress.setSummary(R.string.status_unavailable); in updateConnectivity()
89 mWifiMacAddress.setSummary(R.string.wifi_status_mac_randomized); in updateConnectivity()
91 mWifiMacAddress.setSummary(macAddress); in updateConnectivity()
DAbstractBluetoothAddressPreferenceController.java79 mBtAddress.setSummary(address.toLowerCase()); in updateConnectivity()
81 mBtAddress.setSummary(R.string.status_unavailable); in updateConnectivity()
DAbstractIpAddressPreferenceController.java82 mIpAddress.setSummary(ipAddress); in updateConnectivity()
84 mIpAddress.setSummary(R.string.status_unavailable); in updateConnectivity()
DAbstractSerialNumberPreferenceController.java58 pref.setSummary(mSerialNumber); in displayPreference()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DBetterListPreference.java30 public void setSummary(CharSequence summary) { in setSummary() method in BetterListPreference
31 super.setSummary(summary); in setSummary()
DLockscreenFragment.java101 setSummary(shortcut, v); in setupGroup()
120 private void setSummary(Preference shortcut, String value) { in setSummary() method in LockscreenFragment
122 shortcut.setSummary(R.string.lockscreen_none); in setSummary()
127 shortcut.setSummary(info != null ? info.label : null); in setSummary()
130 shortcut.setSummary(info != null ? info.loadLabel(getContext().getPackageManager()) in setSummary()
133 shortcut.setSummary(R.string.lockscreen_none); in setSummary()
DNavBarTuner.java139 keycode.setSummary(code + ""); in bindButton()
169 keycode.setSummary(code + ""); in bindButton()
195 icon.setSummary(builder); in updateSummary()
198 icon.setSummary(null); in updateSummary()
DRadioListPreference.java53 public void setSummary(CharSequence summary) { in setSummary() method in RadioListPreference
54 super.setSummary(summary); in setSummary()
DShortcutPicker.java142 setSummary(context.getString(R.string.tuner_app, info.getLabel())); in AppPreference()
176 setSummary(context.getString(R.string.tuner_app, appLabel)); in ShortcutPreference()
/frameworks/base/core/tests/coretests/src/android/service/settings/suggestions/
DSuggestionTest.java58 .setSummary(TEST_SUMMARY) in buildSuggestion_allFieldsShouldBeSet()
75 .setSummary(TEST_SUMMARY) in buildSuggestion_emptyKey_shouldCrash()
86 .setSummary(TEST_SUMMARY) in buildSuggestion_fromParcelable()
DMockSuggestionService.java42 .setSummary("summary") in onGetSuggestions()
/frameworks/support/preference/src/main/java/androidx/preference/
DCollapsiblePreferenceGroupController.java159 setSummary(collapsedPreferences); in ExpandButton()
179 private void setSummary(List<Preference> collapsedPreferences) { in setSummary() method in CollapsiblePreferenceGroupController.ExpandButton
203 setSummary(summary); in setSummary()
DListPreference.java192 public void setSummary(CharSequence summary) { in setSummary() method in ListPreference
193 super.setSummary(summary); in setSummary()
/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/development/
DLogdSizePreferenceControllerTest.java164 verify(mListPreference).setSummary(mListSummaries[2]); in updateLogdSizeValues_noValueSet_shouldSetDefaultTo64K()
175 verify(mListPreference).setSummary(mListSummaries[1]); in updateLogdSizeValues_noValueSetLowRamSet_shouldSetDefaultTo64K()
185 verify(mListPreference).setSummary(mListSummaries[1]); in updateLogdSizeValues_64KSet_shouldSet64K()
/frameworks/support/preference/src/androidTest/java/androidx/preference/tests/
DSimplePreferenceComparisonCallbackTest.java120 mPref1.setSummary("value 1"); in testSummaryComparison()
127 mPref2.setSummary("value 1"); in testSummaryComparison()
132 mPref2.setSummary("value 2"); in testSummaryComparison()
/frameworks/support/slices/builders/src/main/java/androidx/slice/builders/
DListBuilder.java1361 return setSummary(summarySubtitle, false /* isLoading */); in setSummarySubtitle()
1373 return setSummary(summarySubtitle, isLoading /* isLoading */); in setSummarySubtitle()
1384 public HeaderBuilder setSummary(@NonNull CharSequence summary) { in setSummary() method in ListBuilder.HeaderBuilder
1385 return setSummary(summary, false /* isLoading */); in setSummary()
1402 public HeaderBuilder setSummary(@NonNull CharSequence summary, boolean isLoading) { in setSummary() method in ListBuilder.HeaderBuilder
1403 mImpl.setSummary(summary, isLoading); in setSummary()
/frameworks/support/jetifier/jetifier/processor/src/test/resources/changeDetectionTest/
DtestPreference.classPreference.java package android.support.v7.preference public android.support.v7.preference ...
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/core/
DAbstractPreferenceController.java56 preference.setSummary(summary); in refreshSummary()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DItemTest.java72 item.setSummary("TestSummary"); in testOnBindView()
114 item.setSummary("TestSummary"); in testProperties()
/frameworks/base/core/java/android/preference/
DMultiCheckPreference.java208 public void setSummary(CharSequence summary) { in setSummary() method in MultiCheckPreference
209 super.setSummary(summary); in setSummary()
DListPreference.java183 public void setSummary(CharSequence summary) { in setSummary() method in ListPreference
184 super.setSummary(summary); in setSummary()

123