Searched refs:title (Results 201 - 225 of 426) sorted by relevance

1234567891011>>

/frameworks/support/media/src/main/java/android/support/v4/media/
H A DMediaDescriptionCompat.java155 * A primary title suitable for display or null.
188 MediaDescriptionCompat(String mediaId, CharSequence title, CharSequence subtitle, argument
191 mTitle = title;
221 * Returns a title suitable for display or null.
223 * @return A title or null.
460 * Sets the title.
462 * @param title A title suitable for display to the user or null.
465 public Builder setTitle(@Nullable CharSequence title) { argument
466 mTitle = title;
[all...]
/frameworks/support/preference/src/androidTest/java/androidx/preference/tests/
H A DPreferenceSingleLineTitleTest.java55 when(mViewGroup.findViewById(android.R.id.title)).thenReturn(mTitleView);
H A DExpandablePreferenceTest.java163 // If the nested category has a title, display that in the summary instead of the children
164 final String title = "Category";
165 nestedCategory.setTitle(title);
174 assertEquals(title, preferenceGroupAdapter.getItem(2).getSummary());
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/view/menu/
H A DListMenuItemView.java108 mTitleView = findViewById(R.id.title);
157 public void setTitle(CharSequence title) { argument
158 if (title != null) {
159 mTitleView.setText(title);
/frameworks/base/core/java/android/preference/
H A DPreference.java489 * {@link android.R.id#title} and {@link android.R.id#summary}.
608 final TextView titleView = (TextView) view.findViewById(com.android.internal.R.id.title);
610 final CharSequence title = getTitle();
611 if (!TextUtils.isEmpty(title)) {
612 titleView.setText(title);
710 * Sets the title for this Preference with a CharSequence. This title will be placed into the ID
711 * {@link android.R.id#title} within the View created by {@link #onCreateView(ViewGroup)}.
713 * @param title the title fo
715 setTitle(CharSequence title) argument
[all...]
/frameworks/base/core/tests/coretests/src/android/view/
H A DMenuTest.java99 final String title = "test";
100 final MenuItem stringItem = mMenu.add(title);
103 Assert.assertEquals(title, stringItem.getTitle());
/frameworks/base/services/core/java/com/android/server/am/
H A DPreBootBroadcaster.java134 final CharSequence title = context
155 .setTicker(title)
158 .setContentTitle(title)
/frameworks/support/leanback/src/main/java/androidx/leanback/app/
H A DBrandedFragment.java42 // BUNDLE attribute for title is showing
57 * title view. Default implementation uses layout file lb_browse_title.
60 * null if no title is needed.
64 * @param parent Parent of title view.
68 * {@link TitleViewAdapter.Provider}, or null for no title view.
80 * Inflate title view and add to parent. This method should be called in
84 * @param parent Parent of title view.
133 * Returns the {@link TitleViewAdapter} implemented by title view.
134 * @return The {@link TitleViewAdapter} implemented by title view.
172 * Shows or hides the title vie
228 setTitle(CharSequence title) argument
[all...]
H A DBrandedSupportFragment.java37 // BUNDLE attribute for title is showing
52 * title view. Default implementation uses layout file lb_browse_title.
55 * null if no title is needed.
59 * @param parent Parent of title view.
63 * {@link TitleViewAdapter.Provider}, or null for no title view.
75 * Inflate title view and add to parent. This method should be called in
79 * @param parent Parent of title view.
128 * Returns the {@link TitleViewAdapter} implemented by title view.
129 * @return The {@link TitleViewAdapter} implemented by title view.
167 * Shows or hides the title vie
223 setTitle(CharSequence title) argument
[all...]
/frameworks/support/navigation/ui/src/main/java/androidx/navigation/ui/
H A DNavigationUI.java117 * <p>By calling this method, the title in the action bar will automatically be updated when
126 * on this NavController will be reflected in the title of the action bar.
137 * <p>By calling this method, the title in the action bar will automatically be updated when
146 * in the title of the action bar.
263 * updating the title and updating the Up Indicator transitioning between the
282 CharSequence title = destination.getLabel();
283 if (!TextUtils.isEmpty(title)) {
284 actionBar.setTitle(title);
/frameworks/support/preference/src/main/java/androidx/preference/
H A DPreference.java75 * @attr name android:title
506 * {@link android.R.id#title} and {@link android.R.id#summary}.
568 final TextView titleView = (TextView) holder.findViewById(android.R.id.title);
570 final CharSequence title = getTitle();
571 if (!TextUtils.isEmpty(title)) {
572 titleView.setText(title);
694 * Sets the title for this Preference with a CharSequence.
695 * This title will be placed into the ID
696 * {@link android.R.id#title} within the View bound by
699 * @param title Th
701 setTitle(CharSequence title) argument
[all...]
/frameworks/support/compat/src/main/java/androidx/core/app/
H A DNotificationCompat.java227 * Notification extras key: this is the title of the notification,
230 public static final String EXTRA_TITLE = "android.title";
233 * Notification extras key: this is the title of the notification when shown in expanded form,
400 * Notification key: a {@link String} to be displayed as the title to a conversation
810 * Set the title (first row) of the notification, in a standard notification.
812 public Builder setContentTitle(CharSequence title) { argument
813 mContentTitle = limitCharSequenceLength(title);
1344 * @param title Text describing the action.
1347 public Builder addAction(int icon, CharSequence title, PendingIntent intent) { argument
1348 mActions.add(new Action(icon, title, inten
1382 addInvisibleAction(int icon, CharSequence title, PendingIntent intent) argument
1993 setBigContentTitle(CharSequence title) argument
2080 setBigContentTitle(CharSequence title) argument
2819 setBigContentTitle(CharSequence title) argument
3107 public CharSequence title; field in class:NotificationCompat.Action
3114 Action(int icon, CharSequence title, PendingIntent intent) argument
3118 Action(int icon, CharSequence title, PendingIntent intent, Bundle extras, RemoteInput[] remoteInputs, RemoteInput[] dataOnlyRemoteInputs, boolean allowGeneratedReplies, @SemanticAction int semanticAction, boolean showsUserInterface) argument
3221 Builder(int icon, CharSequence title, PendingIntent intent) argument
3236 Builder(int icon, CharSequence title, PendingIntent intent, Bundle extras, RemoteInput[] remoteInputs, boolean allowGeneratedReplies, @SemanticAction int semanticAction, boolean showsUserInterface) argument
[all...]
/frameworks/native/cmds/dumpstate/
H A Ddumpstate.cpp125 static int RunCommand(const std::string& title, const std::vector<std::string>& fullCommand, argument
127 return ds.RunCommand(title, fullCommand, options);
129 static void RunDumpsys(const std::string& title, const std::vector<std::string>& dumpsysArgs, argument
132 return ds.RunDumpsys(title, dumpsysArgs, options, dumpsysTimeoutMs);
134 static int DumpFile(const std::string& title, const std::string& path) { argument
135 return ds.DumpFile(title, path);
154 static constexpr char PROPERTY_EXTRA_TITLE[] = "dumpstate.options.title";
284 std::string title = "MOUNT INFO";
286 DurationReporter duration_reporter(title, true);
288 MYLOGD("%s: %d entries added to zip file\n", title
291 dump_dev_files(const char *title, const char *driverpath, const char *filename) argument
1108 RunDumpsysTextByPriority(const std::string& title, int priority, std::chrono::milliseconds timeout, std::chrono::milliseconds service_timeout) argument
1145 RunDumpsysText(const std::string& title, int priority, std::chrono::milliseconds timeout, std::chrono::milliseconds service_timeout) argument
1155 RunDumpsysTextNormalPriority(const std::string& title, std::chrono::milliseconds timeout, std::chrono::milliseconds service_timeout) argument
1167 RunDumpsysProto(const std::string& title, int priority, std::chrono::milliseconds timeout, std::chrono::milliseconds service_timeout) argument
[all...]
/frameworks/support/v7/appcompat/src/main/java/androidx/appcompat/app/
H A DAlertDialog.java144 public void setTitle(CharSequence title) { argument
145 super.setTitle(title);
146 mAlert.setTitle(title);
257 * Set the {@link Drawable} to be used in the title.
362 * Set the title using the given resource id.
372 * Set the title displayed in the {@link Dialog}.
376 public Builder setTitle(@Nullable CharSequence title) { argument
377 P.mTitle = title;
382 * Set the title using the custom view {@code customTitleView}.
385 * be sufficient for most titles, but this is provided if the title
[all...]
/frameworks/base/core/java/android/app/
H A DDownloadManager.java73 * The client-supplied title for this download. This will be displayed in system notifications.
586 * Set the title of this download, to be displayed in notifications (if enabled). If no
587 * title is given, a default one will be assigned based on the download filename, once the
591 public Request setTitle(CharSequence title) { argument
592 mTitle = title;
1316 * @param title the title that would appear for this file in Downloads App.
1330 public long addCompletedDownload(String title, String description, argument
1333 return addCompletedDownload(title, description, isMediaScannerScannable, mimeType, path,
1345 * @param title th
1361 addCompletedDownload(String title, String description, boolean isMediaScannerScannable, String mimeType, String path, long length, boolean showNotification, Uri uri, Uri referer) argument
1369 addCompletedDownload(String title, String description, boolean isMediaScannerScannable, String mimeType, String path, long length, boolean showNotification, boolean allowWrite) argument
1377 addCompletedDownload(String title, String description, boolean isMediaScannerScannable, String mimeType, String path, long length, boolean showNotification, boolean allowWrite, Uri uri, Uri referer) argument
[all...]
H A DNotification.java935 * {@link #extras} key: this is the title of the notification,
938 public static final String EXTRA_TITLE = "android.title";
941 * {@link #extras} key: this is the title of the notification when shown in expanded form,
1165 * {@link #extras} key: a {@link CharSequence} to be displayed as the title to a conversation
1425 public CharSequence title; field in class:Notification.Action
1440 title = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in);
1454 public Action(int icon, CharSequence title, PendingIntent intent) { argument
1455 this(Icon.createWithResource("", icon), title, intent, new Bundle(), null, true,
1460 private Action(Icon icon, CharSequence title, PendingIntent intent, Bundle extras, argument
1467 this.title
1552 Builder(int icon, CharSequence title, PendingIntent intent) argument
1562 Builder(Icon icon, CharSequence title, PendingIntent intent) argument
1577 Builder(Icon icon, CharSequence title, PendingIntent intent, Bundle extras, RemoteInput[] remoteInputs, boolean allowGeneratedReplies, @SemanticAction int semanticAction) argument
3503 setContentTitle(CharSequence title) argument
4156 addAction(int icon, CharSequence title, PendingIntent intent) argument
5997 internalSetBigContentTitle(CharSequence title) argument
6234 setBigContentTitle(CharSequence title) argument
6460 setBigContentTitle(CharSequence title) argument
7489 setBigContentTitle(CharSequence title) argument
9660 CharSequence title; field in class:Notification.StandardTemplateParams
9682 title(CharSequence title) argument
[all...]
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/
H A DAddPrinterActivity.java555 TextView title = (TextView) convertView.findViewById(R.id.title);
559 title.setText(service.getResolveInfo().loadLabel(getPackageManager()));
603 TextView title = (TextView) convertView.findViewById(R.id.title);
606 title.setText(service.getResolveInfo().loadLabel(getPackageManager()));
708 ((TextView) convertView.findViewById(R.id.title)).setText(recommendation.getName());
/frameworks/support/leanback/src/main/java/androidx/leanback/widget/
H A DSearchBar.java376 * Sets the title text used in the hint shown in the search bar.
377 * @param title The hint to use.
379 public void setTitle(String title) { argument
380 mTitle = title;
407 * Returns the current title
525 * This will update the hint for the search bar properly depending on state and provided title
528 String title = getResources().getString(R.string.lb_search_bar_hint);
531 title = getResources().getString(R.string.lb_search_bar_hint_with_title_speech, mTitle);
533 title = getResources().getString(R.string.lb_search_bar_hint_with_title, mTitle);
536 title
[all...]
/frameworks/base/core/java/com/android/internal/app/
H A DResolverActivity.java202 for (ActionTitle title : values()) {
203 if (title != HOME && action != null && action.equals(title.action)) {
204 return title;
243 * a default title resource
246 CharSequence title, Intent[] initialIntents,
248 onCreate(savedInstanceState, intent, title, 0, initialIntents, rList,
253 CharSequence title, int defaultTitleRes, Intent[] initialIntents,
287 mTitle = title;
446 final ActionTitle title
245 onCreate(Bundle savedInstanceState, Intent intent, CharSequence title, Intent[] initialIntents, List<ResolveInfo> rList, boolean supportsAlwaysUseOption) argument
252 onCreate(Bundle savedInstanceState, Intent intent, CharSequence title, int defaultTitleRes, Intent[] initialIntents, List<ResolveInfo> rList, boolean supportsAlwaysUseOption) argument
[all...]
/frameworks/base/packages/SystemUI/src/com/android/keyguard/
H A DKeyguardSliceView.java127 mTitle = findViewById(R.id.title);
179 CharSequence title = mainTitle != null ? mainTitle.getText() : null;
180 mTitle.setText(title);
323 * Runnable that gets invoked every time the title or the row visibility changes.
576 CharSequence title = getText();
577 CharSequence bestLineBreak = findBestLineBreak(title);
578 if (!TextUtils.equals(title, bestLineBreak)) {
/frameworks/rs/script_api/
H A DGenerateDocumentation.cpp35 static void writeHeader(GeneratedFile* file, const string& title, argument
42 " <title>RenderScript " << title << "</title>\n" local
494 *file << " <h4 class='jd-details-title'>\n";
533 *file << " <h4 class='jd-details-title'>\n";
562 *file << " <h4 class='jd-details-title'>\n";
632 string title = specFile.getBriefDescription(); local
633 writeHeader(&file, title, specFile);
685 static void generateSnippet(GeneratedFile* file, const string& fileName, const string& title) { argument
689 *file << offset << " <span class=\\"en\\">" << title << "</span>\\n"; local
[all...]
/frameworks/base/core/tests/coretests/src/android/app/
H A DDownloadManagerFunctionalTest.java335 * Tests that we can set the title of a download.
343 // An arbitrary unicode string title
344 final String title = "\u00a5123;\"\u0152\u017d \u054b \u0a07 \ucce0 \u6820\u03a8\u5c34" +
349 request.setTitle(title);
356 verifyString(cursor, DownloadManager.COLUMN_TITLE, title);
/frameworks/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
H A DAppCompatActionBar.java144 protected void setTitle(CharSequence title) { argument
145 if (title != null && mWindowDecorActionBar != null) {
147 invoke(setTitle, mWindowDecorActionBar, title);
/frameworks/support/browser/src/main/java/androidx/browser/browseractions/
H A DBrowserActionsIntent.java73 * Extra string that specifies the title of a custom item shown in the Browser Actions menu.
214 "Custom item should contain a non-empty title and non-null intent.");
398 String title = bundle.getString(BrowserActionsIntent.KEY_TITLE);
402 if (TextUtils.isEmpty(title) || action == null) {
404 "Custom item should contain a non-empty title and non-null intent.");
406 BrowserActionItem item = new BrowserActionItem(title, action, iconId);
/frameworks/support/frameworks/support/samples/SupportLeanbackDemos/src/main/java/com/example/android/leanback/
H A DMainActivity.java49 String title = getString(R.string.main_title);
55 return new Guidance(title, description, breadcrumb, icon);
155 .title(getString(titleRes))

Completed in 808 milliseconds

1234567891011>>