Home
last modified time | relevance | path

Searched refs:mMainFragment (Results 1 – 2 of 2) sorted by relevance

/packages/apps/TvSettings/Settings/tests/robotests/src/com/android/tv/settings/
DMainFragmentTest.java60 private MainFragment mMainFragment; field in MainFragmentTest
66 doReturn(RuntimeEnvironment.application).when(mMainFragment).getContext(); in setUp()
72 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateConnectivity_NoNetwork()
74 mMainFragment.mConnectivityListenerOptional = Optional.of(listener); in testUpdateConnectivity_NoNetwork()
81 mMainFragment.updateConnectivity(); in testUpdateConnectivity_NoNetwork()
89 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateConnectivity_hasEthernet()
91 mMainFragment.mConnectivityListenerOptional = Optional.of(listener); in testUpdateConnectivity_hasEthernet()
98 mMainFragment.updateConnectivity(); in testUpdateConnectivity_hasEthernet()
106 doReturn(networkPref).when(mMainFragment).findPreference(MainFragment.KEY_NETWORK); in testUpdateConnectivity_hasEthernetConnected()
108 mMainFragment.mConnectivityListenerOptional = Optional.of(listener); in testUpdateConnectivity_hasEthernetConnected()
[all …]
/packages/apps/Settings/src/com/android/settings/homepage/
DSettingsHomepageActivity.java111 private TopLevelSettings mMainFragment; field in SettingsHomepageActivity
184 return mMainFragment; in getMainFragment()
285 mMainFragment = showFragment(() -> { in onCreate()
759 mMainFragment.getArguments().putString(SettingsActivity.EXTRA_FRAGMENT_ARG_KEY, in reloadHighlightMenuKey()
761 mMainFragment.reloadHighlightMenuKey(); in reloadHighlightMenuKey()
794 mMainFragment.setPaddingHorizontal(padding); in updateHomepagePaddings()
796 mMainFragment.setPaddingHorizontal(0); in updateHomepagePaddings()
798 mMainFragment.updatePreferencePadding(mIsTwoPane); in updateHomepagePaddings()