/packages/apps/Launcher3/src/com/android/launcher3/ |
D | IconCache.java | 152 public void remove(ComponentName componentName) { in remove() argument 154 mCache.remove(componentName); in remove() 163 for (ComponentName componentName: mCache.keySet()) { in remove() 164 if (componentName.getPackageName().equals(packageName)) { in remove() 165 forDeletion.add(componentName); in remove() 203 CacheEntry entry = cacheLocked(application.componentName, info, labelCache); in getTitleAndIcon() 247 private CacheEntry cacheLocked(ComponentName componentName, ResolveInfo info, in cacheLocked() argument 249 CacheEntry entry = mCache.get(componentName); in cacheLocked() 253 mCache.put(componentName, entry); in cacheLocked() 273 Bitmap preloaded = getPreloadedIcon(componentName); in cacheLocked() [all …]
|
D | InfoDropTarget.java | 70 ComponentName componentName = null; in acceptDrop() local 72 componentName = ((AppInfo) d.dragInfo).componentName; in acceptDrop() 74 componentName = ((ShortcutInfo) d.dragInfo).intent.getComponent(); in acceptDrop() 76 componentName = ((PendingAddItemInfo) d.dragInfo).componentName; in acceptDrop() 78 if (componentName != null) { in acceptDrop() 79 mLauncher.startApplicationDetailsActivity(componentName); in acceptDrop()
|
D | PendingAddItemInfo.java | 33 ComponentName componentName; field in PendingAddItemInfo 69 componentName = i.provider; in PendingAddWidgetInfo() 94 componentName = copy.componentName; in PendingAddWidgetInfo() 105 return "Widget: " + componentName.toShortString(); in toString()
|
D | AppInfo.java | 52 ComponentName componentName; field in AppInfo 78 this.componentName = new ComponentName(packageName, info.activityInfo.name); in AppInfo() 80 this.setActivity(componentName, in AppInfo() 113 componentName = info.componentName; in AppInfo()
|
D | LauncherModel.java | 832 String componentName = component.flattenToString(); in appWasRestored() local 833 final String where = "intent glob \"*component=" + componentName + "*\" and restored = 1"; in appWasRestored() 842 Log.d(TAG, "shortcutWasRestored is " + result + " for " + componentName); in appWasRestored() 1633 tmpInfos = getItemInfoForComponentName(app.componentName); in verifyApplications() 2738 getItemInfoForComponentName(a.componentName); 2781 ArrayList<ItemInfo> infos = getItemInfoForComponentName(a.componentName); 2889 ComponentName componentName = intent.getComponent(); 2894 .appendQueryParameter("id", componentName.getPackageName()) 2916 ComponentName componentName = intent.getComponent(); 2918 if (componentName != null && !isValidPackageComponent(manager, componentName)) { [all …]
|
D | AllAppsList.java | 66 if (mAppFilter != null && !mAppFilter.shouldShowApp(info.componentName)) { in add() 69 if (findActivity(data, info.componentName)) { in add() 152 mIconCache.remove(applicationInfo.componentName); in updatePackage() 206 if (info.componentName.equals(component)) { in findActivity()
|
D | DeleteDropTarget.java | 282 mLauncher.startApplicationUninstallActivity(appInfo.componentName, appInfo.flags); in completeDrop() 286 final ComponentName componentName = shortcut.intent.getComponent(); in completeDrop() local 289 ShortcutInfo.getPackageInfo(getContext(), componentName.getPackageName())); in completeDrop() 291 mLauncher.startApplicationUninstallActivity(componentName, flags); in completeDrop() 297 String packageName = componentName.getPackageName(); in completeDrop()
|
D | Launcher.java | 1473 return getSpanForWidget(context, info.componentName, info.minWidth, info.minHeight); in getSpanForWidget() 1477 return getSpanForWidget(context, info.componentName, info.minResizeWidth, in getMinSpanForWidget() 2140 void processShortcutFromDrop(ComponentName componentName, long container, long screenId, in processShortcutFromDrop() argument 2153 createShortcutIntent.setComponent(componentName); in processShortcutFromDrop() 2197 info.componentName, options); in addAppWidgetFromDrop() 2200 info.componentName); in addAppWidgetFromDrop() 2208 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_PROVIDER, info.componentName); in addAppWidgetFromDrop() 2534 void startApplicationDetailsActivity(ComponentName componentName) { in startApplicationDetailsActivity() argument 2535 String packageName = componentName.getPackageName(); in startApplicationDetailsActivity() 2544 boolean startApplicationUninstallActivity(ComponentName componentName, int flags) { in startApplicationUninstallActivity() argument [all …]
|
/packages/apps/QuickSearchBox/benchmarks/src/com/android/quicksearchbox/benchmarks/ |
D | SourceLatency.java | 59 private SearchableInfo getSearchable(ComponentName componentName) { in getSearchable() argument 60 SearchableInfo searchable = mSearchManager.getSearchableInfo(componentName); in getSearchable() 63 + componentName.flattenToShortString()); in getSearchable() 89 public void checkSourceConcurrent(final String src, final ComponentName componentName, in checkSourceConcurrent() argument 92 final SearchableInfo searchable = getSearchable(componentName); in checkSourceConcurrent() 122 public void checkSource(String src, ComponentName componentName, String[] queries) { in checkSource() argument 126 long t = checkSource(src, componentName, queries[i]); in checkSource() 133 public long checkSource(String src, ComponentName componentName, String query) { in checkSource() argument 134 SearchableInfo searchable = getSearchable(componentName); in checkSource() 214 public void checkLiveSource(String src, ComponentName componentName, String query) { in checkLiveSource() argument [all …]
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
D | InfoDropTarget.java | 76 ComponentName componentName = null; in acceptDrop() local 78 componentName = ((ApplicationInfo) d.dragInfo).componentName; in acceptDrop() 80 componentName = ((ShortcutInfo) d.dragInfo).intent.getComponent(); in acceptDrop() 82 componentName = ((PendingAddItemInfo) d.dragInfo).componentName; in acceptDrop() 84 if (componentName != null) { in acceptDrop() 85 mLauncher.startApplicationDetailsActivity(componentName); in acceptDrop()
|
D | IconCache.java | 134 public void remove(ComponentName componentName) { in remove() argument 136 mCache.remove(componentName); in remove() 155 CacheEntry entry = cacheLocked(application.componentName, info, labelCache); in getTitleAndIcon() 192 private CacheEntry cacheLocked(ComponentName componentName, ResolveInfo info, in cacheLocked() argument 194 CacheEntry entry = mCache.get(componentName); in cacheLocked() 198 mCache.put(componentName, entry); in cacheLocked()
|
D | PendingAddItemInfo.java | 33 ComponentName componentName; field in PendingAddItemInfo 69 componentName = i.provider; in PendingAddWidgetInfo() 94 componentName = copy.componentName; in PendingAddWidgetInfo() 105 return "Widget: " + componentName.toShortString(); in toString()
|
D | ApplicationInfo.java | 51 ComponentName componentName; field in ApplicationInfo 69 this.componentName = new ComponentName(packageName, info.activityInfo.name); in ApplicationInfo() 71 this.setActivity(componentName, in ApplicationInfo() 93 componentName = info.componentName; in ApplicationInfo()
|
D | AllAppsList.java | 63 if (findActivity(data, info.componentName)) { in add() 147 mIconCache.remove(applicationInfo.componentName); in updatePackage() 201 if (info.componentName.equals(component)) { in findActivity()
|
D | Launcher.java | 1175 return getSpanForWidget(context, info.componentName, info.minWidth, info.minHeight); in getSpanForWidget() 1179 return getSpanForWidget(context, info.componentName, info.minResizeWidth, in getMinSpanForWidget() 1803 void processShortcutFromDrop(ComponentName componentName, long container, int screen, in processShortcutFromDrop() argument 1816 createShortcutIntent.setComponent(componentName); in processShortcutFromDrop() 1860 info.componentName, options); in addAppWidgetFromDrop() 1863 info.componentName); in addAppWidgetFromDrop() 1871 intent.putExtra(AppWidgetManager.EXTRA_APPWIDGET_PROVIDER, info.componentName); in addAppWidgetFromDrop() 2114 void startApplicationDetailsActivity(ComponentName componentName) { in startApplicationDetailsActivity() argument 2115 String packageName = componentName.getPackageName(); in startApplicationDetailsActivity() 2129 String packageName = appInfo.componentName.getPackageName(); in startApplicationUninstallActivity() [all …]
|
D | LauncherModel.java | 2167 ComponentName componentName = intent.getComponent(); in getShortcutInfo() local 2168 if (componentName == null) { in getShortcutInfo() 2173 PackageInfo pi = manager.getPackageInfo(componentName.getPackageName(), 0); in getShortcutInfo() 2180 Log.d(TAG, "getPackInfo failed for package " + componentName.getPackageName()); in getShortcutInfo() 2211 icon = mIconCache.getIcon(componentName, resolveInfo, labelCache); in getShortcutInfo() 2246 info.title = componentName.getClassName(); in getShortcutInfo() 2528 result = a.componentName.compareTo(b.componentName); in getAppNameComparator()
|
/packages/apps/Settings/src/com/android/settings/ |
D | DreamBackend.java | 59 public ComponentName componentName; field in DreamBackend.DreamInfo 68 sb.append(',').append(componentName); in toString() 109 dreamInfo.componentName = getDreamComponentName(resolveInfo); in getDreamInfos() 110 dreamInfo.isActive = dreamInfo.componentName.equals(activeDream); in getDreamInfos() 213 if (mDreamManager == null || dreamInfo == null || dreamInfo.componentName == null) in preview() 216 mDreamManager.testDream(dreamInfo.componentName); in preview() 305 sb.append(di.componentName.equals(mDefaultDream) ? '0' : '1'); in sortKey()
|
/packages/apps/Calendar/src/com/android/calendar/ |
D | CalendarController.java | 169 public ComponentName componentName; // used in combination with query field in CalendarController.EventInfo 412 int viewType, long extraLong, String query, ComponentName componentName) { in sendEvent() argument 414 componentName); in sendEvent() 418 long eventId, int viewType, long extraLong, String query, ComponentName componentName) { in sendEvent() argument 427 info.componentName = componentName; in sendEvent() 618 launchSearch(event.id, event.query, event.componentName); in sendEvent() 797 private void launchSearch(long eventId, String query, ComponentName componentName) { in launchSearch() argument 800 final SearchableInfo searchableInfo = searchManager.getSearchableInfo(componentName); in launchSearch()
|
/packages/apps/Settings/src/com/android/settings/print/ |
D | PrintSettingsFragment.java | 199 ComponentName componentName = new ComponentName( in updateServicesPreferences() local 202 preference.setKey(componentName.flattenToString()); in updateServicesPreferences() 208 final boolean serviceEnabled = enabledServices.contains(componentName); in updateServicesPreferences() 248 extras.putString(EXTRA_SERVICE_COMPONENT_NAME, componentName.flattenToString()); in updateServicesPreferences() 262 String componentName = getArguments().getString(EXTRA_PRINT_SERVICE_COMPONENT_NAME); in startSubSettingsIfNeeded() local 263 if (componentName != null) { in startSubSettingsIfNeeded() 265 Preference prereference = findPreference(componentName); in startSubSettingsIfNeeded()
|
/packages/apps/OneTimeInitializer/src/com/android/onetimeinitializer/ |
D | OneTimeInitializerService.java | 121 final ComponentName componentName = intent.getComponent(); in updateDialtactsLauncher() local 124 componentName != null && in updateDialtactsLauncher() 125 "com.android.contacts".equals(componentName.getPackageName()) && in updateDialtactsLauncher() 127 componentName.getClassName()) && in updateDialtactsLauncher() 140 Log.i(TAG, "Updated " + componentName + " to " + newName); in updateDialtactsLauncher()
|
/packages/experimental/LoaderApp/src/com/android/loaderapp/ |
D | FrontDoor.java | 31 String componentName = intent.getComponent().getClassName(); in onCreate() local 32 if ("com.android.loaderapp.FrontDoorNormal".equals(componentName)) { in onCreate() 35 } else if ("com.android.loaderapp.FrontDoorXLarge".equals(componentName)) { in onCreate() 38 } else if ("com.android.loaderapp.FrontDoorGroupsXLarge".equals(componentName)) { in onCreate()
|
/packages/apps/Settings/src/com/android/settings/accessibility/ |
D | AccessibilitySettings.java | 423 ComponentName componentName = new ComponentName(serviceInfo.packageName, in updateServicesPreferences() local 426 preference.setKey(componentName.flattenToString()); in updateServicesPreferences() 430 && enabledServices.contains(componentName); in updateServicesPreferences() 461 extras.putParcelable(EXTRA_COMPONENT_NAME, componentName); in updateServicesPreferences()
|
/packages/apps/Settings/src/com/android/settings/nfc/ |
D | PaymentSettings.java | 82 Log.e(TAG, "Couldn't load banner drawable of service " + appInfo.componentName); in refresh() 133 if (appInfo.componentName != null) { in onClick() 134 mPaymentBackend.setDefaultPaymentApp(appInfo.componentName); in onClick()
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
D | RegisteredServicesCache.java | 209 ComponentName componentName = new ComponentName(si.packageName, si.name); in invalidateCache() local 213 Log.e(TAG, "Skipping APDU service " + componentName + in invalidateCache() 220 Log.e(TAG, "Skipping APDU service " + componentName + in invalidateCache()
|
/packages/apps/SpareParts/src/com/android/spare_parts/ |
D | Enabler.java | 37 final ComponentName componentName = new ComponentName(context, SpareParts.class); in onReceive() local 41 pm.setComponentEnabledSetting(componentName, value, PackageManager.DONT_KILL_APP); in onReceive()
|