/packages/apps/DocumentsUI/tests/unit/com/android/documentsui/sidebar/ |
D | RootsFragmentTest.java | 69 TestProvidersAccess.RECENTS.title, 70 TestProvidersAccess.IMAGE.title, 71 TestProvidersAccess.VIDEO.title, 72 TestProvidersAccess.AUDIO.title, 73 TestProvidersAccess.DOCUMENT.title, 74 TestProvidersAccess.DOWNLOADS.title, 76 TestProvidersAccess.EXTERNALSTORAGE.title, 77 TestProvidersAccess.HAMMY.title, 79 TestProvidersAccess.INSPECTOR.title, 80 TestProvidersAccess.PICKLES.title}; [all …]
|
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/data/entries/ |
D | FormattedDataEntry.kt | 30 val title: String, constant in com.android.healthconnect.controller.data.entries.FormattedEntry.FormattedDataEntry 41 val title: String, constant in com.android.healthconnect.controller.data.entries.FormattedEntry.SleepSessionEntry 51 val title: String, constant in com.android.healthconnect.controller.data.entries.FormattedEntry.ExerciseSessionEntry 62 val title: String, constant in com.android.healthconnect.controller.data.entries.FormattedEntry.SeriesDataEntry 69 data class FormattedSectionTitle(val title: String) : FormattedEntry(uuid = "") constant in com.android.healthconnect.controller.data.entries.FormattedEntry.FormattedSectionTitle 71 data class FormattedSectionContent(val title: String, val bulleted: Boolean = false) : constant in com.android.healthconnect.controller.data.entries.FormattedEntry.FormattedSectionContent 74 data class ItemDataEntrySeparator(val title: String = "") : FormattedEntry(uuid = "") constant in com.android.healthconnect.controller.data.entries.FormattedEntry.ItemDataEntrySeparator 80 val title: String, constant in com.android.healthconnect.controller.data.entries.FormattedEntry.ReverseSessionDetail 88 val title: String, constant in com.android.healthconnect.controller.data.entries.FormattedEntry.FormattedSessionDetail 106 val title: String, constant in com.android.healthconnect.controller.data.entries.FormattedEntry.PlannedExerciseSessionEntry [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/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/ |
D | ProfileDialogFragment.java | 109 String title; in setBlockedByAdminParams() local 112 title = getUpdatedEnterpriseString( in setBlockedByAdminParams() 121 title = getString(R.string.picker_profile_admin_title); in setBlockedByAdminParams() 127 setDialogParams(builder, null, title, message); in setBlockedByAdminParams() 133 String title; in setBlockedByAdminParams() local 143 title = getString(R.string.picker_profile_admin_title); in setBlockedByAdminParams() 148 title = getUpdatedEnterpriseString( in setBlockedByAdminParams() 157 title = getString(R.string.picker_profile_admin_title); in setBlockedByAdminParams() 163 setDialogParams(builder, null, title, message); in setBlockedByAdminParams() 168 String title; in setWorkProfileOffParams() local [all …]
|
/packages/modules/Bluetooth/android/app/tests/unit/src/com/android/bluetooth/avrcpcontroller/ |
D | AvrcpItemTest.java | 65 String title = "Aaaaargh"; in buildAvrcpItem() local 82 builder.setTitle(title); in buildAvrcpItem() 100 Assert.assertEquals(title, item.getTitle()); in buildAvrcpItem() 111 String title = "Aaaaargh"; in buildAvrcpItemFromAvrcpAttributes() local 134 title, artist, album, trackNumber, totalTracks, genre, playingTime, artHandle in buildAvrcpItemFromAvrcpAttributes() 147 Assert.assertEquals(title, item.getTitle()); in buildAvrcpItemFromAvrcpAttributes() 158 String title = "Aaaaargh"; in buildAvrcpItemFromAvrcpAttributesWithBadIds_badIdsIgnored() local 185 title, in buildAvrcpItemFromAvrcpAttributesWithBadIds_badIdsIgnored() 209 Assert.assertEquals(title, item.getTitle()); in buildAvrcpItemFromAvrcpAttributesWithBadIds_badIdsIgnored() 220 String title = "Aaaaargh"; in buildAvrcpItemFromAvrcpAttributes_imageHandleTooShort() local [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/Launcher3/src/com/android/launcher3/model/data/ |
D | FolderInfo.java | 216 void onTitleChanged(CharSequence title); in onTitleChanged() argument 252 folderIcon.setLabelInfo(title.toString()); in buildProto() 263 public void setTitle(@Nullable CharSequence title, ModelWriter modelWriter) { in setTitle() argument 266 if (isEmpty(title) && this.title == null) { in setTitle() 271 if (title != null && title.equals(this.title)) { in setTitle() 275 this.title = title; in setTitle() 277 title == null ? LabelState.UNLABELED in setTitle() 278 : title.length() == 0 ? LabelState.EMPTY : in setTitle() 292 mListeners.get(i).onTitleChanged(title); in setTitle() 300 return title == null ? LabelState.UNLABELED in getLabelState() [all …]
|
/packages/services/Car/tests/EmbeddedKitchenSinkApp/src/com/google/android/car/kitchensink/radio/ |
D | RadioTunerTabAdapter.java | 57 void addFragment(Fragment fragment, String title) { in addFragment() argument 58 if (findTitleIdx(title) != INDEX_TITLE_NOT_FOUND) { in addFragment() 59 Log.e(TAG, "Tuner title " + title + " already exists"); in addFragment() 63 mFragmentTitleList.add(title); in addFragment() 67 void removeFragment(String title) { in removeFragment() argument 68 int titleIdx = findTitleIdx(title); in removeFragment() 70 Log.e(TAG, "Tuner title " + title + " does not exist"); in removeFragment() 82 private int findTitleIdx(String title) { in findTitleIdx() argument 84 if (Objects.equals(mFragmentTitleList.get(i), title)) { in findTitleIdx()
|
/packages/apps/Calendar/src/com/android/calendar/alerts/ |
D | AlertReceiver.kt | 59 title: String, in makeBasicNotification() 71 title, in makeBasicNotification() 86 title: String, in buildBasicNotification() 96 var title: String? = title in buildBasicNotification() variable 98 if (title == null || title.length == 0) { in buildBasicNotification() 99 title = resources.getString(R.string.no_title_label) in buildBasicNotification() 103 notificationBuilder.setContentTitle(title) in buildBasicNotification()
|
/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/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/modules/Bluetooth/system/gd/ |
D | module_unittest_generated.h | 16 const flatbuffers::String* title() const { in title() function 20 …VerifyTableStart(verifier) && VerifyOffset(verifier, VT_TITLE) && verifier.VerifyString(title()) && in Verify() 29 void add_title(flatbuffers::Offset<flatbuffers::String> title) { in add_title() 30 fbb_.AddOffset(ModuleUnitTestData::VT_TITLE, title); in add_title() 44 flatbuffers::FlatBufferBuilder& _fbb, flatbuffers::Offset<flatbuffers::String> title = 0) { 46 builder_.add_title(title); 51 flatbuffers::FlatBufferBuilder& _fbb, const char* title = nullptr) { 52 auto title__ = title ? _fbb.CreateString(title) : 0;
|
/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/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/modules/Bluetooth/android/app/src/com/android/bluetooth/audio_util/helpers/ |
D | Metadata.java | 32 public String title; field in Metadata 55 data.title = title; in clone() 72 if (!Objects.equals(title, m.title)) return false; in equals() 91 return Objects.hash(mediaId, title, artist, album, trackNum, numTracks, genre, duration); in hashCode() 99 + title in toString() 126 if (empty.title.equals(title)) { in replaceDefaults() 127 title = filledMetadata.title; in replaceDefaults() 181 mMetadata.title = data.getString(MediaMetadata.METADATA_KEY_TITLE); in fromMediaMetadata() 226 if (desc.getTitle() != null) mMetadata.title = desc.getTitle().toString(); in fromMediaDescription() 261 mMetadata.title = bundle.getString(MediaMetadata.METADATA_KEY_TITLE); in fromBundle() [all …]
|
/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/modules/HealthFitness/apk/tests/src/com/android/healthconnect/controller/tests/dataentries/formatters/ |
D | ExercisePerformanceGoalFormatterTest.kt | 84 WeightGoal(Mass.fromGrams(1000.0)), title = "2.2 lb", titleA11y = "2.2 pounds")) in <lambda>() 97 title = "30 W - 100 W", in <lambda>() 111 title = "As many reps as possible", in <lambda>() 125 title = "50 rpm - 60 rpm", in <lambda>() 139 title = "50 steps/min - 60 steps/min", in <lambda>() 156 title = "54 km/h - 90 km/h", in <lambda>() 173 title = "00:50 min/km - 01:40 min/km", in <lambda>() 193 title = "00:01 min/100 metres - 00:02 min/100 metres", in formatGoal_swimmingExerciseSegmentType_speedPerformanceGoal_metricSystem_localeUK() 212 title = "00:01 min/100 yards - 00:03 min/100 yards", in formatGoal_swimmingExerciseSegmentType_speedPerformanceGoal_imperialSystem_localeUS() 229 title = "55.923 mph - 33.554 mph", in <lambda>() [all …]
|
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/homescreen/ui/ |
D | DescriptiveTextWithControlsView.java | 38 public DescriptiveTextWithControlsView(CardBackgroundImage image, CharSequence title, in DescriptiveTextWithControlsView() argument 41 mTitle = title; in DescriptiveTextWithControlsView() 45 public DescriptiveTextWithControlsView(CardBackgroundImage image, CharSequence title, in DescriptiveTextWithControlsView() argument 48 mTitle = title; in DescriptiveTextWithControlsView() 53 public DescriptiveTextWithControlsView(CardBackgroundImage image, CharSequence title, in DescriptiveTextWithControlsView() argument 57 mTitle = title; in DescriptiveTextWithControlsView() 64 public DescriptiveTextWithControlsView(CardBackgroundImage image, CharSequence title, in DescriptiveTextWithControlsView() argument 68 mTitle = title; in DescriptiveTextWithControlsView()
|
/packages/apps/Settings/tests/robotests/src/com/android/settings/accessibility/ |
D | FlashNotificationsPreviewPreferenceTest.java | 64 android.R.id.title)).getCurrentTextColor(); in setEnabled_true_verifyEnabledUi() 73 final TextView title = (TextView) mPreferenceViewHolder.findViewById(android.R.id.title); in setEnabled_true_verifyEnabledUi() local 74 assertThat(title.getAlpha()).isEqualTo(1f); in setEnabled_true_verifyEnabledUi() 75 assertThat(title.getCurrentTextColor()).isEqualTo(textColorEnabled); in setEnabled_true_verifyEnabledUi() 89 final TextView title = (TextView) mPreferenceViewHolder.findViewById(android.R.id.title); in setEnabled_false_verifyDisabledUi() local 90 assertThat(title.getAlpha()).isEqualTo(0.38f); in setEnabled_false_verifyDisabledUi() 91 assertThat(title.getCurrentTextColor()).isEqualTo(textColorDisabled); in setEnabled_false_verifyDisabledUi()
|
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/picker/ |
D | AppbarFragment.java | 104 protected static Bundle createArguments(CharSequence title) { in createArguments() argument 106 args.putCharSequence(ARG_TITLE, title); in createArguments() 141 CharSequence title; in setUpToolbar() local 143 title = getArguments().getCharSequence(ARG_TITLE, getDefaultTitle()); in setUpToolbar() 145 title = getDefaultTitle(); in setUpToolbar() 147 if (!TextUtils.isEmpty(title)) { in setUpToolbar() 148 setTitle(title); in setUpToolbar() 243 protected void setTitle(CharSequence title) { in setTitle() argument 249 mTitleView.setText(title); in setTitle() 252 mToolbar.setTitle(title); in setTitle() [all …]
|
/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()
|