/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/ |
D | NetworkActivity.java | 168 .title(R.string.title_wifi_proxy_settings) 171 .title(R.string.title_wifi_ip_settings) 176 .title(R.string.title_internet_connection) 189 .add(new Status.Builder(mRes).title(R.string.title_internet_connection) 192 .title(R.string.title_ip_address) 196 .title(R.string.title_mac_address) 200 .title(R.string.wifi_action_advanced_options_title).build() 207 .title(R.string.title_internet_connection) 211 .title(R.string.wifi_action_advanced_options_title).build() 282 .title(R.string.title_internet_connection) [all …]
|
/packages/apps/Browser/src/com/android/browser/ |
D | SuggestionsAdapter.java | 165 tv1.setText(Html.fromHtml(item.title)); in bindView() 255 if (sitem.title != null) { in convertResultToString() 256 return sitem.title; in convertResultToString() 366 sb.append(item.type + ": " + item.title); in toString() 379 public String title; field in SuggestionsAdapter.SuggestItem 385 title = text; in SuggestItem() 423 String title = mCursor.getString(1); in getItem() local 426 return new SuggestItem(getTitle(title, url), getUrl(title, url), in getItem() 472 private String getTitle(String title, String url) { in getTitle() argument 473 if (TextUtils.isEmpty(title) || TextUtils.getTrimmedLength(title) == 0) { in getTitle() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | IconCache.java | 70 public CharSequence title; field in IconCache.CacheEntry 250 application.title = entry.title; in getTitleAndIcon() 260 private Bitmap getIcon(Intent intent, String title, UserHandleCompat user, boolean usePkgIcon) { in getIcon() argument 271 if (title != null) { in getIcon() 272 entry.title = title; in getIcon() 273 entry.contentDescription = mUserManager.getBadgedLabelForUser(title, user); in getIcon() 290 shortcutInfo.title = ""; in getTitleAndIcon() 298 shortcutInfo.title = entry.title; in getTitleAndIcon() 340 entry.title = labelCache.get(labelKey).toString(); in cacheLocked() 342 entry.title = info.getLabel().toString(); in cacheLocked() [all …]
|
D | ShortcutInfo.java | 128 ShortcutInfo(Intent intent, CharSequence title, CharSequence contentDescription, in ShortcutInfo() argument 132 this.title = title; in ShortcutInfo() 140 title = info.title.toString(); in ShortcutInfo() 158 title = info.title.toString(); in ShortcutInfo() 185 String titleStr = title != null ? title.toString() : null; in onAddToDatabase() 213 return "ShortcutInfo(title=" + title + "intent=" + intent + "id=" + this.id in toString() 223 Log.d(tag, " title=\"" + info.title + " icon=" + info.mIcon in dumpShortcutInfoList()
|
/packages/apps/Browser/tests/src/com/android/browser/ |
D | BrowserProviderTests.java | 91 String title = "\u30ae\u30e3\u30e9\u30ea\u30fc\u30fcGoogle\u691c\u7d22"; in testFullTitleJapanese() local 92 assertInsertQuery("http://www.example.com/sdaga", title, title); in testFullTitleJapanese() 96 String title = "\u30ae\u30e3\u30e9\u30ea\u30fc\u30fcGoogle\u691c\u7d22"; in testPartialTitleJapanese() local 98 assertInsertQuery("http://www.example.com/sdaga", title, query); in testPartialTitleJapanese() 103 String title = "\u30ae\u30e3\u30e9\u30ea\u30fc\u30fcGoogle\u691c\u7d22"; in testSoundmarkTitleJapanese() local 105 assertInsertQuery("http://www.example.com/sdaga", title, query); in testSoundmarkTitleJapanese() 112 private void assertInsertQuery(String url, String title, String query) { in assertInsertQuery() argument 113 addBookmark(url, title); in assertInsertQuery() 114 assertQueryReturns(url, title, query); in assertInsertQuery() 117 private void assertQueryReturns(String url, String title, String query) { in assertQueryReturns() argument [all …]
|
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/ |
D | CalendarSyncTestingBase.java | 233 public EventInfo(String title, String startDate, String endDate, in EventInfo() argument 235 init(title, startDate, endDate, allDay, DEFAULT_TIMEZONE); in EventInfo() 238 public EventInfo(String title, long startDate, long endDate, in EventInfo() argument 240 mTitle = title; in EventInfo() 249 public EventInfo(String title, long startDate, long endDate, in EventInfo() argument 251 mTitle = title; in EventInfo() 262 public EventInfo(String title, String startDate, String endDate, in EventInfo() argument 264 init(title, startDate, endDate, allDay, timezone); in EventInfo() 267 public void init(String title, String startDate, String endDate, in init() argument 269 mTitle = title; in init() [all …]
|
/packages/apps/Camera2/src/com/android/camera/ |
D | Storage.java | 80 public static Uri addImage(ContentResolver resolver, String title, long date, in addImage() argument 84 return addImage(resolver, title, date, location, orientation, exif, jpeg, width, height, in addImage() 109 private static Uri addImage(ContentResolver resolver, String title, long date, in addImage() argument 113 String path = generateFilepath(title); in addImage() 116 return addImageToMediaStore(resolver, title, date, location, orientation, fileLength, in addImage() 138 private static Uri addImageToMediaStore(ContentResolver resolver, String title, long date, in addImageToMediaStore() argument 143 getContentValuesForData(title, date, location, orientation, jpegLength, path, width, in addImageToMediaStore() 161 public static ContentValues getContentValuesForData(String title, in getContentValuesForData() argument 169 values.put(ImageColumns.TITLE, title); in getContentValuesForData() 170 values.put(ImageColumns.DISPLAY_NAME, title + JPEG_POSTFIX); in getContentValuesForData() [all …]
|
D | MediaSaverImpl.java | 58 public void addImage(final byte[] data, String title, long date, Location loc, int width, in addImage() argument 65 ImageSaveTask t = new ImageSaveTask(data, title, date, in addImage() 77 public void addImage(final byte[] data, String title, long date, Location loc, int orientation, in addImage() argument 81 addImage(data, title, date, loc, 0, 0, orientation, exif, l, resolver); in addImage() 84 public void addImage(final byte[] data, String title, Location loc, int width, int height, in addImage() argument 87 addImage(data, title, System.currentTimeMillis(), loc, width, height, in addImage() 122 private final String title; field in MediaSaverImpl.ImageSaveTask 131 public ImageSaveTask(byte[] data, String title, long date, Location loc, in ImageSaveTask() argument 135 this.title = title; in ImageSaveTask() 162 resolver, title, date, loc, orientation, exif, data, width, height); in doInBackground()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/ |
D | Layout.java | 377 public Builder title(int resId) { in title() method in Layout.Header.Builder 387 public Builder title(String title) { in title() method in Layout.Header.Builder 388 mHeader.mAppearence.mTitle = title; in title() 472 public Builder title(int resId) { in title() method in Layout.Action.Builder 483 public Builder title(String title) { in title() method in Layout.Action.Builder 484 mAction.mAppearence.mTitle = title; in title() 554 public Builder title(int resId) { in title() method in Layout.Status.Builder 565 public Builder title(String title) { in title() method in Layout.Status.Builder 566 mStatus.mAppearence.mTitle = title; in title() 606 public Builder title(int resId) { in title() method in Layout.Static.Builder [all …]
|
/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 | BaseContentFragment.java | 55 public static Bundle buildArgs(String title) { in buildArgs() argument 56 return buildArgs(title, null, null, 0, null, null, Color.TRANSPARENT); in buildArgs() 59 public static Bundle buildArgs(String title, String breadcrumb, String description) { in buildArgs() argument 60 return buildArgs(title, breadcrumb, description, 0, null, null, Color.TRANSPARENT); in buildArgs() 64 String title, String breadcrumb, String description, int iconResourceId, in buildArgs() argument 66 return buildArgs(title, breadcrumb, description, iconResourceId, null, null, in buildArgs() 70 public static Bundle buildArgs(String title, String breadcrumb, String description, Uri iconUri, in buildArgs() argument 72 return buildArgs(title, breadcrumb, description, 0, iconUri, null, backgroundColor); in buildArgs() 75 public static Bundle buildArgs(String title, String breadcrumb, String description, in buildArgs() argument 77 return buildArgs(title, breadcrumb, description, 0, null, iconBitmap, Color.TRANSPARENT); in buildArgs() [all …]
|
D | DialogActivity.java | 113 public static Intent createIntent(Context context, String title, in createIntent() argument 116 return createIntent(context, title, breadcrumb, description, imageUri, in createIntent() 120 public static Intent createIntent(Context context, String title, in createIntent() argument 124 intent.putExtra(EXTRA_DIALOG_TITLE, title); in createIntent() 134 public static Intent createIntent(Context context, String title, in createIntent() argument 137 return createIntent(context, title, breadcrumb, description, imageUri, Color.TRANSPARENT, in createIntent() 141 public static Intent createIntent(Context context, String title, in createIntent() argument 145 intent.putExtra(EXTRA_DIALOG_TITLE, title); in createIntent() 155 public static Intent createIntent(Context context, String title, in createIntent() argument 160 intent.putExtra(EXTRA_DIALOG_TITLE, title); in createIntent() [all …]
|
/packages/apps/Settings/src/com/android/settings/location/ |
D | InjectedSetting.java | 48 public final String title; field in InjectedSetting 62 String title, int iconId, String settingsActivity) { in InjectedSetting() argument 65 this.title = Preconditions.checkNotNull(title, "title"); in InjectedSetting() 74 String title, int iconId, String settingsActivity) { in newInstance() argument 76 TextUtils.isEmpty(title) || TextUtils.isEmpty(settingsActivity)) { in newInstance() 80 + ", title=" + title + ", settingsActivity=" + settingsActivity); in newInstance() 84 return new InjectedSetting(packageName, className, title, iconId, settingsActivity); in newInstance() 92 ", label=" + title + in toString() 115 && title.equals(that.title) && iconId == that.iconId in equals() 123 result = 31 * result + title.hashCode(); in hashCode()
|
/packages/apps/Settings/src/com/android/settings/notification/ |
D | NotificationStation.java | 67 public CharSequence title; field in NotificationStation.HistoricalNotificationInfo 195 info.title = sbn.getNotification().extras.getString( in loadNotifications() 197 if (info.title == null || "".equals(info.title)) { in loadNotifications() 198 info.title = sbn.getNotification().extras.getString( in loadNotifications() 202 if (info.title == null || "".equals(info.title)) { in loadNotifications() 203 info.title = sbn.getNotification().tickerText; in loadNotifications() 206 if (info.title == null || "".equals(info.title)) { in loadNotifications() 207 info.title = info.pkgname; in loadNotifications() 211 logd(" [%d] %s: %s", info.timestamp, info.pkg, info.title); in loadNotifications() 299 logd("getView(%s/%s)", info.pkg, info.title); in getView() [all …]
|
/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/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/TvSettings/Settings/src/com/android/tv/settings/device/ |
D | StorageResetActivity.java | 167 .title(R.string.device_storage_reset) in createLayout() 170 .title(R.string.storage_title) in createLayout() 174 .title(R.string.storage_apps_usage) in createLayout() 179 .title(R.string.storage_dcim_usage) in createLayout() 184 .title(R.string.storage_music_usage) in createLayout() 189 .title(R.string.storage_downloads_usage) in createLayout() 194 .title(R.string.storage_media_cache_usage) in createLayout() 199 .title(R.string.storage_media_misc_usage) in createLayout() 204 .title(R.string.storage_available) in createLayout() 210 .title(R.string.device_reset) in createLayout() [all …]
|
/packages/apps/Exchange/tests/src/com/android/exchange/utility/ |
D | CalendarUtilitiesTests.java | 250 private Entity setupTestEventEntity(String organizer, String attendee, String title) { in setupTestEventEntity() argument 270 entityValues.put(Events.TITLE, title); in setupTestEventEntity() 288 private Entity setupTestExceptionEntity(String organizer, String attendee, String title) { in setupTestExceptionEntity() argument 289 Entity entity = setupTestEventEntity(organizer, attendee, title); in setupTestExceptionEntity() 304 String title = "Discuss Unit Tests"; in testCreateMessageForEntity_Reply() local 305 Entity entity = setupTestEventEntity(ORGANIZER, ATTENDEE, title); in testCreateMessageForEntity_Reply() 324 String accept = resources.getString(R.string.meeting_accepted, title); in testCreateMessageForEntity_Reply() 346 String title = "Discuss Unit Tests"; in testCreateMessageForEntity_Invite_AllDay() local 347 Entity entity = setupTestEventEntity(ORGANIZER, ATTENDEE, title); in testCreateMessageForEntity_Invite_AllDay() 369 assertEquals(title, msg.mSubject); in testCreateMessageForEntity_Invite_AllDay() [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/about/ |
D | AboutActivity.java | 189 .title(getString(R.string.about_legal_license)) in getLegalActions() 194 .title(getString(R.string.about_terms_of_service)) in getLegalActions() 199 .title(getString(R.string.about_privacy_policy)) in getLegalActions() 204 .title(getString(R.string.about_additional_terms)) in getLegalActions() 214 .title(getString(R.string.about_system_update)) in getActions() 219 .title(getString(R.string.device_name)) in getActions() 225 .title(getString(R.string.about_legal_info)) in getActions() 237 .title(getString(R.string.about_ads)) in getActions() 244 .title(getString(R.string.about_model)) in getActions() 250 .title(getString(R.string.about_version)) in getActions() [all …]
|
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/ |
D | Setting.java | 41 public Setting(String title) { in Setting() argument 42 mTitle = title; in Setting() 46 public Setting(String title, int value) { in Setting() argument 47 this(title, value, 0); in Setting() 50 public Setting(String title, int value, int max) { in Setting() argument 51 this(title); in Setting() 57 public Setting(String title, String value) { in Setting() argument 58 this(title); in Setting() 71 public void setTitle(String title) { in setTitle() argument 72 mTitle = title; in setTitle()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/system/ |
D | InputsActivity.java | 123 .title(R.string.inputs_hdmi_control) 134 .title(R.string.inputs_device_auto_off) 145 .title(R.string.inputs_tv_auto_on) 165 .title(R.string.inputs_inputs) in createLayout() 169 .title(R.string.inputs_header_cec) in createLayout() 172 .title(R.string.inputs_cec_settings) in createLayout() 206 .title(R.string.on) in getOnOffLayout() 211 .title(R.string.off) in getOnOffLayout() 234 .title(defaultLabel) 245 .title(name) [all …]
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/ |
D | AppRestrictionsManager.java | 138 .title(Boolean.toString(true)) in onActionClicked() 145 .title(Boolean.toString(false)) in onActionClicked() 164 String title = useValue ? choiceValue : choiceEntries[i]; in onActionClicked() local 169 .title(title) in onActionClicked() 187 String title = useValues ? choiceValue : choiceEntries[i]; in onActionClicked() local 192 .title(title) in onActionClicked() 205 .title(entry.getTitle()) in onActionClicked() 296 .title(mFragment.getActivity().getString( in getRestrictionActions() 310 .title(entry.getTitle()) in getRestrictionActions() 328 .title(entry.getTitle()) in getRestrictionActions() [all …]
|
/packages/apps/ContactsCommon/src/com/android/contacts/common/vcard/ |
D | ExportProcessor.java | 150 final String title = in runInternal() local 153 doFinishNotification(title, null); in runInternal() 159 final String title = in runInternal() local 161 doFinishNotification(title, null); in runInternal() 178 final String title = in runInternal() 181 doFinishNotification(title, null); in runInternal() 201 final String title = mService.getString(R.string.exporting_vcard_finished_title, in runInternal() local 203 doFinishNotification(title, null); in runInternal() 256 private void doFinishNotification(final String title, final String description) { in doFinishNotification() argument 257 if (DEBUG) Log.d(LOG_TAG, "send finish notification: " + title + ", " + description); in doFinishNotification() [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/Browser/src/com/android/browser/preferences/ |
D | WebsiteSettingsFragment.java | 135 public void setTitle(String title) { in setTitle() argument 136 mTitle = title; in setTitle() 336 String title = c.getString(titleIndex); in doInBackground() local 355 site.setTitle(title); in doInBackground() 456 final TextView title; in getView() local 469 title = (TextView) view.findViewById(R.id.title); in getView() 481 title.setText(site.getPrettyTitle()); in getView() 484 title.setMaxLines(1); in getView() 485 title.setSingleLine(true); in getView() 490 title.setMaxLines(2); in getView() [all …]
|