Home
last modified time | relevance | path

Searched refs:frag (Results 1 – 25 of 55) sorted by relevance

123

/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DBluetoothPairingDialogTest.java85 BluetoothPairingDialogFragment frag = makeFragment(); in dialogUpdatesControllerWithUserInput() local
88 frag.afterTextChanged(new SpannableStringBuilder(FILLER)); in dialogUpdatesControllerWithUserInput()
107 BluetoothPairingDialogFragment frag = makeFragment(); in dialogEnablesSubmitButtonOnValidationFromController() local
110 frag.afterTextChanged(new SpannableStringBuilder(FILLER)); in dialogEnablesSubmitButtonOnValidationFromController()
111 View button = frag.getmDialog().getButton(AlertDialog.BUTTON_POSITIVE); in dialogEnablesSubmitButtonOnValidationFromController()
122 BluetoothPairingDialogFragment frag = makeFragment(); in dialogDoesNotAskForPairCodeOnConsentVariant() local
125 View view = frag.getmDialog().findViewById(R.id.text); in dialogDoesNotAskForPairCodeOnConsentVariant()
145 BluetoothPairingDialogFragment frag = spy(new BluetoothPairingDialogFragment()); in dialogAsksForPairCodeOnUserEntryVariant() local
146 when(frag.getContext()).thenReturn(context); in dialogAsksForPairCodeOnUserEntryVariant()
147 setupFragment(frag); in dialogAsksForPairCodeOnUserEntryVariant()
[all …]
/packages/apps/Dialer/java/com/android/dialer/common/
DFragmentUtils.java131 public static void checkParent(@NonNull Fragment frag, @NonNull Class<?> callbackInterface) in checkParent() argument
136 if (FragmentUtils.getParent(frag, callbackInterface) == null) { in checkParent()
138 frag.getParentFragment() == null in checkParent()
139 ? frag.getActivity().getClass().getName() in checkParent()
140 : frag.getParentFragment().getClass().getName(); in checkParent()
142 frag.getClass().getName() in checkParent()
/packages/apps/DeskClock/src/com/android/deskclock/
DLabelDialogFragment.java73 final LabelDialogFragment frag = new LabelDialogFragment(); in newInstance() local
74 frag.setArguments(args); in newInstance()
75 return frag; in newInstance()
83 final LabelDialogFragment frag = new LabelDialogFragment(); in newInstance() local
84 frag.setArguments(args); in newInstance()
85 return frag; in newInstance()
/packages/services/Car/tests/MultiDisplaySecondaryHomeTestLauncher/src/com/android/car/multidisplay/launcher/
DPinnedAppPickerDialog.java42 PinnedAppPickerDialog frag = new PinnedAppPickerDialog(); in newInstance() local
43 frag.mAppListAdapter = appListAdapter; in newInstance()
44 frag.mAppPickerCallback = callback; in newInstance()
45 return frag; in newInstance()
/packages/apps/Launcher3/SecondaryDisplayLauncher/src/com/android/launcher3/
DPinnedAppPickerDialog.java50 frag = new PinnedAppPickerDialog(); in newInstance() local
51 frag.mAppListAdapter = appListAdapter; in newInstance()
52 frag.mAppPickerCallback = callback; in newInstance()
53 return frag; in newInstance()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/vpn2/
DAppDialogFragment.java89 final AppDialogFragment frag = new AppDialogFragment(); in show() local
90 frag.mListener = listener; in show()
91 frag.setArguments(args); in show()
92 frag.setTargetFragment(parent, 0); in show()
93 frag.show(parent.getFragmentManager(), TAG_APP_DIALOG); in show()
DConfirmLockdownFragment.java68 final ConfirmLockdownFragment frag = new ConfirmLockdownFragment(); in show() local
69 frag.setArguments(args); in show()
70 frag.setTargetFragment(parent, 0); in show()
71 frag.show(parent.getFragmentManager(), TAG); in show()
DConfigDialogFragment.java73 final ConfigDialogFragment frag = new ConfigDialogFragment(); in show() local
74 frag.setArguments(args); in show()
75 frag.setTargetFragment(parent, 0); in show()
76 frag.show(parent.getFragmentManager(), TAG_CONFIG_DIALOG); in show()
/packages/apps/Settings/src/com/android/settings/vpn2/
DAppDialogFragment.java89 final AppDialogFragment frag = new AppDialogFragment(); in show() local
90 frag.mListener = listener; in show()
91 frag.setArguments(args); in show()
92 frag.setTargetFragment(parent, 0); in show()
93 frag.show(parent.getFragmentManager(), TAG_APP_DIALOG); in show()
DConfirmLockdownFragment.java68 final ConfirmLockdownFragment frag = new ConfirmLockdownFragment(); in show() local
69 frag.setArguments(args); in show()
70 frag.setTargetFragment(parent, 0); in show()
71 frag.show(parent.getFragmentManager(), TAG); in show()
DConfigDialogFragment.java73 final ConfigDialogFragment frag = new ConfigDialogFragment(); in show() local
74 frag.setArguments(args); in show()
75 frag.setTargetFragment(parent, 0); in show()
76 frag.show(parent.getFragmentManager(), TAG_CONFIG_DIALOG); in show()
/packages/apps/UnifiedEmail/src/com/android/mail/browse/
DConversationViewHeader.java175 final DialogFragment frag = in onLongClick() local
177 frag.show(mCallbacks.getActivity().getFragmentManager(), CopySubjectDialog.TAG); in onLongClick()
191 final CopySubjectDialog frag = new CopySubjectDialog(); in newInstance() local
194 frag.setArguments(args); in newInstance()
195 return frag; in newInstance()
DConversationPagerAdapter.java422 final AbstractConversationViewFragment frag = (cursor == null) ? null : in notifyDataSetChanged() local
424 if (frag != null && cursor.moveToPosition(pos) && frag.isUserVisible()) { in notifyDataSetChanged()
428 frag.onConversationUpdated(conv); in notifyDataSetChanged()
DSyncErrorDialogFragment.java39 SyncErrorDialogFragment frag = new SyncErrorDialogFragment(); in newInstance() local
40 return frag; in newInstance()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/auto/
DAutoAppPermissionsFragment.java121 Fragment frag = AutoAllAppPermissionsFragment.newInstance( in showAllPermissions() local
125 .replace(android.R.id.content, frag) in showAllPermissions()
205 frag = new AutoAppPermissionsFragment.AdditionalPermissionsFragment(); in updatePreferences()
206 setPackageNameAndUserHandle(frag, in updatePreferences()
209 frag.setTargetFragment(AutoAppPermissionsFragment.this, 0); in updatePreferences()
211 .replace(android.R.id.content, frag) in updatePreferences()
DAutoManageStandardPermissionsFragment.java72 AutoManageCustomPermissionsFragment frag = in updatePermissionsUi()
74 frag.setTargetFragment(AutoManageStandardPermissionsFragment.this, in updatePermissionsUi()
77 ft.replace(android.R.id.content, frag); in updatePermissionsUi()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/
DAppPermissionsFragment.java131 Fragment frag = AllAppPermissionsFragment.newInstance( in onOptionsItemSelected() local
134 .replace(android.R.id.content, frag) in onOptionsItemSelected()
229 AdditionalPermissionsFragment frag = new AdditionalPermissionsFragment(); in loadPreferences()
230 setPackageName(frag, getArguments().getString(Intent.EXTRA_PACKAGE_NAME)); in loadPreferences()
231 frag.setTargetFragment(AppPermissionsFragment.this, 0); in loadPreferences()
233 .replace(android.R.id.content, frag) in loadPreferences()
DPermissionAppsFragment.java267 SystemAppsFragment frag = new SystemAppsFragment(); in onPermissionsLoaded()
268 setPermissionName(frag, getArguments().getString( in onPermissionsLoaded()
270 frag.setTargetFragment(PermissionAppsFragment.this, 0); in onPermissionsLoaded()
272 .replace(android.R.id.content, frag) in onPermissionsLoaded()
DManagePermissionsFragment.java171 AdditionalPermissionsFragment frag = new AdditionalPermissionsFragment(); in updatePermissionsUi()
172 frag.setTargetFragment(ManagePermissionsFragment.this, 0); in updatePermissionsUi()
174 ft.replace(android.R.id.content, frag); in updatePermissionsUi()
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/setting/
DTimePickerDialogFragment.java32 TimePickerDialogFragment frag = new TimePickerDialogFragment(); in newInstance() local
36 frag.setArguments(args); in newInstance()
38 return frag; in newInstance()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DAppPermissionsFragment.java176 Fragment frag = AllAppPermissionsFragment.newInstance( in showAllPermissions() local
180 .replace(android.R.id.content, frag) in showAllPermissions()
270 AdditionalPermissionsFragment frag = new AdditionalPermissionsFragment(); in updatePreferences()
271 setPackageNameAndUserHandleAndSessionId(frag, in updatePreferences()
275 frag.setTargetFragment(AppPermissionsFragment.this, 0); in updatePreferences()
277 .replace(android.R.id.content, frag) in updatePreferences()
DManageStandardPermissionsFragment.java104 ManageCustomPermissionsFragment frag = in updatePermissionsUi()
106 frag.setTargetFragment(ManageStandardPermissionsFragment.this, 0); in updatePermissionsUi()
108 ft.replace(android.R.id.content, frag); in updatePermissionsUi()
/packages/apps/UnifiedEmail/src/com/android/mail/ui/
DTurnAutoSyncOnDialog.java61 final TurnAutoSyncOnDialog frag = new TurnAutoSyncOnDialog(); in newInstance() local
65 frag.setArguments(args); in newInstance()
66 return frag; in newInstance()
/packages/apps/Messaging/src/com/android/messaging/ui/debug/
DDebugSmsMmsFromDumpFileDialogFragment.java61 final DebugSmsMmsFromDumpFileDialogFragment frag = in newInstance() local
66 frag.setArguments(args); in newInstance()
67 return frag; in newInstance()
/packages/apps/Settings/src/com/android/settings/accessibility/
DHearingAidDialogFragment.java33 HearingAidDialogFragment frag = new HearingAidDialogFragment(); in newInstance() local
34 return frag; in newInstance()

123