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

<<11121314151617181920>>

  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
CustomTile.java 67 private android.graphics.drawable.Icon mDefaultIcon;
94 int icon = info.icon != 0 ? info.icon local
95 : info.applicationInfo.icon;
96 // Update the icon if its not set or is the default icon.
99 mDefaultIcon = icon != 0 ? android.graphics.drawable.Icon
100 .createWithResource(mComponent.getPackageName(), icon) : null
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
BluetoothTile.java 120 state.icon = ResourceIcon.get(R.drawable.ic_qs_bluetooth_connected);
125 state.icon = ResourceIcon.get(R.drawable.ic_bluetooth_transient_animation);
130 state.icon = ResourceIcon.get(R.drawable.ic_qs_bluetooth_on);
140 state.icon = ResourceIcon.get(R.drawable.ic_qs_bluetooth_off);
264 item.icon = R.drawable.ic_qs_bluetooth_on;
269 item.icon = R.drawable.ic_qs_bluetooth_connected;
275 item.icon = R.drawable.ic_qs_bluetooth_connecting;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
StatusBarIconView.java 34 import android.graphics.drawable.Icon;
244 public boolean equalIcons(Icon a, Icon b) {
248 case Icon.TYPE_RESOURCE:
250 case Icon.TYPE_URI:
259 public boolean set(StatusBarIcon icon) {
260 final boolean iconEquals = mIcon != null && equalIcons(mIcon.icon, icon.icon);
262 && mIcon.iconLevel == icon.iconLevel
346 Drawable icon = statusBarIcon.icon.loadDrawableAsUser(context, userId); local
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/wizards/templates/
TemplateMetadata.java 221 * Returns a suitable icon wizard state instance if this wizard requests
224 * @return icon wizard state or null
234 Element icon = (Element) icons.item(0); local
239 String typeString = getAttributeOrNull(icon, ATTR_TYPE);
255 mIconState.outputName = getAttributeOrNull(icon, ATTR_NAME);
264 RGB background = getRgb(icon, ATTR_BACKGROUND);
268 RGB foreground = getRgb(icon, ATTR_FOREGROUND);
272 String shapeString = getAttributeOrNull(icon, ATTR_SHAPE);
287 String trimString = getAttributeOrNull(icon, ATTR_TRIM);
291 String paddingString = getAttributeOrNull(icon, ATTR_PADDING)
327 Element icon = (Element) icons.item(0); local
    [all...]
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/
AllAppPermissionsFragment.java 128 final Drawable icon = local
137 setHeader(icon, label, infoIntent);
252 Drawable icon = null; local
253 if (perm.icon != 0) {
254 icon = perm.loadIcon(pm);
255 } else if (group != null && group.icon != 0) {
256 icon = group.loadIcon(pm);
258 icon = getContext().getDrawable(R.drawable.ic_perm_device_info);
260 pref.setIcon(Utils.applyTint(getContext(), icon, android.R.attr.colorControlNormal)); local
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/television/
AllAppPermissionsFragment.java 134 final Drawable icon = appInfo.loadIcon(pm); local
142 setHeader(icon, label, infoIntent, null);
292 final Drawable icon; local
293 if (perm.icon != 0) {
294 icon = perm.loadIcon(context.getPackageManager());
295 } else if (group != null && group.icon != 0) {
296 icon = group.loadIcon(context.getPackageManager());
298 icon = context.getDrawable(R.drawable.ic_perm_device_info);
300 return Utils.applyTint(context, icon, android.R.attr.colorControlNormal);
  /external/sl4a/ScriptingLayerForAndroid/src/com/googlecode/android_scripting/provider/
ScriptProvider.java 119 int icon = FeaturedInterpreters.getInterpreterIcon(mContext, interpreter.getExtension()); local
121 { index, scriptName, secondLine, icon, scriptName,
145 ShortcutIconResource icon = ShortcutIconResource.fromContext(mContext, iconId); local
153 { index, script.getName(), intent.toURI(), icon.resourceName, icon.packageName,
  /frameworks/base/core/java/android/appwidget/
AppWidgetProviderInfo.java 166 * The icon to display for this AppWidget in the AppWidget picker. If not supplied in the
167 * xml, the application icon will be used.
169 * <p>This field corresponds to the <code>android:icon</code> attribute in
172 public int icon; field in class:AppWidgetProviderInfo
184 * If not supplied, the AppWidget's icon will be used.
238 this.icon = in.readInt();
261 * Loads the icon to display for this AppWidget in the AppWidget picker. If not
262 * supplied in the xml, the application icon will be used. A client can optionally
267 * The loaded icon corresponds to the <code>android:icon</code> attribute i
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/notification/
NotificationHeaderViewWrapper.java 110 mIcon = mView.findViewById(com.android.internal.R.id.icon);
120 private int resolveColor(ImageView icon) {
121 if (icon != null && icon.getDrawable() != null) {
122 ColorFilter filter = icon.getDrawable().getColorFilter();
145 // The work profile image is always the same lets just set the icon tag for it not to
221 // We don't update the color for children views / their icon is invisible anyway.
222 // It also may lead to bugs where the icon isn't correctly greyed out.
  /packages/apps/Gallery2/src/com/android/gallery3d/ui/
AlbumLabelMaker.java 149 Bitmap icon = getOverlayAlbumIcon(mSourceType); local
189 // draw the icon
190 if (icon != null) {
192 float scale = (float) s.iconSize / icon.getWidth();
194 Math.round(scale * icon.getHeight()))/2f);
196 canvas.drawBitmap(icon, 0, 0, null);
  /packages/apps/Launcher3/src/com/android/launcher3/badge/
BadgeRenderer.java 36 * Contains parameters necessary to draw a badge for an icon (e.g. the size of the badge).
43 // The badge sizes are defined as percentages of the app icon size.
90 * @param palette The colors (based on the icon) to use for the badge.
92 * @param iconBounds The bounds of the icon being badged.
101 Shader icon = badgeInfo == null ? null : badgeInfo.getNotificationIconForBadge( local
118 boolean isIcon = !DOTS_ONLY && icon != null;
148 iconDrawer.drawIcon(icon, canvas);
157 /** Draws the notification icon with padding of a given size. */
173 public void drawIcon(Shader icon, Canvas canvas) {
174 mPaint.setShader(icon);
    [all...]
  /packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/utils/
Utils.java 113 public static Drawable applyTint(Context context, Drawable icon, int attr) {
117 icon = icon.mutate();
118 icon.setTint(context.getColor(typedValue.resourceId));
119 return icon;
  /packages/apps/Settings/src/com/android/settings/
CreateShortcut.java 31 import android.graphics.drawable.Icon;
74 Icon maskableIcon = activityInfo.icon != 0 ? Icon.createWithAdaptiveBitmap(
75 createIcon(activityInfo.icon,
78 Icon.createWithResource(this, R.drawable.ic_launcher_settings);
95 if (activityInfo.icon != 0) {
96 intent.putExtra(Intent.EXTRA_SHORTCUT_ICON, createIcon(activityInfo.icon,
115 ((ImageView) view.findViewById(android.R.id.icon)).setImageResource(resource);
  /external/sonivox/jet_tools/JetCreator/
img_Open.py 76 icon = EmptyIcon()
77 icon.CopyFromBitmap(getBitmap())
78 return icon
  /frameworks/base/core/java/android/content/pm/
ComponentInfo.java 131 * Return the icon resource identifier to use for this component. If
132 * the component defines an icon, that is used; else, the application
133 * icon is used.
135 * @return The icon associated with this component.
138 return icon != 0 ? icon : applicationInfo.icon;
  /frameworks/base/core/java/com/android/internal/view/menu/
MenuItemImpl.java 61 /** The icon's drawable which is only created as needed */
64 * The icon's resource ID which is used to get the Drawable when it is
99 /** Used for the icon resource ID if this item does not have an icon */
460 Drawable icon = mMenu.getContext().getDrawable(mIconResId); local
462 mIconDrawable = icon;
463 return applyIconTintIfNecessary(icon);
469 public MenuItem setIcon(Drawable icon) {
471 mIconDrawable = icon;
523 private Drawable applyIconTintIfNecessary(Drawable icon) {
    [all...]
  /frameworks/base/libs/input/
PointerController.h 65 virtual void loadPointerIcon(SpriteIcon* icon) = 0;
109 void setCustomPointerIcon(const SpriteIcon& icon);
135 void updateSprite(const SpriteIcon* icon, float x, float y);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
QSFactoryImpl.java 82 QSIconView icon = tile.createTileView(context); local
84 return new QSTileBaseView(context, icon, collapsedView);
86 return new com.android.systemui.qs.tileimpl.QSTileView(context, icon);
  /packages/apps/Contacts/src/com/android/contacts/list/
ContactListFilterView.java 87 mIcon = (ImageView) findViewById(R.id.icon);
124 if (mFilter.icon != null) {
125 mIcon.setImageDrawable(mFilter.icon);
  /packages/apps/Contacts/src/com/android/contacts/widget/
FloatingActionButtonController.java 89 public void changeIcon(Drawable icon, String description) {
90 if (mFloatingActionButton.getDrawable() != icon
92 mFloatingActionButton.setImageDrawable(icon);
191 // Fade out the icon faster than the scale out animation, so that the icon scaling is less
  /packages/apps/DocumentsUI/src/com/android/documentsui/sidebar/
RootItem.java 65 final ImageView icon = (ImageView) convertView.findViewById(android.R.id.icon); local
71 icon.setImageDrawable(root.loadDrawerIcon(context));
  /packages/apps/Launcher3/src/com/android/launcher3/graphics/
ShadowGenerator.java 36 // Percent of actual icon size
40 // Percent of actual icon size
64 public synchronized Bitmap recreateIcon(Bitmap icon) {
66 Bitmap shadow = icon.extractAlpha(mBlurPaint, offset);
78 // Draw the icon
80 mCanvas.drawBitmap(icon, 0, 0, mDrawPaint);
137 * Returns the minimum amount by which an icon with {@param bounds} should be scaled
  /packages/apps/Settings/src/com/android/settings/accounts/
AccountPreference.java 32 * AccountPreference is used to display a username, status and provider icon for an account on
47 public AccountPreference(Context context, Account account, Drawable icon,
54 setIcon(icon);
76 mSyncStatusIcon = (ImageView) view.findViewById(android.R.id.icon);
  /packages/apps/Tag/src/com/android/apps/tag/record/
RecordUtils.java 117 ImageView icon = (ImageView) item.findViewById(R.id.icon); local
118 icon.setImageDrawable(resolveInfo.loadIcon(pm));
  /packages/experimental/NotificationLog/src/com/android/notificationlog/
NotificationLogActivity.java 87 ImageView icon = (ImageView)view.findViewById(R.id.icon); local
108 icon.setImageDrawable(appIcon);

Completed in 3773 milliseconds

<<11121314151617181920>>