Home
last modified time | relevance | path

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

12345

/packages/providers/DownloadProvider/src/com/android/providers/downloads/
DDownloadNotification.java74 void addItem(String title, int currentBytes, int totalBytes) { in addItem() argument
82 titles[titleCount] = title; in addItem()
142 String title = c.getString(titleColumn); in updateActiveNotification() local
143 if (title == null || title.length() == 0) { in updateActiveNotification()
144 title = mContext.getResources().getString( in updateActiveNotification()
148 mNotifications.get(packageName).addItem(title, progress, max); in updateActiveNotification()
155 item.addItem(title, progress, max); in updateActiveNotification()
174 StringBuilder title = new StringBuilder(item.titles[0]); in updateActiveNotification() local
176 title.append(mContext.getString(R.string.notification_filename_separator)); in updateActiveNotification()
177 title.append(item.titles[1]); in updateActiveNotification()
[all …]
/packages/providers/CalendarProvider/tests/src/com/android/providers/calendar/
DCalendarSyncTestingBase.java242 public EventInfo(String title, String startDate, String endDate, in EventInfo() argument
244 init(title, startDate, endDate, allDay, DEFAULT_TIMEZONE); in EventInfo()
247 public EventInfo(String title, long startDate, long endDate, in EventInfo() argument
249 mTitle = title; in EventInfo()
258 public EventInfo(String title, long startDate, long endDate, in EventInfo() argument
260 mTitle = title; in EventInfo()
272 public EventInfo(String title, String startDate, String endDate, in EventInfo() argument
274 init(title, startDate, endDate, allDay, timezone); in EventInfo()
277 public void init(String title, String startDate, String endDate, in init() argument
279 mTitle = title; in init()
[all …]
DSyncCalendarTest.java148 String title = cursor.getString(cursor.getColumnIndex("title")); in testEditEventDate() local
155 EventInfo event = new EventInfo(title, newDtStart, newDtEnd, false); in testEditEventDate()
184 String title = cursor.getString(cursor.getColumnIndex("title")); in testEditEventTime() local
191 EventInfo event = new EventInfo(title, newDtStart, newDtEnd, false); in testEditEventTime()
214 String title = cursor.getString(cursor.getColumnIndex("title")); in testEditEventDescription() local
219 EventInfo event = new EventInfo(title, dtStart, dtEnd, false, newDescription); in testEditEventDescription()
245 String title = cursor.getString(cursor.getColumnIndex("title")); in testEditEventLocation() local
251 EventInfo event = new EventInfo(title, dtStart, dtEnd, false, null); in testEditEventLocation()
DCalendarProviderTest.java308 String title = cursor.getString(titleColumn); in execute() local
320 title, date); in execute()
410 public EventInfo(String title, String startDate, String endDate, in EventInfo() argument
412 init(title, startDate, endDate, allDay, DEFAULT_TIMEZONE); in EventInfo()
416 public EventInfo(String title, String startDate, String endDate, in EventInfo() argument
418 init(title, startDate, endDate, allDay, timezone); in EventInfo()
421 public void init(String title, String startDate, String endDate, in init() argument
423 mTitle = title; in init()
441 public EventInfo(String title, String description, String startDate, String endDate, in EventInfo() argument
443 init(title, description, startDate, endDate, rrule, allDay, DEFAULT_TIMEZONE); in EventInfo()
[all …]
/packages/apps/Launcher/src/com/android/launcher/
DApplicationInfo.java34 CharSequence title; field in ApplicationInfo
69 title = info.title.toString(); in ApplicationInfo()
100 String titleStr = title != null ? title.toString() : null; in onAddToDatabase()
125 return title.toString(); in toString()
/packages/apps/Calendar/src/com/android/calendar/
DAgendaAdapter.java38 TextView title; field in AgendaAdapter.ViewHolder
58 holder.title = (TextView) view.findViewById(R.id.title); in bindView()
71 TextView title = holder.title; in bindView() local
84 title.setText(titleString); in bindView()
85 title.setTextColor(color); in bindView()
DEvent.java81 public CharSequence title; field in Event
119 e.title = title; in clone()
138 dest.title = title; in copyTo()
157 e.title = null; in newInstance()
200 int cmp = compareStrings(title, e.title); in compareTo()
315 e.title = c.getString(PROJECTION_TITLE_INDEX); in loadEvents()
320 if (e.title == null || e.title.length() == 0) { in loadEvents()
321 e.title = res.getString(R.string.no_title_label); in loadEvents()
413 + " " + e.title); in doComputePositions()
428 + " " + e.title); in doComputePositions()
[all …]
DAlertReceiver.java151 String title = alertCursor.getString(ALERT_INDEX_TITLE); in updateAlertNotification() local
154 Notification notification = AlertReceiver.makeNewAlertNotification(context, title, in updateAlertNotification()
161 public static Notification makeNewAlertNotification(Context context, String title, in makeNewAlertNotification() argument
175 if (title == null || title.length() == 0) { in makeNewAlertNotification()
176 title = res.getString(R.string.no_title_label); in makeNewAlertNotification()
197 title, in makeNewAlertNotification()
DMonthActivity.java87 TextView title = (TextView) findViewById(R.id.title); in goTo() local
88 title.setText(Utils.formatMonthYear(time)); in goTo()
123 TextView title = (TextView) findViewById(R.id.title); in goToToday() local
124 title.setText(Utils.formatMonthYear(now)); in goToToday()
241 TextView title = (TextView) findViewById(R.id.title); in onCreate() local
242 title.setText(Utils.formatMonthYear(mTime)); in onCreate()
/packages/apps/Browser/src/com/android/browser/
DAddBookmarkPage.java78 String title = null; in onCreate() local
88 title = mMap.getString("title"); in onCreate()
92 mTitle = (EditText) findViewById(R.id.title); in onCreate()
93 mTitle.setText(title); in onCreate()
116 String title = mTitle.getText().toString().trim(); in save() local
119 boolean emptyTitle = title.length() == 0; in save()
149 mMap.putString("title", title); in save()
169 map.put(Browser.BookmarkColumns.TITLE, title); in save()
181 Browser.BookmarkColumns.TITLE)).equals(title)) { in save()
195 map.put(Browser.BookmarkColumns.TITLE, title); in save()
DBrowserDownloadAdapter.java100 String title = cursor.getString(mTitleColumnId); in bindView() local
101 if (title == null) { in bindView()
104 title = r.getString(R.string.download_unknown_filename); in bindView()
107 title = new File(fullFilename).getName(); in bindView()
109 values.put(Downloads.TITLE, title); in bindView()
116 tv.setText(title); in bindView()
DBrowserBookmarksAdapter.java156 String title = map.getString(Browser.BookmarkColumns.TITLE); in updateRow() local
157 if (!title.equals(mCursor in updateRow()
159 values.put(Browser.BookmarkColumns.TITLE, title); in updateRow()
503 String title = mCursor.getString(Browser.HISTORY_PROJECTION_TITLE_INDEX); in bind() local
504 if (title.length() > BrowserSettings.MAX_TEXTVIEW_LEN) { in bind()
505 title = title.substring(0, BrowserSettings.MAX_TEXTVIEW_LEN); in bind()
507 b.setName(title); in bind()
/packages/apps/GlobalSearch/tests/src/com/android/globalsearch/
DShortcutRepositoryTest.java81 .title("Joe Blow") in setUp()
87 .title("Mike Johnston") in setUp()
96 .title(name) in makeApp()
120 .title("bob smith") in testNoMatch()
135 .title("title") in testFullPackingUnpacking()
156 .title("title") in testSpinnerWhileRefreshing()
182 .title("bob smith the third") in testPrefixesMatch()
203 .title("bob smith the third") in testMatchesOneAndNotOthers()
211 .title("george jones") in testMatchesOneAndNotOthers()
228 .title("bob smith the third") in testDifferentPrefixesMatchSameEntity()
[all …]
DSessionCacheTest.java66 .title("hi") in testShortcutRefreshing_noIcon()
81 .title("hi") in testShortcutRefreshing_withIcon2NotSpinnerWhileRefreshing()
96 .title("hi") in testShortcutRefreshing_withIcon2SpinnerWhileRefreshing()
111 .title("hi") in testShortcutRefreshing_sameIdDifferentSources()
/packages/apps/IM/src/com/android/im/service/
DStatusBarNotifier.java76 String title = nickname; in notifyChat() local
81 notify(username, title, snippet, msg, providerId, accountId, intent, lightWeightNotify); in notifyChat()
90 String title = nickname; in notifySubscriptionRequest() local
96 notify(username, title, message, message, providerId, accountId, intent, false); in notifySubscriptionRequest()
105 String title = mContext.getString(R.string.notify_groupchat_label); in notifyGroupInvitation() local
108 notify(username, title, message, message, providerId, accountId, intent, false); in notifyGroupInvitation()
164 private void notify(String sender, String title, String tickerText, String message, in notify() argument
173 info.addItem(sender, title, message, intent); in notify()
204 public Item(String title, String message, Intent intent) { in Item() argument
205 mTitle = title; in Item()
[all …]
/packages/apps/Camera/src/com/android/camera/gallery/
DImageList.java149 String title = cursor.getString(INDEX_TITLE); in loadImageFromCursor() local
151 if (title == null || title.length() == 0) { in loadImageFromCursor()
152 title = dataPath; in loadImageFromCursor()
154 String displayName = title; in loadImageFromCursor()
157 title, displayName, orientation); in loadImageFromCursor()
/packages/apps/IM/src/com/android/im/app/
DSimpleAlertHandler.java78 public void showAlert(CharSequence title, int messageId) { in showAlert() argument
79 showAlert(title, mRes.getString(messageId)); in showAlert()
82 public void showAlert(final CharSequence title, final CharSequence message) { in showAlert() argument
85 .setTitle(title) in showAlert()
93 .setTitle(title) in showAlert()
DSimpleInputActivity.java52 CharSequence title = extras.getCharSequence(EXTRA_TITLE); in onCreate() local
53 if (title != null) { in onCreate()
54 setTitle(title); in onCreate()
/packages/apps/Email/src/com/android/email/activity/
DProgressListener.java33 void showProgress(Context context, String title, String message, long currentProgress, in showProgress() argument
44 void updateProgress(Context context, String title, String message, long currentProgress, in updateProgress() argument
/packages/providers/CalendarProvider/
Dmaketests.py112 title = "" variable
114 title = title + c.nodeValue variable
116 print " // " + title
/packages/apps/GlobalSearch/src/com/android/globalsearch/
DSuggestionData.java47 String title, in SuggestionData() argument
63 mTitle = title; in SuggestionData()
197 .title(mTitle) in buildUpon()
370 public Builder title(String title) { in title() method in SuggestionData.Builder
371 mTitle = title; in title()
/packages/apps/Mms/src/com/android/mms/ui/
DLayoutSelectorAdapter.java45 protected static void addItem(List<IconListItem> data, String title, int resource) { in addItem() argument
46 IconListItem temp = new IconListItem(title, resource); in addItem()
/packages/apps/Mms/src/com/android/mms/transaction/
DMessagingNotification.java197 CharSequence ticker, long timeMillis, String title, int count) { in MmsSmsNotificationInfo() argument
203 mTitle = title; in MmsSmsNotificationInfo()
351 String title, in updateNotification() argument
368 title = context.getString(R.string.notification_multiple_title); in updateNotification()
387 notification.setLatestEventInfo(context, title, description, pendingIntent); in updateNotification()
483 String title; in notifyFailed() local
488 title = context.getString(R.string.notification_failed_multiple_title); in notifyFailed()
492 title = isDownload ? in notifyFailed()
510 notification.tickerText = title; in notifyFailed()
512 notification.setLatestEventInfo(context, title, description, pendingIntent); in notifyFailed()
/packages/apps/Stk/src/com/android/stk/
DToneDialog.java69 View title = findViewById(com.android.internal.R.id.title); in onCreate() local
70 title.setVisibility(View.GONE); in onCreate()
/packages/apps/Mms/src/com/android/mms/dom/smil/
DSmilRootLayoutElementImpl.java62 public void setTitle(String title) throws DOMException { in setTitle() argument
63 this.setAttribute(TITLE_ATTRIBUTE_NAME, title); in setTitle()

12345