/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | PreviewItemManager.java | 47 private FolderIcon mIcon; field in PreviewItemManager 72 mIcon = icon; in PreviewItemManager() 99 mIcon.getMeasuredWidth()); in recomputePreviewDrawingParams() 105 mPrevTopPadding != mIcon.getPaddingTop()) { in computePreviewDrawingParams() 108 mPrevTopPadding = mIcon.getPaddingTop(); in computePreviewDrawingParams() 110 mIcon.mBackground.setup(mIcon.mLauncher, mIcon.mLauncher, mIcon, mTotalWidth, in computePreviewDrawingParams() 111 mIcon.getPaddingTop()); in computePreviewDrawingParams() 112 mIcon.mPreviewLayoutRule.init(mIcon.mBackground.previewSize, mIntrinsicIconSize, in computePreviewDrawingParams() 113 Utilities.isRtl(mIcon.getResources())); in computePreviewDrawingParams() 126 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/UnifiedEmail/src/com/android/mail/ui/ |
D | AttachmentTile.java | 47 private ImageView mIcon; field in AttachmentTile 89 mIcon = (ImageView) findViewById(R.id.attachment_tile_image); in onFinishInflate() 191 final boolean large = width >= maxSize || scaledWidth >= mIcon.getWidth() in setThumbnail() 192 || height >= maxSize || scaledHeight >= mIcon.getHeight(); in setThumbnail() 198 !(scaledWidth >= mIcon.getHeight() * skinnyThresholdRatio in setThumbnail() 199 && scaledHeight >= mIcon.getWidth() * skinnyThresholdRatio); in setThumbnail() 208 mIcon.setScaleType(ScaleType.CENTER); in setThumbnail() 212 mIcon.setScaleType(ScaleType.CENTER_CROP); in setThumbnail() 216 mIcon.setScaleType(ScaleType.CENTER); in setThumbnail() 219 mIcon.setImageBitmap(result); in setThumbnail() [all …]
|
D | ConversationListEmptyView.java | 36 private ImageView mIcon; field in ConversationListEmptyView 51 mIcon = (ImageView) findViewById(R.id.empty_icon); in onFinishInflate() 62 EmptyStateUtils.bindEmptyFolderIcon(mIcon, folder); in setupEmptyText() 63 mIcon.setVisibility(VISIBLE); in setupEmptyText() 65 mIcon.setVisibility(GONE); in setupEmptyText()
|
/packages/apps/TV/src/com/android/tv/menu/ |
D | PlayControlsButton.java | 35 private final ImageView mIcon; field in PlayControlsButton 61 mIcon = (ImageView) findViewById(R.id.icon); in PlayControlsButton() 73 mIcon.setImageResource(imageResId); in setImageResId() 84 mIcon.getDrawable().setTint(tintColor); in updateTint() 105 mIcon.getDrawable().setTint((int) animator.getAnimatedValue()); in setFocusedIconColor() 125 mIcon.setVisibility(View.VISIBLE); in setLabel() 128 mIcon.setVisibility(View.GONE); in setLabel() 145 mIcon.setEnabled(enabled); in setEnabled() 146 mIcon.setAlpha(enabled ? ALPHA_ENABLED : ALPHA_DISABLED); in setEnabled()
|
/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/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/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/Launcher3/src/com/android/launcher3/popup/ |
D | SystemShortcut.java | 42 private final Icon mIcon; field in SystemShortcut 51 mIcon = null; in SystemShortcut() 58 mIcon = icon; in SystemShortcut() 69 mIcon = other.mIcon; in SystemShortcut() 83 if (mIcon != null) { in setIconAndLabelFor() 84 mIcon.loadDrawableAsync(iconView.getContext(), in setIconAndLabelFor() 99 if (mIcon != null) { in setIconAndContentDescriptionFor() 100 mIcon.loadDrawableAsync(view.getContext(), in setIconAndContentDescriptionFor()
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
D | BubbleTextView.java | 104 private Drawable mIcon; field in BubbleTextView 317 return mIcon; in getIcon() 363 if (mIcon != null) { in onVisibilityAggregated() 364 mIcon.setVisible(isVisible, false); in onVisibilityAggregated() 546 if (mIcon != null) { in applyProgressLevel() 548 if (mIcon instanceof PreloadIconDrawable) { in applyProgressLevel() 549 preloadDrawable = (PreloadIconDrawable) mIcon; in applyProgressLevel() 564 if (mIcon instanceof FastBitmapDrawable) { in applyDotState() 602 mIcon = icon; in setIcon() 603 if (mIcon != null) { in setIcon() [all …]
|
/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/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/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 | 44 private final ImageView mIcon; field in FavoriteContactViewHolder 50 mIcon = v.findViewById(R.id.icon); in FavoriteContactViewHolder() 51 mIcon.setOutlineProvider(ContactAvatarOutputlineProvider.get()); in FavoriteContactViewHolder() 83 TelecomUtils.setContactBitmapAsync(context, mIcon, contact, null); in onBind() 92 mIcon.setImageDrawable(context.getDrawable(R.drawable.ic_add_favorite)); in onBindAddFavorite()
|
/packages/apps/Car/Settings/src/com/android/car/settings/quicksettings/ |
D | QuickSettingGridAdapter.java | 190 vh.mIcon.setImageDrawable(tile.getIcon()); in onBindViewHolder() 193 vh.mIcon.setEnabled(true); in onBindViewHolder() 197 vh.mIcon.setEnabled(false); in onBindViewHolder() 222 private final ImageView mIcon; field in QuickSettingGridAdapter.TileViewHolder 228 mIcon = view.findViewById(R.id.tile_icon); in TileViewHolder()
|
/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/Dialer/src/com/android/car/dialer/ui/activecall/ |
D | OnGoingCallControllerBarFragment.java | 257 private final int mIcon; field in OnGoingCallControllerBarFragment.AudioRouteInfo 264 mIcon = icon; in AudioRouteInfo() 307 viewHolder.mIcon.setImageResource(routeInfo.mIcon); in onBindViewHolder() 319 public final ImageView mIcon; field in OnGoingCallControllerBarFragment.AudioRouteItemViewHolder 324 mIcon = itemView.findViewById(R.id.icon); in AudioRouteItemViewHolder()
|
/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 | 647 public final int mIcon; field in PlaybackViewModel.RawCustomPlaybackAction 671 mIcon = icon; in RawCustomPlaybackAction() 684 return mIcon == that.mIcon in equals() 692 return Objects.hash(mIcon, mPackageName, mAction, mExtras); in hashCode() 707 icon = context.getDrawable(mIcon); in fetchDrawable() 720 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/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()
|
/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/DocumentsUI/src/com/android/documentsui/dirlist/ |
D | Message.java | 45 private @Nullable Drawable mIcon; field in Message 61 mIcon = icon; in update() 67 mIcon = null; in reset() 80 return mIcon; in getIcon()
|