Home
last modified time | relevance | path

Searched refs:arguments (Results 1 – 25 of 75) 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.java240 Bundle arguments = new Bundle(); in start() local
241 arguments.putLong(ARG_PHOTO_ID, photoId); in start()
242 arguments.putParcelable(ARG_PHOTO_URI, photoUri); in start()
243 arguments.putParcelable(ARG_CONTACT_URI, contactUri); in start()
244 arguments.putString(ARG_NAME_OR_NUMBER, nameOrNumber); in start()
245 arguments.putBoolean(ARG_IS_BUSINESS, isBusiness); in start()
246 arguments.putString(ARG_NUMBER, number); in start()
247 arguments.putString(ARG_DISPLAY_NUMBER, displayNumber); in start()
248 arguments.putString(ARG_NUMBER_LABEL, numberLabel); in start()
249 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.java147 protected void onProcessArguments(Bundle arguments) { in onProcessArguments() argument
148 if (arguments == null) { in onProcessArguments()
154 mPreferenceKey = arguments.getString(AccessibilitySettings.EXTRA_PREFERENCE_KEY); in onProcessArguments()
157 if (arguments.containsKey(AccessibilitySettings.EXTRA_CHECKED)) { in onProcessArguments()
158 final boolean enabled = arguments.getBoolean(AccessibilitySettings.EXTRA_CHECKED); in onProcessArguments()
163 if (arguments.containsKey(AccessibilitySettings.EXTRA_TITLE)) { in onProcessArguments()
164 setTitle(arguments.getString(AccessibilitySettings.EXTRA_TITLE)); in onProcessArguments()
168 if (arguments.containsKey(AccessibilitySettings.EXTRA_SUMMARY)) { in onProcessArguments()
169 final CharSequence summary = arguments.getCharSequence( in onProcessArguments()
DToggleAccessibilityServicePreferenceFragment.java367 protected void onProcessArguments(Bundle arguments) { in onProcessArguments() argument
368 super.onProcessArguments(arguments); in onProcessArguments()
370 String settingsTitle = arguments.getString(AccessibilitySettings.EXTRA_SETTINGS_TITLE); in onProcessArguments()
371 String settingsComponentName = arguments.getString( in onProcessArguments()
383 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/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
DGrantPermissionsViewHandlerImpl.java91 public void saveInstanceState(Bundle arguments) { in saveInstanceState() argument
92 arguments.putString(ARG_GROUP_NAME, mGroupName); in saveInstanceState()
93 arguments.putInt(ARG_GROUP_COUNT, mGroupCount); in saveInstanceState()
94 arguments.putInt(ARG_GROUP_INDEX, mGroupIndex); in saveInstanceState()
95 arguments.putParcelable(ARG_GROUP_ICON, mGroupIcon); in saveInstanceState()
96 arguments.putCharSequence(ARG_GROUP_MESSAGE, mGroupMessage); in saveInstanceState()
97 arguments.putBoolean(ARG_GROUP_SHOW_DO_NOT_ASK, mShowDonNotAsk); in saveInstanceState()
98 arguments.putBoolean(ARG_GROUP_DO_NOT_ASK_CHECKED, mDoNotAskCheckbox.isChecked()); in saveInstanceState()
/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/providers/MediaProvider/src/com/android/providers/media/
DMediaScannerService.java203 Bundle arguments = (Bundle) msg.obj; in handleMessage() local
204 if (arguments == null) { in handleMessage()
208 String filePath = arguments.getString("filepath"); in handleMessage()
212 IBinder binder = arguments.getIBinder("listener"); in handleMessage()
217 uri = scanFile(filePath, arguments.getString("mimetype")); in handleMessage()
225 String volume = arguments.getString("volume"); in handleMessage()
/packages/apps/ManagedProvisioning/tests/src/com/android/managedprovisioning/task/
DInstallPackageTaskTest.java109 Object[] arguments = invocation.getArguments(); in testInstall_OnePackage()
111 arguments[1]; in testInstall_OnePackage()
112 int flags = (Integer) arguments[2]; in testInstall_OnePackage()
135 Object[] arguments = invocation.getArguments(); in testInstall_InstallFailedVersionDowngrade()
137 arguments[1]; in testInstall_InstallFailedVersionDowngrade()
/packages/apps/Browser2/src/org/chromium/webview_shell/
DWebViewLayoutTestRunner.java18 public void onCreate(Bundle arguments) { in onCreate() argument
19 super.onCreate(arguments); in onCreate()
20 if (arguments != null) { in onCreate()
21 mModeArgument = arguments.getString("mode"); in onCreate()
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/
DConfirmActionDialogFragment.java36 Bundle arguments = new Bundle(); in newInstance() local
37 arguments.putCharSequence(ARG_MESSAGE, message); in newInstance()
38 arguments.putString(ARG_ACTION, action); in newInstance()
40 fragment.setArguments(arguments); in newInstance()
/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/TV/tests/input/src/com/android/tv/testinput/instrument/
DTestSetupInstrumentation.java64 public void onCreate(Bundle arguments) { in onCreate() argument
65 super.onCreate(arguments); in onCreate()
66 mArguments = arguments; in onCreate()
/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/TV/common/src/com/android/tv/common/ui/setup/
DSetupGuidedStepFragment.java47 Bundle arguments = getArguments(); in onCreateView() local
52 if (arguments != null && arguments.getBoolean(KEY_THREE_PANE, false)) { in onCreateView()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/
DDeleteManagedProfileDialog.java83 Bundle arguments = getArguments(); in onCreateDialog() local
84 final int callbackUserProfileId = arguments.getInt(KEY_USER_PROFILE_CALLBACK_ID); in onCreateDialog()
85 String mdmPackageName = arguments.getString(KEY_MDM_PACKAGE_NAME); in onCreateDialog()
/packages/apps/Settings/src/com/android/settings/accounts/
DManagedProfileSettings.java91 Bundle arguments = getArguments(); in getManagedUserFromArgument() local
92 if (arguments != null) { in getManagedUserFromArgument()
93 UserHandle userHandle = arguments.getParcelable(Intent.EXTRA_USER); in getManagedUserFromArgument()
/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()
/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()

123