Home
last modified time | relevance | path

Searched refs:arguments (Results 1 – 25 of 61) sorted by relevance

123

/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/dictionarypack/
DMetadataParser.java55 final TreeMap<String, String> arguments = new TreeMap<>(); in parseOneWordList() local
60 arguments.put(name, reader.nextString()); in parseOneWordList()
64 if (TextUtils.isEmpty(arguments.get(ID_FIELD_NAME)) in parseOneWordList()
65 || TextUtils.isEmpty(arguments.get(LOCALE_FIELD_NAME)) in parseOneWordList()
66 || TextUtils.isEmpty(arguments.get(DESCRIPTION_FIELD_NAME)) in parseOneWordList()
67 || TextUtils.isEmpty(arguments.get(UPDATE_FIELD_NAME)) in parseOneWordList()
68 || TextUtils.isEmpty(arguments.get(FILESIZE_FIELD_NAME)) in parseOneWordList()
69 || TextUtils.isEmpty(arguments.get(CHECKSUM_FIELD_NAME)) in parseOneWordList()
70 || TextUtils.isEmpty(arguments.get(REMOTE_FILENAME_FIELD_NAME)) in parseOneWordList()
71 || TextUtils.isEmpty(arguments.get(VERSION_FIELD_NAME)) in parseOneWordList()
[all …]
/packages/apps/ContactsCommon/src/com/android/contacts/common/dialog/
DCallSubjectDialog.java238 Bundle arguments = new Bundle(); in start() local
239 arguments.putLong(ARG_PHOTO_ID, photoId); in start()
240 arguments.putParcelable(ARG_PHOTO_URI, photoUri); in start()
241 arguments.putParcelable(ARG_CONTACT_URI, contactUri); in start()
242 arguments.putString(ARG_NAME_OR_NUMBER, nameOrNumber); in start()
243 arguments.putBoolean(ARG_IS_BUSINESS, isBusiness); in start()
244 arguments.putString(ARG_NUMBER, number); in start()
245 arguments.putString(ARG_DISPLAY_NUMBER, displayNumber); in start()
246 arguments.putString(ARG_NUMBER_LABEL, numberLabel); in start()
247 arguments.putParcelable(ARG_PHONE_ACCOUNT_HANDLE, phoneAccountHandle); in start()
[all …]
/packages/apps/Settings/src/com/android/settings/widget/
DExploreByTouchHelper.java437 private boolean performAction(int virtualViewId, int action, Bundle arguments) { in performAction() argument
440 return performActionForHost(action, arguments); in performAction()
442 return performActionForChild(virtualViewId, action, arguments); in performAction()
446 private boolean performActionForHost(int action, Bundle arguments) { in performActionForHost() argument
447 return mView.performAccessibilityAction(action, arguments); in performActionForHost()
450 private boolean performActionForChild(int virtualViewId, int action, Bundle arguments) { in performActionForChild() argument
454 return manageFocusForChild(virtualViewId, action, arguments); in performActionForChild()
456 return onPerformActionForVirtualView(virtualViewId, action, arguments); in performActionForChild()
460 private boolean manageFocusForChild(int virtualViewId, int action, Bundle arguments) { in manageFocusForChild() argument
707 int virtualViewId, int action, Bundle arguments); in onPerformActionForVirtualView() argument
[all …]
/packages/inputmethods/LatinIME/tools/dicttool/src/com/android/inputmethod/latin/dicttool/
DDicttool.java103 private static Command getCommand(final String[] arguments) { in getCommand() argument
104 final String commandName = arguments[0]; in getCommand()
109 final String[] argsArray = Arrays.copyOfRange(arguments, 1, arguments.length); in getCommand()
119 private static int execute(final String[] arguments) { in execute() argument
120 final Command command = getCommand(arguments); in execute()
132 public static void main(final String[] arguments) { in main() argument
133 if (0 == arguments.length) { in main()
138 System.exit(execute(arguments)); in main()
/packages/apps/Settings/src/com/android/settings/accessibility/
DToggleFeaturePreferenceFragment.java145 protected void onProcessArguments(Bundle arguments) { in onProcessArguments() argument
146 if (arguments == null) { in onProcessArguments()
152 mPreferenceKey = arguments.getString(AccessibilitySettings.EXTRA_PREFERENCE_KEY); in onProcessArguments()
155 if (arguments.containsKey(AccessibilitySettings.EXTRA_CHECKED)) { in onProcessArguments()
156 final boolean enabled = arguments.getBoolean(AccessibilitySettings.EXTRA_CHECKED); in onProcessArguments()
161 if (arguments.containsKey(AccessibilitySettings.EXTRA_TITLE)) { in onProcessArguments()
162 setTitle(arguments.getString(AccessibilitySettings.EXTRA_TITLE)); in onProcessArguments()
166 if (arguments.containsKey(AccessibilitySettings.EXTRA_SUMMARY)) { in onProcessArguments()
167 final CharSequence summary = arguments.getCharSequence( in onProcessArguments()
DToggleAccessibilityServicePreferenceFragment.java406 protected void onProcessArguments(Bundle arguments) { in onProcessArguments() argument
407 super.onProcessArguments(arguments); in onProcessArguments()
409 String settingsTitle = arguments.getString(AccessibilitySettings.EXTRA_SETTINGS_TITLE); in onProcessArguments()
410 String settingsComponentName = arguments.getString( in onProcessArguments()
422 mComponentName = arguments.getParcelable(AccessibilitySettings.EXTRA_COMPONENT_NAME); in onProcessArguments()
/packages/apps/Calendar/
Dmkprojectfile15 <arguments>
16 </arguments>
20 <arguments>
21 </arguments>
25 <arguments>
26 </arguments>
30 <arguments>
31 </arguments>
/packages/apps/Email/src/com/android/email/activity/setup/
DCheckSettingsErrorDialogFragment.java63 final Bundle arguments = new Bundle(2); in newInstance() local
64 arguments.putString(ARGS_MESSAGE, message); in newInstance()
65 arguments.putInt(ARGS_REASON, reason); in newInstance()
66 fragment.setArguments(arguments); in newInstance()
73 final Bundle arguments = getArguments(); in onCreateDialog() local
74 final String message = arguments.getString(ARGS_MESSAGE); in onCreateDialog()
75 final int reason = arguments.getInt(ARGS_REASON); in onCreateDialog()
DSecurityRequiredDialogFragment.java59 final Bundle arguments = new Bundle(1); in newInstance() local
60 arguments.putString(ARGS_HOST_NAME, hostName); in newInstance()
61 fragment.setArguments(arguments); in newInstance()
68 final Bundle arguments = getArguments(); in onCreateDialog() local
69 final String hostName = arguments.getString(ARGS_HOST_NAME); in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/print/
DPrintServiceSettingsFragment.java347 Bundle arguments = getArguments(); in updateUiForArguments() local
350 mPreferenceKey = arguments.getString(PrintSettingsFragment.EXTRA_PREFERENCE_KEY); in updateUiForArguments()
353 final boolean enabled = arguments.getBoolean(PrintSettingsFragment.EXTRA_CHECKED); in updateUiForArguments()
357 String settingsTitle = arguments.getString(PrintSettingsFragment.EXTRA_SETTINGS_TITLE); in updateUiForArguments()
358 String settingsComponentName = arguments.getString( in updateUiForArguments()
375 String addPrintersTitle = arguments.getString( in updateUiForArguments()
378 arguments.getString(PrintSettingsFragment.EXTRA_ADD_PRINTERS_COMPONENT_NAME); in updateUiForArguments()
395 mEnableWarningTitle = arguments.getCharSequence( in updateUiForArguments()
399 mEnableWarningMessage = arguments.getCharSequence( in updateUiForArguments()
403 mComponentName = ComponentName.unflattenFromString(arguments in updateUiForArguments()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
DGrantPermissionsDefaultViewHandler.java115 public void saveInstanceState(Bundle arguments) { in saveInstanceState() argument
116 arguments.putString(ARG_GROUP_NAME, mGroupName); in saveInstanceState()
117 arguments.putInt(ARG_GROUP_COUNT, mGroupCount); in saveInstanceState()
118 arguments.putInt(ARG_GROUP_INDEX, mGroupIndex); in saveInstanceState()
119 arguments.putParcelable(ARG_GROUP_ICON, mGroupIcon); in saveInstanceState()
120 arguments.putCharSequence(ARG_GROUP_MESSAGE, mGroupMessage); in saveInstanceState()
121 arguments.putBoolean(ARG_GROUP_SHOW_DO_NOT_ASK, mShowDonNotAsk); in saveInstanceState()
122 arguments.putBoolean(ARG_GROUP_DO_NOT_ASK_CHECKED, mDoNotAskCheckbox.isChecked()); in saveInstanceState()
DAllAppPermissionsFragment.java55 Bundle arguments = new Bundle(); in newInstance() local
56 arguments.putString(Intent.EXTRA_PACKAGE_NAME, packageName); in newInstance()
57 instance.setArguments(arguments); in newInstance()
/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
Darguments_parser.cpp108 std::unordered_map<std::string, std::vector<std::string>> arguments; in parseArguments() local
142 arguments[argumentSpecIt->getName()].push_back(arg); in parseArguments()
143 if (arguments[argumentSpecIt->getName()].size() >= argumentSpecIt->getMaxCount()) { in parseArguments()
150 const auto &it = arguments.find(argumentSpecIt->getName()); in parseArguments()
152 const size_t actualcount = it == arguments.end() ? 0 : it->second.size(); in parseArguments()
161 return ArgumentsAndOptions(std::move(options), std::move(arguments)); in parseArguments()
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/task/
DInstallPackageTaskTest.java102 Object[] arguments = invocation.getArguments(); in testInstall_OnePackage()
104 arguments[1]; in testInstall_OnePackage()
105 int flags = (Integer) arguments[2]; in testInstall_OnePackage()
128 Object[] arguments = invocation.getArguments(); in testInstall_InstallFailedVersionDowngrade()
130 arguments[1]; in testInstall_InstallFailedVersionDowngrade()
/packages/providers/MediaProvider/src/com/android/providers/media/
DMediaScannerService.java236 Bundle arguments = (Bundle) msg.obj; in handleMessage() local
237 String filePath = arguments.getString("filepath"); in handleMessage()
241 IBinder binder = arguments.getIBinder("listener"); in handleMessage()
246 uri = scanFile(filePath, arguments.getString("mimetype")); in handleMessage()
254 String volume = arguments.getString("volume"); in handleMessage()
/packages/apps/Contacts/src/com/android/contacts/interactions/
DGroupCreationDialogFragment.java82 Bundle arguments = getArguments(); in onCompleted() local
83 String accountType = arguments.getString(ARG_ACCOUNT_TYPE); in onCompleted()
84 String accountName = arguments.getString(ARG_ACCOUNT_NAME); in onCompleted()
85 String dataSet = arguments.getString(ARG_DATA_SET); in onCompleted()
DJoinContactsDialogFragment.java55 Bundle arguments = new Bundle(); in newInstance() local
56 arguments.putSerializable(KEY_CONTACT_IDS, contactIds); in newInstance()
57 fragment.setArguments(arguments); in newInstance()
/packages/apps/Messaging/src/com/android/messaging/ui/conversationlist/
DConversationListFragment.java252 final Bundle arguments = getArguments(); in onAttach() local
253 if (arguments != null) { in onAttach()
254 mArchiveMode = arguments.getBoolean(BUNDLE_ARCHIVED_MODE, false); in onAttach()
255 mForwardMessageMode = arguments.getBoolean(BUNDLE_FORWARD_MESSAGE_MODE, false); in onAttach()
DShareIntentFragment.java92 final Bundle arguments = getArguments(); in onCreateDialog() local
93 if (arguments == null || !arguments.getBoolean(HIDE_NEW_CONVERSATION_BUTTON_KEY)) { in onCreateDialog()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DDeleteManagedProfileDialog.java79 Bundle arguments = getArguments(); in onCreateDialog() local
80 final int callbackUserProfileId = arguments.getInt(KEY_USER_PROFILE_CALLBACK_ID); in onCreateDialog()
81 String mdmPackageName = arguments.getString(KEY_MDM_PACKAGE_NAME); in onCreateDialog()
/packages/apps/Camera2/src/com/android/camera/settings/
DCameraSettingsActivity.java157 Bundle arguments = getArguments(); in onCreate() local
158 if (arguments != null) { in onCreate()
159 mPrefKey = arguments.getString(PREF_SCREEN_EXTRA); in onCreate()
160 mHideAdvancedScreen = arguments.getBoolean(HIDE_ADVANCED_SCREEN); in onCreate()
/packages/apps/Settings/src/com/android/settings/inputmethod/
DUserDictionaryList.java66 final Bundle arguments = getArguments(); in onActivityCreated() local
68 null == arguments ? null : arguments.getString("locale"); in onActivityCreated()
DInputMethodAndSubtypeEnabler.java96 final Bundle arguments = getArguments(); in getStringExtraFromIntentOrArguments() local
97 return (arguments == null) ? null : arguments.getString(name); in getStringExtraFromIntentOrArguments()
/packages/apps/Settings/src/com/android/settings/
DUtils.java801 UserManager um, @Nullable Bundle arguments, @Nullable Bundle intentExtras) { in getSecureTargetUser() argument
824 UserHandle argumentsUser = arguments != null in getSecureTargetUser()
825 ? (UserHandle) arguments.getParcelable(EXTRA_USER) : null; in getSecureTargetUser()
850 public static UserHandle getInsecureTargetUser(IBinder activityToken, @Nullable Bundle arguments, in getInsecureTargetUser() argument
865 UserHandle argumentsUser = arguments != null in getInsecureTargetUser()
866 ? (UserHandle) arguments.getParcelable(EXTRA_USER) : null; in getInsecureTargetUser()
DUserDictionarySettings.java95 final Bundle arguments = getArguments(); in onActivityCreated() local
97 null == arguments ? null : arguments.getString("locale"); in onActivityCreated()

123