Home
last modified time | relevance | path

Searched refs:appIcon (Results 1 – 19 of 19) sorted by relevance

/packages/apps/TV/src/com/android/tv/menu/
DAppLinkCardView.java161 Drawable appIcon = in onBind() local
164 if (appIcon != null) { in onBind()
165 BitmapUtils.setColorFilterToDrawable(mIconColorFilter, appIcon); in onBind()
166 appIcon.setBounds(0, 0, mIconWidth, mIconHeight); in onBind()
167 mAppInfoView.setCompoundDrawablesRelative(appIcon, null, null, null); in onBind()
178 protected void onPostExecute(Drawable appIcon) { in onBind() argument
180 mLoadTvInputId, appIcon); in onBind()
185 BitmapUtils.setColorFilterToDrawable(mIconColorFilter, appIcon); in onBind()
186 appIcon.setBounds(0, 0, mIconWidth, mIconHeight); in onBind()
188 appIcon, null, null, null); in onBind()
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/ui/handheld/
DSettingsWithLargeHeader.java94 ImageView appIcon = header.requireViewById(R.id.entity_header_icon); in updateHeader() local
95 appIcon.setImageDrawable(mIcon); in updateHeader()
99 appIcon.getLayoutParams().width = size; in updateHeader()
100 appIcon.getLayoutParams().height = size; in updateHeader()
103 appIcon.setOnClickListener(v -> getActivity().startActivityAsUser(mInfoIntent, in updateHeader()
105 appIcon.setContentDescription(mLabel); in updateHeader()
DSettingsWithHeader.java67 final ImageView appIcon = (ImageView) mHeader.findViewById(R.id.icon); in updateHeader() local
68 appIcon.setImageDrawable(mIcon); in updateHeader()
DAdjustUserSensitiveFragment.java227 @NonNull Drawable appIcon) { in NonUserSensitiveAppPreference() argument
234 setIcon(appIcon); in NonUserSensitiveAppPreference()
/packages/apps/ManagedProvisioning/src/com/android/managedprovisioning/preprovisioning/
DDeleteManagedProfileDialog.java105 Drawable appIcon; in createContentView() local
112 appIcon = mdmPackageInfo.packageIcon; in createContentView()
115 appIcon = getActivity().getPackageManager().getDefaultActivityIcon(); in createContentView()
119 imageView.setImageDrawable(appIcon); in createContentView()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DHighUsageAdapter.java48 public ImageView appIcon; field in HighUsageAdapter.ViewHolder
55 appIcon = v.findViewById(R.id.app_icon); in ViewHolder()
78 holder.appIcon.setImageDrawable( in onBindViewHolder()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/fuelgauge/batterytip/
DHighUsageAdapter.java48 public ImageView appIcon; field in HighUsageAdapter.ViewHolder
55 appIcon = v.findViewById(R.id.app_icon); in ViewHolder()
78 holder.appIcon.setImageDrawable( in onBindViewHolder()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
DShapeOptionsProvider.java109 Drawable appIcon = mContext.getPackageManager().getApplicationIcon(packageName); in getShapedIcons() local
110 if (appIcon instanceof AdaptiveIconDrawable) { in getShapedIcons()
111 AdaptiveIconDrawable adaptiveIcon = (AdaptiveIconDrawable) appIcon; in getShapedIcons()
DThemeComponentOption.java499 for (Drawable appIcon : mAppIcons) { in buildStep()
500 builder.addShapePreviewIcon(appIcon); in buildStep()
/packages/apps/Settings/src/com/android/settings/development/
DAppViewHolder.java32 public ImageView appIcon; field in AppViewHolder
45 holder.appIcon = convertView.findViewById(android.R.id.icon); in createOrRecycle()
DAppPicker.java168 holder.appIcon.setImageDrawable(info.info.loadIcon(getPackageManager())); in getView()
171 holder.appIcon.setImageDrawable(null); in getView()
/packages/services/Car/tests/CarDeveloperOptions/src/com/android/car/developeroptions/development/
DAppViewHolder.java32 public ImageView appIcon; field in AppViewHolder
45 holder.appIcon = convertView.findViewById(android.R.id.icon); in createOrRecycle()
DAppPicker.java168 holder.appIcon.setImageDrawable(info.info.loadIcon(getPackageManager())); in getView()
171 holder.appIcon.setImageDrawable(null); in getView()
/packages/apps/TV/src/com/android/tv/data/
DPreviewDataManager.java344 Drawable appIcon = mContext.getApplicationInfo().loadIcon(mContext.getPackageManager()); in doInBackground() local
345 if (appIcon != null && appIcon instanceof BitmapDrawable) { in doInBackground()
350 ((BitmapDrawable) appIcon).getBitmap(), in doInBackground()
/packages/apps/Car/Cluster/src/android/car/cluster/
DMusicFragment.java67 ImageView appIcon = view.findViewById(R.id.app_icon); in onCreateView() local
68 innerViewModel.getAppIcon().observe(getViewLifecycleOwner(), appIcon::setImageBitmap); in onCreateView()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DAllApps.java137 final UiObject2 appIcon = mLauncher.waitForObjectInContainer(appListRecycler, in getAppIcon() local
139 return new AppIcon(mLauncher, appIcon); in getAppIcon()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DPlaybackFragment.java89 ImageView appIcon = view.findViewById(R.id.app_icon); in onCreateView() local
90 innerViewModel.getAppIcon().observe(getViewLifecycleOwner(), appIcon::setImageBitmap); in onCreateView()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/source/
DMediaSource.java150 Drawable appIcon = serviceInfo != null ? serviceInfo.loadIcon(context.getPackageManager()) in extractIcon() local
153 return BitmapUtils.maybeFlagDrawable(context, appIcon); in extractIcon()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/
DThemeBundle.java448 public Builder addShapePreviewIcon(Drawable appIcon) { in addShapePreviewIcon() argument
449 mAppIcons.add(appIcon); in addShapePreviewIcon()