Home
last modified time | relevance | path

Searched refs:titleResId (Results 1 – 25 of 65) sorted by relevance

123

/packages/modules/Permission/tests/functional/safetycenter/subpages/src/android/safetycenter/functional/ui/
DSafetyCenterSubpagesTest.kt114 waitPageTitleDisplayed(context.getString(sourceGroup.titleResId)) in launchSafetyCenter_withSubpagesIntentExtra_showsSubpageTitle()
137 waitPageTitleNotDisplayed(context.getString(sourceGroup.titleResId)) in launchSafetyCenter_withNonExistingGroupID_opensHomepageAsFallback()
160 context.getString(firstGroup.titleResId), in launchSafetyCenter_withMultipleGroups_showsHomepageEntries()
162 context.getString(lastGroup.titleResId), in launchSafetyCenter_withMultipleGroups_showsHomepageEntries()
166 openPageAndExit(context.getString(lastGroup.titleResId)) { in launchSafetyCenter_withMultipleGroups_showsHomepageEntries()
167 waitPageTitleDisplayed(context.getString(lastGroup.titleResId)) in launchSafetyCenter_withMultipleGroups_showsHomepageEntries()
192 context.getString(firstGroup.titleResId), in launchSafetyCenter_withMultipleGroupsButFlagDisabled_showsExpandAndCollapseEntries()
194 context.getString(lastGroup.titleResId) in launchSafetyCenter_withMultipleGroupsButFlagDisabled_showsExpandAndCollapseEntries()
217 openPageAndExit(context.getString(firstGroup.titleResId)) { in launchSafetyCenter_redirectBackFromSubpage_showsHomepageEntries()
218 waitPageTitleDisplayed(context.getString(firstGroup.titleResId)) in launchSafetyCenter_redirectBackFromSubpage_showsHomepageEntries()
[all …]
DPrivacySubpageTest.kt97 context.getString(firstSource.titleResId), in privacySubpage_openWithIntentExtra_showsSubpageData()
100 context.getString(lastSource.titleResId), in privacySubpage_openWithIntentExtra_showsSubpageData()
116 waitDisplayed(By.text(context.getString(source.titleResId))) { it.click() } in privacySubpage_clickingOnEntry_redirectsToDifferentScreen()
119 context.getString(source.titleResId), in privacySubpage_clickingOnEntry_redirectsToDifferentScreen()
190 context.getString(source.titleResId), in privacySubpage_clickingOnLocationEntry_redirectsToLocationScreen()
207 context.getString(source.titleResId), in settingsSearch_openWithPrivacyIntentExtra_showsPrivacySubpage()
/packages/modules/Permission/SafetyCenter/Config/tests/java/com/android/safetycenter/config/
DParserConfigOverlayTest.kt47 assertThat(safetySourcesGroup.titleResId).isEqualTo(R.string.reference_not_overlayable) in <lambda>()
48 assertThat(context.resources.getResourceName(safetySourcesGroup.titleResId)) in <lambda>()
50 assertThat(context.resources.getString(safetySourcesGroup.titleResId)).isEqualTo("Base") in <lambda>()
59 assertThat(safetySource.titleResId).isEqualTo(R.string.reference) in <lambda>()
60 assertThat(context.resources.getResourceName(safetySource.titleResId)) in <lambda>()
62 assertThat(context.resources.getString(safetySource.titleResId)).isEqualTo("Reference") in <lambda>()
81 assertThat(safetySourcesGroup.titleResId).isEqualTo(R.string.reference_not_overlayable) in <lambda>()
82 assertThat(context.resources.getResourceName(safetySourcesGroup.titleResId)) in <lambda>()
84 assertThat(context.resources.getString(safetySourcesGroup.titleResId)).isEqualTo("Base") in <lambda>()
93 assertThat(safetySource.titleResId).isEqualTo(R.string.reference) in <lambda>()
[all …]
/packages/apps/DocumentsUI/src/com/android/documentsui/ui/
DOperationProgressDialog.java39 private OperationProgressDialog(Activity activity, String jobId, @StringRes int titleResId, in OperationProgressDialog() argument
44 mDialog.setTitle(mActivity.getString(titleResId)); in OperationProgressDialog()
89 int titleResId; in create() local
93 titleResId = R.string.copy_notification_title; in create()
97 titleResId = R.string.compress_notification_title; in create()
101 titleResId = R.string.extract_notification_title; in create()
105 titleResId = R.string.move_notification_title; in create()
113 return new OperationProgressDialog(activity, jobId, titleResId, prepareResId, operation); in create()
/packages/modules/Permission/tests/cts/safetycenter/src/android/safetycenter/cts/config/
DSafetySourcesGroupTest.kt84 assertThat(STATEFUL_INFERRED_WITH_SUMMARY.titleResId).isEqualTo(REFERENCE_RES_ID) in getTitleResId_returnsTitleResId()
85 assertThat(STATEFUL_INFERRED_WITH_ICON.titleResId).isEqualTo(REFERENCE_RES_ID) in getTitleResId_returnsTitleResId()
86 assertThat(STATEFUL_INFERRED_WITH_BOTH.titleResId).isEqualTo(REFERENCE_RES_ID) in getTitleResId_returnsTitleResId()
87 assertThat(STATELESS_INFERRED.titleResId).isEqualTo(REFERENCE_RES_ID) in getTitleResId_returnsTitleResId()
89 assertThat(HIDDEN_INFERRED.titleResId).isEqualTo(Resources.ID_NULL) in getTitleResId_returnsTitleResId()
91 assertThat(STATEFUL_BAREBONE.titleResId).isEqualTo(REFERENCE_RES_ID) in getTitleResId_returnsTitleResId()
92 assertThat(STATEFUL_ALL_OPTIONAL.titleResId).isEqualTo(REFERENCE_RES_ID) in getTitleResId_returnsTitleResId()
93 assertThat(STATELESS_BAREBONE.titleResId).isEqualTo(REFERENCE_RES_ID) in getTitleResId_returnsTitleResId()
94 assertThat(STATELESS_ALL_OPTIONAL.titleResId).isEqualTo(REFERENCE_RES_ID) in getTitleResId_returnsTitleResId()
95 assertThat(HIDDEN_BAREBONE.titleResId).isEqualTo(Resources.ID_NULL) in getTitleResId_returnsTitleResId()
[all …]
/packages/apps/Contacts/src/com/android/contacts/activities/
DContactSelectionActivity.java203 int titleResId = -1; in configureActivityTitle() local
207 titleResId = R.string.contactInsertOrEditActivityTitle; in configureActivityTitle()
211 titleResId = R.string.contactPickerActivityTitle; in configureActivityTitle()
215 titleResId = R.string.contactPickerActivityTitle; in configureActivityTitle()
219 titleResId = R.string.shortcutActivityTitle; in configureActivityTitle()
223 titleResId = R.string.contactPickerActivityTitle; in configureActivityTitle()
227 titleResId = R.string.contactPickerActivityTitle; in configureActivityTitle()
231 titleResId = R.string.pickerSelectContactsActivityTitle; in configureActivityTitle()
235 titleResId = R.string.pickerSelectContactsActivityTitle; in configureActivityTitle()
239 titleResId = R.string.shortcutActivityTitle; in configureActivityTitle()
[all …]
/packages/modules/Permission/tests/functional/safetycenter/safetycenteractivity/src/android/safetycenter/functional/ui/
DSafetyCenterActivityTest.kt118 context.getString(safetyCenterTestConfigs.staticSourceGroup1.titleResId), in launchActivity_displaysStaticSources()
119 context.getString(safetyCenterTestConfigs.staticSource1.titleResId), in launchActivity_displaysStaticSources()
121 context.getString(safetyCenterTestConfigs.staticSourceGroup2.titleResId), in launchActivity_displaysStaticSources()
122 context.getString(safetyCenterTestConfigs.staticSource2.titleResId), in launchActivity_displaysStaticSources()
190 context.getString(safetyCenterTestConfigs.dynamicSourceGroup1.titleResId), in launchActivity_displaysCollapsedGroupsOfMultipleSource()
192 context.getString(safetyCenterTestConfigs.dynamicSourceGroup3.titleResId), in launchActivity_displaysCollapsedGroupsOfMultipleSource()
261 context.getString(safetyCenterTestConfigs.dynamicSourceGroup1.titleResId), in launchActivity_displaysPrioritizedGroupSummary()
263 context.getString(safetyCenterTestConfigs.dynamicSourceGroup3.titleResId), in launchActivity_displaysPrioritizedGroupSummary()
283 context.getString(safetyCenterTestConfigs.dynamicSource3.titleResId) in launchActivity_displaysGroupsOfSingleSourceAsEntity()
286 context.getString(safetyCenterTestConfigs.dynamicSourceGroup2.titleResId) in launchActivity_displaysGroupsOfSingleSourceAsEntity()
[all …]
/packages/services/Car/packages/CarManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/consent/
DCarConsentUiHelper.java71 int titleResId = 0; in initiateUi() local
76 titleResId = R.string.setup_profile; in initiateUi()
79 titleResId = R.string.setup_device; in initiateUi()
85 mActivity.setTitle(titleResId); in initiateUi()
/packages/modules/Permission/framework-s/java/android/safetycenter/config/
DSafetySourcesGroup.java171 @StringRes int titleResId, in SafetySourcesGroup() argument
177 mTitleResId = titleResId; in SafetySourcesGroup()
366 public Builder setTitleResId(@StringRes int titleResId) { in setTitleResId() argument
367 mTitleResId = titleResId; in setTitleResId()
476 int titleResId = in build() local
481 type, id, titleResId, summaryResId, statelessIconType, safetySources); in build()
DSafetySource.java222 @StringRes int titleResId, in SafetySource() argument
239 mTitleResId = titleResId; in SafetySource()
785 public Builder setTitleResId(@StringRes int titleResId) { in setTitleResId() argument
786 mTitleResId = titleResId; in setTitleResId()
1071 int titleResId = in build() local
1144 titleResId, in build()
/packages/apps/Settings/src/com/android/settings/core/
DSubSettingLauncher.java61 public SubSettingLauncher setTitleRes(@StringRes int titleResId) { in setTitleRes() argument
62 return setTitleRes(null /*titlePackageName*/, titleResId); in setTitleRes()
71 public SubSettingLauncher setTitleRes(String titlePackageName, @StringRes int titleResId) { in setTitleRes() argument
73 mLaunchRequest.mTitleResId = titleResId; in setTitleRes()
/packages/apps/Settings/src/com/android/settings/connecteddevice/
DAvailableMediaDeviceGroupController.java341 int titleResId; in updateTitle()
344 titleResId = R.string.connected_device_call_device_title; in updateTitle()
348 titleResId = R.string.audio_sharing_media_device_group_title; in updateTitle()
351 titleResId = R.string.connected_device_media_device_title; in updateTitle()
357 mPreferenceGroup.setTitle(titleResId); in updateTitle()
/packages/apps/Messaging/src/com/android/messaging/widget/
DWidgetConversationService.java271 int titleResId = -1; in updateViewContent() local
280 titleResId = R.string.message_title_downloading; in updateViewContent()
286 titleResId = R.string.message_title_manual_download; in updateViewContent()
293 titleResId = R.string.message_title_download_failed; in updateViewContent()
301 titleResId = R.string.message_title_download_failed; in updateViewContent()
360 final boolean titleVisible = (titleResId >= 0); in updateViewContent()
362 final String titleText = mContext.getString(titleResId); in updateViewContent()
/packages/apps/ImsServiceEntitlement/src/com/android/imsserviceentitlement/
DSuwUiFragment.java71 int titleResId = arguments.getInt(TITLE_RES_ID_KEY, 0); in onCreateView() local
79 if (titleResId != 0) { in onCreateView()
80 layout.setHeaderText(titleResId); in onCreateView()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/television/
DRadioButtonPreference.java34 public RadioButtonPreference(Context context, int titleResId) { in RadioButtonPreference() argument
37 setTitle(titleResId); in RadioButtonPreference()
/packages/apps/TV/src/com/android/tv/menu/
DItemListRow.java34 int titleResId, in ItemListRow() argument
37 this(context, menu, context.getString(titleResId), itemHeightResId, adapter); in ItemListRow()
DMenuRow.java37 public MenuRow(Context context, Menu menu, int titleResId, int heightResId) { in MenuRow() argument
38 this(context, menu, context.getString(titleResId), heightResId); in MenuRow()
/packages/apps/Settings/src/com/android/settings/biometrics/face/
DFaceEnrollAccessibilityDialog.java49 final int titleResId = in onCreateDialog() local
56 builder.setMessage(titleResId) in onCreateDialog()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DWallpaperCategory.java170 @StringRes int titleResId = attrs.getAttributeResourceValue(null, "title", 0); in Builder() local
171 mTitle = titleResId != 0 ? mPartnerRes.getString(titleResId) : ""; in Builder()
/packages/apps/Settings/src/com/android/settings/sim/
DSimDialogFragment.java40 protected static Bundle initArguments(int dialogType, int titleResId) { in initArguments() argument
43 args.putInt(KEY_TITLE_ID, titleResId); in initArguments()
/packages/apps/TV/tests/common/src/com/android/tv/testing/uihelper/
DSidePanelHelper.java36 public BySelector bySidePanelTitled(int titleResId) { in bySidePanelTitled() argument
38 .hasDescendant(ByResource.text(mTargetResources, titleResId)); in bySidePanelTitled()
/packages/apps/Settings/src/com/android/settings/accounts/
DAccountTypePreference.java76 String titleResPackageName, int titleResId, CharSequence summary, String fragment, in AccountTypePreference() argument
81 mTitleResId = titleResId; in AccountTypePreference()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DDownloadRoleHolderActivity.java111 final int titleResId = R.string.setting_up; in initializeUi() local
113 setTitle(titleResId); in initializeUi()
/packages/apps/Settings/src/com/android/settings/fuelgauge/
DPowerUsageTimeController.java88 int titleResId, in showTimePreference() argument
96 preference.setTimeTitle(mContext.getString(titleResId)); in showTimePreference()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/networkconnection/
DEstablishNetworkConnectionActivity.java128 final int titleResId = R.string.just_a_sec; in initializeUi() local
130 setTitle(titleResId); in initializeUi()

123