OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:accountsPref
(Results
1 - 2
of
2
) sorted by null
/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/
MainFragmentTest.java
238
final Preference
accountsPref
= mock(Preference.class);
239
doReturn(
accountsPref
).when(mMainFragment)
241
doReturn(true).when(
accountsPref
).isVisible();
247
verify(
accountsPref
, atLeastOnce()).setIcon(R.drawable.ic_accounts_and_sign_in);
248
verify(
accountsPref
, atLeastOnce()).setSummary("test");
254
final Preference
accountsPref
= mock(Preference.class);
255
doReturn(
accountsPref
).when(mMainFragment)
257
doReturn(true).when(
accountsPref
).isVisible();
261
verify(
accountsPref
, atLeastOnce()).setIcon(R.drawable.ic_add_an_account);
262
verify(
accountsPref
, atLeastOnce()
[
all
...]
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
MainFragment.java
217
Preference
accountsPref
= findPreference(KEY_ACCOUNTS_AND_SIGN_IN);
218
if (
accountsPref
!= null) {
219
accountsPref
.setVisible(false);
407
final Preference
accountsPref
= findPreference(KEY_ACCOUNTS_AND_SIGN_IN);
408
if (
accountsPref
!= null &&
accountsPref
.isVisible()) {
413
accountsPref
.setIcon(R.drawable.ic_add_an_account);
414
accountsPref
.setSummary(R.string.accounts_category_summary_no_account);
415
AccountsFragment.setUpAddAccountPrefIntent(
accountsPref
, getContext());
418
accountsPref
.setIcon(R.drawable.ic_accounts_and_sign_in)
[
all
...]
Completed in 86 milliseconds