Home
last modified time | relevance | path

Searched refs:infos (Results 1 – 25 of 32) sorted by relevance

12

/packages/inputmethods/LatinIME/tests/src/com/android/inputmethod/latin/
DSuggestedWordsTests.java63 final ArrayList<SuggestedWordInfo> infos = new ArrayList<>(); in createCorrectionWordInfos() local
65 infos.add(createCorrectionWordInfo(word)); in createCorrectionWordInfos()
67 return infos; in createCorrectionWordInfos()
84 final ArrayList<SuggestedWordInfo> infos = createCorrectionWordInfos("a", "c"); in testRemoveDupesNoDupes() local
85 assertEquals(-1, SuggestedWordInfo.removeDups("b", infos)); in testRemoveDupesNoDupes()
86 assertEquals(2, infos.size()); in testRemoveDupesNoDupes()
90 final ArrayList<SuggestedWordInfo> infos = createCorrectionWordInfos("a", "a", "c"); in testRemoveDupesTypedWordNotDupe() local
91 assertEquals(-1, SuggestedWordInfo.removeDups("b", infos)); in testRemoveDupesTypedWordNotDupe()
92 assertEquals(2, infos.size()); in testRemoveDupesTypedWordNotDupe()
96 final ArrayList<SuggestedWordInfo> infos = createCorrectionWordInfos("a", "b", "c"); in testRemoveDupesTypedWordOnlyDupe() local
[all …]
/packages/services/Telephony/src/com/android/phone/
DEmergencyActionGroup.java128 List<ResolveInfo> infos; in setupAssistActions() local
131 infos = resolveAssistPackageAndQueryActivites(); in setupAssistActions()
133 infos = null; in setupAssistActions()
142 if (infos != null && infos.size() > i && infos.get(i) != null) { in setupAssistActions()
143 ResolveInfo info = infos.get(i); in setupAssistActions()
158 List<ResolveInfo> infos = queryAssistActivities(); in resolveAssistPackageAndQueryActivites() local
160 if (infos == null || infos.isEmpty()) { in resolveAssistPackageAndQueryActivites()
163 infos = packageManager.queryIntentActivities(queryIntent, 0); in resolveAssistPackageAndQueryActivites()
166 for (int i = 0; i < infos.size(); i++) { in resolveAssistPackageAndQueryActivites()
167 if (infos.get(i).activityInfo == null) continue; in resolveAssistPackageAndQueryActivites()
[all …]
/packages/services/Telephony/src/com/android/phone/settings/
DCallForwardInfoUtil.java42 public static CallForwardInfo infoForReason(CallForwardInfo[] infos, int reason) { in infoForReason() argument
43 if (infos == null) { in infoForReason()
48 for (int i = 0; i < infos.length; i++) { in infoForReason()
49 if (infos[i].reason == reason) { in infoForReason()
50 return infos[i]; in infoForReason()
94 public static CallForwardInfo getCallForwardInfo(CallForwardInfo[] infos, int reason) { in getCallForwardInfo() argument
96 for (int i = 0 ; i < infos.length; i++) { in getCallForwardInfo()
97 if (isServiceClassVoice(infos[i])) { in getCallForwardInfo()
98 info = infos[i]; in getCallForwardInfo()
DVoicemailProviderSettings.java68 public VoicemailProviderSettings(String voicemailNumber, CallForwardInfo[] infos) { in VoicemailProviderSettings() argument
70 mForwardingSettings = infos; in VoicemailProviderSettings()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/display/daydream/
DDaydreamFragment.java120 final List<DreamBackend.DreamInfo> infos = mBackend.getDreamInfos(); in refreshActiveDreamPref() local
121 final CharSequence[] dreamEntries = new CharSequence[infos.size() + 1]; in refreshActiveDreamPref()
122 final CharSequence[] dreamEntryValues = new CharSequence[infos.size() + 1]; in refreshActiveDreamPref()
123 refreshDreamInfoMap(infos, dreamEntries, dreamEntryValues); in refreshActiveDreamPref()
131 private void refreshDreamInfoMap(List<DreamBackend.DreamInfo> infos, in refreshDreamInfoMap() argument
137 for (final DreamBackend.DreamInfo info : infos) { in refreshDreamInfoMap()
/packages/apps/Camera2/src/com/android/camera/settings/
DAppUpgrader.java136 CameraDeviceInfo infos = CameraAgentFactory in upgrade() local
139 upgradeCameraSizeSetting(settingsManager, context, infos, in upgrade()
141 upgradeCameraSizeSetting(settingsManager, context, infos, in upgrade()
309 Context context, CameraDeviceInfo infos, in upgradeCameraSizeSetting() argument
325 if (infos == null) { in upgradeCameraSizeSetting()
331 int camera = SettingsUtil.getCameraId(infos, facing); in upgradeCameraSizeSetting()
/packages/apps/Settings/src/com/android/settings/applications/
DDefaultEmergencyPreference.java93 List<ResolveInfo> infos = packageManager.queryIntentActivities(QUERY_INTENT, 0); in resolveAssistPackageAndQueryApps() local
96 final int size = infos.size(); in resolveAssistPackageAndQueryApps()
98 ResolveInfo info = infos.get(i); in resolveAssistPackageAndQueryApps()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/storage/
DConfirmClearCacheFragment.java59 final List<PackageInfo> infos = pm.getInstalledPackages(0); in onGuidedActionClicked() local
60 for (PackageInfo info : infos) { in onGuidedActionClicked()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DLauncherAppsCompatV16.java64 List<ResolveInfo> infos = mPm.queryIntentActivities(mainIntent, 0); in getActivityList() local
66 new ArrayList<LauncherActivityInfoCompat>(infos.size()); in getActivityList()
67 for (ResolveInfo info : infos) { in getActivityList()
/packages/apps/TV/src/com/android/tv/parental/
DContentRatingsManager.java46 List<TvContentRatingSystemInfo> infos = manager.getTvContentRatingSystemList(); in update() local
47 for (TvContentRatingSystemInfo info : infos) { in update()
/packages/apps/Gallery2/src/com/android/gallery3d/util/
DGalleryUtils.java212 List<ResolveInfo> infos = packageManager.queryIntentActivities( in isEditorAvailable() local
215 .putBoolean(hasKey, !infos.isEmpty()) in isEditorAvailable()
227 List<ResolveInfo> infos = packageManager.queryIntentActivities( in isAnyCameraAvailable() local
230 .putBoolean(KEY_HAS_CAMERA, !infos.isEmpty()) in isAnyCameraAvailable()
/packages/apps/Gallery2/src/com/android/photos/views/
DHeaderGridView.java261 private boolean areAllListInfosSelectable(ArrayList<FixedViewInfo> infos) { in areAllListInfosSelectable() argument
262 if (infos != null) { in areAllListInfosSelectable()
263 for (FixedViewInfo info : infos) { in areAllListInfosSelectable()
/packages/apps/Settings/src/com/android/settings/display/
DAppGridView.java110 final List<ResolveInfo> infos = pm.queryIntentActivities(mainIntent, 0); in loadAllApps() local
111 for (ResolveInfo info : infos) { in loadAllApps()
/packages/apps/Settings/src/com/android/settings/notification/
DNotificationStation.java197 List<HistoricalNotificationInfo> infos = loadNotifications(); in refreshList() local
198 if (infos != null) { in refreshList()
199 final int N = infos.size(); in refreshList()
201 Collections.sort(infos, mNotificationSorter); in refreshList()
208 new HistoricalNotificationPreference(getPrefContext(), infos.get(i))); in refreshList()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/launcher3/
DLiveWallpaperListAdapter.java185 protected void onProgressUpdate(LiveWallpaperTile...infos) { in onProgressUpdate() argument
186 for (LiveWallpaperTile info : infos) { in onProgressUpdate()
/packages/apps/Launcher2/src/com/android/launcher2/
DInstallShortcutReceiver.java117 ArrayList<PendingInstallShortcutInfo> infos = in getAndClearInstallQueue() local
143 infos.add(info); in getAndClearInstallQueue()
151 return infos; in getAndClearInstallQueue()
/packages/apps/Launcher3/src/com/android/launcher3/
DInstallShortcutReceiver.java126 ArrayList<PendingInstallShortcutInfo> infos = in getAndClearInstallQueue() local
131 infos.add(info); in getAndClearInstallQueue()
135 return infos; in getAndClearInstallQueue()
/packages/wallpapers/LivePicker/src/com/android/wallpaper/livepicker/
DLiveWallpaperListAdapter.java227 protected void onProgressUpdate(LiveWallpaperInfo...infos) { in onProgressUpdate() argument
228 for (LiveWallpaperInfo info : infos) { in onProgressUpdate()
/packages/inputmethods/LatinIME/java/src/com/android/inputmethod/latin/
DSuggestedWords.java194 final CompletionInfo[] infos) { in getFromApplicationSpecifiedCompletions() argument
196 for (final CompletionInfo info : infos) { in getFromApplicationSpecifiedCompletions()
/packages/apps/Launcher3/src/com/android/launcher3/util/
DManagedProfileHeuristic.java149 private void sortList(ArrayList<ShortcutInfo> infos) { in sortList() argument
150 Collections.sort(infos, new Comparator<ShortcutInfo>() { in sortList()
/packages/apps/LegacyCamera/src/com/android/camera/ui/
DSharePopup.java239 List<ResolveInfo> infos = packageManager.queryIntentActivities( in createShareMenu() local
243 for (ResolveInfo info : infos) { in createShareMenu()
/packages/apps/Camera2/src/com/android/camera/exif/
DExifInterface.java1623 SparseIntArray infos = getTagInfo(); in setTagDefinition() local
1642 int tagInfo = infos.get(def); in setTagDefinition()
1663 SparseIntArray infos = getTagInfo(); in getTagDefinitionsForTagId() local
1666 if (infos.get(def) != DEFINITION_NULL) { in getTagDefinitionsForTagId()
1689 SparseIntArray infos = getTagInfo(); in getTagDefinitionForTag() local
1692 int info = infos.get(i); in getTagDefinitionForTag()
/packages/apps/Gallery2/gallerycommon/src/com/android/gallery3d/exif/
DExifInterface.java1644 SparseIntArray infos = getTagInfo(); in setTagDefinition() local
1663 int tagInfo = infos.get(def); in setTagDefinition()
1684 SparseIntArray infos = getTagInfo(); in getTagDefinitionsForTagId() local
1687 if (infos.get(def) != DEFINITION_NULL) { in getTagDefinitionsForTagId()
1710 SparseIntArray infos = getTagInfo(); in getTagDefinitionForTag() local
1713 int info = infos.get(i); in getTagDefinitionForTag()
/packages/apps/Launcher3/WallpaperPicker/src/com/android/gallery3d/exif/
DExifInterface.java1644 SparseIntArray infos = getTagInfo(); in setTagDefinition() local
1663 int tagInfo = infos.get(def); in setTagDefinition()
1684 SparseIntArray infos = getTagInfo(); in getTagDefinitionsForTagId() local
1687 if (infos.get(def) != DEFINITION_NULL) { in getTagDefinitionsForTagId()
1710 SparseIntArray infos = getTagInfo(); in getTagDefinitionForTag() local
1713 int info = infos.get(i); in getTagDefinitionForTag()
/packages/apps/Messaging/src/com/android/messaging/util/exif/
DExifInterface.java1644 SparseIntArray infos = getTagInfo(); in setTagDefinition() local
1663 int tagInfo = infos.get(def); in setTagDefinition()
1684 SparseIntArray infos = getTagInfo(); in getTagDefinitionsForTagId() local
1687 if (infos.get(def) != DEFINITION_NULL) { in getTagDefinitionsForTagId()
1710 SparseIntArray infos = getTagInfo(); in getTagDefinitionForTag() local
1713 int info = infos.get(i); in getTagDefinitionForTag()

12