Home
last modified time | relevance | path

Searched refs:mAppIcon (Results 1 – 14 of 14) sorted by relevance

/packages/apps/Settings/src/com/android/settings/fuelgauge/
DBatteryDiffEntry.java63 @VisibleForTesting Drawable mAppIcon = null; field in BatteryDiffEntry
115 return mAppIcon; in getAppIcon()
165 mAppIcon = nameAndIcon.icon; in loadLabelAndIcon()
189 mAppIcon = nameAndIconForUser.icon; in loadLabelAndIcon()
193 new BatteryEntry.NameAndIcon(mAppLabel, mAppIcon, /*iconId=*/ 0)); in loadLabelAndIcon()
204 mAppIcon = mContext.getDrawable(nameAndIconForSystem.iconId); in loadLabelAndIcon()
208 new BatteryEntry.NameAndIcon(mAppLabel, mAppIcon, mAppIconId)); in loadLabelAndIcon()
214 if (mAppIcon == null) { in loadLabelAndIcon()
215 mAppIcon = mContext.getPackageManager().getDefaultActivityIcon(); in loadLabelAndIcon()
218 mAppIcon = getBadgeIconForUser(mAppIcon); in loadLabelAndIcon()
[all …]
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/audio/
DMediaViewModel.java61 private Drawable mAppIcon; field in MediaViewModel
152 mAppIcon = null; in updateModel()
157 mAppIcon = mediaSource.getIcon(); in updateModel()
158 mCardHeader = new CardHeader(mAppName, mAppIcon); in updateModel()
214 if (mediaSource == null && (mAppName != null | mAppIcon != null)) { in mediaSourceChanged()
218 || mAppIcon != mediaSource.getIcon())) { in mediaSourceChanged()
/packages/apps/DocumentsUI/src/com/android/documentsui/inspector/actions/
DActionView.java40 private final ImageView mAppIcon; field in ActionView
62 mAppIcon = (ImageView) findViewById(R.id.app_icon); in ActionView()
99 mAppIcon.setVisibility(View.VISIBLE); in setAppIcon()
100 mAppIcon.setImageDrawable(icon); in setAppIcon()
102 mAppIcon.setVisibility(View.GONE); in setAppIcon()
/packages/apps/Car/SystemUI/tests/src/com/android/systemui/car/systembar/
DButtonRoleHolderControllerTest.java67 private Drawable mAppIcon; field in ButtonRoleHolderControllerTest
88 mAppIcon = mContext.getDrawable(R.drawable.car_ic_apps); in setUp()
89 when(mApplicationInfo.loadIcon(any())).thenReturn(mAppIcon); in setUp()
108 assertThat(mNavButtonDefaultAppIconForRoleWithEnabled.getAppIcon()).isEqualTo(mAppIcon); in addAllButtonsWithRoleName_roleAssigned_appIconEnabled_useAssignedAppIcon()
132 assertThat(mNavButtonDefaultAppIconForRoleWithEnabled.getAppIcon()).isEqualTo(mAppIcon); in onRoleChanged_currentUser_appIconEnabled_useAssignedAppIcon()
/packages/apps/Car/Cluster/DirectRenderingCluster/src/android/car/cluster/
DMusicFragmentViewModel.java36 private LiveData<Bitmap> mAppIcon; field in MusicFragmentViewModel
51 mAppIcon = mapNonNull(mMediaSource, MediaSource::getCroppedPackageIcon); in init()
59 return mAppIcon; in getAppIcon()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DCarSystemBarButton.java73 private Drawable mAppIcon; field in CarSystemBarButton
129 mAppIcon = appIcon; in setAppIcon()
136 return mAppIcon; in getAppIcon()
345 if (mIsDefaultAppIconForRoleEnabled && mAppIcon != null) {
346 mIcon.setImageDrawable(mAppIcon);
/packages/apps/Launcher3/src/com/android/launcher3/widget/picker/
DWidgetsListHeader.java62 private ImageView mAppIcon; field in WidgetsListHeader
92 mAppIcon = findViewById(R.id.app_icon); in onFinishInflate()
195 (LinearLayout.LayoutParams) mAppIcon.getLayoutParams(); in applyDrawables()
198 mAppIcon.setLayoutParams(layoutParams); in applyDrawables()
199 mAppIcon.setImageDrawable(icon); in applyDrawables()
/packages/apps/Settings/src/com/android/settings/applications/manageapplications/
DApplicationViewHolder.java52 private final ImageView mAppIcon; field in ApplicationViewHolder
57 mAppIcon = itemView.findViewById(android.R.id.icon); in ApplicationViewHolder()
113 mAppIcon.setImageResource(drawableRes); in setIcon()
120 mAppIcon.setImageDrawable(icon); in setIcon()
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/homescreen/assistive/
DProjectionModel.java56 private Drawable mAppIcon; field in ProjectionModel
89 return mAppName == null ? null : new CardHeader(mAppName, mAppIcon); in getCardHeader()
94 return mAppName == null ? null : new DescriptiveTextView(mAppIcon, mLaunchMessage, in getCardContent()
139 mAppIcon = applicationInfo.loadIcon(mPackageManager); in onProjectionStatusChanged()
/packages/services/Car/car-usb-handler/src/android/car/usb/handler/
DUsbHostManagementActivity.java217 public ImageView mAppIcon; field in UsbHostManagementActivity.HandlersAdapter.HandlerHolder
231 holder.mAppIcon = (ImageView) rowView.findViewById(R.id.usb_handler_icon); in getView()
242 holder.mAppIcon.setImageDrawable(appInfo.loadIcon(mPackageManager)); in getView()
246 holder.mAppIcon.setImageResource(android.R.color.transparent); in getView()
/packages/apps/Car/libs/car-messenger-common/src/com/android/car/messenger/common/
DConversationNotificationInfo.java62 private final Icon mAppIcon; field in ConversationNotificationInfo
142 this.mAppIcon = appIcon; in ConversationNotificationInfo()
217 return mAppIcon; in getAppIcon()
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/ui/handheld/dashboard/
DPermissionHistoryPreference.java70 private final Drawable mAppIcon; field in PermissionHistoryPreference
96 mAppIcon = appIcon; in PermissionHistoryPreference()
148 permissionIcon.setImageDrawable(mAppIcon); in onBindViewHolder()
173 iconView.setImageDrawable(mAppIcon); in setHistoryIcon()
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/
DPlaybackFragment.java224 private LiveData<Bitmap> mAppIcon; field in PlaybackFragment.ViewModel
249 mAppIcon = mapNonNull(mMediaSource, MediaSource::getCroppedPackageIcon); in init()
262 return mAppIcon; in getAppIcon()
/packages/apps/Settings/tests/robotests/src/com/android/settings/fuelgauge/
DBatteryDiffEntryTest.java236 entry.mAppIcon = mockDrawable; in testGetAppIcon_nonUidConsumer_returnAppIconInBatteryDiffEntry()
249 entry.mAppIcon = null; in testGetAppIcon_uidConsumerWithNullIcon_returnDefaultActivityIcon()