Home
last modified time | relevance | path

Searched refs:componentName (Results 1 – 11 of 11) sorted by relevance

/packages/apps/Launcher2/src/com/android/launcher2/
DAppInfoCache.java65 ComponentName componentName = new ComponentName( in cache() local
68 ApplicationInfo application = sCache.get(componentName); in cache()
76 application.setActivity(componentName, in cache()
79 sCache.put(componentName, application); in cache()
93 ComponentName componentName = new ComponentName( in update() local
95 sCache.put(componentName, applicationInfo); in update()
102 public static void remove(ComponentName componentName) { in remove() argument
104 sCache.remove(componentName); in remove()
127 ComponentName componentName = new ComponentName( in getIconDrawable() local
132 cached = sCache.get(componentName); in getIconDrawable()
/packages/apps/GlobalSearch/benchmarks/src/com/android/globalsearch/benchmarks/
DSourceLatency.java74 private SearchableInfo getSearchable(ComponentName componentName) { in getSearchable() argument
75 SearchableInfo searchable = mSearchManager.getSearchableInfo(componentName, false); in getSearchable()
78 + componentName.flattenToShortString()); in getSearchable()
104 public void checkSourceConcurrent(final String src, final ComponentName componentName, in checkSourceConcurrent() argument
107 final SearchableInfo searchable = getSearchable(componentName); in checkSourceConcurrent()
137 public void checkSource(String src, ComponentName componentName, String[] queries) { in checkSource() argument
141 long t = checkSource(src, componentName, queries[i]); in checkSource()
148 public long checkSource(String src, ComponentName componentName, String query) { in checkSource() argument
149 SearchableInfo searchable = getSearchable(componentName); in checkSource()
179 public void checkLiveSource(String src, ComponentName componentName, String query) { in checkLiveSource() argument
[all …]
/packages/providers/ApplicationsProvider/src/com/android/providers/applications/
DApplicationLauncher.java43 ComponentName componentName = ApplicationsProvider.getComponentName(contentUri); in onCreate() local
44 if (componentName != null) { in onCreate()
48 launchIntent.setComponent(componentName); in onCreate()
52 Log.w(TAG, "Activity not found: " + componentName); in onCreate()
/packages/apps/GlobalSearch/tests/src/com/android/globalsearch/
DSimpleSourceLookup.java35 public SuggestionSource getSourceByComponentName(ComponentName componentName) { in getSourceByComponentName() argument
37 if (componentName.equals(source.getComponentName())) { in getSourceByComponentName()
DSessionManagerTest.java74 private SuggestionSource makeSource(ComponentName componentName) { in makeSource() argument
75 return new TestSuggestionSource.Builder().setComponent(componentName).create(); in makeSource()
/packages/apps/GlobalSearch/src/com/android/globalsearch/
DShortcutRefresher.java80 final ComponentName componentName = shortcut.getSource(); in refresh() local
81 SuggestionSource source = mSourceLookup.getSourceByComponentName(componentName); in refresh()
89 mRepo.refreshShortcut(componentName, shortcut.getShortcutId(), null); in refresh()
91 mReceiver.onRefreshShortcut(componentName, shortcut.getShortcutId(), null); in refresh()
DSuggestionSources.java100 public synchronized SuggestionSource getSourceByComponentName(ComponentName componentName) { in getSourceByComponentName() argument
101 SuggestionSource source = mSuggestionSources.get(componentName); in getSourceByComponentName()
106 mSelectedWebSearchSource.getComponentName().equals(componentName)) { in getSourceByComponentName()
346 public SuggestionSource get(ComponentName componentName) { in get() argument
347 return mSourcesByComponent.get(componentName); in get()
DSourceLookup.java29 SuggestionSource getSourceByComponentName(ComponentName componentName); in getSourceByComponentName() argument
DSearchableSuggestionSource.java89 ComponentName componentName = mSearchable.getSearchActivity(); in SearchableSuggestionSource() local
90 mFlattenedComponentName = componentName.flattenToShortString(); in SearchableSuggestionSource()
92 .getActivityInfo(componentName, PackageManager.GET_META_DATA); in SearchableSuggestionSource()
93 mPackageResourceUriPrefix = "android.resource://" + componentName.getPackageName() + "/"; in SearchableSuggestionSource()
98 String suggestProviderPackage = componentName.getPackageName(); in SearchableSuggestionSource()
/packages/apps/Contacts/src/com/android/contacts/
DDialtactsActivity.java206 String componentName = intent.getComponent().getClassName(); in setCurrentTab() local
207 if (getClass().getName().equals(componentName)) { in setCurrentTab()
213 } else if (FAVORITES_ENTRY_COMPONENT.equals(componentName)) { in setCurrentTab()
/packages/apps/Launcher/src/com/android/launcher/
DLauncherModel.java273 ComponentName componentName = new ComponentName( in updateAndCacheApplicationInfo() local
275 mAppInfoCache.put(componentName, applicationInfo); in updateAndCacheApplicationInfo()
431 ComponentName componentName = new ComponentName( in getApplicationInfoIcon() local
434 ApplicationInfo application = mAppInfoCache.get(componentName); in getApplicationInfoIcon()
447 ComponentName componentName = new ComponentName( in makeAndCacheApplicationInfo() local
450 ApplicationInfo application = appInfoCache.get(componentName); in makeAndCacheApplicationInfo()
458 application.setActivity(componentName, in makeAndCacheApplicationInfo()
461 appInfoCache.put(componentName, application); in makeAndCacheApplicationInfo()