Home
last modified time | relevance | path

Searched refs:iconRes (Results 1 – 24 of 24) sorted by relevance

/packages/experimental/LoaderApp/src/com/android/loaderapp/model/
DContactsSource.java62 public int iconRes; field in ContactsSource
133 return pm.getDrawable(this.summaryResPackageName, this.iconRes, null); in getDisplayIcon()
135 return context.getResources().getDrawable(this.iconRes); in getDisplayIcon()
193 public int iconRes; field in ContactsSource.DataKind
227 public DataKind(String mimeType, int titleRes, int iconRes, int weight, boolean editable) { in DataKind() argument
230 this.iconRes = iconRes; in DataKind()
DExternalSource.java152 kind.iconRes = a.getResourceId( in inflate()
DSources.java222 source.iconRes = auth.iconId; in queryAccounts()
DFallbackSource.java63 this.iconRes = R.drawable.ic_launcher_contacts; in FallbackSource()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/users/
DAppLoadingTask.java173 app.activityName.toString(), getAppIconUri(mContext, app.info, app.iconRes), in populateApps()
315 private final int iconRes; field in AppLoadingTask.SelectableAppInfo
325 iconRes = activityIconRes != 0 ? activityIconRes in SelectableAppInfo()
334 iconRes = getIconResource(applicationInfo); in SelectableAppInfo()
489 private static Uri getAppIconUri(Context context, ApplicationInfo info, int iconRes) { in getAppIconUri() argument
491 if (iconRes != 0) { in getAppIconUri()
497 iconResource.resourceName = resources.getResourceName(iconRes); in getAppIconUri()
/packages/apps/Launcher3/src/com/android/launcher3/compat/
DLauncherActivityInfoCompatV16.java58 int iconRes = mResolveInfo.getIconResource(); in getIcon() local
62 if (density != 0 && iconRes != 0) { in getIcon()
65 icon = resources.getDrawableForDensity(iconRes, density); in getIcon()
/packages/apps/Settings/src/com/android/settings/dashboard/
DDashboardTile.java76 public int iconRes; field in DashboardTile
151 dest.writeInt(iconRes); in writeToParcel()
175 iconRes = in.readInt(); in readFromParcel()
DDashboardSummary.java181 .getResourcesForApplication(tile.iconPkg).getDrawable(tile.iconRes, null); in updateTileView()
194 } else if (tile.iconRes > 0) { in updateTileView()
195 tileIcon.setImageResource(tile.iconRes); in updateTileView()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/
DBrowseInfo.java271 int iconRes = sa.getResourceId(com.android.internal.R.styleable.Preference_icon, in handleRequestedNode() local
285 .imageResourceId(mContext, iconRes) in handleRequestedNode()
295 .imageResourceId(mContext, iconRes) in handleRequestedNode()
326 .imageResourceId(mContext, iconRes) in handleRequestedNode()
337 builder.imageResourceId(mContext, iconRes); in handleRequestedNode()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/account/
DAccountType.java85 public int iconRes; field in AccountType
282 return pm.getDrawable(this.syncAdapterPackageName, this.iconRes, null); in getDisplayIcon()
284 return context.getResources().getDrawable(this.iconRes); in getDisplayIcon()
DFallbackAccountType.java33 this.iconRes = R.mipmap.ic_contacts_clr_48cv_44dp; in FallbackAccountType()
DExternalAccountType.java172 iconRes = resolveExternalResId(context, mAccountTypeIconAttribute, in ExternalAccountType()
DBaseAccountType.java122 this.iconRes = R.mipmap.ic_contacts_clr_48cv_44dp; in BaseAccountType()
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/device/apps/
DAppsBrowseInfo.java256 int iconRes = info.getIconResource();
258 if (iconRes != 0) {
264 iconResource.resourceName = resources.getResourceName(iconRes);
DAppManagementActivity.java447 int iconRes = info.getIconResource(); in refreshFromAppInfo() local
449 if (iconRes != 0) { in refreshFromAppInfo()
454 iconDrawable = targetRes.getDrawable(iconRes); in refreshFromAppInfo()
/packages/apps/Launcher3/src/com/android/launcher3/
DDefaultLayoutParser.java185 public UriShortcutParser(Resources iconRes) { in UriShortcutParser() argument
186 super(iconRes); in UriShortcutParser()
DAutoInstallsLayout.java407 public ShortcutParser(Resources iconRes) { in ShortcutParser() argument
408 mIconRes = iconRes; in ShortcutParser()
/packages/experimental/LoaderApp/src/com/android/loaderapp/fragments/
DContactFragment.java564 if (kind.iconRes > 0) { in fromValues()
566 entry.actionIcon = kind.iconRes; in fromValues()
/packages/apps/Settings/src/com/android/settings/
DCreateShortcut.java96 return tile.iconRes; in getDrawableResource()
DUtils.java263 tile.iconRes = icon; in updateTileToSpecificActivityFromMetaDataOrRemove()
DSettingsActivity.java1158 tile.iconRes = sa.getResourceId( in loadCategoriesFromResource()
/packages/apps/Email/src/com/android/email/activity/setup/
DEmailPreferenceActivity.java222 debugHeader.iconRes = 0; in onBuildExtraHeaders()
/packages/apps/ContactsCommon/src/com/android/contacts/common/model/
DAccountTypeManager.java437 accountType.iconRes = auth.iconId; in loadAccountsInBackground()
/packages/apps/Camera2/src/com/android/camera/app/
DCameraAppUI.java976 int iconRes = CameraUtil.getCameraModeCoverIconResId(moduleToTransitionTo, in onSwipeDetected() local