/packages/apps/Launcher3/src/com/android/launcher3/folder/ |
D | PreviewItemManager.java | 71 private final FolderIcon mIcon; field in PreviewItemManager 102 mIcon = icon; in PreviewItemManager() 132 mIcon.getMeasuredWidth()); in recomputePreviewDrawingParams() 138 mPrevTopPadding != mIcon.getPaddingTop()) { in computePreviewDrawingParams() 141 mPrevTopPadding = mIcon.getPaddingTop(); in computePreviewDrawingParams() 143 mIcon.mBackground.setup(mIcon.getContext(), mIcon.mActivity, mIcon, mTotalWidth, in computePreviewDrawingParams() local 144 mIcon.getPaddingTop()); in computePreviewDrawingParams() 145 mIcon.mPreviewLayoutRule.init(mIcon.mBackground.previewSize, mIntrinsicIconSize, in computePreviewDrawingParams() 146 Utilities.isRtl(mIcon.getResources())); in computePreviewDrawingParams() 159 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/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/car-ui-lib/src/main/java/com/android/car/ui/toolbar/ |
D | MenuItem.java | 68 private Drawable mIcon; field in MenuItem 94 mIcon = builder.mIcon; in MenuItem() 291 return mIcon; in getIcon() 296 mIcon = icon; in setIcon() 332 private Drawable mIcon; field in MenuItem.Builder 357 if (mIsActivatable && (mShowIconAndTitle || mIcon == null)) { in build() 371 || !mSearchIcon.equals(mIcon) in build() 381 || !mSettingsIcon.equals(mIcon) in build() 417 mIcon = resId == 0 in setIcon() 429 mIcon = icon; in setIcon()
|
D | Tab.java | 35 private final Drawable mIcon; field in Tab 41 mIcon = builder.mIcon; in Tab() 54 return mIcon; in getIcon() 73 private Drawable mIcon = null; field in Tab.Builder 88 mIcon = icon; in setIcon()
|
D | SearchView.java | 51 private final ImageView mIcon; field in SearchView 98 mIcon = requireViewByRefId(this, R.id.car_ui_toolbar_search_icon); in SearchView() 234 mIcon.setImageResource(R.drawable.car_ui_icon_search); in setIcon() 236 mIcon.setImageDrawable(d); in setIcon() 249 mIcon.setVisibility(View.GONE); in setPlainText() 253 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/Launcher3/src/com/android/launcher3/ |
D | BubbleTextView.java | 123 private FastBitmapDrawable mIcon; field in BubbleTextView 367 return mIcon; in getIcon() 405 if (mIcon != null) { in onVisibilityAggregated() 406 mIcon.setVisible(isVisible, false); in onVisibilityAggregated() 609 if (mIcon != null) { in applyProgressLevel() 611 if (mIcon instanceof PreloadIconDrawable) { in applyProgressLevel() 612 preloadIconDrawable = (PreloadIconDrawable) mIcon; in applyProgressLevel() 645 if (mIcon instanceof FastBitmapDrawable) { in applyDotState() 705 mIcon = icon; in setIcon() 706 if (mIcon != null) { in setIcon() [all …]
|
/packages/apps/Car/libs/car-ui-lib/oem-apis/src/main/java/com/android/car/ui/sharedlibrary/oemapis/toolbar/ |
D | TabOEMV1.java | 24 private final Drawable mIcon; field in TabOEMV1 30 mIcon = builder.mIcon; in TabOEMV1() 47 return mIcon; in getIcon() 67 private Drawable mIcon = null; field in TabOEMV1.Builder 82 mIcon = icon; in setIcon()
|
/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/quickstep/src/com/android/quickstep/views/ |
D | SplitPlaceholderView.java | 44 private IconView mIcon; field in SplitPlaceholderView 59 if (mIcon == null) { in setIcon() 60 mIcon = new IconView(getContext()); in setIcon() 61 addView(mIcon); in setIcon() 63 mIcon.setDrawable(icon.getDrawable()); in setIcon() 66 mIcon.setLayoutParams(params); in setIcon()
|
/packages/apps/Launcher3/src/com/android/launcher3/util/ |
D | ContentWriter.java | 40 private BitmapInfo 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.icon)); in getValues() 101 mIcon = null; in getValues()
|
/packages/modules/Permission/PermissionController/src/com/android/permissioncontroller/permission/model/legacy/ |
D | PermissionApps.java | 66 private Drawable mIcon; field in PermissionApps 172 return mIcon; in getIcon() 340 mIcon = info.loadUnbadgedIcon(mPm); in loadGroupInfo() 342 mIcon = mContext.getDrawable(R.drawable.ic_perm_device_info); in loadGroupInfo() 344 mIcon = Utils.applyTint(mContext, mIcon, android.R.attr.colorControlNormal); in loadGroupInfo() 356 private Drawable mIcon; field in PermissionApps.PermissionApp 364 mIcon = icon; in PermissionApp() 381 return mIcon; in getIcon() 430 if (mInfo.packageName.equals(mLabel) || mIcon == null) { in loadLabelAndIcon() 433 mIcon = appData.second; in loadLabelAndIcon()
|
/packages/apps/Car/Settings/src/com/android/car/settings/common/ |
D | ActionButtonInfo.java | 46 private Drawable mIcon; field in ActionButtonInfo 95 mIcon = icon; in setIcon() 159 return mIcon; in getIcon() 188 mButtonIconView.setImageDrawable(mIcon); in setUpButton() 196 mButtonIconView.setVisibility(mIcon != null ? View.VISIBLE : View.GONE); in setUpButton() 231 return mIsVisible && (!TextUtils.isEmpty(mText) || mIcon != null); in shouldBeVisible()
|
/packages/apps/Launcher3/src/com/android/launcher3/views/ |
D | FloatingSurfaceView.java | 66 private View mIcon; field in FloatingSurfaceView 95 mIcon = null; in handleClose() 164 boolean iconChanged = mIcon != icon; in updateIconLocation() 167 mIcon = icon; in updateIconLocation() 190 mIcon.draw(c); in updateIconLocation() 234 if (mIcon != null) { in setCurrentIconVisible() 235 setIconAndDotVisible(mIcon, isVisible); in setCurrentIconVisible()
|
/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/modules/Permission/PermissionController/src/android/support/wearable/view/ |
D | AcceptDenyDialog.java | 43 protected ImageView mIcon; field in AcceptDenyDialog 88 mIcon = (ImageView) findViewById(android.R.id.icon); in AcceptDenyDialog() 109 mIcon.setVisibility(icon == null ? View.GONE : View.VISIBLE); in setIcon() 110 mIcon.setImageDrawable(icon); in setIcon() 117 mIcon.setVisibility(resId == 0 ? View.GONE : View.VISIBLE); in setIcon() 118 mIcon.setImageResource(resId); in setIcon()
|
/packages/apps/Car/libs/car-ui-lib/oem-apis/src/main/java/com/android/car/ui/sharedlibrary/oemapis/recyclerview/ |
D | ContentListItemOEMV1.java | 83 private final Drawable mIcon; field in ContentListItemOEMV1 98 mIcon = builder.mIcon; in ContentListItemOEMV1() 128 return mIcon; in getIcon() 230 private Drawable mIcon; field in ContentListItemOEMV1.Builder 286 mIcon = icon; in setIcon()
|
/packages/apps/Launcher3/src/com/android/launcher3/model/data/ |
D | SearchActionItemInfo.java | 44 private final Icon mIcon; field in SearchActionItemInfo 59 mIcon = icon; in SearchActionItemInfo() 64 mIcon = info.mIcon; in SearchActionItemInfo() 116 return mIcon; in getIcon()
|
/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, sortMethod); in bind()
|
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/ |
D | CarSystemBarButton.java | 60 private AlphaOptimizedImageView mIcon; field in CarSystemBarButton 108 mIcon.setAlpha(mSelected ? mSelectedAlpha : mUnselectedAlpha); in setSelected() 217 protected float getIconAlpha() { return mIcon.getAlpha(); } in getIconAlpha() 335 mIcon = findViewById(R.id.car_nav_button_icon_image); 338 mIcon.setAlpha(mHighlightWhenSelected ? mUnselectedAlpha : mSelectedAlpha); 346 mIcon.setImageDrawable(mAppIcon); 348 mIcon.setImageResource(mSelected ? mSelectedIconResourceId : mIconResourceId);
|
/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/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/Settings/src/com/android/car/settings/quicksettings/ |
D | QuickSettingGridAdapter.java | 195 vh.mIcon.setImageDrawable(tile.getIcon()); in onBindViewHolder() 198 vh.mIcon.setEnabled(true); in onBindViewHolder() 202 vh.mIcon.setEnabled(false); in onBindViewHolder() 252 private final ImageView mIcon; field in QuickSettingGridAdapter.TileViewHolder 258 mIcon = view.findViewById(R.id.tile_icon); in TileViewHolder()
|