/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | PreviewItemManager.java | 68 private final FolderIcon mIcon; field in PreviewItemManager 96 mIcon = icon; in PreviewItemManager() 125 mIcon.getMeasuredWidth()); in recomputePreviewDrawingParams() 131 mPrevTopPadding != mIcon.getPaddingTop()) { in computePreviewDrawingParams() 134 mPrevTopPadding = mIcon.getPaddingTop(); in computePreviewDrawingParams() 136 mIcon.mBackground.setup(mIcon.mLauncher, mIcon.mLauncher, mIcon, mTotalWidth, in computePreviewDrawingParams() 137 mIcon.getPaddingTop()); in computePreviewDrawingParams() 138 mIcon.mPreviewLayoutRule.init(mIcon.mBackground.previewSize, mIntrinsicIconSize, in computePreviewDrawingParams() 139 Utilities.isRtl(mIcon.getResources())); in computePreviewDrawingParams() 152 return mIcon.mPreviewLayoutRule.computePreviewItemDrawingParams(index, curNumItems, params); in computePreviewItemDrawingParams() [all …]
|
/packages/apps/Camera2/src/com/android/camera/ui/ |
D | ModeSelectorItem.java | 46 private ModeIconView mIcon; field in ModeSelectorItem 72 mIcon = (ModeIconView) findViewById(R.id.selector_icon); in onFinishInflate() 99 mIcon.setSelected(selected); in setSelected() 156 mIcon.setIconDrawable(drawableIcon); in setImageResource() 201 if (mVisibleWidth < mMinVisibleWidth + mIcon.getLeft()) { in draw() 202 transX = mMinVisibleWidth + mIcon.getLeft() - mVisibleWidth; in draw() 216 mIcon.setHighlightColor(highlightColor); in setHighlightColor() 223 return mIcon.getHighlightColor(); in getHighlightColor() 231 return mIcon.getLeft() + mMinVisibleWidth; in getMaxVisibleWidth() 240 mIcon.getLocationInWindow(loc); in getIconCenterLocationInWindow() [all …]
|
/packages/apps/Messaging/src/com/android/messaging/ui/mediapicker/ |
D | GalleryGridItemView.java | 62 private ImageView mIcon; field in GalleryGridItemView 86 mIcon = (ImageView) findViewById(R.id.icon); in onFinishInflate() 155 mIcon.setImageResource(R.drawable.ic_photo_library_light); in updateImageView() 156 mIcon.clearColorFilter(); in updateImageView() 158 mIcon.setVisibility(VISIBLE); in updateImageView() 166 mIcon.setImageResource(R.drawable.ic_music); in updateImageView() 167 mIcon.setColorFilter( in updateImageView() 174 mIcon.setVisibility(VISIBLE); in updateImageView() 184 mIcon.setImageResource(R.drawable.ic_video_play_light); in updateImageView() 185 mIcon.clearColorFilter(); in updateImageView() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/keyboard/ |
D | CustomActionsPopup.java | 44 private final View mIcon; field in CustomActionsPopup 48 mIcon = icon; in CustomActionsPopup() 58 if (mIcon == null || !(mIcon.getTag() instanceof ItemInfo)) { in getActionList() 63 mDelegate.addSupportedActions(mIcon, info, true); in getActionList() 79 PopupMenu popup = new PopupMenu(mLauncher, mIcon); in show() 91 return mDelegate.performAction(mIcon, (ItemInfo) mIcon.getTag(), menuItem.getItemId()); in onMenuItemClick()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | PlayControlsButton.java | 36 private final ImageView mIcon; field in PlayControlsButton 62 mIcon = (ImageView) findViewById(R.id.icon); in PlayControlsButton() 74 mIcon.setImageResource(imageResId); in setImageResId() 85 mIcon.getDrawable().setTint(tintColor); in updateTint() 106 mIcon.getDrawable().setTint((int) animator.getAnimatedValue()); in setFocusedIconColor() 126 mIcon.setVisibility(View.VISIBLE); in setLabel() 129 mIcon.setVisibility(View.GONE); in setLabel() 146 mIcon.setEnabled(enabled); in setEnabled() 147 mIcon.setAlpha(enabled ? ALPHA_ENABLED : ALPHA_DISABLED); in setEnabled()
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/toolbar/ |
D | MenuItem.java | 66 private Drawable mIcon; field in MenuItem 81 mIcon = builder.mIcon; in MenuItem() 286 return mIcon; in getIcon() 291 mIcon = icon; in setIcon() 319 private Drawable mIcon; field in MenuItem.Builder 343 if (mIsActivatable && (mShowIconAndTitle || mIcon == null)) { in build() 357 || !mSearchIcon.equals(mIcon) in build() 367 || !mSettingsIcon.equals(mIcon) in build() 403 mIcon = resId == 0 in setIcon() 415 mIcon = icon; in setIcon()
|
D | SearchView.java | 46 private final ImageView mIcon; field in SearchView 90 mIcon = requireViewByRefId(this, R.id.car_ui_toolbar_search_icon); in SearchView() 187 mIcon.setImageResource(R.drawable.car_ui_icon_search); in setIcon() 189 mIcon.setImageDrawable(d); in setIcon() 198 mIcon.setImageResource(R.drawable.car_ui_icon_search); in setIcon() 200 mIcon.setImageResource(resId); in setIcon() 213 mIcon.setVisibility(View.GONE); in setPlainText() 217 mIcon.setVisibility(View.VISIBLE); in setPlainText()
|
/packages/apps/Contacts/src/com/android/contacts/list/ |
D | ContactListFilterView.java | 40 private ImageView mIcon; field in ContactListFilterView 87 mIcon = (ImageView) findViewById(R.id.icon); in bindView() 123 mIcon.setVisibility(View.VISIBLE); in bindView() 125 mIcon.setImageDrawable(mFilter.icon); in bindView() 127 mIcon.setImageResource(R.drawable.unknown_source); in bindView() 141 mIcon.setVisibility(View.VISIBLE); in bindView() 142 mIcon.setImageResource(iconResource); in bindView() 144 mIcon.setVisibility(View.GONE); in bindView()
|
/packages/apps/TV/src/com/android/tv/parental/ |
D | ContentRatingSystem.java | 331 private final Drawable mIcon; field in ContentRatingSystem.Rating 348 return mIcon; in getIcon() 369 mIcon = icon; in Rating() 378 private Drawable mIcon; field in ContentRatingSystem.Rating.Builder 397 mIcon = icon; in setIcon() 435 return new Rating(mName, mTitle, mDescription, mIcon, mContentAgeHint, subRatings); in build() 444 private final Drawable mIcon; field in ContentRatingSystem.SubRating 459 return mIcon; in getIcon() 466 mIcon = icon; in SubRating() 473 private Drawable mIcon; field in ContentRatingSystem.SubRating.Builder [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/popup/ |
D | SystemShortcut.java | 46 private final Icon mIcon; field in SystemShortcut 55 mIcon = null; in SystemShortcut() 62 mIcon = icon; in SystemShortcut() 73 mIcon = other.mIcon; in SystemShortcut() 87 if (mIcon != null) { in setIconAndLabelFor() 88 mIcon.loadDrawableAsync(iconView.getContext(), in setIconAndLabelFor() 103 if (mIcon != null) { in setIconAndContentDescriptionFor() 104 mIcon.loadDrawableAsync(view.getContext(), in setIconAndContentDescriptionFor()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BubbleTextView.java | 104 private Drawable mIcon; field in BubbleTextView 328 return mIcon; in getIcon() 380 if (mIcon != null) { in onVisibilityAggregated() 381 mIcon.setVisible(isVisible, false); in onVisibilityAggregated() 564 if (mIcon != null) { in applyProgressLevel() 566 if (mIcon instanceof PreloadIconDrawable) { in applyProgressLevel() 567 preloadDrawable = (PreloadIconDrawable) mIcon; in applyProgressLevel() 582 if (mIcon instanceof FastBitmapDrawable) { in applyDotState() 624 mIcon = icon; in setIcon() 625 if (mIcon != null) { in setIcon() [all …]
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ContentWriter.java | 40 private Bitmap mIcon; field in ContentWriter 83 mIcon = value; in putIcon() 98 if (mIcon != null && !LauncherAppState.getInstance(context).getIconCache() in getValues() 99 .isDefaultIcon(mIcon, mUser)) { in getValues() 100 mValues.put(LauncherSettings.Favorites.ICON, GraphicsUtils.flattenBitmap(mIcon)); in getValues() 101 mIcon = null; in getValues()
|
/packages/apps/PermissionController/src/com/android/packageinstaller/permission/model/ |
D | PermissionApps.java | 60 private Drawable mIcon; field in PermissionApps 169 return mIcon; in getIcon() 338 mIcon = info.loadUnbadgedIcon(mPm); in loadGroupInfo() 340 mIcon = mContext.getDrawable(R.drawable.ic_perm_device_info); in loadGroupInfo() 342 mIcon = Utils.applyTint(mContext, mIcon, android.R.attr.colorControlNormal); in loadGroupInfo() 354 private Drawable mIcon; field in PermissionApps.PermissionApp 362 mIcon = icon; in PermissionApp() 379 return mIcon; in getIcon() 428 if (mInfo.packageName.equals(mLabel) || mIcon == null) { in loadLabelAndIcon() 431 mIcon = appData.second; in loadLabelAndIcon()
|
/packages/apps/Launcher3/quickstep/recents_ui_overrides/src/com/android/quickstep/views/ |
D | LiveTileOverlay.java | 44 private Drawable mIcon; field in LiveTileOverlay 66 mIcon = icon; in setIcon() 103 if (mIcon != null && mIconAnimationProgress > 0f) { in draw() 107 canvas.translate(mCurrentRect.centerX() - mIcon.getBounds().width() / 2 * scale, in draw() 108 mCurrentRect.top - mIcon.getBounds().height() / 2 * scale); in draw() 110 mIcon.draw(canvas); in draw()
|
/packages/apps/PermissionController/src/android/support/wearable/view/ |
D | AcceptDenyDialog.java | 42 protected ImageView mIcon; field in AcceptDenyDialog 87 mIcon = (ImageView) findViewById(android.R.id.icon); in AcceptDenyDialog() 108 mIcon.setVisibility(icon == null ? View.GONE : View.VISIBLE); in setIcon() 109 mIcon.setImageDrawable(icon); in setIcon() 116 mIcon.setVisibility(resId == 0 ? View.GONE : View.VISIBLE); in setIcon() 117 mIcon.setImageResource(resId); in setIcon()
|
/packages/apps/Contacts/src/com/android/contacts/model/account/ |
D | AccountDisplayInfo.java | 34 private final Drawable mIcon; field in AccountDisplayInfo 43 mIcon = icon; in AccountDisplayInfo() 60 return mIcon; in getIcon() 88 return new AccountDisplayInfo(mSource, name, type, mIcon, mIsDeviceAccount); in withNameAndType() 94 context.getString(typeFormat, mType), mIcon, mIsDeviceAccount); in formatted()
|
/packages/apps/Car/Dialer/src/com/android/car/dialer/ui/favorite/ |
D | FavoriteContactViewHolder.java | 45 private final ImageView mIcon; field in FavoriteContactViewHolder 51 mIcon = v.findViewById(R.id.icon); in FavoriteContactViewHolder() 52 if (mIcon != null) { in FavoriteContactViewHolder() 53 mIcon.setOutlineProvider(ContactAvatarOutputlineProvider.get()); in FavoriteContactViewHolder() 87 TelecomUtils.setContactBitmapAsync(context, mIcon, contact); in onBind()
|
/packages/apps/TvSettings/Settings/src/com/android/tv/settings/suggestions/ |
D | SuggestionItemView.java | 37 private View mIcon; field in SuggestionItemView 52 mIcon = findViewById(android.R.id.icon); in onFinishInflate() 74 mIcon.setAlpha(0.3f); in onFinishInflate() 79 mIcon.setAlpha(1.0f); in onFinishInflate()
|
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/ |
D | QuickSettingGridAdapter.java | 188 vh.mIcon.setImageDrawable(tile.getIcon()); in onBindViewHolder() 191 vh.mIcon.setEnabled(true); in onBindViewHolder() 195 vh.mIcon.setEnabled(false); in onBindViewHolder() 220 private final ImageView mIcon; field in QuickSettingGridAdapter.TileViewHolder 226 mIcon = view.findViewById(R.id.tile_icon); in TileViewHolder()
|
/packages/apps/Car/libs/car-ui-lib/src/com/android/car/ui/recyclerview/ |
D | CarUiListItemAdapter.java | 157 final ImageView mIcon; field in CarUiListItemAdapter.ListItemViewHolder 175 mIcon = findViewByRefId(itemView, R.id.icon); in ListItemViewHolder() 210 mIcon.setVisibility(View.GONE); in bind() 223 mIcon.setVisibility(View.VISIBLE); in bind() 224 mIcon.setImageDrawable(icon); in bind() 276 item.getSupplementalIconOnClickListener().onClick(mIcon); in bind()
|
/packages/apps/DocumentsUI/src/com/android/documentsui/ |
D | DragShadowBuilder.java | 36 private final DropBadgeView mIcon; field in DragShadowBuilder 51 mIcon = (DropBadgeView) mShadowView.findViewById(android.R.id.icon); in DragShadowBuilder() 95 mIcon.updateIcon(icon); in updateIcon() 99 mIcon.updateState(state); in onStateUpdated()
|
/packages/apps/Car/libs/car-media-common/src/com/android/car/media/common/playback/ |
D | PlaybackViewModel.java | 661 public final int mIcon; field in PlaybackViewModel.RawCustomPlaybackAction 685 mIcon = icon; in RawCustomPlaybackAction() 698 return mIcon == that.mIcon in equals() 706 return Objects.hash(mIcon, mPackageName, mAction, mExtras); in hashCode() 721 icon = context.getDrawable(mIcon); in fetchDrawable() 734 icon = resources.getDrawable(mIcon, null); in fetchDrawable()
|
/packages/apps/Car/LensPicker/src/com/android/support/car/lenspicker/ |
D | LensPickerItem.java | 26 private final Drawable mIcon; field in LensPickerItem 32 mIcon = icon; in LensPickerItem() 42 return mIcon; in getIcon()
|
/packages/apps/Car/Launcher/src/com/android/car/carlauncher/ |
D | ContextualInfo.java | 9 private final Drawable mIcon; field in ContextualInfo 21 mIcon = icon; in ContextualInfo() 30 return mIcon; in getIcon()
|
/packages/apps/Settings/src/com/android/settings/security/trustagent/ |
D | TrustAgentInfo.java | 25 private final Drawable mIcon; field in TrustAgentInfo 30 mIcon = icon; in TrustAgentInfo() 42 return mIcon; in getIcon()
|