Home
last modified time | relevance | path

Searched refs:targetFragment (Results 1 – 16 of 16) sorted by relevance

/packages/apps/Settings/src/com/android/settings/language/
DUserDictionaryPreferenceController.java50 final Class<? extends Fragment> targetFragment; in updateState() local
63 targetFragment = UserDictionarySettings.class; in updateState()
65 targetFragment = UserDictionaryList.class; in updateState()
67 preference.setFragment(targetFragment.getCanonicalName()); in updateState()
/packages/apps/Email/src/com/android/email/activity/
DInsertQuickResponseDialog.java90 final Fragment targetFragment = getTargetFragment(); in onCreateDialog() local
91 if (targetFragment != null) { in onCreateDialog()
162 Fragment targetFragment = getTargetFragment();
163 if (targetFragment != null) {
164 return (Callback) targetFragment;
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/language/
DUserDictionaryPreferenceController.java50 final Class<? extends Fragment> targetFragment; in updateState() local
63 targetFragment = UserDictionarySettings.class; in updateState()
65 targetFragment = UserDictionaryList.class; in updateState()
67 preference.setFragment(targetFragment.getCanonicalName()); in updateState()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/common/
DSettingsListPreferenceDialogFragmentTest.java57 EditTextPreferenceDialogFragmentTest.TestTargetFragment targetFragment = in setUp() local
59 mTestActivity.launchFragment(targetFragment); in setUp()
65 targetFragment.getPreferenceScreen().addPreference(mPreference); in setUp()
68 mFragment.setTargetFragment(targetFragment, /* requestCode= */ 0); in setUp()
DPasswordEditTextPreferenceDialogFragmentTest.java59 TestTargetFragment targetFragment = new TestTargetFragment(); in setUp() local
60 mTestActivity.launchFragment(targetFragment); in setUp()
64 targetFragment.getPreferenceScreen().addPreference(mPreference); in setUp()
66 mFragment.setTargetFragment(targetFragment, /* requestCode= */ 0); in setUp()
DValidatedEditTextPreferenceDialogFragmentTest.java60 TestTargetFragment targetFragment = new TestTargetFragment(); in setUp() local
61 mTestActivity.launchFragment(targetFragment); in setUp()
65 targetFragment.getPreferenceScreen().addPreference(mPreference); in setUp()
69 mFragment.setTargetFragment(targetFragment, /* requestCode= */ 0); in setUp()
DEditTextPreferenceDialogFragmentTest.java60 TestTargetFragment targetFragment = new TestTargetFragment(); in setUp() local
61 mTestActivity.launchFragment(targetFragment); in setUp()
65 targetFragment.getPreferenceScreen().addPreference(mPreference); in setUp()
69 mFragment.setTargetFragment(targetFragment, /* requestCode= */ 0); in setUp()
DSettingsPreferenceDialogFragmentTest.java61 TestTargetFragment targetFragment = new TestTargetFragment(); in setUp() local
62 mTestActivity.launchFragment(targetFragment); in setUp()
65 targetFragment.getPreferenceScreen().addPreference(mPreference); in setUp()
68 mFragment.setTargetFragment(targetFragment, /* requestCode= */ 0); in setUp()
/packages/apps/Car/Dialer/tests/robotests/src/com/android/car/dialer/ui/settings/common/
DSettingsListPreferenceDialogFragmentTest.java57 SettingsPreferenceDialogFragmentTest.TestTargetFragment targetFragment = in setUp() local
59 mTestActivity.setFragment(targetFragment); in setUp()
65 targetFragment.getPreferenceScreen().addPreference(mPreference); in setUp()
68 mFragment.setTargetFragment(targetFragment, /* requestCode= */ 0); in setUp()
DSettingsPreferenceDialogFragmentTest.java61 TestTargetFragment targetFragment = new TestTargetFragment(); in setUp() local
62 mTestActivity.setFragment(targetFragment); in setUp()
65 targetFragment.getPreferenceScreen().addPreference(mPreference); in setUp()
68 mFragment.setTargetFragment(targetFragment, /* requestCode= */ 0); in setUp()
/packages/apps/Settings/src/com/android/settings/
DUserCredentialsSettings.java184 private Fragment targetFragment; field in UserCredentialsSettings.CredentialDialogFragment.RemoveCredentialsTask
186 public RemoveCredentialsTask(Context context, Fragment targetFragment) { in RemoveCredentialsTask() argument
188 this.targetFragment = targetFragment; in RemoveCredentialsTask()
243 if (targetFragment instanceof UserCredentialsSettings && targetFragment.isAdded()) { in onPostExecute()
244 final UserCredentialsSettings target = (UserCredentialsSettings) targetFragment; in onPostExecute()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/
DUserCredentialsSettings.java184 private Fragment targetFragment; field in UserCredentialsSettings.CredentialDialogFragment.RemoveCredentialsTask
186 public RemoveCredentialsTask(Context context, Fragment targetFragment) { in RemoveCredentialsTask() argument
188 this.targetFragment = targetFragment; in RemoveCredentialsTask()
243 if (targetFragment instanceof UserCredentialsSettings && targetFragment.isAdded()) { in onPostExecute()
244 final UserCredentialsSettings target = (UserCredentialsSettings) targetFragment; in onPostExecute()
/packages/apps/Dialer/java/com/android/dialer/app/settings/
DPhoneAccountSelectionFragment.java60 private String targetFragment; field in PhoneAccountSelectionFragment
68 targetFragment = getArguments().getString(PARAM_TARGET_FRAGMENT); in onCreate()
100 preferenceActivity.startWithFragment(targetFragment, arguments, null, 0, titleRes, 0); in onClick()
/packages/apps/Contacts/src/com/android/contacts/editor/
DSuggestionEditConfirmationDialogFragment.java54 final ContactEditorFragment targetFragment = in onCreateDialog()
60 targetFragment.doEditSuggestedContact(contactUri, rawContactId); in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/datausage/
DBillingCycleSettings.java250 Fragment targetFragment = (Fragment) parent; in show() local
251 if (!targetFragment.isAdded()) { in show()
261 dialog.setTargetFragment(targetFragment, 0); in show()
262 dialog.show(targetFragment.getFragmentManager(), TAG_WARNING_EDITOR); in show()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/datausage/
DBillingCycleSettings.java250 Fragment targetFragment = (Fragment) parent; in show() local
251 if (!targetFragment.isAdded()) { in show()
261 dialog.setTargetFragment(targetFragment, 0); in show()
262 dialog.show(targetFragment.getFragmentManager(), TAG_WARNING_EDITOR); in show()