Searched refs:getCurrentFragment (Results 1 – 6 of 6) sorted by relevance
184 assertThat(getCurrentFragment().getView().hasFocus()).isTrue(); in onActivityCreated_hasFragment_contentFocused()193 assertThat(getCurrentFragment().getView().hasFocus()).isTrue(); in onTopLevelPreferenceTapped_focusUpdated()203 assertThat(getCurrentFragment().getView().hasFocus()).isTrue(); in onFragmentLaunched_maintainContentFocus()205 getCurrentFragment().getPreferenceScreen().getPreference(0).performClick()); in onFragmentLaunched_maintainContentFocus()207 assertThat(getCurrentFragment().getView().hasFocus()).isTrue(); in onFragmentLaunched_maintainContentFocus()219 assertThat(getCurrentFragment().getView().hasFocus()).isTrue(); in onBack_maintainContentFocus()222 assertThat(getCurrentFragment().getView().hasFocus()).isTrue(); in onBack_maintainContentFocus()232 assertThat(getCurrentFragment().getView().hasFocus()).isTrue(); in onPreferenceDisabled_maintainContentFocus()234 getCurrentFragment().getPreferenceScreen().getPreference(0).setEnabled(false)); in onPreferenceDisabled_maintainContentFocus()236 assertThat(getCurrentFragment().getView().hasFocus()).isTrue(); in onPreferenceDisabled_maintainContentFocus()
64 assertThat(getCurrentFragment().getClass()).isEqualTo(TestSettingsFragment1.class); in onPreferenceTapped_launchesFragment()82 assertThat(getCurrentFragment().getClass()).isEqualTo(TestSettingsFragment1.class); in onSamePreferenceTapped_noDuplicateEntry()93 assertThat(getCurrentFragment().getClass()).isEqualTo(TestSettingsFragment2.class); in onDifferentPreferenceTapped_clearsBackStack()108 private Fragment getCurrentFragment() { in getCurrentFragment() method in TopLevelMenuFragmentTest
61 protected PreferenceFragment getCurrentFragment() { in getCurrentFragment() method in BaseCarSettingsActivityTestCase
80 assertThat(((BaseTestSettingsFragment) getCurrentFragment()).getUxRestrictions() in onUxRestrictionsChanged_fragmentHasUpdatedUxRestrictions()
263 Fragment currentFragment = getCurrentFragment(); in onUxRestrictionsChanged()320 protected Fragment getCurrentFragment() { in getCurrentFragment() method in BaseCarSettingsActivity332 Fragment currentFragment = getCurrentFragment(); in launchIfDifferent()481 if (getCurrentFragment() == null) { in requestContentPaneFocus()484 View fragmentView = getCurrentFragment().getView(); in requestContentPaneFocus()536 Fragment contentFragment = getCurrentFragment(); in removeGlobalLayoutListener()
43 Fragment currentFragment = getCurrentFragment(); in getInitialFragment()