Home
last modified time | relevance | path

Searched defs:icon (Results 1 – 25 of 485) sorted by relevance

12345678910>>...20

/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/common/
DTopLevelIconTest.java51 TopLevelIcon icon = new TopLevelIcon(mContext, new ColorDrawable(Color.BLACK)); in createIcon_shouldSetBackgroundAndInset() local
59 TopLevelIcon icon = spy(new TopLevelIcon(mContext, new ColorDrawable(Color.BLACK))); in setBackgroundColor_shouldUpdateTintList() local
71 TopLevelIcon icon = new TopLevelIcon(mContext, new ColorDrawable(Color.BLACK)); in injectedPreferenceWithBackgroundColorRawValue_shouldSetColor() local
80 TopLevelIcon icon = new TopLevelIcon(mContext, new ColorDrawable(Color.BLACK)); in injectedPreferenceWithoutBackgroundColor_shouldSetDefaultBackgroundColor() local
91 TopLevelIcon icon = new TopLevelIcon(mContext, new ColorDrawable(Color.BLACK)); in injectedPreferenceWithBackgroundColorHintValue_shouldSetColor() local
100 TopLevelIcon icon = new TopLevelIcon(mContext, new ColorDrawable(Color.BLACK)); in getConstantState_returnCorrectState() local
DActionButtonsPreferenceTest.java259 Drawable icon = ((ImageView) mRootView.findViewById(R.id.button1Icon)).getDrawable(); in onBindViewHolder_setButtonIcon_iconMustDisplayAboveText() local
326 Drawable icon = ((ImageView) mRootView.findViewById(R.id.button1Icon)).getDrawable(); in setButtonIcon_iconResourceIdIsZero_shouldNotDisplayIcon() local
337 Drawable icon = ((ImageView) mRootView.findViewById(R.id.button1Icon)).getDrawable(); in setButtonIcon_iconResourceIdNotExisting_shouldNotDisplayIconAndCrash() local
/packages/apps/Launcher3/tests/src/com/android/launcher3/ui/workspace/
DTaplThemeIconsTest.java67 HomeAppIcon icon = allApps.getAppIcon(APP_NAME); in testIconWithoutTheme() local
85 HomeAppIcon icon = allApps.getAppIcon(TEST_APP_NAME); in testShortcutIconWithoutTheme() local
104 HomeAppIcon icon = allApps.getAppIcon(APP_NAME); in testIconWithTheme() local
122 HomeAppIcon icon = allApps.getAppIcon(TEST_APP_NAME); in testShortcutIconWithTheme() local
143 BubbleTextView icon = null; in verifyIconTheme() local
/packages/modules/Permission/PermissionController/iconloaderlib/src/com/android/launcher3/icons/
DBaseIconFactory.java147 Bitmap icon = createIconBitmap(drawable, 1f); in createIconBitmap() local
151 public BitmapInfo createIconBitmap(Bitmap icon) { in createIconBitmap()
162 public BitmapInfo createShapedIconBitmap(Bitmap icon, UserHandle user) { in createShapedIconBitmap()
173 public BitmapInfo createBadgedIconBitmap(Drawable icon, UserHandle user, in createBadgedIconBitmap()
178 public BitmapInfo createBadgedIconBitmap(Drawable icon, UserHandle user, in createBadgedIconBitmap()
183 public BitmapInfo createBadgedIconBitmap(Drawable icon, UserHandle user, in createBadgedIconBitmap()
188 public BitmapInfo createBadgedIconBitmap(Drawable icon, UserHandle user, in createBadgedIconBitmap()
195 public Bitmap createScaledBitmapWithoutShadow(Drawable icon, int iconAppTargetSdk) { in createScaledBitmapWithoutShadow()
212 public BitmapInfo createBadgedIconBitmap(@NonNull Drawable icon, UserHandle user, in createBadgedIconBitmap()
260 public Bitmap createScaledBitmapWithoutShadow(Drawable icon, boolean shrinkNonAdaptiveIcons) { in createScaledBitmapWithoutShadow()
[all …]
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/util/
DUriFiltersTest.kt62 val icon = Icon.createWithBitmap(it) in chooserAction_hasValidIcon_bitmap() constant
69 val icon = Icon.createWithContentUri("content://provider/content/12345") in chooserAction_hasValidIcon_uri() constant
75 val icon = Icon.createWithContentUri("content://${userId}@provider/content/12345") in chooserAction_hasValidIcon_uri_unowned() constant
/packages/modules/Permission/PermissionController/src/android/support/wearable/view/
DWearableDialogHelper.java89 public WearableDialogHelper setPositiveIcon(@Nullable Drawable icon) { in setPositiveIcon()
103 public WearableDialogHelper setNegativeIcon(@Nullable Drawable icon) { in setNegativeIcon()
117 public WearableDialogHelper setNeutralIcon(@Nullable Drawable icon) { in setNeutralIcon()
178 public DialogBuilder setPositiveIcon(@Nullable Drawable icon) { in setPositiveIcon()
188 public DialogBuilder setNegativeIcon(@Nullable Drawable icon) { in setNegativeIcon()
198 public DialogBuilder setNeutralIcon(@Nullable Drawable icon) { in setNeutralIcon()
/packages/modules/IntentResolver/tests/unit/src/com/android/intentresolver/contentpreview/payloadtoggle/domain/interactor/
DCustomActionsInteractorTest.kt45 val icon = Icon.createWithBitmap(bitmap) in <lambda>() constant
75 val icon = Icon.createWithBitmap(bitmap) in <lambda>() constant
93 val icon = Icon.createWithBitmap(bitmap) in <lambda>() constant
/packages/apps/Car/Settings/tests/unit/src/com/android/car/settings/applications/defaultapps/
DDefaultAppUtilsTest.java44 Drawable icon = DefaultAppUtils.getSafeIcon(drawable, testMaxDimensions); in setSafeIcon_smallerThanLimit() local
59 Drawable icon = DefaultAppUtils.getSafeIcon(drawable, testMaxDimensions); in setSafeIcon_largerThanLimit() local
74 Drawable icon = DefaultAppUtils.getSafeIcon(drawable, testMaxDimensions); in setSafeIcon_noChangeForVectorDrawable() local
/packages/apps/Contacts/src/com/android/contacts/list/
DContactListFilter.java69 public final Drawable icon; field in ContactListFilter
73 Drawable icon) { in ContactListFilter()
86 String dataSet, Drawable icon) { in createAccountFilter()
97 public static ContactListFilter createDeviceContactsFilter(Drawable icon) { in createDeviceContactsFilter()
102 public static ContactListFilter createDeviceContactsFilter(Drawable icon, in createDeviceContactsFilter()
108 public static ContactListFilter createSimContactsFilter(Drawable icon, in createSimContactsFilter()
/packages/apps/Settings/src/com/android/settings/print/
DPrintJobPreferenceController.java99 Drawable icon = mContext.getDrawable(com.android.internal.R.drawable.ic_print); in updateUi() local
107 Drawable icon = mContext.getDrawable( in updateUi() local
/packages/apps/DocumentsUI/src/com/android/documentsui/
DIconUtils.java29 int icon, boolean maybeShowBadge) { in loadPackageIcon()
68 final Drawable icon = context.getDrawable(drawableId); in applyTintColor() local
72 public static Drawable applyTintColor(Context context, Drawable icon, int tintColorId) { in applyTintColor()
/packages/apps/Car/Launcher/app/src/com/android/car/carlauncher/recents/view/
DBaseTaskViewHolder.java46 public void bind(@Nullable Drawable icon, @Nullable Bitmap thumbnail) { in bind()
61 public void updateIcon(@Nullable Drawable icon) { in updateIcon()
/packages/apps/Car/SystemUI/src/com/android/systemui/car/systembar/
DAppGridButton.java53 protected void updateImage(AlphaOptimizedImageView icon) { in updateImage()
58 protected void refreshIconAlpha(AlphaOptimizedImageView icon) { in refreshIconAlpha()
/packages/apps/Settings/src/com/android/settings/notification/modes/
DIconUtil.java35 static Drawable applyTint(@NonNull Context context, @NonNull Drawable icon) { in applyTint()
46 static Drawable makeIconCircle(@NonNull Context context, @NonNull Drawable icon) { in makeIconCircle()
/packages/apps/Settings/src/com/android/settings/emergency/
DMoreSettingsPreferenceController.java89 final Drawable icon = getIcon(); in displayPreference() local
154 private static Drawable getScaledDrawable(Context context, Drawable icon, int width, in getScaledDrawable()
167 private static Bitmap convertToBitmap(Drawable icon, int width, int height) { in convertToBitmap()
/packages/apps/Car/Settings/src/com/android/car/settings/profiles/
DProfileIconProvider.java48 Bitmap icon = userManager.getUserIcon(userInfo.id); in getRoundedProfileIcon() local
59 Bitmap icon = UserHelper.getGuestDefaultIcon(context); in getRoundedGuestDefaultIcon() local
/packages/apps/Settings/src/com/android/settings/accessibility/
DAccessibilitySettingsForSetupWizard.java98 final Drawable icon = getContext().getDrawable(R.drawable.ic_accessibility_visibility); in onViewCreated() local
100 description, icon); in onViewCreated() local
216 final Drawable icon = info.getResolveInfo().loadIcon(getPackageManager()); in updateAccessibilityServicePreference() local
217 preference.setIcon(getAdaptiveIcon(getContext(), icon, Color.WHITE)); in updateAccessibilityServicePreference() local
DAutoBrightnessPreferenceFragmentForSetupWizard.java52 final Drawable icon = getContext().getDrawable(R.drawable.ic_accessibility_visibility); in onViewCreated() local
55 /* description= */ null, icon); in onViewCreated() local
DToggleScreenReaderPreferenceFragmentForSetupWizard.java48 final Drawable icon = getContext().getDrawable(R.drawable.ic_accessibility_visibility); in onViewCreated() local
50 description, icon); in onViewCreated() local
/packages/modules/HealthFitness/framework/java/android/health/connect/datatypes/
DAppInfo.java52 public Builder(@NonNull String packageName, @Nullable String name, @Nullable Bitmap icon) { in Builder()
69 private AppInfo(@NonNull String packageName, @Nullable String name, @Nullable Bitmap icon) { in AppInfo()
/packages/providers/MediaProvider/src/com/android/providers/media/photopicker/ui/settings/
DCloudMediaProviderOption.java66 final Drawable icon = providerInfo.loadIcon(packageManager); in fromCloudProviderInfo() local
76 @NonNull Drawable icon) { in CloudMediaProviderOption()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/
DSimpleIconFactory.java209 Bitmap createUserBadgedIconBitmap(@Nullable Drawable icon, @Nullable UserHandle user) { in createUserBadgedIconBitmap()
253 public Bitmap createAppBadgedIconBitmap(@Nullable Drawable icon, Bitmap renderedAppIcon) { in createAppBadgedIconBitmap()
327 private Bitmap createIconBitmap(Drawable icon, float scale) { in createIconBitmap()
331 private Bitmap createIconBitmapNoInsetOrMask(Drawable icon, float scale) { in createIconBitmapNoInsetOrMask()
341 private Bitmap createIconBitmap(Drawable icon, float scale, int size, boolean insetAdiForShadow, in createIconBitmap()
420 private Drawable normalizeAndWrapToAdaptiveIcon(Drawable icon, RectF outIconBounds, in normalizeAndWrapToAdaptiveIcon()
672 private synchronized void recreateIcon(Bitmap icon, Canvas out) { in recreateIcon()
676 private synchronized void recreateIcon(Bitmap icon, BlurMaskFilter blurMaskFilter, in recreateIcon()
/packages/modules/IntentResolver/java/src/com/android/intentresolver/icons/
DLoadDirectShareIconTask.java63 final Icon icon = mTargetInfo.getChooserTargetIcon(); in doInBackground() local
94 @Nullable Icon icon, in getChooserTargetIconDrawable()
/packages/apps/Dialer/java/com/android/incallui/contactgrid/
DTopRow.java55 @Nullable public final Drawable icon; field in TopRow.Info
58 public Info(@Nullable CharSequence label, @Nullable Drawable icon, boolean labelIsSingleLine) { in Info()
69 Drawable icon = state.connectionIcon(); in getInfo() local
/packages/apps/Stk/src/com/android/stk/
DStkMenuConfig.java67 public String icon; field in StkMenuConfig.Config
69 public Config(int mcc, int mnc, String label, String icon) { in Config()
177 String icon = parser.getAttributeValue(null, XML_ICON_ATTR); in initialize() local

12345678910>>...20