/packages/apps/TV/src/com/android/tv/menu/ |
D | AppLinkCardView.java | 161 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/ |
D | SettingsWithLargeHeader.java | 110 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()
|
D | SettingsWithHeader.java | 67 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/ |
D | AppInfoMigrationPayload.java | 55 @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/ |
D | AllApps.java | 171 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()
|
D | WorkspaceDragSource.java | 87 WorkspaceAppIcon appIcon = in dragToWorkspace() local 93 appIcon.isInCell(cellX, cellY)); in dragToWorkspace() 94 return appIcon; in dragToWorkspace()
|
D | HomeAppIcon.java | 126 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/ |
D | LeaseInfoListView.java | 164 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);
|
D | LeaseInfoViewHolder.java | 31 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/ |
D | CarSystemBarButtonTest.java | 204 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/ |
D | HighUsageAdapter.java | 47 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/ |
D | RecentAccessPreference.kt | 42 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/ |
D | ScaryWarningDialogFragment.java | 84 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/ |
D | AppsListViewAdapter.java | 126 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/ |
D | ShapeOptionsProvider.java | 112 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/ |
D | AppViewHolder.java | 32 public ImageView appIcon; field in AppViewHolder 46 holder.appIcon = convertView.findViewById(android.R.id.icon); in createOrRecycle()
|
D | AppPicker.java | 186 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/ |
D | AutoPermissionHistoryPreference.kt | 47 if (historyPreferenceData.appIcon != null) { 48 icon = historyPreferenceData.appIcon
|
/packages/apps/Settings/src/com/android/settings/bluetooth/ |
D | BluetoothDetailsCompanionAppsController.java | 215 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/ |
D | MusicFragment.java | 70 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/ |
D | LoadDirectShareIconTask.java | 122 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/ |
D | CompanionAppWidgetPreferenceTest.java | 77 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/ |
D | PriorityListAdapter.kt | 103 fun bind(appPosition: Int, appName: String?, appIcon: Drawable?) { in <lambda>() 109 appIconView.setImageDrawable(appIcon) in <lambda>()
|
/packages/apps/TV/src/com/android/tv/data/ |
D | PreviewDataManager.java | 344 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/ |
D | BatteryUsageBreakdownController.java | 304 final Drawable appIcon = entry.getAppIcon(); in addAllPreferences() local 305 if (TextUtils.isEmpty(appLabel) || appIcon == null) { in addAllPreferences() 322 pref.setIcon(appIcon); in addAllPreferences()
|