/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/ |
ReviewPermissionsActivity.java | 264 // Set icon 265 Drawable icon = mAppPermissions.getPackageInfo().applicationInfo.loadIcon( local 268 iconView.setImageDrawable(icon); 333 Drawable icon = Utils.loadDrawable(activity.getPackageManager(), local 335 preference.setIcon(Utils.applyTint(getContext(), icon, local
|
/packages/apps/PackageInstaller/src/com/android/packageinstaller/permission/ui/handheld/ |
AppPermissionsFragment.java | 176 Drawable icon = IconDrawableFactory.newInstance(activity).getBadgedIcon(appInfo); local 178 fragment.setHeader(icon, label, infoIntent); 239 Drawable icon = Utils.loadDrawable(context.getPackageManager(), local 241 preference.setIcon(Utils.applyTint(getContext(), icon, local
|
/packages/apps/Settings/src/com/android/settings/notification/ |
NotificationStation.java | 80 public Drawable icon; field in class:NotificationStation.HistoricalNotificationInfo 287 info.icon = loadIconDrawable(info.pkg, info.user, n.icon); 520 Log.e(TAG, "Icon package not found: " + pkg, ex); 530 Drawable icon = null; local 532 icon = mPm.getApplicationIcon(pkg); 534 Log.e(TAG, "Cannot get application icon", e); 537 return icon; 561 Log.w(TAG, "Icon not found in " 583 if (mInfo.icon != null) [all...] |
/packages/apps/Settings/src/com/android/settings/qstile/ |
DevelopmentTileConfigActivity.java | 74 preference.setIcon(sInfo.icon);
|
/packages/apps/TV/src/com/android/tv/dvr/ui/ |
DvrConflictFragment.java | 185 Drawable icon = getResources().getDrawable(R.drawable.ic_error_white_48dp, null); local 186 return new Guidance(title, descriptionPrefix + " " + description, null, icon); 236 Drawable icon = getResources().getDrawable(R.drawable.ic_error_white_48dp, null); local 237 return new Guidance(title, descriptionPrefix + " " + description, null, icon);
|
/platform_testing/tests/jank/UbSystemUiJankTests/src/android/platform/systemui/tests/jank/ |
SystemUiJankTests.java | 27 import android.graphics.drawable.Icon; 201 int icon = ICONS[i]; local 208 builder.setGroup(Integer.toString(icon)); 210 builder.setContentText(Integer.toHexString(icon)) 211 .setSmallIcon(icon); 212 mNotificationManager.notify(icon, builder.build()); 225 Icon icon = Icon.createWithResource(context, ICONS[0]); local 226 Action action = new Action.Builder(icon, REPLY_TEXT, pendingIntent [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/volume/ |
VolumeDialogImpl.java | 436 row.icon = row.view.findViewById(R.id.volume_row_icon); 437 row.icon.setImageResource(iconRes); 439 row.icon.setOnClickListener(new OnClickListener() { 469 row.icon.setImportantForAccessibility(View.IMPORTANT_FOR_ACCESSIBILITY_NO); 756 // update icon 758 row.icon.setEnabled(iconEnabled); 759 row.icon.setAlpha(iconEnabled ? 1 : 0.5f); 1278 private ImageButton icon; field in class:VolumeRow [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
KeyboardView.java | 767 } else if (key.icon != null) { 772 - key.icon.getIntrinsicWidth()) / 2 + padding.left; 774 - key.icon.getIntrinsicHeight()) / 2 + padding.top; 777 - key.icon.getIntrinsicWidth()) / 2 + padding.left; 779 - key.icon.getIntrinsicHeight()) / 2 + padding.top; 782 key.icon.setBounds(0, 0, 783 key.icon.getIntrinsicWidth(), key.icon.getIntrinsicHeight()); 784 key.icon.draw(canvas); [all...] |
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
GyroscopeTestActivity.java | 215 void updateWidgets(float sensorValue, int backgroundColor, int icon) { 220 mSensorText.setCompoundDrawablesWithIntrinsicBounds(0, 0, icon, 0);
|
/developers/build/prebuilts/gradle/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/ |
AlbumArtCache.java | 55 // Resolution reasonable for carrying around as an icon (generally in 116 Bitmap icon = scaleBitmap(bitmap, MAX_ART_WIDTH_ICON, MAX_ART_HEIGHT_ICON); local 117 bitmaps = new Bitmap[]{bitmap, icon};
|
/developers/build/prebuilts/gradle/PictureInPicture/app/src/main/java/com/example/android/pictureinpicture/ |
MainActivity.java | 27 import android.graphics.drawable.Icon; 124 * @param iconId The icon to be used. 140 final Icon icon = Icon.createWithResource(MainActivity.this, iconId); local 141 actions.add(new RemoteAction(icon, title, title, intent)); 145 Icon.createWithResource(MainActivity.this, R.drawable.ic_info_24dp),
|
/developers/build/prebuilts/gradle/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/ |
AttractionListFragment.java | 193 View heroView = view.findViewById(android.R.id.icon); 214 mImageView = (ImageView) view.findViewById(android.R.id.icon);
|
/developers/samples/android/media/MediaBrowserService/Application/src/main/java/com/example/android/mediabrowserservice/ |
AlbumArtCache.java | 55 // Resolution reasonable for carrying around as an icon (generally in 116 Bitmap icon = scaleBitmap(bitmap, MAX_ART_WIDTH_ICON, MAX_ART_HEIGHT_ICON); local 117 bitmaps = new Bitmap[]{bitmap, icon};
|
/developers/samples/android/media/PictureInPicture/app/src/main/java/com/example/android/pictureinpicture/ |
MainActivity.java | 27 import android.graphics.drawable.Icon; 124 * @param iconId The icon to be used. 140 final Icon icon = Icon.createWithResource(MainActivity.this, iconId); local 141 actions.add(new RemoteAction(icon, title, title, intent)); 145 Icon.createWithResource(MainActivity.this, R.drawable.ic_info_24dp),
|
/developers/samples/android/wearable/wear/XYZTouristAttractions/Application/src/main/java/com/example/android/xyztouristattractions/ui/ |
AttractionListFragment.java | 193 View heroView = view.findViewById(android.R.id.icon); 214 mImageView = (ImageView) view.findViewById(android.R.id.icon);
|
/development/samples/ApiDemos/src/com/example/android/apis/app/ |
StatusBarNotifications.java | 202 .setSmallIcon(moodId) // the status icon 232 // the icon for the status bar 233 notif.icon = moodId; 238 contentView.setImageViewResource(R.id.icon, moodId); 259 .setSmallIcon(R.drawable.stat_happy) // the status icon
|
/development/samples/ShortcutDemo/launcher/src/com/example/android/pm/shortcutlauncherdemo/ |
BaseActivityListFragment.java | 177 final Drawable icon = ai.getBadgedIcon(DisplayMetrics.DENSITY_DEFAULT); local 179 image.setImageDrawable(icon);
|
/development/samples/browseable/XYZTouristAttractions/Application/src/com.example.android.xyztouristattractions/ui/ |
AttractionListFragment.java | 193 View heroView = view.findViewById(android.R.id.icon); 214 mImageView = (ImageView) view.findViewById(android.R.id.icon);
|
/external/ImageMagick/coders/ |
Android.mk | 62 icon.c\
|
/frameworks/base/core/java/android/content/pm/ |
ShortcutInfo.java | 30 import android.graphics.drawable.Icon; 100 /** @hide When this is set, the bitmap icon is waiting to be saved. */ 174 private Icon mIcon; 561 * Look up resource names from the resource IDs for the icon res and the text fields, and fill 586 * Look up resource IDs from the resource names for the icon res and the text fields, and fill 701 public static Icon validateIcon(Icon icon) { 702 switch (icon.getType()) { 703 case Icon.TYPE_RESOURCE [all...] |
/frameworks/base/core/java/android/hardware/input/ |
IInputManager.aidl | 83 void setCustomPointerIcon(in PointerIcon icon);
|
/frameworks/base/core/java/android/os/ |
IUserManager.aidl | 48 void setUserIcon(int userHandle, in Bitmap icon);
|
/frameworks/base/core/java/android/service/quicksettings/ |
TileService.java | 29 import android.graphics.drawable.Icon; 63 * The label and icon for the service will be used as the default label and 64 * icon for the tile. Here is an example TileService declaration.</p> 70 * android:icon="@drawable/my_default_icon_label" 202 * Sets an icon to be shown in the status bar. 204 * The icon will be displayed before all other icons. Can only be called between 207 * @param icon The icon to be displayed, null to hide 208 * @param contentDescription Content description of the icon to be displayed 212 public final void setStatusIcon(Icon icon, String contentDescription) [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenuItem.java | 185 public MenuItem setIcon(Drawable icon) { 186 mIconDrawable = icon;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/ |
ForegroundServicesDialog.java | 198 ImageView icon = view.findViewById(R.id.app_icon); local 199 icon.setImageDrawable(mIconDrawableFactory.getBadgedIcon(getItem(position)));
|