/packages/apps/Launcher2/src/com/android/launcher2/ |
D | AppInfoCache.java | 65 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/ |
D | SourceLatency.java | 74 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/ |
D | ApplicationLauncher.java | 43 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/ |
D | SimpleSourceLookup.java | 35 public SuggestionSource getSourceByComponentName(ComponentName componentName) { in getSourceByComponentName() argument 37 if (componentName.equals(source.getComponentName())) { in getSourceByComponentName()
|
D | SessionManagerTest.java | 74 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/ |
D | ShortcutRefresher.java | 80 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()
|
D | SuggestionSources.java | 100 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()
|
D | SourceLookup.java | 29 SuggestionSource getSourceByComponentName(ComponentName componentName); in getSourceByComponentName() argument
|
D | SearchableSuggestionSource.java | 89 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/ |
D | DialtactsActivity.java | 206 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/ |
D | LauncherModel.java | 273 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()
|