Home
last modified time | relevance | path

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

12

/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/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/
DSettingsWithLargeHeader.java110 ImageView appIcon = header.requireViewById(R.id.entity_header_icon); in updateHeader() local
111 appIcon.setImageDrawable(mIcon); in updateHeader()
115 appIcon.getLayoutParams().width = size; in updateHeader()
116 appIcon.getLayoutParams().height = size; in updateHeader()
119 appIcon.setOnClickListener(v -> getActivity().startActivityAsUser(mInfoIntent, in updateHeader()
121 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()
/packages/modules/HealthFitness/framework/java/android/health/connect/migration/
DAppInfoMigrationPayload.java55 @NonNull String packageName, @NonNull String appName, @Nullable byte[] appIcon) { in AppInfoMigrationPayload() argument
58 mAppIcon = appIcon; in AppInfoMigrationPayload()
134 public Builder setAppIcon(@Nullable byte[] appIcon) { in setAppIcon() argument
135 mAppIcon = appIcon; in setAppIcon()
/packages/apps/Launcher3/tests/tapl/com/android/launcher3/tapl/
DAllApps.java171 final UiObject2 appIcon = mLauncher.waitForObjectInContainer(appListRecycler, in tryGetAppIcon() local
173 return createAppIcon(appIcon); in tryGetAppIcon()
211 AppIcon appIcon = tryGetAppIcon(appName); in getAppIcon() local
212 mLauncher.assertNotNull("Unable to scroll to a clickable icon: " + appName, appIcon); in getAppIcon()
215 mLauncher.assertTrue("Wrong app icon name.", appIcon.getAppName().contains(appName)); in getAppIcon()
216 return appIcon; in getAppIcon()
DWorkspaceDragSource.java87 WorkspaceAppIcon appIcon = in dragToWorkspace() local
93 appIcon.isInCell(cellX, cellY)); in dragToWorkspace()
94 return appIcon; in dragToWorkspace()
DHomeAppIcon.java126 WorkspaceAppIcon appIcon = in dragToHotseat() local
131 appIcon.isInHotseatCell(cellInd)); in dragToHotseat()
132 return appIcon; in dragToHotseat()
/packages/apps/Settings/src/com/android/settings/development/storage/
DLeaseInfoListView.java164 Drawable appIcon;
166 appIcon = mContext.getPackageManager().getApplicationIcon(lease.getPackageName());
169 appIcon = mContext.getDrawable(android.R.drawable.sym_def_app_icon);
171 holder.appIcon.setImageDrawable(appIcon);
DLeaseInfoViewHolder.java31 ImageView appIcon; field in LeaseInfoViewHolder
44 holder.appIcon = convertView.findViewById(R.id.app_icon); in createOrRecycle()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/
DCarSystemBarButtonTest.java204 Drawable appIcon = getContext().getDrawable(R.drawable.ic_android); in onUnselected_withAppIcon_showsAppIcon() local
206 roleBasedButton.setAppIcon(appIcon); in onUnselected_withAppIcon_showsAppIcon()
213 assertThat(currentDrawable).isEqualTo(appIcon); in onUnselected_withAppIcon_showsAppIcon()
230 Drawable appIcon = getContext().getDrawable(R.drawable.ic_android); in onSelected_withAppIcon_showsAppIcon() local
233 roleBasedButton.setAppIcon(appIcon); in onSelected_withAppIcon_showsAppIcon()
239 assertThat(currentDrawable).isEqualTo(appIcon); in onSelected_withAppIcon_showsAppIcon()
/packages/apps/Settings/src/com/android/settings/fuelgauge/batterytip/
DHighUsageAdapter.java47 public ImageView appIcon; field in HighUsageAdapter.ViewHolder
54 appIcon = v.findViewById(R.id.app_icon); in ViewHolder()
77 holder.appIcon.setImageDrawable( in onBindViewHolder()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/recentaccess/
DRecentAccessPreference.kt42 private lateinit var appIcon: ImageView variable
75 appIcon = holder.findViewById(R.id.recent_access_app_icon) as ImageView in onBindViewHolder()
76 appIcon.setImageDrawable(recentAccessApp.metadata.icon) in onBindViewHolder()
/packages/apps/Settings/src/com/android/settings/applications/specialaccess/notificationaccess/
DScaryWarningDialogFragment.java84 ImageView appIcon = content.findViewById(R.id.app_icon); in getDialogView() local
86 appIcon.setImageDrawable(icon); in getDialogView()
88 appIcon.setVisibility(View.GONE); in getDialogView()
/packages/modules/AdServices/adservices/apk/java/com/android/adservices/ui/settings/viewadatpors/
DAppsListViewAdapter.java126 Drawable appIcon = app.getAppIcon(context); in prepareAppImageView() local
127 if (appIcon != null) { in prepareAppImageView()
128 mImageView.setImageDrawable(appIcon); in prepareAppImageView()
/packages/apps/ThemePicker/src/com/android/customization/model/theme/custom/
DShapeOptionsProvider.java112 Drawable appIcon = mContext.getPackageManager().getApplicationIcon(packageName); in getShapedAppIcons() local
113 if (appIcon instanceof AdaptiveIconDrawable) { in getShapedAppIcons()
114 AdaptiveIconDrawable adaptiveIcon = (AdaptiveIconDrawable) appIcon; in getShapedAppIcons()
/packages/apps/Settings/src/com/android/settings/development/
DAppViewHolder.java32 public ImageView appIcon; field in AppViewHolder
46 holder.appIcon = convertView.findViewById(android.R.id.icon); in createOrRecycle()
DAppPicker.java186 holder.appIcon.setImageDrawable(info.info.loadIcon(getPackageManager())); in getView()
189 holder.appIcon.setImageDrawable(null); in getView()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/auto/dashboard/
DAutoPermissionHistoryPreference.kt47 if (historyPreferenceData.appIcon != null) {
48 icon = historyPreferenceData.appIcon
/packages/apps/Settings/src/com/android/settings/bluetooth/
DBluetoothDetailsCompanionAppsController.java215 Drawable appIcon; in updatePreferences() local
218 appIcon = mPackageManager.getApplicationIcon(packageName); in updatePreferences()
224 preference.setIcon(appIcon); in updatePreferences()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DMusicFragment.java70 ImageView appIcon = view.findViewById(R.id.app_icon); in onCreateView() local
71 innerViewModel.getAppIcon().observe(getViewLifecycleOwner(), appIcon::setImageBitmap); in onCreateView()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/icons/
DLoadDirectShareIconTask.java122 Bitmap appIcon = mPresentationFactory.makePresentationGetter(info).getIconBitmap(null); in getChooserTargetIconDrawable() local
126 Bitmap directShareBadgedIcon = sif.createAppBadgedIconBitmap(directShareIcon, appIcon); in getChooserTargetIconDrawable()
/packages/apps/Settings/tests/robotests/src/com/android/settings/bluetooth/
DCompanionAppWidgetPreferenceTest.java77 private void setUpPreferenceContainer(Drawable widgetIcon, Drawable appIcon, in setUpPreferenceContainer() argument
81 preference.setIcon(appIcon); in setUpPreferenceContainer()
/packages/modules/HealthFitness/apk/src/com/android/healthconnect/controller/permissiontypes/prioritylist/
DPriorityListAdapter.kt103 fun bind(appPosition: Int, appName: String?, appIcon: Drawable?) { in <lambda>()
109 appIconView.setImageDrawable(appIcon) in <lambda>()
/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/Settings/src/com/android/settings/fuelgauge/batteryusage/
DBatteryUsageBreakdownController.java304 final Drawable appIcon = entry.getAppIcon(); in addAllPreferences() local
305 if (TextUtils.isEmpty(appLabel) || appIcon == null) { in addAllPreferences()
322 pref.setIcon(appIcon); in addAllPreferences()

12