/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sidebar/ |
D | RootsFragmentTest.java | 50 TestProvidersAccess.RECENTS.title, 51 TestProvidersAccess.IMAGE.title, 52 TestProvidersAccess.VIDEO.title, 53 TestProvidersAccess.AUDIO.title, 54 TestProvidersAccess.DOWNLOADS.title, 56 TestProvidersAccess.EXTERNALSTORAGE.title, 57 TestProvidersAccess.HAMMY.title, 59 TestProvidersAccess.INSPECTOR.title, 60 TestProvidersAccess.PICKLES.title}; 88 assertEquals(rootList.get(0).title, TestProvidersAccess.PICKLES.title); in testItemComparator_WithCorrectOrder() [all …]
|
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/password/ |
D | ChooseLockSettingsHelper.java | 95 public boolean launchConfirmationActivity(int request, CharSequence title) { in launchConfirmationActivity() argument 98 title /* title */, in launchConfirmationActivity() 114 …public boolean launchConfirmationActivity(int request, CharSequence title, boolean returnCredentia… in launchConfirmationActivity() argument 117 title /* title */, in launchConfirmationActivity() 134 public boolean launchConfirmationActivity(int request, CharSequence title, in launchConfirmationActivity() argument 138 title /* title */, in launchConfirmationActivity() 162 boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity() argument 167 title /* title */, in launchConfirmationActivity() 192 boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity() argument 197 title /* title */, in launchConfirmationActivity() [all …]
|
/packages/apps/Settings/src/com/android/settings/password/ |
D | ChooseLockSettingsHelper.java | 102 public boolean launchConfirmationActivity(int request, CharSequence title) { in launchConfirmationActivity() argument 105 title /* title */, in launchConfirmationActivity() 122 …public boolean launchConfirmationActivity(int request, CharSequence title, boolean returnCredentia… in launchConfirmationActivity() argument 125 title /* title */, in launchConfirmationActivity() 143 public boolean launchConfirmationActivity(int request, CharSequence title, in launchConfirmationActivity() argument 147 title /* title */, in launchConfirmationActivity() 173 boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity() argument 178 title /* title */, in launchConfirmationActivity() 204 boolean launchConfirmationActivity(int request, @Nullable CharSequence title, in launchConfirmationActivity() argument 209 title /* title */, in launchConfirmationActivity() [all …]
|
/packages/apps/Bluetooth/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpItemTest.java | 68 String title = "Aaaaargh"; in buildAvrcpItem() local 86 builder.setTitle(title); in buildAvrcpItem() 104 Assert.assertEquals(title, item.getTitle()); in buildAvrcpItem() 115 String title = "Aaaaargh"; in buildAvrcpItemFromAvrcpAttributes() local 136 title, in buildAvrcpItemFromAvrcpAttributes() 156 Assert.assertEquals(title, item.getTitle()); in buildAvrcpItemFromAvrcpAttributes() 167 String title = "Aaaaargh"; in buildAvrcpItemFromAvrcpAttributesWithBadIds_badIdsIgnored() local 192 title, in buildAvrcpItemFromAvrcpAttributesWithBadIds_badIdsIgnored() 216 Assert.assertEquals(title, item.getTitle()); in buildAvrcpItemFromAvrcpAttributesWithBadIds_badIdsIgnored() 242 String title = "Aaaaargh"; in avrcpMediaItem_toMediaMetadata() local [all …]
|
/packages/apps/Settings/tests/uitests/src/com/android/settings/ui/search/ |
D | SearchData.java | 28 public final String title; field in SearchData 32 return title; in getTitle() 56 return title + DELIM + key; in toString() 66 return TextUtils.equals(this.title, other.title) in equals() 72 return Objects.hash(title, key); in hashCode() 77 this.title = builder.title; in SearchData() 82 protected String title = ""; field in SearchData.Builder 89 public SearchData.Builder setTitle(String title) { in setTitle() argument 90 this.title = title; in setTitle()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/print/ |
D | PrintJobPreferenceControllerTest.java | 103 String title = mContext.getString( in updateUi_jobState_STATE_CREATED() local 106 assertThat(mPreference.getTitle()).isEqualTo(title); in updateUi_jobState_STATE_CREATED() 114 String title = mContext.getString( in updateUi_jobState_STATE_QUEUED() local 117 assertThat(mPreference.getTitle()).isEqualTo(title); in updateUi_jobState_STATE_QUEUED() 125 String title = mContext.getString( in updateUi_jobState_STATE_STARTED() local 128 assertThat(mPreference.getTitle()).isEqualTo(title); in updateUi_jobState_STATE_STARTED() 137 String title = mContext.getString( in updateUi_jobState_STATE_QUEUED_and_jobInfo_CANCELLING() local 140 assertThat(mPreference.getTitle()).isEqualTo(title); in updateUi_jobState_STATE_QUEUED_and_jobInfo_CANCELLING() 149 String title = mContext.getString( in updateUi_jobState_STATE_STARTED_and_jobInfo_CANCELLING() local 152 assertThat(mPreference.getTitle()).isEqualTo(title); in updateUi_jobState_STATE_STARTED_and_jobInfo_CANCELLING() [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 …]
|
/packages/apps/Settings/src/com/android/settings/wifi/slice/ |
D | WifiSlice.java | 151 final String title = mContext.getString(R.string.wifi_settings); in getHeaderRow() local 155 ListBuilder.ICON_IMAGE, title); in getHeaderRow() 163 .setTitle(title) in getHeaderRow() 170 final CharSequence title = accessPoint.getTitle(); in getAccessPointRow() local 175 .setTitle(title) in getAccessPointRow() 178 title)); in getAccessPointRow() 181 rowBuilder.addEndItem(getCaptivePortalEndAction(accessPoint, title)); in getAccessPointRow() 232 private SliceAction getCaptivePortalEndAction(AccessPoint accessPoint, CharSequence title) { in getCaptivePortalEndAction() argument 234 IconCompat.createWithResource(mContext, R.drawable.ic_settings_accent), title); in getCaptivePortalEndAction() 238 IconCompat icon, CharSequence title) { in getAccessPointAction() argument [all …]
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | ToolbarFragment.java | 52 protected static Bundle createArguments(CharSequence title) { in createArguments() argument 54 args.putCharSequence(ARG_TITLE, title); in createArguments() 69 CharSequence title; in setUpToolbar() local 71 title = getArguments().getCharSequence(ARG_TITLE, getDefaultTitle()); in setUpToolbar() 73 title = getDefaultTitle(); in setUpToolbar() 75 if (!TextUtils.isEmpty(title)) { in setUpToolbar() 76 setTitle(title); in setUpToolbar() 101 private void setTitle(CharSequence title) { in setTitle() argument 107 mTitleView.setText(title); in setTitle() 109 mToolbar.setTitle(title); in setTitle()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
D | DvrRecordingSettingsFragment.java | 110 String title = mFragmentTitle; in onCreateGuidance() local 112 return new Guidance(title, description, breadcrumb, null); in onCreateGuidance() 120 .title(mStartEarlyActionTitle) in onCreateActions() 129 .title(mEndLateActionTitle) in onCreateActions() 266 .title(mTimeActionOnTimeText) in buildChannelSubActionStart() 271 .title(mTimeActionOneMinText) in buildChannelSubActionStart() 276 .title(mTimeActionFiveMinText) in buildChannelSubActionStart() 281 .title(mTimeActionFifteenMinText) in buildChannelSubActionStart() 286 .title(mTimeActionHalfHourText) in buildChannelSubActionStart() 296 .title(mTimeActionOnTimeText) in buildChannelSubActionEnd() [all …]
|
/packages/apps/Camera2/src/com/android/camera/ |
D | Storage.java | 100 public Uri addImage(ContentResolver resolver, String title, long date, in addImage() argument 104 return addImage(resolver, title, date, location, orientation, exif, jpeg, width, height, in addImage() 129 public Uri addImage(ContentResolver resolver, String title, long date, in addImage() argument 135 return addImageToMediaStore(resolver, title, date, location, orientation, data.length, in addImage() 159 public Uri addImageToMediaStore(ContentResolver resolver, String title, long date, in addImageToMediaStore() argument 163 ContentValues values = getContentValuesForData(title, date, location, mimeType, true); in addImageToMediaStore() 200 public ContentValues getContentValuesForData(String title, long date, Location location, in getContentValuesForData() argument 204 values.put(Media.TITLE, title); in getContentValuesForData() 205 values.put(Media.DISPLAY_NAME, title + JPEG_POSTFIX); in getContentValuesForData() 292 public Uri updateImage(Uri imageUri, ContentResolver resolver, String title, long date, in updateImage() argument [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/iconloaderlib/src/com/android/launcher3/icons/cache/ |
D | BaseIconCache.java | 75 public CharSequence title = ""; field in BaseIconCache.CacheEntry 274 entry.title = cachingLogic.getLabel(object); in addIconToDBAndMemCache() 275 entry.contentDescription = mPackageManager.getUserBadgedLabel(entry.title, user); in addIconToDBAndMemCache() 278 ContentValues values = newContentValues(entry, entry.title.toString(), in addIconToDBAndMemCache() 342 entry.title = packageEntry.title; in cacheLocked() 354 if (TextUtils.isEmpty(entry.title)) { in cacheLocked() 360 entry.title = cachingLogic.getLabel(object); in cacheLocked() 361 … entry.contentDescription = mPackageManager.getUserBadgedLabel(entry.title, user); in cacheLocked() 378 Bitmap icon, CharSequence title) { in cachePackageInstallInfo() argument 388 if (!TextUtils.isEmpty(title)) { in cachePackageInstallInfo() [all …]
|
/packages/apps/Launcher3/robolectric_tests/resources/ |
D | cache_data_updated_task_data.txt | 8 bgItem s itemType=0 title=app1-class1 intent=component=app1/class1 id=1 9 bgItem s itemType=0 title=app1-class2 intent=component=app1/class2 id=2 10 bgItem s itemType=0 title=app2-class1 intent=component=app2/class1 id=3 11 bgItem s itemType=0 title=app2-class2 intent=component=app2/class2 id=4 14 bgItem s itemType=0 status=2 title=app3-class1 intent=component=app3/class1 id=5 15 bgItem s itemType=0 status=2 title=app3-class2 intent=component=app3/class2 id=6 18 bgItem s itemType=1 title=app1-shrt intent=component=app1/class3 id=7 19 bgItem s itemType=1 title=app4-shrt intent=component=app4/class1 id=8 22 bgItem s itemType=1 status=1 title=app3-shrt intent=component=app3/class3 id=9 23 bgItem s itemType=1 status=1 title=app5-shrt intent=component=app5/class1 id=10
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | ProxySettingsState.java | 82 String title = getString(R.string.title_wifi_proxy_settings); in onCreateGuidance() local 84 title, in onCreateGuidance() 105 .title(R.string.wifi_action_proxy_none) in onCreateActions() 109 .title(R.string.wifi_action_proxy_manual) in onCreateActions() 117 CharSequence title = null; in onViewCreated() local 119 title = mAdvancedOptionsFlowInfo.get(AdvancedOptionsFlowInfo.PROXY_SETTINGS); in onViewCreated() 121 title = getString(R.string.wifi_action_proxy_manual); in onViewCreated() 123 moveToPosition(title); in onViewCreated() 126 private void moveToPosition(CharSequence title) { in moveToPosition() argument 127 if (title == null) return; in moveToPosition() [all …]
|
D | IpSettingsState.java | 107 CharSequence title; in onViewCreated() local 109 title = mAdvancedOptionsFlowInfo.get(AdvancedOptionsFlowInfo.IP_SETTINGS); in onViewCreated() 112 title = getString(R.string.wifi_action_static); in onViewCreated() 114 title = getString(R.string.wifi_action_dhcp); in onViewCreated() 116 moveToPosition(title); in onViewCreated() 119 private void moveToPosition(CharSequence title) { in moveToPosition() argument 120 if (title == null) return; in moveToPosition() 122 if (TextUtils.equals(getActions().get(i).getTitle(), title)) { in moveToPosition() 134 .title(getString(R.string.wifi_action_dhcp)) in onCreateActions() 138 .title(getString(R.string.wifi_action_static)) in onCreateActions()
|
/packages/apps/Calendar/tests/src/com/android/calendar/widget/ |
D | CalendarAppWidgetServiceTest.java | 50 final String title = "Title"; field in CalendarAppWidgetServiceTest 107 cursor.addRow(getRow(0, now + ONE_HOUR, now + TWO_HOURS, title, location, 0)); in testGetAppWidgetModel_1Event() 117 eventInfo.title = title; in testGetAppWidgetModel_1Event() 144 eventInfo.title = title + i; in testGetAppWidgetModel_AllDayEventLater() 146 cursor.addRow(getRow(0, now + ONE_HOUR, now + TWO_HOURS, title + i, location + i, 0)); in testGetAppWidgetModel_AllDayEventLater() 166 eventInfo.title = title + i; in testGetAppWidgetModel_AllDayEventLater() 167 cursor.addRow(getRow(1, start, end, title + i, location + i, 0)); in testGetAppWidgetModel_AllDayEventLater() 178 private Object[] getRow(int allDay, long begin, long end, String title, String location, in getRow() argument 184 row[CalendarAppWidgetService.INDEX_TITLE] = new String(title); in getRow()
|
/packages/apps/Contacts/src/com/android/contacts/vcard/ |
D | ExportProcessor.java | 162 final String title = in runInternal() local 165 doFinishNotification(title, null); in runInternal() 171 final String title = in runInternal() local 173 doFinishNotification(title, null); in runInternal() 190 final String title = in runInternal() 193 doFinishNotification(title, null); in runInternal() 224 final String title = filename == null in runInternal() local 227 doFinishNotification(title, null); in runInternal() 285 private void doFinishNotification(final String title, final String description) { in doFinishNotification() argument 286 if (DEBUG) Log.d(LOG_TAG, "send finish notification: " + title + ", " + description); in doFinishNotification() [all …]
|
/packages/apps/TV/tests/common/src/com/android/tv/testing/data/ |
D | ProgramInfo.java | 95 public final String title; field in ProgramInfo 125 String title, in ProgramInfo() argument 135 this.title = title; in ProgramInfo() 200 if (!GEN_TITLE.equals(title) in build() 208 GEN_TITLE.equals(title) ? "Title(" + index + ")" : title, in build() 226 + title in toString() 246 && Objects.equals(title, that.title) in equals() 257 return Objects.hash(title, episode, seasonNumber, episodeNumber); in hashCode() 272 public Builder setTitle(String title) { in setTitle() argument 273 mTitle = title; in setTitle()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DropdownBreadcrumb.java | 134 final TextView title = (TextView) convertView.findViewById(android.R.id.title); in getView() local 139 title.setText(root.title); in getView() 141 title.setText(doc.displayName); in getView() 154 final TextView title = (TextView) convertView.findViewById(android.R.id.title); in getDropDownView() local 159 title.setText(root.title); in getDropDownView() 161 title.setText(doc.displayName); in getDropDownView()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | LoaderCursor.java | 153 info.title = getTitle(); in loadSimpleWorkspaceItem() 207 String title = getString(titleIndex); in getTitle() local 208 return TextUtils.isEmpty(title) ? "" : Utilities.trim(title); in getTitle() 226 String title = getTitle(); in getRestoredItemInfo() local 227 if (!TextUtils.isEmpty(title)) { in getRestoredItemInfo() 228 info.title = Utilities.trim(title); in getRestoredItemInfo() 231 if (TextUtils.isEmpty(info.title)) { in getRestoredItemInfo() 232 info.title = getTitle(); in getRestoredItemInfo() 238 info.contentDescription = mPM.getUserBadgedLabel(info.title, info.user); in getRestoredItemInfo() 285 if (TextUtils.isEmpty(info.title)) { in getAppShortcutInfo() [all …]
|
/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/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestMenuItem.java | 42 @StringRes int title; field in TestMenuItem 56 public TestMenuItem setTitle(@StringRes int title) { in setTitle() argument 57 this.title = title; in setTitle() 62 public TestMenuItem setTitle(@StringRes CharSequence title) { in setTitle() argument 115 public void assertTitle(@StringRes int title) { in assertTitle() argument 116 assertTrue(this.title == title); in assertTitle()
|
/packages/apps/TV/src/com/android/tv/dvr/ui/list/ |
D | SchedulesHeaderRow.java | 30 public SchedulesHeaderRow(String title, String description, int itemCount) { in SchedulesHeaderRow() argument 31 mTitle = title; in SchedulesHeaderRow() 37 public void setTitle(String title) { in setTitle() argument 38 mTitle = title; in setTitle() 70 public DateHeaderRow(String title, String description, int itemCount, long deadLineMs) { in DateHeaderRow() argument 71 super(title, description, itemCount); in DateHeaderRow() 87 String title, in SeriesRecordingHeaderRow() argument 92 super(title, description, itemCount); in SeriesRecordingHeaderRow()
|
/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 …]
|