Home
last modified time | relevance | path

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

12

/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/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/
DAutoManageStandardPermissionsFragment.java104 AutoManageCustomPermissionsFragment frag = in updatePermissionsUi()
106 frag.setTargetFragment(AutoManageStandardPermissionsFragment.this, in updatePermissionsUi()
109 ft.replace(android.R.id.content, frag); in updatePermissionsUi()
138 AutoUnusedAppsFragment frag = AutoUnusedAppsFragment.newInstance(); in updatePermissionsUi()
139 frag.setArguments(UnusedAppsFragment.createArgs( in updatePermissionsUi()
141 frag.setTargetFragment(AutoManageStandardPermissionsFragment.this, in updatePermissionsUi()
144 ft.replace(android.R.id.content, frag); in updatePermissionsUi()
DAutoAppPermissionsFragment.java129 Fragment frag = AutoAllAppPermissionsFragment.newInstance( in showAllPermissions() local
133 .replace(android.R.id.content, frag) in showAllPermissions()
229 frag = new AutoAppPermissionsFragment.AdditionalPermissionsFragment(); in updatePreferences()
230 setPackageNameAndUserHandle(frag, in updatePreferences()
233 frag.setTargetFragment(AutoAppPermissionsFragment.this, 0); in updatePreferences()
235 .replace(android.R.id.content, frag) in updatePreferences()
/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/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DAppPermissionsFragment.java153 PermissionsFrameFragment frag = in onOptionsItemSelected() local
157 .replace(android.R.id.content, frag) in onOptionsItemSelected()
260 AdditionalPermissionsFragment frag = new AdditionalPermissionsFragment(); in loadPreferences()
261 setPackage(frag, packageName, user); in loadPreferences()
262 frag.setTargetFragment(AppPermissionsFragment.this, 0); in loadPreferences()
264 .replace(android.R.id.content, frag) in loadPreferences()
321 AppPermissionFragment frag = new AppPermissionFragment(); in onPreferenceClick() local
323 frag.setArguments(AppPermissionFragment.createArgs( in onPreferenceClick()
331 frag.setTargetFragment(AppPermissionsFragment.this, 0); in onPreferenceClick()
333 .replace(android.R.id.content, frag) in onPreferenceClick()
DPermissionAppsFragment.java293 SystemAppsFragment frag = new SystemAppsFragment(); in onPreferenceClick() local
294 setPermissionName(frag, getArguments().getString( in onPreferenceClick()
296 frag.setTargetFragment(this, 0); in onPreferenceClick()
298 .replace(android.R.id.content, frag) in onPreferenceClick()
321 final AppPermissionFragment frag = new AppPermissionFragment(); in onPreferenceClick() local
322 frag.setArguments(AppPermissionFragment.createArgs( in onPreferenceClick()
330 frag.setTargetFragment(this, 0); in onPreferenceClick()
332 .replace(android.R.id.content, frag) in onPreferenceClick()
/packages/apps/DeskClock/src/com/android/deskclock/
DLabelDialogFragment.kt190 val frag = LabelDialogFragment() in newInstance() constant
191 frag.arguments = args in newInstance()
192 return frag in newInstance()
201 val frag = LabelDialogFragment() in newInstance() constant
202 frag.arguments = args in newInstance()
203 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/Settings/src/com/android/settings/vpn2/
DAppDialogFragment.java86 final AppDialogFragment frag = new AppDialogFragment(); in show() local
87 frag.mListener = listener; in show()
88 frag.setArguments(args); in show()
89 frag.setTargetFragment(parent, 0); in show()
90 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.java70 final ConfigDialogFragment frag = new ConfigDialogFragment(); in show() local
71 frag.setArguments(args); in show()
72 frag.setTargetFragment(parent, 0); in show()
73 frag.show(parent.getFragmentManager(), TAG_CONFIG_DIALOG); in show()
DAppManagementFragment.java350 final DialogFragment frag = new CannotConnectFragment(); in show() local
351 frag.setArguments(args); in show()
352 frag.show(parent.getFragmentManager(), TAG); in show()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/accounts/
DAccountsTrampolineActivity.java44 @AccountsUtil.AccountsFragmentType int frag = AccountsUtil.getAccountsFragmentToLaunch( in getActivityToStart() local
46 switch(frag) { in getActivityToStart()
56 intent.putExtra(AccountsActivity.EXTRA_FRAGMENT_TYPE, frag); in getActivityToStart()
/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/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DSuwUiFragment.java51 SuwUiFragment frag = new SuwUiFragment(); in newInstance() local
61 frag.setArguments(args); in newInstance()
62 return frag; in newInstance()
DWfcWebPortalFragment.java54 WfcWebPortalFragment frag = new WfcWebPortalFragment(); in newInstance() local
59 frag.setArguments(args); in newInstance()
61 return frag; in newInstance()
DWfcActivationActivity.java77 SuwUiFragment frag = in showActivationUi() local
85 ft.replace(R.id.wfc_activation_container, frag); in showActivationUi()
/packages/modules/IPsec/src/java/com/android/internal/net/ipsec/ike/message/
DIkeMessage.java912 for (byte[] frag : collectedFragsList) { in isAllFragmentsReceived()
913 if (frag == null) return false; in isAllFragmentsReceived()
925 for (byte[] frag : collectedFragsList) { in reassembleAllFrags()
926 len += frag.length; in reassembleAllFrags()
930 for (byte[] frag : collectedFragsList) { in reassembleAllFrags()
931 buffer.put(frag); in reassembleAllFrags()
/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()
/packages/apps/Settings/src/com/android/settings/display/
DDarkUIPreferenceController.java99 final DarkUIInfoDialogFragment frag = new DarkUIInfoDialogFragment(); in showDarkModeDialog() local
101 frag.show(mFragment.getFragmentManager(), getClass().getName()); in showDarkModeDialog()
/packages/apps/Settings/src/com/android/settings/
DUserCredentialsSettings.java125 final DialogFragment frag = new CredentialDialogFragment(); in show() local
126 frag.setTargetFragment(target, /* requestCode */ -1); in show()
127 frag.setArguments(args); in show()
128 frag.show(target.getFragmentManager(), TAG); in show()
/packages/apps/Settings/src/com/android/settings/wifi/
DWifiScanModeActivity.java114 AlertDialogFragment frag = new AlertDialogFragment(app); in newInstance() local
115 return frag; in newInstance()
/packages/apps/Settings/src/com/android/settings/notification/zen/
DZenModeScheduleRuleSettings.java264 final TimePickerFragment frag = new TimePickerFragment(); in TimePickerPreference()
265 frag.pref = TimePickerPreference.this; in TimePickerPreference()
266 frag.show(mgr, TimePickerPreference.class.getName()); in TimePickerPreference()
/packages/apps/Calendar/src/com/android/calendar/
DAllInOneActivity.java766 Fragment frag = null; in setMainPane() local
778 frag = new DayFragment(timeMillis, 1); in setMainPane()
787 frag = new MonthByWeekFragment(timeMillis, false); in setMainPane()
797 frag = new DayFragment(timeMillis, 7); in setMainPane()
833 ft.replace(viewId, frag); in setMainPane()
838 mController.registerEventHandler(viewId, (EventHandler) frag); in setMainPane()

12