Home
last modified time | relevance | path

Searched refs:getFragment (Results 1 – 25 of 98) sorted by relevance

1234

/packages/apps/Messaging/tests/src/com/android/messaging/ui/contact/
DContactPickerFragmentTest.java92 final ContactPickerFragment fragment = getFragment(); in initFragment()
116 getFragment().onAllContactsCursorUpdated(cursor); in loadWithAllContactsCursor()
133 getFragment().onFrequentContactsCursorUpdated(cursor); in loadWithFrequentContactsCursor()
147 final ViewPager pager = (ViewPager) getFragment().getView().findViewById(R.id.pager); in testInitialState()
161 final ListView listView = (ListView) getFragment().getView() in testLoadAllContactsList()
173 final ListView listView = (ListView) getFragment().getView() in testLoadFrequentContactsList()
182 final ListView listView = (ListView) getFragment().getView() in testPickInitialContact()
188 getFragment().getView() in testPickInitialContact()
215 final ListView listView = (ListView) getFragment().getView() in testPickMoreContacts()
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/preferences/
DEmergencyListPreferenceTest.java61 EditInfoFragment fragment = (EditInfoFragment) activity.getFragment(); in testSummary_organDonor()
73 EditInfoFragment fragment = (EditInfoFragment) activity.getFragment(); in testSummary_bloodType()
85 EditInfoFragment fragment = (EditInfoFragment) activity.getFragment(); in testTitle_organDonor()
96 EditInfoFragment fragment = (EditInfoFragment) activity.getFragment(); in testTitle_bloodType()
107 EditInfoFragment fragment = (EditInfoFragment) activity.getFragment(); in testProperties_organDonor()
122 EditInfoFragment fragment = (EditInfoFragment) activity.getFragment(); in testProperties_bloodType()
138 EditInfoFragment fragment = (EditInfoFragment) activity.getFragment(); in testContentDescriptions()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversationlist/
DConversationListFragmentTest.java79 final ConversationListFragment fragment = getFragment(); in loadWith()
100 (RecyclerView) getFragment().getView().findViewById(android.R.id.list); in testLoadListView()
111 (RecyclerView) getFragment().getView().findViewById(android.R.id.list); in testEmptyView()
113 getFragment().getView().findViewById(R.id.no_conversations_view); in testEmptyView()
125 getFragment().getView().findViewById(R.id.start_new_conversation_button); in testStartNewConversation()
/packages/apps/Settings/tests/robotests/src/com/android/settings/network/
DMobileNetworkSummaryControllerTest.java145 assertThat(mPreference.getFragment()).isNull(); in getSummary_noSubscriptionsNoEuiccMgr_correctSummaryAndClickHandler()
157 assertThat(mPreference.getFragment()).isNull(); in getSummary_oneSubscription_correctSummaryAndClickHandler()
181 assertThat(mPreference.getFragment()).isNull(); in getSummary_oneInactivePSim_correctSummaryAndClickHandler()
197 assertThat(mPreference.getFragment()).isEqualTo(MobileNetworkListFragment.class.getName()); in getSummary_twoSubscriptions_correctSummaryAndFragment()
213 assertThat(mPreference.getFragment()).isEqualTo(MobileNetworkListFragment.class.getName()); in getSummaryAfterUpdate_twoSubscriptionsBecomesOne_correctSummaryAndFragment()
220 assertThat(mPreference.getFragment()).isNull(); in getSummaryAfterUpdate_twoSubscriptionsBecomesOne_correctSummaryAndFragment()
241 assertThat(mPreference.getFragment()).isNull(); in getSummaryAfterUpdate_oneSubscriptionBecomesTwo_correctSummaryAndFragment()
253 assertThat(mPreference.getFragment()).isEqualTo(MobileNetworkListFragment.class.getName()); in getSummaryAfterUpdate_oneSubscriptionBecomesTwo_correctSummaryAndFragment()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/mediapicker/
DMediaPickerTest.java47 protected MediaPicker getFragment() { in getFragment() method in MediaPickerTest
79 final MediaPicker fragment = getFragment(); in initFragment()
102 final MediaPicker mediaPicker = getFragment(); in testDefaultTabs()
119 final MediaPicker mediaPicker = getFragment(); in testFilterTabsBeforeAttach()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/attachmentchooser/
DAttachmentChooserFragmentTest.java105 final AttachmentChooserFragment fragment = getFragment(); in loadWith()
143 getFragment().getView().findViewById(R.id.grid); in testUnselect()
162 getFragment().confirmSelection(); in testUnselect()
167 Mockito.verify(mockDraftMessageData).saveToStorage(Matchers.eq(getFragment().mBinding)); in testUnselect()
/packages/apps/Settings/tests/robotests/src/com/android/settings/language/
DUserDictionaryPreferenceControllerTest.java65 assertThat(mPreference.getFragment()) in updateState_noLocale_setUserDictionarySettingsAsFragment()
76 assertThat(mPreference.getFragment()).isEqualTo(fragmentName); in updateState_singleLocale_setUserDictionarySettingsAsFragment_setLocaleInExtra()
86 assertThat(mPreference.getFragment()) in updateState_multiLocale_setUserDictionaryListAsFragment()
/packages/apps/ThemePicker/src/com/android/customization/picker/
DCustomizationPickerActivity.java310 Fragment fragment = section.getFragment(); in switchFragment()
435 abstract Fragment getFragment(); in getFragment() method in CustomizationPickerActivity.CustomizationSection
451 Fragment getFragment() { in getFragment() method in CustomizationPickerActivity.WallpaperSection
478 Fragment getFragment() { in getFragment() method in CustomizationPickerActivity.ThemeSection
495 Fragment getFragment() { in getFragment() method in CustomizationPickerActivity.GridSection
512 Fragment getFragment() { in getFragment() method in CustomizationPickerActivity.ClockSection
/packages/apps/Settings/tests/robotests/src/com/android/settings/security/
DEncryptionStatusPreferenceControllerTest.java95 assertThat(mPreference.getFragment()).isNull(); in updateSummary_encrypted_shouldSayEncrypted()
109 assertThat(mPreference.getFragment()).isEqualTo(CryptKeeperSettings.class.getName()); in updateSummary_unencrypted_shouldHasEncryptionFragment()
124 assertThat(mPreference.getFragment()).isNotEqualTo(CryptKeeperSettings.class.getName()); in updateSummary_unencrypted_securityPage_shouldNotHaveEncryptionFragment()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialBaseActivity.java150 private ConfirmDeviceCredentialBaseFragment getFragment() { in getFragment() method in ConfirmDeviceCredentialBaseActivity
197 getFragment().prepareEnterAnimation(); in prepareEnterAnimation()
201 getFragment().startEnterAnimation(); in startEnterAnimation()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DConfirmDeviceCredentialBaseActivity.java151 private ConfirmDeviceCredentialBaseFragment getFragment() { in getFragment() method in ConfirmDeviceCredentialBaseActivity
189 getFragment().prepareEnterAnimation(); in prepareEnterAnimation()
193 getFragment().startEnterAnimation(); in startEnterAnimation()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
DConversationFragmentTest.java105 final ConversationFragment fragment = getFragment(); in loadWith()
148 (RecyclerView) getFragment().getView().findViewById(android.R.id.list); in testLoadListView()
157 final PlainTextEditText composeEditText = (PlainTextEditText) getFragment().getView() in testClickComposeMessageView()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/
DSubMenuItem.java37 mSideFragmentManager.show(getFragment()); in launchFragment()
40 protected abstract SideFragment getFragment(); in getFragment() method in SubMenuItem
DSettingsFragment.java63 protected SideFragment getFragment() { in getItemList()
188 protected SideFragment getFragment() { in getItemList()
/packages/apps/TV/src/com/android/tv/ui/sidepanel/parentalcontrols/
DProgramRestrictionsFragment.java62 protected SideFragment getFragment() { in getItemList()
75 protected SideFragment getFragment() { in getItemList()
DParentalControlsFragment.java91 protected SideFragment getFragment() { in getItemList()
133 protected SideFragment getFragment() { in getItemList()
/packages/apps/EmergencyInfo/tests/unit/src/com/android/emergency/edit/
DEditInfoActivityTest.java77 EditInfoFragment fragment = (EditInfoFragment) activity.getFragment(); in testInitialState()
132 EditInfoFragment fragment = (EditInfoFragment) activity.getFragment(); in testClearAllPreferences()
221 EditInfoFragment fragment = (EditInfoFragment) activity.getFragment(); in testAddContactPreference()
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DMainActivity.java106 T getFragment() { in getFragment() method in MainActivity.FragmentMenuEntry.FragmentClassOrInstance
133 Fragment fragment = mFragment.getFragment(); in onClick()
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/
DTelecomActivity.java274 setContentFragment(startTab.getFragment(), startTab.getFragmentTag()); in setupTabLayout()
280 Fragment fragment = telecomPageTab.getFragment(); in setupTabLayout()
296 Fragment fragment = dialpadTab.getFragment(); in showDialPadFragment()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DBaseCarSettingsActivity.java177 if (pref.getFragment() != null) { in onPreferenceStartFragment()
178 Fragment fragment = Fragment.instantiate(/* context= */ this, pref.getFragment(), in onPreferenceStartFragment()
/packages/services/Car/tests/MultiDisplayTest/src/com/google/android/car/multidisplaytest/
DMDTest.java70 T getFragment() { in getFragment() method in MDTest.FragmentMenuEntry.MenuFragment
97 Fragment fragment = mFragment.getFragment(); in onClick()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/util/
DState.java55 Fragment getFragment(); in getFragment() method
/packages/apps/Car/Settings/src/com/android/car/settings/security/
DCheckLockActivity.java32 Fragment lockFragment = ConfirmPasswordFragmentFactory.getFragment(/* context= */ this); in getInitialFragment()
/packages/apps/EmergencyInfo/src/com/android/emergency/edit/
DEditMedicalInfoActivity.java44 public EditMedicalInfoFragment getFragment() { in getFragment() method in EditMedicalInfoActivity
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/
DAdvancedFlowCompleteState.java51 public Fragment getFragment() { in getFragment() method in AdvancedFlowCompleteState

1234