Home
last modified time | relevance | path

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

/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/Settings/tests/robotests/src/com/android/settings/sim/
DSimListDialogFragmentTest.java53 final int dialogType = DATA_PICK; in onCreateDialog_noSubscriptions_dismissed() local
54 setDialogType(dialogType); in onCreateDialog_noSubscriptions_dismissed()
55 mFragment = spy(SimListDialogFragment.newInstance(dialogType, R.string.select_sim_for_data, in onCreateDialog_noSubscriptions_dismissed()
64 final int dialogType = DATA_PICK; in onCreateDialog_twoSubscriptionsNoAskEveryTime_twoSubsForDisplay() local
65 setDialogType(dialogType); in onCreateDialog_twoSubscriptionsNoAskEveryTime_twoSubsForDisplay()
66 mFragment = spy(SimListDialogFragment.newInstance(dialogType, R.string.select_sim_for_data, in onCreateDialog_twoSubscriptionsNoAskEveryTime_twoSubsForDisplay()
79 verify(activity).onSubscriptionSelected(dialogType, SIM2_ID); in onCreateDialog_twoSubscriptionsNoAskEveryTime_twoSubsForDisplay()
84 final int dialogType = DATA_PICK; in onSubscriptionsChanged_dialogUpdates() local
85 setDialogType(dialogType); in onSubscriptionsChanged_dialogUpdates()
86 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/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/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/Settings/src/com/android/settings/accessibility/
DAccessibilityEditDialogUtils.java118 private static AlertDialog createDialog(Context context, int dialogType, in createDialog() argument
122 .setView(createEditDialogContentView(context, dialogType)) in createDialog()
150 private static View createEditDialogContentView(Context context, int dialogType) { in createEditDialogContentView() argument
156 switch (dialogType) { in createEditDialogContentView()
DAccessibilityGestureNavigationTutorial.java130 private static View createTutorialDialogContentView(Context context, int dialogType) { in createTutorialDialogContentView() argument
136 switch (dialogType) { in createTutorialDialogContentView()
177 private static AlertDialog createDialog(Context context, int dialogType) { in createDialog() argument
179 .setView(createTutorialDialogContentView(context, dialogType)) in createDialog()
/packages/apps/DocumentsUI/src/com/android/documentsui/files/
DFilesActivity.java219 final @DialogType int dialogType = intent.getIntExtra( in presentFileErrors() local
223 if (icicle == null && dialogType != DIALOG_TYPE_UNKNOWN) { in presentFileErrors()
233 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()