Home
last modified time | relevance | path

Searched refs:getIcon (Results 1 – 25 of 128) sorted by relevance

123456

/frameworks/base/tools/layoutlib/bridge/src/com/android/layoutlib/bridge/bars/
DIconLoader.java44 public InputStream getIcon() { in getIcon() method in IconLoader
47 InputStream stream = getIcon(resourceDir); in getIcon()
75 private InputStream getIcon(String resourceDir) { in getIcon() method in IconLoader
77 InputStream stream = getIcon(resourceDir, mDesiredDensity); in getIcon()
88 stream = getIcon(resourceDir, density); in getIcon()
101 private InputStream getIcon(String resourceDir, Density density) { in getIcon() method in IconLoader
/frameworks/base/telecomm/java/android/telecom/
DStatusHints.java92 public Drawable getIcon(Context context) { in getIcon() method in StatusHints
99 public Icon getIcon() { in getIcon() method in StatusHints
144 Objects.equals(otherHints.getIcon(), getIcon()) && in equals()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
DImageTransformState.java47 return mIcon != null && mIcon.sameAs(((ImageTransformState) otherState).getIcon()); in sameAs()
52 public Icon getIcon() { in getIcon() method in ImageTransformState
/frameworks/support/design/tests/src/android/support/design/widget/
DTabLayoutTest.java55 assertNull(tab.getIcon()); in testInflateTabLayoutWithTabItems()
61 assertNotNull(tab.getIcon()); in testInflateTabLayoutWithTabItems()
67 assertNull(tab.getIcon()); in testInflateTabLayoutWithTabItems()
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
DMediaItemActionPresenter.java43 public ImageView getIcon() { in getIcon() method in MediaItemActionPresenter.ViewHolder
61 actionViewHolder.getIcon().setImageDrawable(action.getCurrentDrawable()); in onBindViewHolder()
DControlButtonPresenterSelector.java96 vh.mIcon.setImageDrawable(action.getIcon()); in onBindViewHolder()
98 if (action.getIcon() == null) { in onBindViewHolder()
DAction.java134 public final Drawable getIcon() { in getIcon() method in Action
/frameworks/base/core/java/android/content/pm/
DLauncherActivityInfo.java103 public Drawable getIcon(int density) { in getIcon() method in LauncherActivityInfo
171 Drawable originalIcon = getIcon(density); in getBadgedIcon()
/frameworks/support/v4/api21/android/support/v4/media/session/
DPlaybackStateCompatApi21.java88 public static int getIcon(Object customActionObj) { in getIcon() method in PlaybackStateCompatApi21.CustomAction
89 return ((PlaybackState.CustomAction)customActionObj).getIcon(); in getIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java90 boolean updateIcon = mTile.getIcon() == null in setTileIcon()
91 || iconEquals(mTile.getIcon(), mDefaultIcon); in setTileIcon()
153 mTile.setIcon(tile.getIcon()); in updateState()
275 drawable = mTile.getIcon().loadDrawable(mContext); in handleUpdateState()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
DStatusBarIconView.java191 Drawable drawable = getIcon(mIcon); in updateDrawable()
203 private Drawable getIcon(StatusBarIcon icon) { in getIcon() method in StatusBarIconView
204 return getIcon(getContext(), icon); in getIcon()
214 public static Drawable getIcon(Context context, StatusBarIcon statusBarIcon) { in getIcon() method in StatusBarIconView
/frameworks/opt/setupwizard/library/main/src/com/android/setupwizardlib/items/
DItem.java82 public Drawable getIcon() { in getIcon() method in Item
138 final Drawable icon = getIcon(); in onBindView()
/frameworks/support/design/src/android/support/design/internal/
DNavigationMenuPresenter.java475 if (!subMenuHasIcon && subMenuItem.getIcon() != null) { in prepareMenuItems()
495 currentGroupHasIcon = item.getIcon() != null; in prepareMenuItems()
501 } else if (!currentGroupHasIcon && item.getIcon() != null) { in prepareMenuItems()
505 if (currentGroupHasIcon && item.getIcon() == null) { in prepareMenuItems()
519 if (item.getIcon() == null) { in appendTransparentIconIfMissing()
DNavigationMenuItemView.java87 setIcon(itemData.getIcon()); in initialize()
180 setIcon(mItemData.getIcon()); in setIconTintList()
/frameworks/opt/setupwizard/library/test/src/com/android/setupwizardlib/test/
DItemTest.java90 assertSame("Icon should be same as set", icon, item.getIcon()); in testProperties()
101 assertNull("Default icon should be null", item.getIcon()); in testDefaultValues()
/frameworks/base/packages/SettingsLib/src/com/android/settingslib/wifi/
DAccessPointPreference.java99 Drawable drawable = getIcon(); in onBindViewHolder()
117 if (getIcon() == null) { in updateIcon()
/frameworks/support/v4/donut/android/support/v4/app/
DNotificationCompatBase.java30 public abstract int getIcon(); in getIcon() method in NotificationCompatBase.Action
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/
DFood.java34 public Icon getIcon(Context context) { in getIcon() method in Food
DNekoTile.java58 tile.setIcon(food.getIcon(this)); in updateState()
/frameworks/support/v4/api20/android/support/v4/app/
DNotificationCompatApi20.java114 action.getIcon(), action.getTitle(), action.getActionIntent()); in addAction()
153 actionCompat.getIcon(), actionCompat.getTitle(), actionCompat.getActionIntent()) in getActionFromActionCompat()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconList.java68 public StatusBarIcon getIcon(int index) { in getIcon() method in StatusBarIconList
DStatusBarIconController.java226 StatusBarIcon icon = getIcon(index); in setIcon()
272 StatusBarIcon icon = getIcon(index); in setIconVisibility()
282 if (getIcon(index) == null) { in removeIcon()
297 boolean isNew = getIcon(index) == null; in setIcon()
/frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
DMenuItemWrapperICS.java108 public Drawable getIcon() { in getIcon() method in MenuItemWrapperICS
109 return mWrappedObject.getIcon(); in getIcon()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/policy/
DNetworkController.java89 int getIcon(AccessPoint ap); in getIcon() method
/frameworks/base/core/java/com/android/internal/widget/
DAccountViewAdapter.java114 public int getIcon() { in getIcon() method in AccountViewAdapter.AccountElements

123456