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.java91 final ContactPickerFragment fragment = getFragment(); in initFragment()
115 getFragment().onAllContactsCursorUpdated(cursor); in loadWithAllContactsCursor()
132 getFragment().onFrequentContactsCursorUpdated(cursor); in loadWithFrequentContactsCursor()
146 final ViewPager pager = (ViewPager) getFragment().getView().findViewById(R.id.pager); in testInitialState()
160 final ListView listView = (ListView) getFragment().getView() in testLoadAllContactsList()
172 final ListView listView = (ListView) getFragment().getView() in testLoadFrequentContactsList()
181 final ListView listView = (ListView) getFragment().getView() in testPickInitialContact()
187 getFragment().getView() in testPickInitialContact()
214 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.java147 assertThat(mPreference.getFragment()).isNull(); in getSummary_noSubscriptionsNoEuiccMgr_correctSummaryAndClickHandler()
159 assertThat(mPreference.getFragment()).isNull(); in getSummary_oneSubscription_correctSummaryAndClickHandler()
183 assertThat(mPreference.getFragment()).isNull(); in getSummary_oneInactivePSim_cannotDisablePsim_correctSummaryAndClickHandler()
223 assertThat(mPreference.getFragment()).isEqualTo(MobileNetworkListFragment.class.getName()); in getSummary_twoSubscriptions_correctSummaryAndFragment()
239 assertThat(mPreference.getFragment()).isEqualTo(MobileNetworkListFragment.class.getName()); in getSummaryAfterUpdate_twoSubscriptionsBecomesOne_correctSummaryAndFragment()
246 assertThat(mPreference.getFragment()).isNull(); in getSummaryAfterUpdate_twoSubscriptionsBecomesOne_correctSummaryAndFragment()
267 assertThat(mPreference.getFragment()).isNull(); in getSummaryAfterUpdate_oneSubscriptionBecomesTwo_correctSummaryAndFragment()
279 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/TvSettings/TwoPanelSettingsLib/src/com/android/tv/twopanelsettings/
DTwoPanelSettingsFragment.java167 if (pref.getFragment() == null) { in onPreferenceStartFragment()
182 startImmersiveFragment(Fragment.instantiate(getActivity(), pref.getFragment(), in onPreferenceStartFragment()
531 if (preference.getIntent() != null && !TextUtils.isEmpty(preference.getFragment())) { in shouldPerformClick()
762 if (chosenPreference != null && chosenPreference.getFragment() != null in refocusPreference()
764 Class.forName(chosenPreference.getFragment()))) { in refocusPreference()
793 if (preference.getFragment() != null) { in onCreatePreviewFragment()
794 if (!shouldDisplay(preference.getFragment())) { in onCreatePreviewFragment()
806 return Fragment.instantiate(getActivity(), preference.getFragment(), in onCreatePreviewFragment()
/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.java319 Fragment fragment = section.getFragment(); in switchFragment()
436 abstract Fragment getFragment(); in getFragment() method in CustomizationPickerActivity.CustomizationSection
452 Fragment getFragment() { in getFragment() method in CustomizationPickerActivity.WallpaperSection
479 Fragment getFragment() { in getFragment() method in CustomizationPickerActivity.ThemeSection
496 Fragment getFragment() { in getFragment() method in CustomizationPickerActivity.GridSection
513 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/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/
DConfirmDeviceCredentialBaseActivity.java135 private ConfirmDeviceCredentialBaseFragment getFragment() { in getFragment() method in ConfirmDeviceCredentialBaseActivity
167 getFragment().prepareEnterAnimation(); in prepareEnterAnimation()
171 getFragment().startEnterAnimation(); in startEnterAnimation()
/packages/apps/Settings/src/com/android/settings/password/
DConfirmDeviceCredentialBaseActivity.java133 private ConfirmDeviceCredentialBaseFragment getFragment() { in getFragment() method in ConfirmDeviceCredentialBaseActivity
180 getFragment().prepareEnterAnimation(); in prepareEnterAnimation()
184 getFragment().startEnterAnimation(); in startEnterAnimation()
/packages/apps/Messaging/tests/src/com/android/messaging/ui/conversation/
DConversationFragmentTest.java104 final ConversationFragment fragment = getFragment(); in loadWith()
147 (RecyclerView) getFragment().getView().findViewById(android.R.id.list); in testLoadListView()
156 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/TvSettings/Settings/src/com/android/tv/settings/
DBaseSettingsFragment.java44 if (pref.getFragment() != null) { in onPreferenceStartFragment()
56 Fragment.instantiate(getActivity(), pref.getFragment(), pref.getExtras()); in onPreferenceStartFragment()
/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/apps/Car/Dialer/src/com/android/car/dialer/ui/
DTelecomActivity.java187 setContentFragment(startTab.getFragment(), startTab.getFragmentTag()); in setupTabLayout()
193 Fragment fragment = telecomPageTab.getFragment(); in setupTabLayout()
209 Fragment fragment = dialpadTab.getFragment(); in showDialPadFragment()
/packages/services/Car/tests/GarageModeTestApp/src/com/google/android/car/garagemode/testapp/
DMainActivity.java107 T getFragment() { in getFragment() method in MainActivity.FragmentMenuEntry.FragmentClassOrInstance
134 Fragment fragment = mFragment.getFragment(); in onClick()
/packages/apps/Car/Settings/src/com/android/car/settings/common/
DBaseCarSettingsActivity.java145 if (pref.getFragment() != null) { in onPreferenceStartFragment()
146 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.java33 Fragment lockFragment = ConfirmPasswordFragmentFactory.getFragment(/* context= */ this); in getInitialFragment()

1234