/frameworks/support/v7/appcompat/src/android/support/v7/widget/ |
H A D | ActionMenuPresenter.java | 165 public void setOverflowIcon(Drawable icon) { argument 167 mOverflowButton.setImageDrawable(icon); 170 mPendingOverflowIcon = icon;
|
H A D | ScrollingTabContainerView.java | 467 final Drawable icon = tab.getIcon(); 470 if (icon != null) { 480 mIconView.setImageDrawable(icon);
|
/frameworks/base/core/java/android/app/ |
H A D | ActionBar.java | 68 * <p>When using the Holo themes the action bar shows the application icon on 74 * (formerly "Home") takes over the space previously occupied by the application icon. 103 * Standard navigation mode. Consists of either a logo or icon 152 * Use logo instead of icon if available. This flag will cause appropriate 153 * navigation modes to use a wider logo in place of the standard icon. 162 * navigation elements. This includes logo and icon. 214 * Custom navigation views appear between the application icon and 228 * <p>Custom navigation views appear between the application icon and 248 * <p>Custom navigation views appear between the application icon and 264 * Set the icon t 291 setIcon(Drawable icon) argument 1216 setIcon(Drawable icon) argument [all...] |
H A D | ActivityManager.java | 969 * @param icon An icon that represents the current state of this task. 973 public TaskDescription(String label, Bitmap icon, int colorPrimary) { argument 974 this(label, icon, null, colorPrimary, 0); 984 * @param icon An icon that represents the current state of this activity. 986 public TaskDescription(String label, Bitmap icon) { argument 987 this(label, icon, null, 0, 0); 1007 public TaskDescription(String label, Bitmap icon, String iconFilename, int colorPrimary, argument 1010 mIcon = icon; 1075 setIcon(Bitmap icon) argument [all...] |
H A D | NotificationManager.java | 58 * <li>A persistent icon that goes in the status bar and is accessible 74 * if you pass a new status bar icon, the old icon in the status bar will 306 throw new IllegalArgumentException("Invalid notification (no valid small icon): " 324 if (n.getSmallIcon() == null && n.icon != 0) { 325 n.setSmallIcon(Icon.createWithResource(pkg, n.icon));
|
/frameworks/base/core/java/android/view/ |
H A D | IWindowManager.aidl | 174 int icon, int logo, int windowFlags, IBinder transferFrom, boolean createIfNeeded);
|
H A D | InputDevice.java | 779 * @param pointerType the type of the pointer icon. 788 * @param icon the icon data. 791 public void setCustomPointerIcon(PointerIcon icon) { argument 792 InputManager.getInstance().setCustomPointerIcon(icon);
|
/frameworks/base/core/java/com/android/internal/app/ |
H A D | ToolbarActionBar.java | 109 public void setIcon(Drawable icon) { argument 110 mDecorToolbar.setIcon(icon);
|
H A D | WindowDecorActionBar.java | 1226 public Tab setIcon(Drawable icon) { argument 1227 mIcon = icon; 1365 public void setIcon(Drawable icon) { argument 1366 mDecorToolbar.setIcon(icon);
|
H A D | ChooserActivity.java | 643 final Icon icon = chooserTarget.getIcon(); 645 mDisplayIcon = icon != null ? icon.loadDrawable(ChooserActivity.this) : null; 860 ri.icon = li.getIconResource(); 861 ri.iconResourceId = ri.icon; 865 ri.icon = 0;
|
/frameworks/base/core/java/com/android/internal/widget/ |
H A D | ActionBarView.java | 566 * <p>As this encompasses the icon/logo, title and subtitle all in one, we need 667 public void setIcon(Drawable icon) { argument 668 mIcon = icon; 669 if (icon != null && 671 mHomeLayout.setIcon(icon); 1309 public void setDefaultNavigationIcon(Drawable icon) { argument 1310 mHomeLayout.setDefaultUpIndicator(icon); 1418 public void setIcon(Drawable icon) { argument 1419 mIconView.setImageDrawable(icon);
|
/frameworks/base/packages/DocumentsUI/src/com/android/documentsui/ |
H A D | RootsCache.java | 385 final int rootIcon = root.derivedIcon != 0 ? root.derivedIcon : root.icon; 390 final int testIcon = test.derivedIcon != 0 ? test.derivedIcon : test.icon;
|
/frameworks/base/core/java/android/os/ |
H A D | UserManager.java | 593 * Specifies if a user is not allowed to change their icon. Device owner and profile owner 1800 * icon to be able to distinguish it from the original icon. For badging an 1809 * @param icon The icon to badge. 1811 * @return A drawable that combines the original icon and a badge as 1815 public Drawable getBadgedIconForUser(Drawable icon, UserHandle user) { argument 1816 return mContext.getPackageManager().getUserBadgedIcon(icon, user); 1916 * @param icon the bitmap to set as the photo. 1919 public void setUserIcon(@UserIdInt int userHandle, Bitmap icon) { argument [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
H A D | NotificationIconAreaController.java | 158 toShow.add(ent.icon);
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/ |
H A D | NavBarTuner.java | 404 final ImageView icon = (ImageView) holder.itemView.findViewById(android.R.id.icon); 405 icon.setImageResource(R.drawable.ic_add); 406 icon.setImageTintList(ColorStateList.valueOf(context.getColor(value.resourceId)));
|
/frameworks/support/v4/api24/android/support/v4/app/ |
H A D | NotificationCompatApi24.java | 65 .setSmallIcon(n.icon, n.iconLevel)
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
H A D | WindowDecorActionBar.java | 1202 public Tab setIcon(Drawable icon) { argument 1203 mIcon = icon; 1341 public void setIcon(Drawable icon) { argument 1342 mDecorToolbar.setIcon(icon);
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/model/ |
H A D | PrintSpoolerService.java | 749 * Handle that a custom icon for a printer was loaded. 751 * @param printerId the id of the printer the icon belongs to 752 * @param icon the icon that was loaded 755 public void onCustomPrinterIconLoaded(PrinterId printerId, Icon icon) { argument 756 mCustomIconCache.onCustomPrinterIconLoaded(printerId, icon); 760 * Get the custom icon for a printer. If the icon is not cached, the icon is 763 * @param printerId the id of the printer the icon shoul 1482 onCustomPrinterIconLoaded(PrinterId printerId, Icon icon, IPrintSpoolerCallbacks callbacks, int sequence) argument [all...] |
/frameworks/base/services/core/java/com/android/server/am/ |
H A D | ActivityRecord.java | 136 int icon; // resource identifier of activity's icon. field in class:ActivityRecord 270 pw.print(" icon=0x"); pw.print(Integer.toHexString(icon)); 672 icon = aInfo.getIconResource(); 1363 Bitmap icon; 1365 (icon = _taskDescription.getIcon()) != null) { 1369 service.mRecentTasks.saveImage(icon, iconFilePath); 1389 appToken, packageName, theme, compatInfo, nonLocalizedLabel, labelRes, icon,
|
/frameworks/base/services/core/jni/ |
H A D | com_android_server_input_InputManagerService.cpp | 209 void setCustomPointerIcon(const SpriteIcon& icon); 247 virtual void loadPointerIcon(SpriteIcon* icon); 795 void NativeInputManager::setCustomPointerIcon(const SpriteIcon& icon) { argument 799 controller->setCustomPointerIcon(icon); 1042 void NativeInputManager::loadPointerIcon(SpriteIcon* icon) { argument 1055 *icon = SpriteIcon(pointerIcon.bitmap, pointerIcon.hotSpotX, pointerIcon.hotSpotY); 1057 *icon = SpriteIcon();
|
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
H A D | PrintActivity.java | 2375 Drawable icon = null; 2381 icon = getResources().getDrawable(R.drawable.ic_menu_savetopdf, null); 2389 icon = getResources().getDrawable(R.drawable.ic_menu_savetopdf, null); 2397 icon = printInfo.loadIcon(PrintActivity.this); 2414 ImageView iconView = (ImageView) convertView.findViewById(R.id.icon); 2415 if (icon != null) { 2418 icon.mutate(); 2422 icon.setAlpha((int)(value.getFloat() * 255)); 2424 iconView.setImageDrawable(icon);
|
/frameworks/support/design/src/android/support/design/widget/ |
H A D | TabLayout.java | 78 * change the tab's label or icon via {@link Tab#setText(int)} and {@link Tab#setIcon(int)} 102 * android:icon="@drawable/ic_android"/> 1285 * {@link ImageView} with ID {@link android.R.id#icon} then it will be updated with 1309 * {@link ImageView} with ID {@link android.R.id#icon} then it will be updated with 1323 * Return the icon associated with this tab. 1325 * @return The tab's icon 1357 * Set the icon displayed on this tab. 1359 * @param icon The drawable to use as an icon 1363 public Tab setIcon(@Nullable Drawable icon) { argument [all...] |
/frameworks/base/core/java/android/hardware/input/ |
H A D | InputManager.java | 872 * Changes the mouse pointer's icon shape into the specified id. 888 public void setCustomPointerIcon(PointerIcon icon) { argument 890 mIm.setCustomPointerIcon(icon);
|
/frameworks/base/core/java/android/widget/ |
H A D | ActionMenuView.java | 545 * Set the icon to use for the overflow button. 547 * @param icon Drawable to set, may be null to clear the icon 549 public void setOverflowIcon(@Nullable Drawable icon) { argument 551 mPresenter.setOverflowIcon(icon); 555 * Return the current drawable used as the overflow icon. 557 * @return The overflow icon drawable
|
/frameworks/base/services/core/java/com/android/server/pm/ |
H A D | ShortcutService.java | 193 * Key name for the max icon dimensions in DP, for non-low-memory devices. 198 * Key name for the max icon dimensions in DP, for low-memory devices. 208 * Key name for icon compression quality, 0-100. 213 * Key name for icon compression format: "PNG", "JPEG" or "WEBP" 1031 * Build the cached bitmap filename for a shortcut icon. 1054 Slog.d(TAG, "Saving icon to " + file.getAbsolutePath()); 1068 // Clear icon info on the shortcut. 1072 final Icon icon = shortcut.getIcon(); 1073 if (icon == null) { 1074 return; // has no icon 1144 injectValidateIconResPackage(ShortcutInfo shortcut, Icon icon) argument [all...] |