/packages/apps/Settings/src/com/android/settings/ |
D | ChooseLockSettingsHelper.java | 67 public boolean launchConfirmationActivity(int request, CharSequence title) { in launchConfirmationActivity() argument 68 return launchConfirmationActivity(request, title, null, null, false, false); in launchConfirmationActivity() 80 boolean launchConfirmationActivity(int request, CharSequence title, boolean returnCredentials) { in launchConfirmationActivity() argument 81 return launchConfirmationActivity(request, title, null, null, returnCredentials, false); in launchConfirmationActivity() 94 public boolean launchConfirmationActivity(int request, CharSequence title, in launchConfirmationActivity() argument 96 return launchConfirmationActivity(request, title, null, null, in launchConfirmationActivity() 114 boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity() argument 117 return launchConfirmationActivity(request, title, header, description, in launchConfirmationActivity() 136 boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity() argument 139 return launchConfirmationActivity(request, title, header, description, in launchConfirmationActivity() [all …]
|
D | ConfirmDeviceCredentialActivity.java | 41 public static Intent createIntent(CharSequence title, CharSequence details) { in createIntent() argument 45 intent.putExtra(KeyguardManager.EXTRA_TITLE, title); in createIntent() 50 public static Intent createIntent(CharSequence title, CharSequence details, long challenge) { in createIntent() argument 54 intent.putExtra(KeyguardManager.EXTRA_TITLE, title); in createIntent() 66 String title = intent.getStringExtra(KeyguardManager.EXTRA_TITLE); in onCreate() local 79 if ((title == null) && isManagedProfile) { in onCreate() 80 title = getTitleFromOrganizationName(userId); in onCreate() 93 0 /* request code */, null /* title */, title, details, true /* isExternal */, in onCreate() 97 title, details, false /* returnCredentials */, true /* isExternal */, userId); in onCreate()
|
D | SettingsActivity.java | 425 CharSequence title = pref.getTitle(); in onPreferenceStartFragment() local 427 title = getString(R.string.wallpaper_settings_fragment_title); in onPreferenceStartFragment() 429 startPreferencePanel(pref.getFragment(), pref.getExtras(), -1, title, in onPreferenceStartFragment() local 759 final CharSequence title; in setTitleFromBackStackEntry() local 762 title = getText(titleRes); in setTitleFromBackStackEntry() 764 title = bse.getBreadCrumbTitle(); in setTitleFromBackStackEntry() 766 if (title != null) { in setTitleFromBackStackEntry() 767 setTitle(title); in setTitleFromBackStackEntry() 914 String title = null; in startPreferencePanel() local 917 title = titleText.toString(); in startPreferencePanel() [all …]
|
/packages/apps/Camera2/src/com/android/camera/ |
D | Storage.java | 91 public static Uri addImage(ContentResolver resolver, String title, long date, in addImage() argument 95 return addImage(resolver, title, date, location, orientation, exif, jpeg, width, height, in addImage() 120 public static Uri addImage(ContentResolver resolver, String title, long date, in addImage() argument 124 String path = generateFilepath(title, mimeType); in addImage() 127 return addImageToMediaStore(resolver, title, date, location, orientation, fileLength, in addImage() 149 public static Uri addImageToMediaStore(ContentResolver resolver, String title, long date, in addImageToMediaStore() argument 154 getContentValuesForData(title, date, location, orientation, jpegLength, path, width, in addImageToMediaStore() 172 public static ContentValues getContentValuesForData(String title, in getContentValuesForData() argument 180 values.put(ImageColumns.TITLE, title); in getContentValuesForData() 181 values.put(ImageColumns.DISPLAY_NAME, title + JPEG_POSTFIX); in getContentValuesForData() [all …]
|
D | MediaSaverImpl.java | 69 public void addImage(final byte[] data, String title, long date, Location loc, int width, in addImage() argument 71 addImage(data, title, date, loc, width, height, orientation, exif, l, in addImage() 76 public void addImage(final byte[] data, String title, long date, Location loc, int width, in addImage() argument 83 ImageSaveTask t = new ImageSaveTask(data, title, date, in addImage() 95 public void addImage(final byte[] data, String title, long date, Location loc, int orientation, in addImage() argument 99 addImage(data, title, date, loc, 0, 0, orientation, exif, l, in addImage() 103 public void addImage(final byte[] data, String title, Location loc, int width, int height, in addImage() argument 105 addImage(data, title, System.currentTimeMillis(), loc, width, height, orientation, exif, l, in addImage() 139 private final String title; field in MediaSaverImpl.ImageSaveTask 149 public ImageSaveTask(byte[] data, String title, long date, Location loc, in ImageSaveTask() argument [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | IconCache.java | 82 public CharSequence title = ""; field in IconCache.CacheEntry 386 entry.title = app.getLabel(); in updateCacheAndGetContentValues() 387 entry.contentDescription = mUserManager.getBadgedLabelForUser(entry.title, app.getUser()); in updateCacheAndGetContentValues() 390 return newContentValues(entry.icon, entry.title.toString(), mActivityBgColor); in updateCacheAndGetContentValues() 438 application.title = Utilities.trim(entry.title); in getTitleAndIcon() 451 application.title = Utilities.trim(entry.title); in updateTitleAndIcon() 485 shortcutInfo.title = ""; in getTitleAndIcon() 502 shortcutInfo.title = Utilities.trim(entry.title); in getTitleAndIcon() 515 infoOut.title = Utilities.trim(entry.title); in getTitleAndIconForApp() 556 entry.title = packageEntry.title; in cacheLocked() [all …]
|
D | ShortcutInfo.java | 158 ShortcutInfo(Intent intent, CharSequence title, CharSequence contentDescription, in ShortcutInfo() argument 162 this.title = Utilities.trim(title); in ShortcutInfo() 170 title = Utilities.trim(info.title); in ShortcutInfo() 187 title = Utilities.trim(info.title); in ShortcutInfo() 220 String titleStr = title != null ? title.toString() : null; in onAddToDatabase() 249 return "ShortcutInfo(title=" + title + "intent=" + intent + "id=" + this.id in toString() 259 Log.d(tag, " title=\"" + info.title + " icon=" + info.mIcon in dumpShortcutInfoList() 293 shortcut.title = Utilities.trim(info.getLabel()); in fromActivityInfo()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/ |
D | ContentFragment.java | 44 public static ContentFragment newInstance(String title) { in newInstance() argument 45 return newInstance(title, null, null, 0, Color.TRANSPARENT); in newInstance() 48 public static ContentFragment newInstance(String title, String breadcrumb, 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() [all …]
|
D | DialogActivity.java | 111 public static Intent createIntent(Context context, String title, in createIntent() argument 114 return createIntent(context, title, breadcrumb, description, imageUri, in createIntent() 118 public static Intent createIntent(Context context, String title, in createIntent() argument 122 intent.putExtra(EXTRA_DIALOG_TITLE, title); in createIntent() 132 public static Intent createIntent(Context context, String title, in createIntent() argument 135 return createIntent(context, title, breadcrumb, description, imageUri, Color.TRANSPARENT, in createIntent() 139 public static Intent createIntent(Context context, String title, in createIntent() argument 143 intent.putExtra(EXTRA_DIALOG_TITLE, title); in createIntent() 153 public static Intent createIntent(Context context, String title, in createIntent() argument 158 intent.putExtra(EXTRA_DIALOG_TITLE, title); in createIntent() [all …]
|
D | BaseContentFragment.java | 56 String title, String breadcrumb, String description, int iconResourceId, in buildArgs() argument 58 return buildArgs(title, breadcrumb, description, iconResourceId, null, null, in buildArgs() 62 public static Bundle buildArgs(String title, String breadcrumb, String description, Uri iconUri, in buildArgs() argument 64 return buildArgs(title, breadcrumb, description, 0, iconUri, null, backgroundColor); in buildArgs() 67 public static Bundle buildArgs(String title, String breadcrumb, String description, in buildArgs() argument 69 return buildArgs(title, breadcrumb, description, 0, null, iconBitmap, Color.TRANSPARENT); in buildArgs() 73 String title, String breadcrumb, String description, int iconResourceId, in buildArgs() argument 76 args.putString(EXTRA_TITLE, title); in buildArgs() 169 setText(view, R.id.title, mTitle); in onCreateView() 230 return (TextView) mFragment.getView().findViewById(R.id.title); in getTitle() [all …]
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | InjectedSetting.java | 50 public final String title; field in InjectedSetting 69 String title, int iconId, UserHandle userHandle, String settingsActivity) { in InjectedSetting() argument 72 this.title = Preconditions.checkNotNull(title, "title"); in InjectedSetting() 82 String title, int iconId, UserHandle userHandle, String settingsActivity) { in newInstance() argument 84 TextUtils.isEmpty(title) || TextUtils.isEmpty(settingsActivity)) { in newInstance() 88 + ", title=" + title + ", settingsActivity=" + settingsActivity); in newInstance() 92 return new InjectedSetting(packageName, className, title, iconId, userHandle, in newInstance() 101 ", label=" + title + in toString() 125 && title.equals(that.title) && iconId == that.iconId in equals() 134 result = 31 * result + title.hashCode(); in hashCode()
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
D | ExportProcessor.java | 164 final String title = in runInternal() local 167 doFinishNotification(title, null); in runInternal() 173 final String title = in runInternal() local 175 doFinishNotification(title, null); in runInternal() 192 final String title = in runInternal() 195 doFinishNotification(title, null); in runInternal() 226 final String title = filename == null in runInternal() local 229 doFinishNotification(title, null); in runInternal() 288 private void doFinishNotification(final String title, final String description) { in doFinishNotification() argument 289 if (DEBUG) Log.d(LOG_TAG, "send finish notification: " + title + ", " + description); in doFinishNotification() [all …]
|
/packages/apps/Calendar/tests/src/com/android/calendar/widget/ |
D | CalendarAppWidgetServiceTest.java | 49 final String title = "Title"; field in CalendarAppWidgetServiceTest 106 cursor.addRow(getRow(0, now + ONE_HOUR, now + TWO_HOURS, title, location, 0)); in testGetAppWidgetModel_1Event() 116 eventInfo.title = title; in testGetAppWidgetModel_1Event() 143 eventInfo.title = title + i; in testGetAppWidgetModel_AllDayEventLater() 145 cursor.addRow(getRow(0, now + ONE_HOUR, now + TWO_HOURS, title + i, location + i, 0)); in testGetAppWidgetModel_AllDayEventLater() 165 eventInfo.title = title + i; in testGetAppWidgetModel_AllDayEventLater() 167 cursor.addRow(getRow(1, start, end, title + i, location + i, 0)); in testGetAppWidgetModel_AllDayEventLater() 176 private Object[] getRow(int allDay, long begin, long end, String title, String location, in getRow() argument 182 row[CalendarAppWidgetService.INDEX_TITLE] = new String(title); in getRow()
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/ |
D | ProgramInfo.java | 92 public final String title; field in ProgramInfo 121 public ProgramInfo(String title, String episode, int seasonNumber, int episodeNumber, in ProgramInfo() argument 124 this.title = title; in ProgramInfo() 186 if (!GEN_TITLE.equals(title) in build() 194 GEN_TITLE.equals(title) ? "Title(" + index + ")" : title, in build() 211 return "ProgramInfo{title=" + title in toString() 228 Objects.equals(title, that.title) && in equals() 239 return Objects.hash(title, episode, seasonNumber, episodeNumber); in hashCode() 254 public Builder setTitle(String title) { in setTitle() argument 255 mTitle = title; in setTitle()
|
/packages/apps/Calendar/src/com/android/calendar/widget/ |
D | CalendarAppWidgetModel.java | 81 String title; field in CalendarAppWidgetModel.EventInfo 102 builder.append(title); in toString() 129 result = prime * result + ((title == null) ? 0 : title.hashCode()); in hashCode() 157 if (title == null) { in equals() 158 if (other.title != null) in equals() 160 } else if (!title.equals(other.title)) in equals() 285 final String title = cursor.getString(CalendarAppWidgetService.INDEX_TITLE); in buildFromCursor() local 314 mEventInfos.add(populateEventInfo(eventId, allDay, start, end, startDay, endDay, title, in buildFromCursor() 355 int startDay, int endDay, String title, String location, int color, int selfStatus) { in populateEventInfo() argument 390 if (TextUtils.isEmpty(title)) { in populateEventInfo() [all …]
|
/packages/services/Car/car-ui-provider/src/android/car/ui/provider/ |
D | DrawerController.java | 190 CharSequence title = item.getString(KEY_TITLE); in onItemClicked() local 191 if (TextUtils.isEmpty(title)) { in onItemClicked() 192 title = mContentTitle; in onItemClicked() 194 mUiEntry.setTitleText(title); in onItemClicked() 195 mTitles.push(title); in onItemClicked() 226 public void setTitle(CharSequence title) { in setTitle() argument 227 Log.d(TAG, "setTitle in drawer" + title); in setTitle() 228 if (!TextUtils.isEmpty(title)) { in setTitle() 229 mContentTitle = title; in setTitle() 231 mUiEntry.setTitleText(title); in setTitle() [all …]
|
/packages/apps/TV/src/com/android/tv/ui/sidepanel/ |
D | ActionItem.java | 30 public ActionItem(String title) { in ActionItem() argument 31 this(title, null, 0); in ActionItem() 34 public ActionItem(String title, String description) { in ActionItem() argument 35 this(title, description, 0); in ActionItem() 38 public ActionItem(String title, int iconId) { in ActionItem() argument 39 this(title, null, iconId); in ActionItem() 42 public ActionItem(String title, String description, int iconId) { in ActionItem() argument 43 mTitle = title; in ActionItem() 56 TextView titleView = (TextView) view.findViewById(R.id.title); in onBind()
|
D | SubMenuItem.java | 23 public SubMenuItem(String title, SideFragmentManager fragmentManager) { in SubMenuItem() argument 24 this(title, null, 0, fragmentManager); in SubMenuItem() 27 public SubMenuItem(String title, String description, SideFragmentManager fragmentManager) { in SubMenuItem() argument 28 this(title, description, 0, fragmentManager); in SubMenuItem() 31 public SubMenuItem(String title, int iconId, SideFragmentManager fragmentManager) { in SubMenuItem() argument 32 this(title, null, iconId, fragmentManager); in SubMenuItem() 35 public SubMenuItem(String title, String description, int iconId, in SubMenuItem() argument 37 super(title, description, iconId); in SubMenuItem()
|
/packages/apps/Camera2/src/com/android/camera/session/ |
D | PlaceholderManager.java | 51 Placeholder(String title, Uri uri, long timestamp) { in Placeholder() argument 52 outputTitle = title; in Placeholder() 71 public Placeholder insertEmptyPlaceholder(String title, Size size, long timestamp) { in insertEmptyPlaceholder() argument 73 return new Placeholder(title, uri, timestamp); in insertEmptyPlaceholder() 85 public Placeholder insertPlaceholder(String title, Bitmap placeholder, long timestamp) { in insertPlaceholder() argument 86 if (title == null || placeholder == null) { in insertPlaceholder() 98 return new Placeholder(title, uri, timestamp); in insertPlaceholder() 101 public Placeholder insertPlaceholder(String title, byte[] placeholder, long timestamp) { in insertPlaceholder() argument 102 if (title == null || placeholder == null) { in insertPlaceholder() 108 return insertPlaceholder(title, bitmap, timestamp); in insertPlaceholder()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationStation.java | 69 public CharSequence title; field in NotificationStation.HistoricalNotificationInfo 227 CharSequence title = null; in getTitleString() local 229 title = n.extras.getCharSequence(Notification.EXTRA_TITLE); in getTitleString() 230 if (TextUtils.isEmpty(title)) { in getTitleString() 231 title = n.extras.getCharSequence(Notification.EXTRA_TEXT); in getTitleString() 234 if (TextUtils.isEmpty(title) && !TextUtils.isEmpty(n.tickerText)) { in getTitleString() 235 title = n.tickerText; in getTitleString() 237 return String.valueOf(title); in getTitleString() 280 info.title = getTitleString(n); in loadNotifications() 281 if (TextUtils.isEmpty(info.title)) { in loadNotifications() [all …]
|
/packages/apps/TV/src/com/android/tv/parental/ |
D | ContentRatingSystem.java | 155 String name, String domain, String title, String description, List<String> countries, in ContentRatingSystem() argument 160 mTitle = title; in ContentRatingSystem() 194 public void setTitle(String title) { in setTitle() argument 195 mTitle = title; in setTitle() 341 private Rating(String name, String title, String description, Drawable icon, in Rating() argument 344 mTitle = title; in Rating() 366 public void setTitle(String title) { in setTitle() argument 367 mTitle = title; in setTitle() 441 private SubRating(String name, String title, String description, Drawable icon) { in SubRating() argument 443 mTitle = title; in SubRating() [all …]
|
/packages/apps/Gallery2/src/com/android/gallery3d/ui/ |
D | PopupList.java | 46 public String title; field in PopupList.Item 48 public Item(int id, String title) { in Item() argument 50 this.title = title; in Item() 53 public void setTitle(String title) { in setTitle() argument 54 this.title = title; in setTitle() 78 public void addItem(int id, String title) { in addItem() argument 79 mItems.add(new Item(id, title)); in addItem() 202 text.setText(mItems.get(position).title); in getView()
|
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/ |
D | Setting.java | 32 public Setting(String title) { in Setting() argument 33 mTitle = title; in Setting() 38 public Setting(SharedPreferences sharedPreferences, String key, String title, int max) { in Setting() argument 40 mTitle = title; in Setting() 46 public Setting(SharedPreferences sharedPreferences, String key, String title) { in Setting() argument 48 mTitle = title; in Setting() 61 public void setTitle(String title) { in setTitle() argument 62 mTitle = title; in setTitle()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | Event.java | 122 public CharSequence title; field in Event 161 e.title = title; in clone() 182 dest.title = title; in copyTo() 203 e.title = null; in newInstance() 377 e.title = cEvents.getString(PROJECTION_TITLE_INDEX); in generateEventFromCursor() 383 if (e.title == null || e.title.length() == 0) { in generateEventFromCursor() 384 e.title = mNoTitleString; in generateEventFromCursor() 543 Log.e("Cal", "+ title = " + title); in dump() 592 String text = title.toString(); in getTitleAndLocation()
|
/packages/apps/Camera2/src/com/android/camera/util/ |
D | CaptureDataSerializer.java | 57 public static String toString(String title, CaptureRequest metadata) { in toString() argument 59 dumpMetadata(title, metadata, writer); in toString() 67 public static void toFile(String title, CameraMetadata<?> metadata, File file) { in toFile() argument 72 dumpMetadata(title, (CaptureRequest) metadata, writer); in toFile() 74 dumpMetadata(title, (CaptureResult) metadata, writer); in toFile() 90 private static void dumpMetadata(final String title, final CaptureRequest metadata, in dumpMetadata() argument 96 writer.write(title + '\n'); in dumpMetadata() 113 private static void dumpMetadata(final String title, final CaptureResult metadata, in dumpMetadata() argument 119 writer.write(String.format(title) + '\n'); in dumpMetadata()
|