/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sidebar/ |
D | RootsFragmentTest.java | 53 TestProvidersAccess.RECENTS.title, 54 TestProvidersAccess.IMAGE.title, 55 TestProvidersAccess.VIDEO.title, 56 TestProvidersAccess.AUDIO.title, 57 TestProvidersAccess.DOCUMENT.title, 58 TestProvidersAccess.DOWNLOADS.title, 60 TestProvidersAccess.EXTERNALSTORAGE.title, 61 TestProvidersAccess.HAMMY.title, 63 TestProvidersAccess.INSPECTOR.title, 64 TestProvidersAccess.PICKLES.title}; [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() 227 String title = "Aaaaargh"; in buildAvrcpItemFromAvrcpAttributes_imageHandleTooShort() local [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/model/data/ |
D | FolderInfo.java | 160 writer.put(LauncherSettings.Favorites.TITLE, title) in onAddToDatabase() 215 folderIcon.setLabelInfo(title.toString()); in buildProto() 226 public void setTitle(@Nullable CharSequence title, ModelWriter modelWriter) { in setTitle() argument 229 if (isEmpty(title) && this.title == null) { in setTitle() 234 if (title != null && title.equals(this.title)) { in setTitle() 238 this.title = title; in setTitle() 240 title == null ? LabelState.UNLABELED in setTitle() 241 : title.length() == 0 ? LabelState.EMPTY : in setTitle() 259 return title == null ? LabelState.UNLABELED in getLabelState() 260 : title.length() == 0 ? LabelState.EMPTY : in getLabelState() [all …]
|
/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/DocumentsUI/tests/common/com/android/documentsui/testing/ |
D | TestProvidersAccess.java | 65 DOWNLOADS.title = "Downloads"; 75 HOME.title = "Home"; 86 HAMMY.title = "Ham Sandwich"; 94 PICKLES.title = "Pickles"; 106 RECENTS.title = "Recents"; 112 INSPECTOR.title = "Inspector"; 120 IMAGE.title = "Images"; 127 AUDIO.title = "Audio"; 134 VIDEO.title = "Videos"; 141 DOCUMENT.title = "Documents"; [all …]
|
D | TestMenuItem.java | 43 @StringRes int title; field in TestMenuItem 57 public TestMenuItem setTitle(@StringRes int title) { in setTitle() argument 58 this.title = title; in setTitle() 63 public TestMenuItem setTitle(@StringRes CharSequence title) { in setTitle() argument 110 public void assertTitle(@StringRes int title) { in assertTitle() argument 111 assertTrue(this.title == title); in assertTitle()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | AppbarFragment.java | 83 protected static Bundle createArguments(CharSequence title) { in createArguments() argument 85 args.putCharSequence(ARG_TITLE, title); in createArguments() 113 CharSequence title; in setUpToolbar() local 115 title = getArguments().getCharSequence(ARG_TITLE, getDefaultTitle()); in setUpToolbar() 117 title = getDefaultTitle(); in setUpToolbar() 119 if (!TextUtils.isEmpty(title)) { in setUpToolbar() 120 setTitle(title); in setUpToolbar() 187 protected void setTitle(CharSequence title) { in setTitle() argument 193 mTitleView.setText(title); in setTitle() 195 mToolbar.setTitle(title); in setTitle() [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
|
D | widgets_predication_update_task_data.txt | 9 bgItem s itemType=0 title=app1-class1 intent=component=app1/class1 id=1 10 bgItem s itemType=0 title=app1-class2 intent=component=app1/class2 id=2 11 bgItem s itemType=0 title=app2-class1 intent=component=app2/class1 id=3 12 bgItem s itemType=0 title=app2-class2 intent=component=app2/class2 id=4 15 bgItem s itemType=0 status=2 title=app3-class1 intent=component=app3/class1 id=5 16 bgItem s itemType=0 status=2 title=app3-class2 intent=component=app3/class2 id=6 17 bgItem s itemType=1 status=1 title=app3-shrt intent=component=app3/class3 id=7 20 bgItem s itemType=1 status=1 title=app4-shrt intent=component=app4/class1 id=8
|
D | package_install_state_change_task_data.txt | 9 bgItem s itemType=0 title=app1-class1 intent=component=app1/class1 id=1 10 bgItem s itemType=0 title=app1-class2 intent=component=app1/class2 id=2 11 bgItem s itemType=0 title=app2-class1 intent=component=app2/class1 id=3 12 bgItem s itemType=0 title=app2-class2 intent=component=app2/class2 id=4 15 bgItem s itemType=0 status=2 title=app3-class1 intent=component=app3/class1 id=5 16 bgItem s itemType=0 status=2 title=app3-class2 intent=component=app3/class2 id=6 17 bgItem s itemType=1 status=1 title=app3-shrt intent=component=app3/class3 id=7 20 bgItem s itemType=1 status=1 title=app4-shrt intent=component=app4/class1 id=8
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/connectivity/setup/ |
D | ProxySettingsState.java | 101 String title = getString(R.string.title_wifi_proxy_settings); in onCreateGuidance() local 103 title, in onCreateGuidance() 124 .title(R.string.wifi_action_proxy_none) in onCreateActions() 128 .title(R.string.wifi_action_proxy_manual) in onCreateActions() 136 CharSequence title = null; in onViewCreated() local 138 title = mAdvancedOptionsFlowInfo.get(AdvancedOptionsFlowInfo.PROXY_SETTINGS); in onViewCreated() 141 title = getString(R.string.wifi_action_proxy_none); in onViewCreated() 143 title = getString(R.string.wifi_action_proxy_manual); in onViewCreated() 145 moveToPosition(title); in onViewCreated() 148 private void moveToPosition(CharSequence title) { in moveToPosition() argument [all …]
|
D | IpSettingsState.java | 124 CharSequence title; in onViewCreated() local 126 title = mAdvancedOptionsFlowInfo.get(AdvancedOptionsFlowInfo.IP_SETTINGS); in onViewCreated() 129 title = getString(R.string.wifi_action_static); in onViewCreated() 131 title = getString(R.string.wifi_action_dhcp); in onViewCreated() 133 moveToPosition(title); in onViewCreated() 136 private void moveToPosition(CharSequence title) { in moveToPosition() argument 137 if (title == null) return; in moveToPosition() 139 if (TextUtils.equals(getActions().get(i).getTitle(), title)) { in moveToPosition() 151 .title(getString(R.string.wifi_action_dhcp)) in onCreateActions() 155 .title(getString(R.string.wifi_action_static)) in onCreateActions()
|
/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/TvSettings/Settings/src/com/android/tv/settings/service/ |
D | PreferenceParcelable.java | 38 private String title; field in PreferenceParcelable 81 public PreferenceParcelable(String[] key, String title) { in PreferenceParcelable() argument 83 this.title = title; in PreferenceParcelable() 86 public PreferenceParcelable(String[] key, String title, String summary) { in PreferenceParcelable() argument 87 this(key, title); in PreferenceParcelable() 96 return title; in getTitle() 99 public void setTitle(String title) { in setTitle() argument 100 this.title = title; in setTitle() 209 ", title='" + title + '\'' + in toString() 224 copy.setTitle(title); in immutableCopy() [all …]
|
/packages/apps/Camera2/src/com/android/camera/ |
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() 138 private final String title; field in MediaSaverImpl.ImageSaveTask 148 public ImageSaveTask(byte[] data, String title, long date, Location loc, in ImageSaveTask() argument [all …]
|
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 …]
|
/packages/apps/Settings/src/com/android/settings/wifi/slice/ |
D | WifiSlice.java | 129 final String title = mContext.getString(R.string.wifi_settings); in getHeaderRow() local 132 ListBuilder.ICON_IMAGE, title); in getHeaderRow() 135 .setTitle(title) in getHeaderRow() 152 final CharSequence title = wifiSliceItem.getTitle(); in getWifiSliceItemRow() local 156 .setTitle(title) in getWifiSliceItemRow() 159 .setPrimaryAction(getWifiEntryAction(wifiSliceItem, levelIcon, title)); in getWifiSliceItemRow() 198 CharSequence title) { in getWifiEntryAction() argument 211 return getActivityAction(requestCode, intent, icon, title); in getWifiEntryAction() 217 return getActivityAction(requestCode, intent, icon, title); in getWifiEntryAction() 223 return getBroadcastAction(requestCode, intent, icon, title); in getWifiEntryAction() [all …]
|
/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/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/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/Camera2/src/com/android/camera/session/ |
D | PlaceholderManager.java | 51 Placeholder(String title, Uri uri, long timestamp) { in Placeholder() argument 52 outputTitle = title; in Placeholder() 71 public Placeholder insertEmptyPlaceholder(String title, Size size, long timestamp) { in insertEmptyPlaceholder() argument 73 return new Placeholder(title, uri, timestamp); in insertEmptyPlaceholder() 85 public Placeholder insertPlaceholder(String title, Bitmap placeholder, long timestamp) { in insertPlaceholder() argument 86 if (title == null || placeholder == null) { in insertPlaceholder() 98 return new Placeholder(title, uri, timestamp); in insertPlaceholder() 101 public Placeholder insertPlaceholder(String title, byte[] placeholder, long timestamp) { in insertPlaceholder() argument 102 if (title == null || placeholder == null) { in insertPlaceholder() 108 return insertPlaceholder(title, bitmap, timestamp); in insertPlaceholder()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/ |
D | LoaderCursor.java | 172 info.title = getTitle(); in loadSimpleWorkspaceItem() 219 String title = getString(titleIndex); in getTitle() local 220 return TextUtils.isEmpty(title) ? "" : Utilities.trim(title); in getTitle() 238 String title = getTitle(); in getRestoredItemInfo() local 239 if (!TextUtils.isEmpty(title)) { in getRestoredItemInfo() 240 info.title = Utilities.trim(title); in getRestoredItemInfo() 243 if (TextUtils.isEmpty(info.title)) { in getRestoredItemInfo() 244 info.title = getTitle(); in getRestoredItemInfo() 250 info.contentDescription = mPM.getUserBadgedLabel(info.title, info.user); in getRestoredItemInfo() 301 if (TextUtils.isEmpty(info.title)) { in getAppShortcutInfo() [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()
|