Home
last modified time | relevance | path

Searched refs:description (Results 1 – 25 of 211) sorted by relevance

123456789

/packages/inputmethods/LatinIME/native/dicttoolkit/src/utils/
Darguments_parser.h37 const std::string &description) { in keyValueOption() argument
38 return OptionSpec(true /* needsValue */, valueName, defaultValue, description); in keyValueOption()
41 static OptionSpec switchOption(const std::string &description) { in switchOption() argument
43 description); in switchOption()
53 const std::string &description) in OptionSpec() argument
55 mDescription(description) {} in OptionSpec()
71 static ArgumentSpec singleArgument(const std::string &name, const std::string &description) { in singleArgument() argument
72 return ArgumentSpec(name, 1 /* minCount */, 1 /* maxCount */, description); in singleArgument()
76 const size_t maxCount, const std::string &description) { in variableLengthArguments() argument
77 return ArgumentSpec(name, minCount, maxCount, description); in variableLengthArguments()
[all …]
/packages/apps/Contacts/src/com/android/contacts/vcard/
DNotificationImportExportListener.java110 final String description = mContext.getString(R.string.importing_vcard_description, in onImportParsed() local
114 VCardService.TYPE_IMPORT, description, tickerText, jobId, request.displayName, in onImportParsed()
120 final String description = mContext.getString(R.string.importing_vcard_finished_title, in onImportFinished() local
136 description, null, intent); in onImportFinished()
151 final String description = mContext.getString(R.string.importing_vcard_canceled_title, in onImportCanceled() local
154 NotificationImportExportListener.constructCancelNotification(mContext, description); in onImportCanceled()
179 final String description = type == VCardService.TYPE_IMPORT ? in onCancelRequest() local
182 final Notification notification = constructCancelNotification(mContext, description); in onCancelRequest()
202 Context context, int type, String description, String tickerText, in constructProgressNotification() argument
227 .setContentTitle(description) in constructProgressNotification()
[all …]
DExportProcessor.java264 final String description = in doProgressNotification() local
270 VCardService.TYPE_EXPORT, description, tickerText, mJobId, displayName, in doProgressNotification()
277 final String description = mService.getString(R.string.exporting_vcard_canceled_title, in doCancelNotification() local
280 NotificationImportExportListener.constructCancelNotification(mService, description); in doCancelNotification()
285 private void doFinishNotification(final String title, final String description) { in doFinishNotification() argument
286 if (DEBUG) Log.d(LOG_TAG, "send finish notification: " + title + ", " + description); in doFinishNotification()
291 description, intent); in doFinishNotification()
301 description, Uri uri) { in doFinishNotificationWithShareAction() argument
302 if (DEBUG) Log.d(LOG_TAG, "send finish notification: " + title + ", " + description); in doFinishNotificationWithShareAction()
311 mService, title, description, intent, Intent.FLAG_ACTIVITY_NEW_TASK); in doFinishNotificationWithShareAction()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DContentFragment.java49 String description) { in newInstance() argument
50 return newInstance(title, breadcrumb, description, 0, Color.TRANSPARENT); in newInstance()
53 public static ContentFragment newInstance(String title, String breadcrumb, String description, in newInstance() argument
55 return newInstance(title, breadcrumb, description, iconResourceId, Color.TRANSPARENT); in newInstance()
58 public static ContentFragment newInstance(String title, String breadcrumb, String description, in newInstance() argument
62 BaseContentFragment.buildArgs(title, breadcrumb, description, iconResourceId, in newInstance()
67 public static ContentFragment newInstance(String title, String breadcrumb, String description, in newInstance() argument
69 return newInstance(title, breadcrumb, description, iconResourceUri, Color.TRANSPARENT); in newInstance()
72 public static ContentFragment newInstance(String title, String breadcrumb, String description, in newInstance() argument
76 BaseContentFragment.buildArgs(title, breadcrumb, description, iconResourceUri, in newInstance()
[all …]
DEditTextFragment.java57 public static EditTextFragment newInstance(String description) { in newInstance() argument
58 return newInstance(description, null); in newInstance()
61 public static EditTextFragment newInstance(String description, String initialText) { in newInstance() argument
62 return newInstance(description, initialText, false); in newInstance()
65 public static EditTextFragment newInstance(String description, String initialText, in newInstance() argument
69 args.putString(EXTRA_DESC, description); in newInstance()
98 TextView description = (TextView) view.findViewById(R.id.description); in onCreateView() local
99 if (description != null) { in onCreateView()
100 description.setText(descString); in onCreateView()
101 description.setVisibility(View.VISIBLE); in onCreateView()
DDialogActivity.java112 String breadcrumb, String description, String imageUri, in createIntent() argument
114 return createIntent(context, title, breadcrumb, description, imageUri, in createIntent()
119 String breadcrumb, String description, String imageUri, in createIntent() argument
124 intent.putExtra(EXTRA_DIALOG_DESCRIPTION, description); in createIntent()
133 String breadcrumb, String description, String imageUri, in createIntent() argument
135 return createIntent(context, title, breadcrumb, description, imageUri, Color.TRANSPARENT, in createIntent()
140 String breadcrumb, String description, String imageUri, int imageBackground, in createIntent() argument
145 intent.putExtra(EXTRA_DIALOG_DESCRIPTION, description); in createIntent()
154 String breadcrumb, String description, String imageUri, int imageBackground, in createIntent() argument
160 intent.putExtra(EXTRA_DIALOG_DESCRIPTION, description); in createIntent()
[all …]
DBaseContentFragment.java53 String title, String breadcrumb, String description, int iconResourceId, in buildArgs() argument
55 return buildArgs(title, breadcrumb, description, iconResourceId, null, null, in buildArgs()
59 public static Bundle buildArgs(String title, String breadcrumb, String description, Uri iconUri, in buildArgs() argument
61 return buildArgs(title, breadcrumb, description, 0, iconUri, null, backgroundColor); in buildArgs()
64 public static Bundle buildArgs(String title, String breadcrumb, String description, in buildArgs() argument
66 return buildArgs(title, breadcrumb, description, 0, null, iconBitmap, Color.TRANSPARENT); in buildArgs()
70 String title, String breadcrumb, String description, int iconResourceId, in buildArgs() argument
75 args.putString(EXTRA_DESCRIPTION, description); in buildArgs()
149 setText(view, R.id.description, mDescription); in onCreateView()
208 return (TextView) mFragment.getView().findViewById(R.id.description); in getDescription()
[all …]
/packages/apps/Settings/src/com/android/settings/
DChooseLockSettingsHelper.java115 @Nullable CharSequence header, @Nullable CharSequence description, in launchConfirmationActivity() argument
117 return launchConfirmationActivity(request, title, header, description, in launchConfirmationActivity()
137 @Nullable CharSequence header, @Nullable CharSequence description, in launchConfirmationActivity() argument
139 return launchConfirmationActivity(request, title, header, description, in launchConfirmationActivity()
154 @Nullable CharSequence header, @Nullable CharSequence description, in launchConfirmationActivity() argument
156 return launchConfirmationActivity(request, title, header, description, in launchConfirmationActivity()
172 @Nullable CharSequence header, @Nullable CharSequence description, in launchConfirmationActivity() argument
174 return launchConfirmationActivity(request, title, header, description, in launchConfirmationActivity()
194 @Nullable CharSequence description, boolean external, long challenge, int userId) { in launchConfirmationActivityWithExternalAndChallenge() argument
195 return launchConfirmationActivity(request, title, header, description, false, in launchConfirmationActivityWithExternalAndChallenge()
[all …]
/packages/apps/Messaging/src/com/android/messaging/widget/
DWidgetConversationService.java343 final StringBuilder description = new StringBuilder(); in updateViewContent() local
351 description.append(mContext.getString(senderResId, message.getSenderDisplayName())); in updateViewContent()
356 description.append(mContext.getString(senderResId)); in updateViewContent()
375 description.append(separator); in updateViewContent()
376 description.append(mmsInfoText); in updateViewContent()
379 description.append(separator); in updateViewContent()
380 description.append(messageText); in updateViewContent()
388 description.append(separator); in updateViewContent()
389 description.append(subjectText); in updateViewContent()
401 description.append(separator); in updateViewContent()
[all …]
/packages/apps/Contacts/tests/src/com/android/contacts/tests/
DContactsMatchers.java79 public void describeTo(Description description) { in hasCount() argument
80 description.appendText("Cursor with " + count + " rows"); in hasCount()
98 public void describeTo(Description description) {
99 description.appendText("Cursor with " + column + "=" + value);
120 public void describeTo(Description description) {
121 description.appendText("Cursor with row matching ");
122 rowMatcher.describeTo(description);
141 public void describeTo(Description description) {
142 description.appendText("SimContact with name=" + name + " and phone=" +
/packages/apps/TV/src/com/android/tv/dvr/ui/list/
DSchedulesHeaderRow.java29 public SchedulesHeaderRow(String title, String description, int itemCount) { in SchedulesHeaderRow() argument
32 mDescription = description; in SchedulesHeaderRow()
45 public void setDescription(String description) { in setDescription() argument
46 mDescription = description; in setDescription()
83 public DateHeaderRow(String title, String description, int itemCount, long deadLineMs) { in DateHeaderRow() argument
84 super(title, description, itemCount); in DateHeaderRow()
102 public SeriesRecordingHeaderRow(String title, String description, int itemCount, in SeriesRecordingHeaderRow() argument
104 super(title, description, itemCount); in SeriesRecordingHeaderRow()
/packages/apps/TV/src/com/android/tv/parental/
DContentRatingSystem.java155 String name, String domain, String title, String description, List<String> countries, in ContentRatingSystem() argument
161 mDescription = description; in ContentRatingSystem()
198 public void setDescription(String description) { in setDescription() argument
199 mDescription = description; in setDescription()
341 private Rating(String name, String title, String description, Drawable icon, in Rating() argument
345 mDescription = description; in Rating()
370 public void setDescription(String description) { in setDescription() argument
371 mDescription = description; in setDescription()
441 private SubRating(String name, String title, String description, Drawable icon) { in SubRating() argument
444 mDescription = description; in SubRating()
[all …]
/packages/apps/TV/src/com/android/tv/onboarding/
DSetupSourcesFragment.java220 String description = getString(R.string.setup_sources_description); in onCreateGuidance() local
221 return new Guidance(title, description, null, null); in onCreateGuidance()
278 .description(getString(R.string.setup_category_new)) in createActionsInternal()
289 .description(getString(R.string.setup_category_done)) in createActionsInternal()
296 String description; in createActionsInternal() local
300 description = getString(R.string.setup_input_no_channels); in createActionsInternal()
302 description = getResources().getQuantityString( in createActionsInternal()
306 description = getString(R.string.setup_input_setup_now); in createActionsInternal()
308 description = getString(R.string.setup_input_new); in createActionsInternal()
317 .description(description) in createActionsInternal()
[all …]
/packages/apps/TV/src/com/android/tv/guide/
DProgramItemView.java278 SpannableStringBuilder description = new SpannableStringBuilder(); in setValues() local
279 description.append(title); in setValues()
281 description.append('\n'); in setValues()
287 description.append('\u200D'); in setValues()
289 int middle = description.length(); in setValues()
290 description.append(episode); in setValues()
292 description.setSpan(titleStyle, 0, middle, Spanned.SPAN_EXCLUSIVE_EXCLUSIVE); in setValues()
293 description.setSpan(episodeStyle, middle, description.length(), in setValues()
296 description.setSpan(titleStyle, 0, description.length(), in setValues()
299 setText(description); in setValues()
/packages/apps/Car/Media/src/com/android/car/media/drawer/
DMediaItemsFetcher.java78 static void populateViewHolderFrom(DrawerItemViewHolder holder, MediaDescription description) { in populateViewHolderFrom() argument
82 holder.getTitle().setText(description.getTitle()); in populateViewHolderFrom()
83 holder.getText().setText(description.getSubtitle()); in populateViewHolderFrom()
84 Bitmap iconBitmap = description.getIconBitmap(); in populateViewHolderFrom()
86 if (iconBitmap == null && description.getIconUri() != null) { in populateViewHolderFrom()
91 int cacheFlag = UriUtils.isAndroidResourceUri(description.getIconUri()) in populateViewHolderFrom()
96 .resource(description.getIconUri()) in populateViewHolderFrom()
/packages/apps/TV/tests/common/src/com/android/tv/testing/
DProgramInfo.java97 public final String description; field in ProgramInfo
122 String posterArtUri, String description, long durationMs, in ProgramInfo() argument
129 this.description = description; in ProgramInfo()
202 description, in build()
231 Objects.equals(description, that.description) && in equals()
279 public Builder setDescription(String description) { in setDescription() argument
280 mDescription = description; in setDescription()
/packages/apps/DocumentsUI/src/com/android/documentsui/clipping/
DRuntimeDocumentClipper.java130 ClipDescription description = new ClipDescription( in createStandardClipData() local
133 description.setExtras(bundle); in createStandardClipData()
135 return createClipData(description, clipItems); in createStandardClipData()
176 ClipDescription description = new ClipDescription( in createJumboClipData() local
179 description.setExtras(bundle); in createJumboClipData()
181 return createClipData(description, clipItems); in createJumboClipData()
316 ClipDescription description, ArrayList<ClipData.Item> clipItems) { in createClipData() argument
320 return new ClipData(description, clipItems); in createClipData()
323 ClipData clip = new ClipData(description, clipItems.get(0)); in createClipData()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/accessibility/
DKeyCodeDescriptionMapper.java97 final String description = getDescriptionForSwitchAlphaSymbol(context, keyboard); in getDescriptionForKey() local
98 if (description != null) { in getDescriptionForKey()
99 return description; in getDescriptionForKey()
115 final String description = getSpokenEmoticonDescription(context, outputText); in getDescriptionForKey() local
116 return TextUtils.isEmpty(description) ? outputText : description; in getDescriptionForKey()
127 final String description = getDescriptionForCodePoint(context, code); in getDescriptionForKey() local
128 if (description != null) { in getDescriptionForKey()
129 return description; in getDescriptionForKey()
/packages/apps/Messaging/src/com/android/messaging/ui/conversation/
DConversationMessageView.java786 StringBuilder description = new StringBuilder(); in updateContentDescription() local
798 description.append(res.getString(senderResId, mData.getSenderDisplayName())); in updateContentDescription()
803 description.append(res.getString(senderResId)); in updateContentDescription()
807 description.append(separator); in updateContentDescription()
808 description.append(mSubjectText.getText()); in updateContentDescription()
819 description.append(separator); in updateContentDescription()
820 description.append(mMessageTextView.getText()); in updateContentDescription()
825 description.append(separator); in updateContentDescription()
826 description.append(mTitleTextView.getText()); in updateContentDescription()
828 description.append(separator); in updateContentDescription()
[all …]
/packages/apps/TV/src/com/android/tv/tuner/setup/
DWelcomeFragment.java72 String description; in onCreateGuidance() local
76 description = getString(R.string.bt_setup_new_description); in onCreateGuidance()
79 description = getString(R.string.ut_setup_new_description); in onCreateGuidance()
84 description = getString(R.string.bt_setup_again_description); in onCreateGuidance()
86 description = getString(R.string.ut_setup_again_description); in onCreateGuidance()
89 return new Guidance(title, description, null, null); in onCreateGuidance()
/packages/apps/Car/libs/car-stream-lib/src/com/android/car/stream/
DStreamCard.java77 CharSequence primaryText, CharSequence secondaryText, String description, in StreamCard() argument
88 mDescription = description; in StreamCard()
227 private String description; field in StreamCard.Builder
239 secondaryIcon, primaryText, secondaryText, description, cardExtension); in build()
285 public Builder setDescription(String description) { in setDescription() argument
286 this.description = description; in setDescription()
/packages/apps/Dialer/java/com/android/dialer/app/voicemail/error/
DVoicemailErrorMessage.java46 private final CharSequence description; field in VoicemailErrorMessage
86 return description; in getDescription()
103 public VoicemailErrorMessage(CharSequence title, CharSequence description, Action... actions) { in VoicemailErrorMessage() argument
104 this(title, description, Arrays.asList(actions)); in VoicemailErrorMessage()
108 CharSequence title, CharSequence description, @Nullable List<Action> actions) { in VoicemailErrorMessage() argument
110 this.description = description; in VoicemailErrorMessage()
/packages/apps/Car/LocalMediaPlayer/src/com/android/car/media/localmediaplayer/
DPlayer.java206 MediaDescription description = item.getDescription(); in saveState() local
207 song.mediaId = description.getMediaId(); in saveState()
208 song.title = description.getTitle().toString(); in saveState()
209 song.subtitle = description.getSubtitle().toString(); in saveState()
210 song.path = description.getExtras().getString(DataModel.PATH_KEY); in saveState()
246 MediaDescription description = new MediaDescription.Builder() in maybeRebuildQueue() local
252 queue.add(new QueueItem(description, song.queueId)); in maybeRebuildQueue()
549 MediaDescription description = item.getDescription(); in onSkipToQueueItem() local
551 String path = description.getExtras().getString(DataModel.PATH_KEY); in onSkipToQueueItem()
552 MediaMetadata metadata = mDataModel.getMetadata(description.getMediaId()); in onSkipToQueueItem()
/packages/apps/TV/src/com/android/tv/dvr/ui/
DDvrConflictFragment.java181 String description = getConflictDescription(); in onCreateGuidance() local
182 if (description == null) { in onCreateGuidance()
186 return new Guidance(title, descriptionPrefix + " " + description, null, icon); in onCreateGuidance()
232 String description = getConflictDescription(); in onCreateGuidance() local
233 if (description == null) { in onCreateGuidance()
237 return new Guidance(title, descriptionPrefix + " " + description, null, icon); in onCreateGuidance()
284 String description = getResources().getString( in onCreateGuidance() local
286 return new Guidance(title, description, null, null); in onCreateGuidance()
/packages/apps/Settings/src/com/android/settings/applications/
DRunningServiceDetails.java278 TextView description = (TextView)root.findViewById(R.id.comp_description); in addServiceDetailsView() local
286 description.setVisibility(View.GONE); in addServiceDetailsView()
290 description.setText(getActivity().getPackageManager().getText( in addServiceDetailsView()
295 description.setText(R.string.background_process_stop_description); in addServiceDetailsView()
301description.setText(getActivity().getString(R.string.service_manage_description, in addServiceDetailsView()
306 description.setText(getActivity().getText(si != null in addServiceDetailsView()
344 TextView description = (TextView)root.findViewById(R.id.comp_description); in addProcessDetailsView() local
348 description.setVisibility(View.GONE); in addProcessDetailsView()
350 description.setText(R.string.main_running_process_description); in addProcessDetailsView()
385 description.setText(getActivity().getString(textid, label)); in addProcessDetailsView()
[all …]

123456789