Home
last modified time | relevance | path

Searched refs:loadLabel (Results 1 – 25 of 282) sorted by relevance

12345678910>>...12

/packages/apps/Settings/tests/unit/src/com/android/settings/display/
DThemePreferenceControllerTest.java79 when(info.loadLabel(any())).thenReturn("Theme1"); in testUpdateState()
81 when(info.loadLabel(any())).thenReturn("Theme2"); in testUpdateState()
115 when(info.loadLabel(any())).thenReturn("Theme1"); in testUpdateState_withStaticOverlay()
117 when(info.loadLabel(any())).thenReturn("Theme2"); in testUpdateState_withStaticOverlay()
/packages/apps/TV/src/com/android/tv/util/
DTvInputManagerHelper.java206 CharSequence label = info.loadLabel(mContext);
249 mTvInputLabels.put(inputId, info.loadLabel(mContext).toString());
271 mTvInputLabels.put(inputInfo.getId(), inputInfo.loadLabel(mContext).toString());
449 public String loadLabel(TvInputInfo info) { in loadLabel() method in TvInputManagerHelper
452 label = info.loadLabel(mContext).toString(); in loadLabel()
716 return mInputManager.loadLabel(lhs).compareTo(mInputManager.loadLabel(rhs)); in compare()
796 label = mTvInputManagerHelper.loadLabel(input); in getLabel()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/
DDevicePrefFragment.java166 info.activityInfo.loadLabel(getContext().getPackageManager())); in updateGoogleSettings()
187 castPref.setTitle(info.activityInfo.loadLabel(getContext().getPackageManager())); in updateCastSettings()
213 summary = info.loadLabel(getContext().getPackageManager()); in updateKeyboardAutofillSettings()
220 CharSequence autofillInfo = appInfo.loadLabel(); in updateKeyboardAutofillSettings()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperListAdapter.java117 holder.title.setText(wallpaperInfo.info.loadLabel(mPackageManager)); in getView()
169 return mCollator.compare(info1.loadLabel(packageManager), in doInBackground()
170 info2.loadLabel(packageManager)); in doInBackground()
207 String title = info.loadLabel(packageManager).toString(); in doInBackground()
/packages/apps/Settings/src/com/android/settings/accessibility/
DShortcutServicePickerFragment.java209 public CharSequence loadLabel() { in loadLabel() method in ShortcutServicePickerFragment.FrameworkCandidateInfo
233 public CharSequence loadLabel() { in loadLabel() method in ShortcutServicePickerFragment.ServiceCandidateInfo
236 mServiceInfo.getResolveInfo().serviceInfo.loadLabel(pmw); in loadLabel()
246 return appInfo.loadLabel(pmw); in loadLabel()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/accessibility/
DShortcutServicePickerFragment.java209 public CharSequence loadLabel() { in loadLabel() method in ShortcutServicePickerFragment.FrameworkCandidateInfo
233 public CharSequence loadLabel() { in loadLabel() method in ShortcutServicePickerFragment.ServiceCandidateInfo
236 mServiceInfo.getResolveInfo().serviceInfo.loadLabel(pmw); in loadLabel()
246 return appInfo.loadLabel(pmw); in loadLabel()
DToggleAccessibilityServicePreferenceFragment.java149 info.getResolveInfo().loadLabel(getPackageManager()))) in onCreateDialog()
151 info.getResolveInfo().loadLabel(getPackageManager()))) in onCreateDialog()
252 .loadLabel(getPackageManager())); in createConfirmCredentialReasonMessage()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/inputmethod/
DKeyboardFragment.java128 entries.add(info.loadLabel(packageManager)); in updateCurrentKeyboardPreference()
170 info.loadLabel(packageManager))); in updateKeyboardsSettings()
225 : app.loadLabel(); in updateCurrentAutofillPreference()
249 preference.setTitle(getContext().getString(R.string.title_settings, info.loadLabel())); in updateAutofillSettings()
/packages/apps/WallpaperPicker2/src/com/android/wallpaper/model/
DLiveWallpaperInfo.java235 return mCollator.compare(info1.loadLabel(pm), info2.loadLabel(pm)); in getAllOnDevice()
251 CharSequence labelCharSeq = mInfo.loadLabel(context.getPackageManager()); in getTitle()
260 CharSequence labelCharSeq = mInfo.loadLabel(context.getPackageManager()); in getAttributions()
/packages/apps/Settings/tests/robotests/src/com/android/settings/inputmethod/
DVirtualKeyboardPreferenceControllerTest.java105 when(imis.get(0).loadLabel(mPm)).thenReturn("label"); in updateState_singleIme_setImeLabelToSummary()
125 when(imis.get(0).loadLabel(mPm)).thenReturn(label1); in updateState_multiImeWithMixedLocale_setImeLabelToSummary()
127 when(imis.get(1).loadLabel(mPm)).thenReturn(label2); in updateState_multiImeWithMixedLocale_setImeLabelToSummary()
/packages/apps/WallpaperPicker/src/com/android/wallpaperpicker/tileinfo/
DLiveWallpaperInfo.java67 label.setText(mInfo.loadLabel(context.getPackageManager())); in createView()
93 return mCollator.compare(info1.loadLabel(pm), info2.loadLabel(pm)); in doInBackground()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/television/
DAllAppPermissionsFragment.java136 final CharSequence label = appInfo.loadLabel(pm); in updateUi()
223 pref.setTitle(group.loadLabel(pm)); in findOrCreate()
247 pref.setTitle(perm.loadLabel(getActivity().getPackageManager())); in getMutablePreference()
273 pref.setTitle(perm.loadLabel(pm)); in getImmutablePreference()
/packages/apps/Settings/tests/robotests/src/com/android/settings/applications/
DDefaultAppsPreferenceControllerTest.java70 when(mBrowserApplicationInfo.loadLabel(mPackageManager)).thenReturn("Browser1"); in setUp()
73 when(mDialerApplicationInfo.loadLabel(mPackageManager)).thenReturn("Phone1"); in setUp()
76 when(mSmsApplicationInfo.loadLabel(mPackageManager)).thenReturn("Sms1"); in setUp()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/pictureinpicture/
DPictureInPictureSettings.java80 CharSequence sa = a.first.loadLabel(mPm); in compare()
82 CharSequence sb = b.first.loadLabel(mPm); in compare()
162 final CharSequence label = appInfo.loadLabel(mPackageManager); in onResume()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/applications/specialaccess/pictureinpicture/
DPictureInPictureSettings.java80 CharSequence sa = a.first.loadLabel(mPm); in compare()
82 CharSequence sb = b.first.loadLabel(mPm); in compare()
162 final CharSequence label = appInfo.loadLabel(mPackageManager); in onResume()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/
DPermissionApps.java231 CharSequence groupLabel = groupInfo.loadLabel(packageManager); in loadPermissionApps()
282 label = app.applicationInfo.loadLabel(mPm).toString(); in loadPermissionApps()
334 mLabel = info.loadLabel(mPm); in loadGroupInfo()
523 data = Pair.create(app.loadLabel(mPm).toString(), in getAppData()
/packages/apps/Settings/tests/robotests/src/com/android/settings/development/
DWebViewAppPreferenceControllerTest.java73 when(mAppInfo.loadLabel()).thenReturn("SomeRandomAppLabel!!!"); in updateState_hasAppLabel_shouldSetAppLabelAndIcon()
82 when(mAppInfo.loadLabel()).thenReturn(null); in updateState_noAppLabel_shouldSetAppDefaultLabelAndNullIcon()
/packages/apps/Settings/tests/robotests/src/com/android/settings/notification/
DNotificationAssistantPreferenceControllerTest.java61 .loadLabel(); in testGetSummary_noAssistant()
89 public CharSequence loadLabel() { return cn.flattenToString(); } in createCandidateInfo()
/packages/apps/SettingsIntelligence/src/com/android/settings/intelligence/search/query/
DInstalledAppResultTask.java82 final CharSequence label = info.loadLabel(mPackageManager); in query()
98 .setTitle(info.loadLabel(mPackageManager)) in query()
/packages/apps/Car/Settings/tests/robotests/src/com/android/car/settings/applications/defaultapps/
DDefaultAppEntryBasePreferenceControllerTest.java92 when(defaultAppInfo.loadLabel()).thenReturn(TEST_LABEL); in refreshUi_hasDefaultAppWithLabel_summaryAndIconAreSet()
105 when(defaultAppInfo.loadLabel()).thenReturn(null); in refreshUi_hasDefaultAppWithoutLabel_summaryAndIconAreNotSet()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationAssistantPicker.java112 info.loadLabel()); in getConfirmationMessage()
155 public CharSequence loadLabel() { in loadLabel() method in NotificationAssistantPicker.CandidateNone
/packages/apps/Settings/src/com/android/settings/webview/
DWebViewAppPicker.java127 public CharSequence loadLabel() { in loadLabel() method in WebViewAppPicker.WebViewAppInfo
133 return String.format("%s %s", super.loadLabel(), versionName); in loadLabel()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/webview/
DWebViewAppPicker.java127 public CharSequence loadLabel() { in loadLabel() method in WebViewAppPicker.WebViewAppInfo
133 return String.format("%s %s", super.loadLabel(), versionName); in loadLabel()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/notification/
DNotificationAssistantPicker.java112 info.loadLabel()); in getConfirmationMessage()
155 public CharSequence loadLabel() { in loadLabel() method in NotificationAssistantPicker.CandidateNone
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/specialaccess/
DNotificationAccess.java115 service.packageName, 0).loadLabel(mPackageManager); in updateList()
120 final String summary = service.loadLabel(mPackageManager).toString(); in updateList()

12345678910>>...12