Home
last modified time | relevance | path

Searched refs:title (Results 1 – 25 of 432) sorted by relevance

12345678910>>...18

/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/
DNetworkActivity.java193 .title(R.string.title_wifi_proxy_settings)
196 .title(R.string.title_wifi_ip_settings)
201 .title(R.string.title_internet_connection)
214 .add(new Status.Builder(mRes).title(R.string.title_internet_connection)
217 .title(R.string.title_ip_address)
221 .title(R.string.title_mac_address)
225 .title(R.string.wifi_action_advanced_options_title).build()
232 .title(R.string.title_internet_connection)
236 .title(R.string.wifi_action_advanced_options_title).build()
267 .title(R.string.title_internet_connection)
[all …]
/packages/apps/Browser/src/com/android/browser/
DSuggestionsAdapter.java165 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/Browser/tests/src/com/android/browser/
DBrowserProviderTests.java91 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/
DCalendarSyncTestingBase.java233 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/
DStorage.java80 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 …]
DMediaSaverImpl.java58 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/
DLayout.java370 public Builder title(int resId) { in title() method in Layout.Header.Builder
380 public Builder title(String title) { in title() method in Layout.Header.Builder
381 mHeader.mAppearence.mTitle = title; in title()
465 public Builder title(int resId) { in title() method in Layout.Action.Builder
476 public Builder title(String title) { in title() method in Layout.Action.Builder
477 mAction.mAppearence.mTitle = title; in title()
557 public Builder title(int resId) { in title() method in Layout.Status.Builder
568 public Builder title(String title) { in title() method in Layout.Status.Builder
569 mStatus.mAppearence.mTitle = title; in title()
609 public Builder title(int resId) { in title() method in Layout.Static.Builder
[all …]
/packages/apps/Launcher3/src/com/android/launcher3/
DIconCache.java68 public CharSequence title; field in IconCache.CacheEntry
235 application.title = entry.title; in getTitleAndIcon()
263 shortcutInfo.title = ""; in getTitleAndIcon()
271 shortcutInfo.title = entry.title; in getTitleAndIcon()
314 entry.title = labelCache.get(labelKey).toString(); in cacheLocked()
316 entry.title = info.getLabel().toString(); in cacheLocked()
318 labelCache.put(labelKey, entry.title); in cacheLocked()
322 entry.contentDescription = mUserManager.getBadgedLabelForUser(entry.title, user); in cacheLocked()
326 entry.title = ""; in cacheLocked()
340 entry.title = packageEntry.title; in cacheLocked()
[all …]
DShortcutInfo.java138 ShortcutInfo(Intent intent, CharSequence title, CharSequence contentDescription, in ShortcutInfo() argument
142 this.title = title; in ShortcutInfo()
150 title = info.title.toString(); in ShortcutInfo()
168 title = info.title.toString(); in ShortcutInfo()
195 String titleStr = title != null ? title.toString() : null; in onAddToDatabase()
223 return "ShortcutInfo(title=" + title + "intent=" + intent + "id=" + this.id in toString()
233 Log.d(tag, " title=\"" + info.title + " icon=" + info.mIcon in dumpShortcutInfoList()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/dialog/old/
DContentFragment.java44 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 …]
DBaseContentFragment.java55 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 …]
DDialogActivity.java113 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/
DInjectedSetting.java49 public final String title; field in InjectedSetting
68 String title, int iconId, UserHandle userHandle, String settingsActivity) { in InjectedSetting() argument
71 this.title = Preconditions.checkNotNull(title, "title"); in InjectedSetting()
81 String title, int iconId, UserHandle userHandle, String settingsActivity) { in newInstance() argument
83 TextUtils.isEmpty(title) || TextUtils.isEmpty(settingsActivity)) { in newInstance()
87 + ", title=" + title + ", settingsActivity=" + settingsActivity); in newInstance()
91 return new InjectedSetting(packageName, className, title, iconId, userHandle, in newInstance()
100 ", label=" + title + in toString()
124 && title.equals(that.title) && iconId == that.iconId in equals()
133 result = 31 * result + title.hashCode(); in hashCode()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationStation.java67 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/
DCalendarAppWidgetModel.java81 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/
DCalendarAppWidgetServiceTest.java49 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/Exchange/tests/src/com/android/exchange/utility/
DCalendarUtilitiesTests.java250 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/device/
DStorageResetActivity.java177 .title(R.string.device_storage_reset) in createLayout()
180 .title(R.string.storage_title) in createLayout()
184 .title(R.string.storage_apps_usage) in createLayout()
189 .title(R.string.storage_dcim_usage) in createLayout()
194 .title(R.string.storage_music_usage) in createLayout()
199 .title(R.string.storage_downloads_usage) in createLayout()
204 .title(R.string.storage_media_cache_usage) in createLayout()
209 .title(R.string.storage_media_misc_usage) in createLayout()
214 .title(R.string.storage_available) in createLayout()
220 .title(R.string.device_reset) in createLayout()
[all …]
/packages/apps/Settings/src/com/android/settings/
DUtils.java202 String title = null; in updateTileToSpecificActivityFromMetaDataOrRemove() local
214 title = res.getString(metaData.getInt(META_DATA_PREFERENCE_TITLE)); in updateTileToSpecificActivityFromMetaDataOrRemove()
225 if (TextUtils.isEmpty(title)) { in updateTileToSpecificActivityFromMetaDataOrRemove()
226 title = resolveInfo.loadLabel(pm).toString(); in updateTileToSpecificActivityFromMetaDataOrRemove()
232 tile.title = title; in updateTileToSpecificActivityFromMetaDataOrRemove()
594 CharSequence title) { in startWithFragment() argument
596 null /* titleResPackageName */, titleResId, title, false /* not a shortcut */); in startWithFragment()
617 CharSequence title) { in startWithFragment() argument
619 titleResPackageName, titleResId, title, false /* not a shortcut */); in startWithFragment()
624 CharSequence title, boolean isShortcut) { in startWithFragment() argument
[all …]
/packages/apps/TvSettings/QuickSettings/src/com/android/tv/quicksettings/
DSetting.java41 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/
DInputsActivity.java123 .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/
DAppRestrictionsManager.java138 .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/
DExportProcessor.java150 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/TvSettings/Settings/src/com/android/tv/settings/about/
DAboutActivity.java186 .title(getString(R.string.about_legal_license)) in getLegalActions()
190 .title(getString(R.string.about_terms_of_service)) in getLegalActions()
200 .title(getString(R.string.about_system_update)) in getActions()
205 .title(getString(R.string.device_name)) in getActions()
211 .title(getString(R.string.restart_button_label)) in getActions()
215 .title(getString(R.string.about_legal_info)) in getActions()
227 .title(getString(R.string.about_ads)) in getActions()
234 .title(getString(R.string.about_model)) in getActions()
240 .title(getString(R.string.about_version)) in getActions()
246 .title(getString(R.string.about_serial)) in getActions()
[all …]
/packages/apps/Gallery2/src/com/android/gallery3d/ui/
DPopupList.java46 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()

12345678910>>...18