/packages/apps/Calendar/tests/src/com/android/calendar/widget/ |
D | CalendarAppWidgetServiceTest.java | 48 final String title = "Title"; field in CalendarAppWidgetServiceTest 96 cursor.addRow(getRow(0, now + ONE_HOUR, now + TWO_HOURS, title, location, 0)); in testGetAppWidgetModel_1Event() 105 eventInfo.title = title; in testGetAppWidgetModel_1Event() 133 eventInfo.title = title + i; in testGetAppWidgetModel_2StaggeredEvents() 143 eventInfo.title = title + i; in testGetAppWidgetModel_2StaggeredEvents() 149 cursor.addRow(getRow(0, tomorrow, tomorrow + TWO_HOURS, title + i, location + i, 0)); in testGetAppWidgetModel_2StaggeredEvents() 151 cursor.addRow(getRow(0, sunday, sunday + TWO_HOURS, title + i, location + i, 0)); in testGetAppWidgetModel_2StaggeredEvents() 177 eventInfo.title = title + i; in testGetAppWidgetModel_AllDayEventToday() 187 eventInfo.title = title + i; in testGetAppWidgetModel_AllDayEventToday() 191 cursor.addRow(getRow(1, 1262304000000L, 1262390400000L, title + i, location + i, 0)); in testGetAppWidgetModel_AllDayEventToday() [all …]
|
/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/apps/VideoEditor/src/com/android/videoeditor/util/ |
D | ImageUtils.java | 246 String title, String subTitle, int width, int height) { in buildOverlayBitmap() argument 260 Color.WHITE, title, subTitle, width, height); in buildOverlayBitmap() 266 Color.WHITE, title, subTitle, width, height); in buildOverlayBitmap() 272 Color.BLACK, title, subTitle, width, height); in buildOverlayBitmap() 278 Color.BLACK, title, subTitle, width, height); in buildOverlayBitmap() 303 int textColor, String title, String subTitle, int width, int height) { in drawCenterOverlay() argument 318 if (title != null) { in drawCenterOverlay() 320 title = StringUtils.trimText(title, p, maxWidth); in drawCenterOverlay() 321 canvas.drawText(title, (width - (2 * INSET) - p.measureText(title)) / 2, in drawCenterOverlay() 346 int textColor, String title, String subTitle, int width, int height) { in drawBottomOverlay() argument [all …]
|
/packages/providers/DownloadProvider/src/com/android/providers/downloads/ |
D | DownloadNotification.java | 77 void addItem(String title, long currentBytes, long totalBytes) { in addItem() argument 85 mTitles[mTitleCount] = title; in addItem() 122 String title = download.mTitle; in updateActiveNotification() local 123 if (title == null || title.length() == 0) { in updateActiveNotification() 124 title = mContext.getResources().getString( in updateActiveNotification() 131 item.addItem(title, progress, max); in updateActiveNotification() 137 item.addItem(title, progress, max); in updateActiveNotification() 161 StringBuilder title = new StringBuilder(item.mTitles[0]); in updateActiveNotification() local 163 title.append(mContext.getString(R.string.notification_filename_separator)); in updateActiveNotification() 164 title.append(item.mTitles[1]); in updateActiveNotification() [all …]
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | FolderInfo.java | 36 CharSequence title; field in FolderInfo 75 public void setTitle(CharSequence title) { in setTitle() argument 76 this.title = title; in setTitle() 78 listeners.get(i).onTitleChanged(title); in setTitle() 85 values.put(LauncherSettings.Favorites.TITLE, title.toString()); in onAddToDatabase() 113 public void onTitleChanged(CharSequence title); in onTitleChanged() argument
|
D | ShortcutInfo.java | 35 CharSequence title; field in ShortcutInfo 71 title = info.title.toString(); in ShortcutInfo() 85 title = info.title.toString(); in ShortcutInfo() 121 String titleStr = title != null ? title.toString() : null; in onAddToDatabase() 148 return "ShortcutInfo(title=" + title.toString() + ")"; in toString() 155 Log.d(tag, " title=\"" + info.title + " icon=" + info.mIcon in dumpShortcutInfoList()
|
D | IconCache.java | 41 public String title; field in IconCache.CacheEntry 144 application.title = entry.title; in getTitleAndIcon() 189 entry.title = labelCache.get(key).toString(); in cacheLocked() 191 entry.title = info.loadLabel(mPackageManager).toString(); in cacheLocked() 193 labelCache.put(key, entry.title); in cacheLocked() 196 if (entry.title == null) { in cacheLocked() 197 entry.title = info.activityInfo.name; in cacheLocked()
|
D | ApplicationInfo.java | 39 CharSequence title; field in ApplicationInfo 99 title = info.title.toString(); in ApplicationInfo() 122 return "ApplicationInfo(title=" + title.toString() + ")"; in toString() 129 Log.d(tag, " title=\"" + info.title + "\" iconBitmap=" in dumpApplicationInfoList()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactListFilter.java | 58 public final String title; field in ContactListFilter 63 String title) { in ContactListFilter() argument 72 this.title = title; in ContactListFilter() 86 String title) { in createGroupFilter() argument 88 dataSet, null, groupId, groupSourceId, groupReadOnly, title); in createGroupFilter() 92 String dataSet, Drawable icon, String title) { in createAccountFilter() argument 94 accountName, dataSet, icon, 0, null, false, title); in createAccountFilter() 124 + " " + accountName + " " + title + "(" + groupId + ")"; in toString() 145 String title1 = title != null ? title : ""; in compareTo() 146 String title2 = another.title != null ? another.title : ""; in compareTo() [all …]
|
/packages/apps/Browser/src/com/android/browser/ |
D | SuggestionsAdapter.java | 182 tv1.setText(Html.fromHtml(item.title)); in bindView() 274 if (sitem.title != null) { in convertResultToString() 275 return sitem.title; in convertResultToString() 390 sb.append(item.type + ": " + item.title); in toString() 403 public String title; field in SuggestionsAdapter.SuggestItem 409 title = text; in SuggestItem() 447 String title = mCursor.getString(1); in getItem() local 450 return new SuggestItem(getTitle(title, url), getUrl(title, url), in getItem() 496 private String getTitle(String title, String url) { in getTitle() argument 497 if (TextUtils.isEmpty(title) || TextUtils.getTrimmedLength(title) == 0) { in getTitle() [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/VideoEditor/src/com/android/videoeditor/ |
D | ProjectPickerAdapter.java | 139 String title; in getView() local 142 title = mContext.getString(R.string.projects_new_project); in getView() 147 title = project.getName(); in getView() 149 thumbnail = getThumbnail(project.getPath(), iv, title, duration); in getView() 153 drawBottomOverlay(thumbnail, title, duration); in getView() 163 public void drawBottomOverlay(Bitmap bitmap, String title, String duration) { in drawBottomOverlay() argument 179 title = TextUtils.ellipsize(title, new TextPaint(paint), availableTitleWidth, in drawBottomOverlay() 181 canvas.drawText(title, mOverlayHorizontalInset, in drawBottomOverlay() 192 private Bitmap getThumbnail(String projectPath, ImageView imageView, String title, in getThumbnail() argument 199 title, duration, mPreviewBitmapCache).execute(); in getThumbnail() [all …]
|
/packages/apps/Tag/canon/src/com/android/apps/tagcanon/ |
D | TagCanon.java | 107 public String title; field in TagCanon.TagDescription 110 public TagDescription(String title, byte[] bytes) { in TagDescription() argument 111 this.title = title; in TagDescription() 119 public TagDescription(String title, NdefMessage[] msgs) { in TagDescription() argument 120 this.title = title; in TagDescription() 126 return title; in toString()
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
D | ExportProcessor.java | 149 final String title = in runInternal() local 152 doFinishNotification(title, null); in runInternal() 158 final String title = in runInternal() local 160 doFinishNotification(title, null); in runInternal() 177 final String title = in runInternal() 180 doFinishNotification(title, null); in runInternal() 200 final String title = mService.getString(R.string.exporting_vcard_finished_title, in runInternal() local 202 doFinishNotification(title, null); in runInternal() 255 private void doFinishNotification(final String title, final String description) { in doFinishNotification() argument 256 if (DEBUG) Log.d(LOG_TAG, "send finish notification: " + title + ", " + description); in doFinishNotification() [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/Gallery/src/com/android/camera/gallery/ |
D | VideoList.java | 66 String title = cursor.getString(INDEX_TITLE); in loadImageFromCursor() local 68 if (title == null || title.length() == 0) { in loadImageFromCursor() 69 title = dataPath; in loadImageFromCursor() 73 mimeType, dateTaken, title); in loadImageFromCursor()
|
D | ImageList.java | 129 String title = cursor.getString(INDEX_TITLE); in loadImageFromCursor() local 131 if (title == null || title.length() == 0) { in loadImageFromCursor() 132 title = dataPath; in loadImageFromCursor() 135 contentUri(id), dataPath, mimeType, dateTaken, title, in loadImageFromCursor()
|
/packages/apps/Browser/tests/src/com/android/browser/tests/utils/ |
D | BP2TestCaseHelper.java | 146 public Uri insertBookmark(String url, String title) { in insertBookmark() argument 148 values.put(BrowserContract.Bookmarks.TITLE, title); in insertBookmark() 162 public boolean updateBookmark(Uri uri, String url, String title) { in updateBookmark() argument 164 values.put(BrowserContract.Bookmarks.TITLE, title); in updateBookmark() 183 public Uri insertHistory(String url, String title) { in insertHistory() argument 185 values.put(BrowserContract.History.TITLE, title); in insertHistory() 194 public boolean updateHistory(Uri uri, String url, String title) { in updateHistory() argument 196 values.put(BrowserContract.History.TITLE, title); in updateHistory()
|
/packages/apps/Settings/src/com/android/settings/ |
D | Settings.java | 110 showBreadCrumbs(mCurrentHeader.title, null); in onCreate() 114 setParentTitle(mParentHeader.title, null, new OnClickListener() { in onCreate() 189 parentHeader.title = fragmentTitle; in switchToParent() 198 mParentHeader.title = parentInfo.metaData.getString(META_DATA_KEY_PARENT_TITLE); in switchToParent() 278 header.title = getTitle(); in onGetInitialHeader() 372 mParentHeader.title = getResources().getString(parentHeaderTitleRes); in getMetaData() 401 TextView title; field in Settings.HeaderAdapter.HeaderViewHolder 467 holder.title = (TextView) view; in getView() 474 holder.title = (TextView) in getView() 475 view.findViewById(com.android.internal.R.id.title); in getView() [all …]
|
D | Utils.java | 171 String title = null; in updatePreferenceToSpecificActivityFromMetaDataOrRemove() local 182 title = res.getString(metaData.getInt(META_DATA_PREFERENCE_TITLE)); in updatePreferenceToSpecificActivityFromMetaDataOrRemove() 193 if (TextUtils.isEmpty(title)) { in updatePreferenceToSpecificActivityFromMetaDataOrRemove() 194 title = resolveInfo.loadLabel(pm).toString(); in updatePreferenceToSpecificActivityFromMetaDataOrRemove() 199 preference.setTitle(title); in updatePreferenceToSpecificActivityFromMetaDataOrRemove() 232 String title = null; in updateHeaderToSpecificActivityFromMetaDataOrRemove() local 243 title = res.getString(metaData.getInt(META_DATA_PREFERENCE_TITLE)); in updateHeaderToSpecificActivityFromMetaDataOrRemove() 254 if (TextUtils.isEmpty(title)) { in updateHeaderToSpecificActivityFromMetaDataOrRemove() 255 title = resolveInfo.loadLabel(pm).toString(); in updateHeaderToSpecificActivityFromMetaDataOrRemove() 261 header.title = title; in updateHeaderToSpecificActivityFromMetaDataOrRemove()
|
/packages/providers/ContactsProvider/tests/assets/test1/ |
D | expected_groups.txt | 11 11 title=System Group: My Contacts 28 28 title=Eclair Contacts 45 45 title=Starred in Android 62 62 title=null
|
/packages/apps/Calendar/src/com/android/calendar/agenda/ |
D | AgendaAdapter.java | 69 TextView title; field in AgendaAdapter.ViewHolder 119 holder.title = (TextView) view.findViewById(R.id.title); in bindView() 132 holder.title.setTextColor(mDeclinedColor); in bindView() 137 holder.title.setTextColor(mStandardColor); in bindView() 164 holder.title.setTextColor(mStandardColor); in bindView() 170 TextView title = holder.title; in bindView() local 185 title.setText(titleString); in bindView()
|
/packages/providers/ApplicationsProvider/tests/src/com/android/providers/applications/ |
D | MockPackageManager.java | 75 public void addPackage(final String title, ComponentName componentName, int appEnabledSetting, in addPackage() argument 81 return title; in addPackage() 97 public void addPackage(final String title, ComponentName componentName) { in addPackage() argument 98 addPackage(title, componentName, PackageManager.COMPONENT_ENABLED_STATE_DEFAULT, in addPackage()
|
/packages/apps/Mms/src/com/android/mms/ui/ |
D | NumberPickerDialog.java | 62 int title) { in NumberPickerDialog() argument 63 this(context, AlertDialog.THEME_HOLO_LIGHT, callBack, number, rangeMin, rangeMax, title); in NumberPickerDialog() 78 int title) { in NumberPickerDialog() argument 82 setTitle(title); in NumberPickerDialog()
|
D | AttachmentTypeSelectorAdapter.java | 82 protected static void addItem(List<IconListItem> data, String title, in addItem() argument 84 AttachmentListItem temp = new AttachmentListItem(title, resource, command); in addItem() 91 public AttachmentListItem(String title, int resource, int command) { in AttachmentListItem() argument 92 super(title, resource); in AttachmentListItem()
|