/frameworks/support/v4/java/android/support/v4/app/ |
H A D | NotificationCompat.java | 123 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 D | FragmentBreadCrumbs.java | 132 * @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 D | ProgressDialog.java | 92 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 D | TabActivity.java | 146 onChildTitleChanged(Activity childActivity, CharSequence title) { argument 151 ((TextView) tabView).setText(title);
|
H A D | Notification.java | 443 * 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 D | DatePickerDialog.java | 164 String title = DateUtils.formatDateTime(mContext, 171 setTitle(title);
|
/frameworks/base/core/java/android/view/ |
H A D | ActionMode.java | 64 * 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 D | Window.java | 33 * 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 D | MenuItemImpl.java | 112 * @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 D | SubMenuBuilder.java | 103 public SubMenu setHeaderTitle(CharSequence title) { argument 104 return (SubMenu) super.setHeaderTitleInt(title);
|
H A D | ActionMenu.java | 51 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 D | IconMenuItemView.java | 90 * 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 D | MenuBuilder.java | 125 /** 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 D | ListMenuItemView.java | 84 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 D | NotificationStressTest.java | 86 CharSequence title = text + " " + id; 88 notification.setLatestEventInfo(mContext, title, subtitle, pendingIntent);
|
/frameworks/base/location/java/com/android/internal/location/ |
H A D | GpsNetInitiatedHandler.java | 52 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 D | Preference.java | 392 * {@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 D | PreferenceScreen.java | 60 android:title="WiFi" /> 63 android:title="WiFi settings"> 66 android:title="Prefer WiFi" /> 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 D | CaptivePortalTracker.java | 331 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 D | DirListActivity.java | 271 * 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 D | StandaloneActionMode.java | 55 public void setTitle(CharSequence title) { argument 56 mContextView.setTitle(title);
|
/frameworks/base/core/tests/coretests/src/android/view/menu/ |
H A D | MenuScenario.java | 169 public Params setItemTitle(int itemPos, CharSequence title) { argument 170 itemTitles.put(itemPos, title);
|
/frameworks/base/tests/DumpRenderTree2/src/com/android/dumprendertree2/ |
H A D | AbstractResult.java | 68 private ResultCode(String title) { argument 69 mTitle = title;
|
/frameworks/support/v4/jellybean/android/support/v4/app/ |
H A D | NotificationCompatJellybean.java | 61 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 D | StorageNotification.java | 295 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);
|