Searched refs:title (Results 26 - 50 of 133) sorted by relevance

123456

/frameworks/support/v4/java/android/support/v4/app/
H A DNotificationCompat.java123 jbBuilder.addAction(action.icon, action.title, action.actionIntent);
262 * Set the title (first row) of the notification, in a standard notification.
264 public Builder setContentTitle(CharSequence title) { argument
265 mContentTitle = title;
526 * @param title Text describing the action.
529 public Builder addAction(int icon, CharSequence title, PendingIntent intent) { argument
530 mActions.add(new Action(icon, title, intent));
626 public BigPictureStyle setBigContentTitle(CharSequence title) { argument
627 mBigContentTitle = title;
680 public BigTextStyle setBigContentTitle(CharSequence title) { argument
738 setBigContentTitle(CharSequence title) argument
763 public CharSequence title; field in class:NotificationCompat.Action
[all...]
/frameworks/base/core/java/android/app/
H A DFragmentBreadCrumbs.java132 * @param title the title for the parent entry
133 * @param shortTitle the short title for the parent entry
137 public void setParentTitle(CharSequence title, CharSequence shortTitle, argument
139 mParentEntry = createBackStackEntry(title, shortTitle);
154 private BackStackRecord createBackStackEntry(CharSequence title, CharSequence shortTitle) { argument
155 if (title == null) return null;
159 entry.setBreadCrumbTitle(title);
165 * Set a custom title for the bread crumbs. This will be the first entry
167 * title i
169 setTitle(CharSequence title, CharSequence shortTitle) argument
[all...]
H A DProgressDialog.java92 public static ProgressDialog show(Context context, CharSequence title, argument
94 return show(context, title, message, false);
97 public static ProgressDialog show(Context context, CharSequence title, argument
99 return show(context, title, message, indeterminate, false, null);
102 public static ProgressDialog show(Context context, CharSequence title, argument
104 return show(context, title, message, indeterminate, cancelable, null);
107 public static ProgressDialog show(Context context, CharSequence title, argument
111 dialog.setTitle(title);
H A DTabActivity.java146 onChildTitleChanged(Activity childActivity, CharSequence title) { argument
151 ((TextView) tabView).setText(title);
H A DNotification.java443 * Structure to encapsulate an "action", including title and icon, that can be attached to a Notification.
448 public CharSequence title; field in class:Notification.Action
454 title = TextUtils.CHAR_SEQUENCE_CREATOR.createFromParcel(in);
461 this.title = title_;
468 this.title.toString(),
479 TextUtils.writeToParcel(title, out, flags);
789 * @param contentTitle The title that goes in the expanded entry.
816 contentView.setTextViewText(R.id.title, contentTitle);
1077 public Builder setContentTitle(CharSequence title) { argument
1078 mContentTitle = title;
1389 addAction(int icon, CharSequence title, PendingIntent intent) argument
1662 internalSetBigContentTitle(CharSequence title) argument
1756 setBigContentTitle(CharSequence title) argument
1837 setBigContentTitle(CharSequence title) argument
1921 setBigContentTitle(CharSequence title) argument
[all...]
H A DDatePickerDialog.java164 String title = DateUtils.formatDateTime(mContext,
171 setTitle(title);
/frameworks/base/core/java/android/view/
H A DActionMode.java64 * Set the title of the action mode. This method will have no visible effect if
67 * @param title Title string to set
72 public abstract void setTitle(CharSequence title); argument
75 * Set the title of the action mode. This method will have no visible effect if
78 * @param resId Resource ID of a string to set as the title
108 * Set whether or not the title/subtitle display for this action mode
111 * <p>In many cases the supplied title for an action mode is merely
113 * mode to be useful. If the title is optional, the system may choose
114 * to hide the title entirely rather than truncate it due to a lack
120 * @param titleOptional true if the title onl
[all...]
H A DWindow.java33 * window manager. It provides standard UI policies such as a background, title
45 /** Flag for the "no title" feature, turning off the title at the top
50 /** Flag for having an icon on the left side of the title bar */
52 /** Flag for having an icon on the right side of the title bar */
58 /** Flag for custom title. You cannot combine this feature with other title features. */
63 * replaces the title bar and provides an alternate location
428 // Embedded screens never have a title.
500 String title;
969 setTitle(CharSequence title) argument
[all...]
/frameworks/base/core/java/com/android/internal/view/menu/
H A DMenuItemImpl.java112 * @param title The text to display for the item.
115 CharSequence title, int showAsAction) {
134 mTitle = title;
334 * Gets the title for a particular {@link ItemView}
336 * @param itemView The ItemView that is receiving the title
337 * @return Either the title or condensed title based on what the ItemView
346 public MenuItem setTitle(CharSequence title) { argument
347 mTitle = title;
352 mSubMenu.setHeaderTitle(title);
114 MenuItemImpl(MenuBuilder menu, int group, int id, int categoryOrder, int ordering, CharSequence title, int showAsAction) argument
358 setTitle(int title) argument
366 setTitleCondensed(CharSequence title) argument
[all...]
H A DSubMenuBuilder.java103 public SubMenu setHeaderTitle(CharSequence title) { argument
104 return (SubMenu) super.setHeaderTitleInt(title);
H A DActionMenu.java51 public MenuItem add(CharSequence title) { argument
52 return add(0, 0, 0, title);
63 public MenuItem add(int groupId, int itemId, int order, CharSequence title) { argument
65 groupId, itemId, 0, order, title);
100 public SubMenu addSubMenu(CharSequence title) { argument
111 CharSequence title) {
110 addSubMenu(int groupId, int itemId, int order, CharSequence title) argument
H A DIconMenuItemView.java90 * Initializes with the provided title and icon
91 * @param title The title of this item
94 void initialize(CharSequence title, Drawable icon) { argument
102 setTitle(title);
134 public void setTitle(CharSequence title) { argument
138 * Don't set the title directly since it will replace the
139 * shortcut+title being shown. Instead, re-set the shortcut caption
140 * mode so the new title is shown.
144 } else if (title !
[all...]
H A DMenuBuilder.java125 /** Header title for menu types that have a header (context and submenus) */
386 private MenuItem addInternal(int group, int id, int categoryOrder, CharSequence title) { argument
390 ordering, title, mDefaultShowAsAction);
403 public MenuItem add(CharSequence title) { argument
404 return addInternal(0, 0, 0, title);
411 public MenuItem add(int group, int id, int categoryOrder, CharSequence title) { argument
412 return addInternal(group, id, categoryOrder, title);
415 public MenuItem add(int group, int id, int categoryOrder, int title) { argument
416 return addInternal(group, id, categoryOrder, mResources.getString(title));
419 public SubMenu addSubMenu(CharSequence title) { argument
427 addSubMenu(int group, int id, int categoryOrder, CharSequence title) argument
435 addSubMenu(int group, int id, int categoryOrder, int title) argument
1093 setHeaderInternal(final int titleRes, final CharSequence title, final int iconRes, final Drawable icon, final View view) argument
1131 setHeaderTitleInt(CharSequence title) argument
[all...]
H A DListMenuItemView.java84 mTitleView = (TextView) findViewById(com.android.internal.R.id.title);
110 public void setTitle(CharSequence title) { argument
111 if (title != null) {
112 mTitleView.setText(title);
/frameworks/base/core/tests/notificationtests/src/android/app/
H A DNotificationStressTest.java86 CharSequence title = text + " " + id;
88 notification.setLatestEventInfo(mContext, title, subtitle, pendingIntent);
/frameworks/base/location/java/com/android/internal/location/
H A DGpsNetInitiatedHandler.java52 public static final String NI_INTENT_KEY_TITLE = "title";
188 String title = getNotifTitle(notif, mContext);
192 ", title: " + title +
214 mNiNotification.setLatestEventInfo(mContext, title, message, pi);
237 String title = getDialogTitle(notif, mContext);
246 intent.putExtra(NI_INTENT_KEY_TITLE, title);
251 if (DEBUG) Log.d(TAG, "generateIntent, title: " + title + ", message: " + message +
400 String title
[all...]
/frameworks/base/core/java/android/preference/
H A DPreference.java392 * {@link android.R.id#title} and {@link android.R.id#summary}.
508 com.android.internal.R.id.title);
510 final CharSequence title = getTitle();
511 if (!TextUtils.isEmpty(title)) {
512 titleView.setText(title);
597 * Sets the title for this Preference with a CharSequence.
598 * This title will be placed into the ID
599 * {@link android.R.id#title} within the View created by
602 * @param title The title fo
604 setTitle(CharSequence title) argument
[all...]
H A DPreferenceScreen.java60 android:title="WiFi" /&gt;
63 android:title="WiFi settings"&gt;
66 android:title="Prefer WiFi" /&gt;
172 // Set the title bar if title is available, else no title bar
173 final CharSequence title = getTitle();
175 if (TextUtils.isEmpty(title)) {
178 dialog.setTitle(title);
/frameworks/base/core/java/android/net/
H A DCaptivePortalTracker.java331 CharSequence title;
336 title = r.getString(R.string.wifi_available_sign_in, 0);
342 title = r.getString(R.string.network_available_sign_in, 0);
349 title = r.getString(R.string.network_available_sign_in, 0);
364 notification.tickerText = title;
365 notification.setLatestEventInfo(mContext, title, details, notification.contentIntent);
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ui/
H A DDirListActivity.java271 * Prevents the activity from recreating on change of orientation. The title needs to
374 * TODO: find a neat way to determine number of characters that fit in the title
377 private String shortenTitle(String title) { argument
378 if (title.equals("")) {
383 if (title.length() > charCount) {
384 return "..." + title.substring(title.length() - charCount);
386 return title;
/frameworks/base/core/java/com/android/internal/view/
H A DStandaloneActionMode.java55 public void setTitle(CharSequence title) { argument
56 mContextView.setTitle(title);
/frameworks/base/core/tests/coretests/src/android/view/menu/
H A DMenuScenario.java169 public Params setItemTitle(int itemPos, CharSequence title) { argument
170 itemTitles.put(itemPos, title);
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/
H A DAbstractResult.java68 private ResultCode(String title) { argument
69 mTitle = title;
/frameworks/support/v4/jellybean/android/support/v4/app/
H A DNotificationCompatJellybean.java61 public void addAction(int icon, CharSequence title, PendingIntent intent) { argument
62 b.addAction(icon, title, intent);
/frameworks/base/packages/SystemUI/src/com/android/systemui/usb/
H A DStorageNotification.java295 CharSequence title = r.getText(titleId);
312 mUsbStorageNotification.tickerText = title;
319 mUsbStorageNotification.setLatestEventInfo(mContext, title, message, pi);
385 CharSequence title = r.getText(titleId);
401 mMediaStorageNotification.tickerText = title;
409 mMediaStorageNotification.setLatestEventInfo(mContext, title, message, pi);

Completed in 322 milliseconds

123456