Home
last modified time | relevance | path

Searched refs:dialogType (Results 1 – 12 of 12) sorted by relevance

/packages/apps/Settings/tests/robotests/src/com/android/settings/sim/
DSimListDialogFragmentTest.java52 final int dialogType = DATA_PICK; in onCreateDialog_noSubscriptions_dismissed() local
53 setDialogType(dialogType); in onCreateDialog_noSubscriptions_dismissed()
54 mFragment = spy(SimListDialogFragment.newInstance(dialogType, R.string.select_sim_for_data, in onCreateDialog_noSubscriptions_dismissed()
63 final int dialogType = DATA_PICK; in onCreateDialog_twoSubscriptionsNoAskEveryTime_twoSubsForDisplay() local
64 setDialogType(dialogType); in onCreateDialog_twoSubscriptionsNoAskEveryTime_twoSubsForDisplay()
65 mFragment = spy(SimListDialogFragment.newInstance(dialogType, R.string.select_sim_for_data, in onCreateDialog_twoSubscriptionsNoAskEveryTime_twoSubsForDisplay()
78 verify(activity).onSubscriptionSelected(dialogType, SIM2_ID); in onCreateDialog_twoSubscriptionsNoAskEveryTime_twoSubsForDisplay()
83 final int dialogType = DATA_PICK; in onSubscriptionsChanged_dialogUpdates() local
84 setDialogType(dialogType); in onSubscriptionsChanged_dialogUpdates()
85 mFragment = spy(SimListDialogFragment.newInstance(dialogType, R.string.select_sim_for_data, in onSubscriptionsChanged_dialogUpdates()
[all …]
DSimDialogFragmentTestBase.java66 protected void setDialogType(int dialogType) { in setDialogType() argument
67 mIntent.putExtra(DIALOG_TYPE_KEY, dialogType); in setDialogType()
/packages/apps/Settings/src/com/android/settings/sim/
DSimDialogActivity.java72 final int dialogType = getIntent().getIntExtra(DIALOG_TYPE_KEY, INVALID_PICK); in showOrUpdateDialog() local
73 final String tag = Integer.toString(dialogType); in showOrUpdateDialog()
78 fragment = createFragment(dialogType); in showOrUpdateDialog()
85 private SimDialogFragment createFragment(int dialogType) { in createFragment() argument
86 switch (dialogType) { in createFragment()
88 return SimListDialogFragment.newInstance(dialogType, R.string.select_sim_for_data, in createFragment()
91 return CallsSimListDialogFragment.newInstance(dialogType, in createFragment()
95 return SimListDialogFragment.newInstance(dialogType, R.string.select_sim_for_sms, in createFragment()
103 return SimListDialogFragment.newInstance(dialogType, R.string.select_sim_for_sms, in createFragment()
106 throw new IllegalArgumentException("Invalid dialog type " + dialogType + " sent."); in createFragment()
[all …]
DSimSelectNotification.java152 int dialogType = intent.getIntExtra(EXTRA_DEFAULT_SUBSCRIPTION_SELECT_TYPE, in startSimSelectDialogIfNeeded() local
155 if (dialogType == EXTRA_DEFAULT_SUBSCRIPTION_SELECT_TYPE_NONE) { in startSimSelectDialogIfNeeded()
164 if (dialogType == EXTRA_DEFAULT_SUBSCRIPTION_SELECT_TYPE_ALL) { in startSimSelectDialogIfNeeded()
175 } else if (dialogType == EXTRA_DEFAULT_SUBSCRIPTION_SELECT_TYPE_DATA) { in startSimSelectDialogIfNeeded()
DSimDialogFragment.java38 protected static Bundle initArguments(int dialogType, int titleResId) { in initArguments() argument
40 args.putInt(KEY_DIALOG_TYPE, dialogType); in initArguments()
DSimListDialogFragment.java57 public static SimListDialogFragment newInstance(int dialogType, int titleResId, in newInstance() argument
60 final Bundle args = initArguments(dialogType, titleResId); in newInstance()
/packages/apps/DocumentsUI/src/com/android/documentsui/
DOperationDialogFragment.java64 @DialogType int dialogType, in show() argument
71 args.putInt(FileOperationService.EXTRA_DIALOG_TYPE, dialogType); in show()
88 final @DialogType int dialogType = in onCreateDialog() local
99 dialogType, operationType, docList, uriList); in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilityGestureNavigationTutorial.java104 private static View createTutorialDialogContentView(Context context, int dialogType) { in createTutorialDialogContentView() argument
110 switch (dialogType) { in createTutorialDialogContentView()
151 private static AlertDialog createDialog(Context context, int dialogType) { in createDialog() argument
153 .setView(createTutorialDialogContentView(context, dialogType)) in createDialog()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/sim/
DSimSelectNotification.java57 int dialogType = intent.getIntExtra(EXTRA_DEFAULT_SUBSCRIPTION_SELECT_TYPE, in onReceive() local
59 if (dialogType == EXTRA_DEFAULT_SUBSCRIPTION_SELECT_TYPE_ALL) { in onReceive()
69 } else if (dialogType == EXTRA_DEFAULT_SUBSCRIPTION_SELECT_TYPE_DATA) { in onReceive()
DSimDialogActivity.java63 final int dialogType = getIntent().getIntExtra(DIALOG_TYPE_KEY, INVALID_PICK); in onCreate() local
65 switch (dialogType) { in onCreate()
69 createDialog(this, dialogType).show(); in onCreate()
75 throw new IllegalArgumentException("Invalid dialog type " + dialogType + " sent."); in onCreate()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java206 final @DialogType int dialogType = intent.getIntExtra( in presentFileErrors() local
210 if (icicle == null && dialogType != DIALOG_TYPE_UNKNOWN) { in presentFileErrors()
220 dialogType, in presentFileErrors() local
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
DMessageBuilder.java83 @DialogType int dialogType, @OpType int operationType, List<DocumentInfo> docs, in generateListMessage()
87 switch (dialogType) { in generateListMessage()