Home
last modified time | relevance | path

Searched refs:targetFragment (Results 1 – 10 of 10) 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/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/
DValidatedEditTextPreferenceDialogFragmentTest.java64 TestTargetFragment targetFragment = new TestTargetFragment(); in setUp() local
65 mTestActivity.launchFragment(targetFragment); in setUp()
70 targetFragment.getPreferenceScreen().addPreference(mPreference); in setUp()
74 mFragment.setTargetFragment(targetFragment, /* requestCode= */ 0); in setUp()
DPasswordEditTextPreferenceDialogFragmentTest.java63 TestTargetFragment targetFragment = new TestTargetFragment(); in setUp() local
64 mTestActivity.launchFragment(targetFragment); in setUp()
69 targetFragment.getPreferenceScreen().addPreference(mPreference); in setUp()
72 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()