Home
last modified time | relevance | path

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

1234567891011

/frameworks/base/packages/SettingsLib/tests/robotests/src/com/android/settingslib/widget/
DAdaptiveIconTest.java66 final AdaptiveIcon icon = in createIcon_shouldSetBackgroundAndInset() local
75 final AdaptiveIcon icon = in setBackgroundColor_shouldUpdateColorFilter() local
91 final AdaptiveIcon icon = in setBackgroundColor_externalTileWithBackgroundColorRawValue_shouldUpdateIcon() local
103 final AdaptiveIcon icon = new AdaptiveIcon(mContext, new ColorDrawable(Color.BLACK)); in setBackgroundColor_tileWithoutBackgroundColor_shouldSetDefaultBackgroundColor() local
119 final AdaptiveIcon icon = in onBindTile_externalTileWithBackgroundColorHint_shouldUpdateIcon() local
129 final AdaptiveIcon icon = in getConstantState_returnCorrectState() local
/frameworks/base/core/java/android/content/pm/
DLabeledIntent.java44 int labelRes, int icon) { in LabeledIntent()
62 CharSequence nonLocalizedLabel, int icon) { in LabeledIntent()
78 public LabeledIntent(String sourcePackage, int labelRes, int icon) { in LabeledIntent()
94 CharSequence nonLocalizedLabel, int icon) { in LabeledIntent()
154 Drawable icon = pm.getDrawable(mSourcePackage, mIcon, null); in loadIcon() local
/frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
DCommandParams.java42 boolean setIcon(Bitmap icon) { return true; } in setIcon()
61 boolean setIcon(Bitmap icon) { in setIcon()
89 boolean setIcon(Bitmap icon) { in setIcon()
124 boolean setIcon(Bitmap icon) { in setIcon()
145 boolean setIcon(Bitmap icon) { in setIcon()
181 boolean setIcon(Bitmap icon) { in setIcon()
210 boolean setIcon(Bitmap icon) { in setIcon()
237 boolean setIcon(Bitmap icon) { in setIcon()
DItem.java34 public Bitmap icon; field in Item
40 public Item(int id, String text, Bitmap icon) { in Item()
/frameworks/base/packages/SystemUI/shared/src/com/android/systemui/shared/recents/model/
DIconLoader.java88 Drawable icon = mIconCache.getAndInvalidateIfModified(taskKey); in getAndInvalidateIfModified() local
134 Drawable icon = getBadgedActivityIcon(activityInfo, userId, desc); in createNewIconForTask() local
146 protected Drawable createDrawableFromBitmap(Bitmap icon, int userId, in createDrawableFromBitmap()
152 protected abstract Drawable createBadgedDrawable(Drawable icon, int userId, in createBadgedDrawable()
171 Bitmap icon = Bitmap.createBitmap(1, 1, Bitmap.Config.ALPHA_8); in DefaultIconLoader() local
183 protected Drawable createBadgedDrawable(Drawable icon, int userId, in createBadgedDrawable()
/frameworks/base/packages/PackageInstaller/src/com/android/packageinstaller/
DPackageUtil.java66 public static View initSnippet(View snippetView, CharSequence label, Drawable icon) { in initSnippet()
101 Drawable icon = appInfo.loadIcon(pm); in initSnippetForInstalledApp() local
113 @Nullable public Drawable icon; field in PackageUtil.AppSnippet
114 public AppSnippet(@NonNull CharSequence label, @Nullable Drawable icon) { in AppSnippet()
147 Drawable icon = null; in getAppSnippet() local
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/template/
DIconMixin.java46 final @DrawableRes int icon = a.getResourceId(R.styleable.SuwIconMixin_android_icon, 0); in IconMixin() local
59 public void setIcon(Drawable icon) { in setIcon()
72 public void setIcon(@DrawableRes int icon) { in setIcon()
/frameworks/base/core/java/com/android/internal/widget/
DCachingIconView.java55 public void setImageIcon(@Nullable Icon icon) { in setImageIcon()
65 public Runnable setImageIconAsync(@Nullable Icon icon) { in setImageIconAsync()
125 private synchronized boolean testAndSetCache(Icon icon) { in testAndSetCache()
163 private String normalizeIconPackage(Icon icon) { in normalizeIconPackage()
/frameworks/base/services/tests/uiservicestests/src/com/android/server/notification/
DNotificationTest.java444 Icon icon = mock(Icon.class); in testActionsDifferentSame() local
459 Icon icon = mock(Icon.class); in testActionsDifferentText() local
474 Icon icon = mock(Icon.class); in testActionsDifferentSpannables() local
493 Icon icon = mock(Icon.class); in testActionsDifferentNumber() local
510 Icon icon = mock(Icon.class); in testActionsDifferentIntent() local
525 Icon icon = mock(Icon.class); in testActionsIgnoresRemoteInputs() local
548 Icon icon = mock(Icon.class); in testFreeformRemoteInputActionPair_noRemoteInput() local
559 Icon icon = mock(Icon.class); in testFreeformRemoteInputActionPair_hasRemoteInput() local
589 Icon icon = mock(Icon.class); in testFreeformRemoteInputActionPair_requestFreeform_noFreeformRemoteInput() local
603 Icon icon = mock(Icon.class); in testFreeformRemoteInputActionPair_requestFreeform_hasFreeformRemoteInput() local
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DItem.java35 private Drawable icon; field in Item
77 public void setIcon(Drawable icon) { in setIcon()
150 final Drawable icon = getIcon(); in onBindView() local
171 protected void onMergeIconStateAndLevels(ImageView iconView, Drawable icon) { in onMergeIconStateAndLevels()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/utils/
DIconCache.java39 public Drawable getIcon(Icon icon) { in getIcon()
51 public void updateIcon(Icon icon, Drawable drawable) { in updateIcon()
/frameworks/base/core/java/com/android/internal/util/
DUserIcons.java47 public static Bitmap convertToBitmap(Drawable icon) { in convertToBitmap()
75 Drawable icon = resources.getDrawable(R.drawable.ic_account_circle, null).mutate(); in getDefaultUserIcon() local
/frameworks/base/core/java/android/view/
DSubMenu.java69 public SubMenu setHeaderIcon(Drawable icon); in setHeaderIcon()
102 public SubMenu setIcon(Drawable icon); in setIcon()
/frameworks/base/core/java/android/widget/
DAppSecurityPermissions.java44 Drawable icon = context.getDrawable(dangerous in getPermissionItemView() local
51 CharSequence grpName, CharSequence permList, boolean dangerous, Drawable icon) { in getPermissionItemViewOld()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkController.java82 default void setEthernetIndicators(IconState icon) {} in setEthernetIndicators()
84 default void setIsAirplaneMode(IconState icon) {} in setIsAirplaneMode()
95 public final int icon; field in NetworkController.IconState
98 public IconState(boolean visible, int icon, String contentDescription) { in IconState()
104 public IconState(boolean visible, int icon, int contentDescription, in IconState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
DNavBarTuner.java126 ListPreference icon = (ListPreference) findPreference(ICON + "_" + k); in bindButton() local
177 private void updateSummary(ListPreference icon) { in updateSummary()
204 ListPreference icon) { in setValue()
218 private void setupIcons(ListPreference icon) { in setupIcons()
/frameworks/base/libs/input/tests/
DPointerController_test.cpp71 void MockPointerControllerPolicyInterface::loadPointerIcon(SpriteIcon* icon, int32_t) { in loadPointerIcon()
88 SpriteIcon icon; in loadAdditionalMouseResources() local
123 void MockPointerControllerPolicyInterface::loadPointerIconForType(SpriteIcon* icon, int32_t type) { in loadPointerIconForType()
233 SpriteIcon icon; in TEST_F() local
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
DNetworkControllerBaseTest.java356 protected void verifyLastQsMobileDataIndicators(boolean visible, int icon, int typeIcon, in verifyLastQsMobileDataIndicators()
381 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon) { in verifyLastMobileDataIndicators()
385 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon, in verifyLastMobileDataIndicators()
390 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon, in verifyLastMobileDataIndicators()
411 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon, in verifyLastMobileDataIndicators()
417 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon, in verifyLastMobileDataIndicators()
425 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon, in verifyLastMobileDataIndicators()
/frameworks/base/core/java/com/android/internal/globalactions/
DSinglePressAction.java42 protected SinglePressAction(int iconResId, Drawable icon, CharSequence message) { in SinglePressAction()
75 ImageView icon = v.findViewById(R.id.icon); in create() local
/frameworks/base/packages/SettingsLib/ActionButtonsPreference/src/com/android/settingslib/widget/
DActionButtonsPreference.java131 final Drawable icon; in setButton1Icon() local
196 final Drawable icon; in setButton2Icon() local
261 final Drawable icon; in setButton3Icon() local
326 final Drawable icon; in setButton4Icon() local
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/
DCustomPrinterIconCache.java92 Icon icon; in getIcon() local
141 @Nullable Icon icon) { in onCustomPrinterIconLoaded()
/frameworks/opt/setupwizard/library/test/instrumentation/src/com/android/setupwizardlib/test/
DItemTest.java70 Drawable icon = new ShapeDrawable(); in testOnBindView() local
117 ShapeDrawable icon = new ShapeDrawable(); in testProperties() local
/frameworks/layoutlib/bridge/src/android/graphics/drawable/
DAdaptiveIconDrawable_Delegate.java30 /*package*/ static void constructor_after(AdaptiveIconDrawable icon) { in constructor_after()
/frameworks/base/core/java/com/android/internal/app/
DSimpleIconFactory.java173 Bitmap createUserBadgedIconBitmap(@Nullable Drawable icon, UserHandle user) { in createUserBadgedIconBitmap()
217 Bitmap createAppBadgedIconBitmap(@Nullable Drawable icon, Bitmap renderedAppIcon) { in createAppBadgedIconBitmap()
287 private Bitmap createIconBitmap(Drawable icon, float scale) { in createIconBitmap()
295 private Bitmap createIconBitmap(Drawable icon, float scale, int size) { in createIconBitmap()
343 private Drawable normalizeAndWrapToAdaptiveIcon(Drawable icon, RectF outIconBounds, in normalizeAndWrapToAdaptiveIcon()
595 private synchronized void recreateIcon(Bitmap icon, Canvas out) { in recreateIcon()
599 private synchronized void recreateIcon(Bitmap icon, BlurMaskFilter blurMaskFilter, in recreateIcon()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
DRecentLocationApps.java213 Drawable icon = mDrawableFactory.getBadgedIcon(appInfo, userId); in getRequestFromOps() local
232 public final Drawable icon; field in RecentLocationApps.Request
238 private Request(String packageName, UserHandle userHandle, Drawable icon, in Request()

1234567891011