HomeSort by relevance Sort by last modified time
    Searched refs:icon (Results 226 - 250 of 1267) sorted by null

1 2 3 4 5 6 7 8 91011>>

  /frameworks/support/design/src/android/support/design/internal/
BottomNavigationItemView.java 89 mIcon = findViewById(R.id.icon);
222 public void setIcon(Drawable icon) {
223 if (icon != null) {
224 Drawable.ConstantState state = icon.getConstantState();
225 icon = DrawableCompat.wrap(state == null ? icon : state.newDrawable()).mutate();
226 DrawableCompat.setTintList(icon, mIconTint);
228 mIcon.setImageDrawable(icon);
244 // Update the icon so that the tint takes effect
  /frameworks/support/samples/SupportLeanbackJank/src/com/google/android/leanbackjank/presenter/
HeaderItemPresenter.java 57 Drawable icon = ResourcesCompat.getDrawable( local
59 iconView.setImageDrawable(icon);
  /frameworks/support/v7/preference/src/android/support/v7/preference/
PreferenceViewHolder.java 41 mCachedViews.put(android.R.id.icon, itemView.findViewById(android.R.id.icon));
  /packages/apps/Contacts/src/com/android/contacts/model/account/
AccountDisplayInfo.java 24 * Wrapper around AccountWithDataSet that contains user-friendly labels and an icon.
39 Drawable icon, boolean isDeviceAccount) {
43 mIcon = icon;
  /packages/apps/DocumentsUI/src/com/android/documentsui/
DropBadgeView.java 86 public void updateIcon(Drawable icon) {
87 mBackground.setDrawable(0, icon);
  /packages/apps/Launcher3/src/com/android/launcher3/keyboard/
CustomActionsPopup.java 37 * Handles showing a popup menu with available custom actions for a launcher icon.
46 public CustomActionsPopup(Launcher launcher, View icon) {
48 mIcon = icon;
  /packages/apps/Launcher3/tests/src/com/android/launcher3/ui/
ShortcutsLaunchTest.java 52 UiObject2 icon = scrollAndFind(appsContainer, By.text(mSettingsApp.getLabel().toString())); local
53 // Press icon center until shortcuts appear
54 Point iconCenter = icon.getVisibleCenter();
ShortcutsToHomeTest.java 53 UiObject2 icon = scrollAndFind(appsContainer, By.text(mSettingsApp.getLabel().toString())); local
54 // Press icon center until shortcuts appear
55 Point iconCenter = icon.getVisibleCenter();
  /packages/apps/Nfc/src/com/android/nfc/cardemulation/
AppChooserActivity.java 183 public DisplayAppInfo(ApduServiceInfo serviceInfo, CharSequence label, Drawable icon,
186 displayIcon = icon;
199 // For each component, get the corresponding app name and icon
206 Drawable icon = service.loadIcon(pm); local
215 DisplayAppInfo info = new DisplayAppInfo(service, label, icon, banner);
258 ViewGroup.LayoutParams lp = holder.icon.getLayoutParams();
260 holder.icon.setImageDrawable(appInfo.displayIcon);
269 public ImageView icon; field in class:AppChooserActivity.ViewHolder
273 icon = (ImageView) view.findViewById(com.android.nfc.R.id.appicon);
  /packages/apps/Settings/src/com/android/settings/accounts/
AccountTypePreference.java 73 Bundle fragmentArguments, Drawable icon) {
87 setIcon(icon);
  /development/samples/browseable/WatchFace/Wearable/src/com.example.android.wearable.watchface/
ComplicationSimpleConfigActivity.java 137 Drawable icon; field in class:ComplicationSimpleConfigActivity.ComplicationItem
141 Drawable icon, String title) {
145 this.icon = icon;
169 iconImageView = (ImageView) itemView.findViewById(R.id.icon);
188 imageView.setImageDrawable(mItems.get(position).icon);
  /frameworks/base/core/java/android/accounts/
ChooseAccountActivity.java 100 Drawable icon = null; local
105 icon = authContext.getDrawable(desc.iconId);
109 Log.w(TAG, "No icon name for account type " + accountType);
114 Log.w(TAG, "No icon resource for account type " + accountType);
118 return icon;
153 ImageView icon; field in class:ChooseAccountActivity.ViewHolder
176 holder.icon = (ImageView) convertView.findViewById(R.id.account_row_icon);
183 holder.icon.setImageDrawable(mInfos[position].drawable);
ChooseAccountTypeActivity.java 129 Drawable icon = null; local
132 icon = authContext.getDrawable(desc.iconId);
141 Log.w(TAG, "No icon name for account type " + desc.type);
146 Log.w(TAG, "No icon resource for account type " + desc.type);
149 AuthInfo authInfo = new AuthInfo(desc, name, icon);
167 ImageView icon; field in class:ChooseAccountTypeActivity.ViewHolder
191 holder.icon = (ImageView) convertView.findViewById(R.id.account_row_icon);
198 holder.icon.setImageDrawable(mInfos.get(position).drawable);
  /frameworks/base/core/java/com/android/internal/app/
MediaRouteControllerDialog.java 254 Drawable icon = getIconDrawable(); local
255 if (icon != mCurrentIconDrawable) {
256 mCurrentIconDrawable = icon;
257 if (icon instanceof AnimationDrawable) {
258 AnimationDrawable animDrawable = (AnimationDrawable) icon;
263 setIcon(icon);
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/accounts/
AuthenticatorHelper.java 90 * Gets an icon associated with a particular account type. If none found, return null.
92 * @return a drawable for the icon or a default icon returned by
96 Drawable icon = null; local
107 icon = mContext.getPackageManager().getUserBadgedIcon(
110 mAccTypeIconCache.put(accountType, icon);
116 if (icon == null) {
117 icon = context.getPackageManager().getDefaultActivityIcon();
119 return icon;
138 Log.w(TAG, "No label icon for account type " + accountType)
    [all...]
  /frameworks/base/packages/SettingsLib/src/com/android/settingslib/location/
RecentLocationApps.java 152 Drawable icon = mDrawableFactory.getBadgedIcon(appInfo, userId); local
160 request = new Request(packageName, userHandle, icon, appLabel, highBattery,
173 public final Drawable icon; field in class:RecentLocationApps.Request
178 private Request(String packageName, UserHandle userHandle, Drawable icon,
182 this.icon = icon;
  /frameworks/base/packages/SystemUI/plugin/src/com/android/systemui/plugins/qs/
QSTile.java 25 import com.android.systemui.plugins.qs.QSTile.Icon;
34 @DependsOn(target = Icon.class)
84 @ProvidesInterface(version = Icon.VERSION)
85 public static abstract class Icon {
95 return Icon.class.hashCode();
106 public Icon icon; field in class:QSTile.State
119 final boolean changed = !Objects.equals(other.icon, icon)
130 other.icon = icon
    [all...]
  /packages/apps/Bluetooth/src/com/android/bluetooth/map/
BluetoothMapAccountItem.java 45 Drawable icon, BluetoothMapUtils.TYPE appType, String uci, String uciPrefix) {
47 this.mIcon = icon;
59 String authority, Drawable icon, BluetoothMapUtils.TYPE appType) {
61 icon, appType, null, null);
65 String authority, Drawable icon, BluetoothMapUtils.TYPE appType, String uci,
68 icon, appType, uci, uciPrefix);
  /packages/apps/Settings/src/com/android/settings/
SmsDefaultDialog.java 139 * The list of SMS apps with label, icon. Current default SMS app is marked as "default".
147 final Drawable icon; // app icon field in class:SmsDefaultDialog.AppListAdapter.Item
150 public Item(String label, Drawable icon, String packageName) {
152 this.icon = icon;
201 ImageView imageView = (ImageView)view.findViewById(android.R.id.icon);
202 imageView.setImageDrawable(item.icon);
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/descriptors/
ElementDescriptor.java 229 * Returns an icon for the element.
230 * This icon is generic, that is all element descriptors have the same icon
233 * @return An icon for this element or null.
241 * Returns an optional icon for the element, typically to be used in XML form trees.
243 * This icon is customized to the given descriptor, that is different elements
246 * By default this tries to return an icon based on the XML name of the element.
250 * @return An icon for this element. This is never null.
267 Image icon = factory.getIcon(name, color, shape); local
268 if (icon == null)
    [all...]
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
NetworkControllerBaseTest.java 303 protected void verifyLastQsMobileDataIndicators(boolean visible, int icon, int typeIcon,
317 int state = SignalDrawable.getState(icon, SignalStrength.NUM_SIGNAL_STRENGTH_BINS,
320 assertEquals("Signal icon in, quick settings", state, iconState.icon);
321 assertEquals("Data icon in, quick settings", typeIcon, (int) typeIconArg.getValue());
328 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon) {
329 verifyLastMobileDataIndicators(visible, icon, typeIcon, false);
332 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon,
334 verifyLastMobileDataIndicators(visible, icon, typeIcon, roaming, true);
337 protected void verifyLastMobileDataIndicators(boolean visible, int icon, int typeIcon
    [all...]
  /packages/apps/Launcher3/src/com/android/launcher3/allapps/
AllAppsGridAdapter.java 53 // A normal icon
55 // A prediction icon
89 * ViewHolder for each icon.
281 BubbleTextView icon = (BubbleTextView) mLayoutInflater.inflate( local
283 icon.setOnClickListener(mIconClickListener);
284 icon.setOnLongClickListener(mIconLongClickListener);
285 icon.setLongPressTimeout(ViewConfiguration.get(parent.getContext())
287 icon.setOnFocusChangeListener(mIconFocusListener);
289 // Ensure the all apps icon height matches the workspace icons
290 icon.getLayoutParams().height = getCellSize().y
337 BubbleTextView icon = (BubbleTextView) holder.itemView; local
    [all...]
  /frameworks/support/v7/appcompat/src/android/support/v7/view/menu/
MenuItemImpl.java 68 /** The icon's drawable which is only created as needed */
72 * The icon's resource ID which is used to get the Drawable when it is
110 /** Used for the icon resource ID if this item does not have an icon */
491 Drawable icon = AppCompatResources.getDrawable(mMenu.getContext(), mIconResId); local
493 mIconDrawable = icon;
494 return applyIconTintIfNecessary(icon);
501 public MenuItem setIcon(Drawable icon) {
503 mIconDrawable = icon;
555 private Drawable applyIconTintIfNecessary(Drawable icon) {
    [all...]
  /packages/apps/Contacts/src/com/android/contacts/drawer/
DrawerAdapter.java 228 final ImageView iconView = (ImageView) result.findViewById(R.id.icon);
229 iconView.setImageResource(item.icon);
259 final ImageView icon = (ImageView) result.findViewById(R.id.icon); local
260 icon.setImageResource(R.drawable.quantum_ic_label_vd_theme_24);
263 updateSelectedStatus(title, icon, activated);
285 final ImageView icon = (ImageView) result.findViewById(R.id.icon); local
288 icon.setScaleType(ImageView.ScaleType.FIT_CENTER);
289 icon.setImageDrawable(displayableAccount.getIcon())
370 public final int icon; field in class:DrawerAdapter.BaseDrawerItem
    [all...]
  /frameworks/base/core/java/android/content/pm/
ResolveInfo.java 136 * match's icon. From the "icon" attribute or, if not set, 0. It is
137 * set only if the icon can be obtained by resource id alone.
139 public int icon; field in class:ResolveInfo
142 * Optional -- if non-null, the {@link #labelRes} and {@link #icon}
155 * Set to true if the icon cannot be obtained by resource ids alone.
157 * have their icon badged, so it cannot be obtained by resource ids alone.
163 * Same as {@link #icon} but it will always correspond to "icon" attribute
225 * Retrieve the current graphical icon associated with this resolution. Thi
    [all...]

Completed in 378 milliseconds

1 2 3 4 5 6 7 8 91011>>