/frameworks/base/core/java/com/android/internal/widget/ |
DecorToolbar.java | 88 void setNavigationIcon(Drawable icon); 93 void setDefaultNavigationIcon(Drawable icon);
|
/frameworks/base/policy/src/com/android/internal/policy/impl/ |
RecentApplicationsDialog.java | 67 for (TextView icon: mIcons) { 68 icon.setCompoundDrawables(null, null, null, null); 69 icon.setTag(null); 302 Drawable icon = activityInfo.loadIcon(pm); local 304 if (title != null && title.length() > 0 && icon != null) { 307 icon = iconUtilities.createIconDrawable(icon); 308 tv.setCompoundDrawables(null, icon, null, null);
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/widget/ |
DecorToolbar.java | 87 void setNavigationIcon(Drawable icon); 92 void setDefaultNavigationIcon(Drawable icon);
|
/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);
|
/external/chromium_org/remoting/webapp/ |
feedback.js | 13 * @param {HTMLElement} helpIcon The parent <span> for the help icon and the 15 * @param {HTMLElement} helpButton The Help <li> associated with the help icon. 17 * help icon.
|
menu_button.css | 75 .help-icon { 82 .help-icon:hover, .help-icon.active {
|
/external/chromium_org/ui/views/controls/menu/ |
menu_item_view.h | 43 // MenuItemView represents a single menu item with a label and optional icon. 149 const gfx::ImageSkia& icon, 174 // Append a submenu with an icon to this menu. 178 const gfx::ImageSkia& icon); 192 // Appends a menu item with an icon. This is for the menu item which 193 // needs an icon. Calling this function forces the Menu class to draw 197 const gfx::ImageSkia& icon); 204 const gfx::ImageSkia& icon, 245 // Sets the icon for the descendant identified by item_id. 246 void SetIcon(const gfx::ImageSkia& icon, int item_id) [all...] |
/frameworks/base/core/java/android/accounts/ |
ChooseAccountActivity.java | 98 Drawable icon = null; local 103 icon = authContext.getDrawable(desc.iconId); 107 Log.w(TAG, "No icon name for account type " + accountType); 112 Log.w(TAG, "No icon resource for account type " + accountType); 116 return icon; 151 ImageView icon; field in class:ChooseAccountActivity.ViewHolder 174 holder.icon = (ImageView) convertView.findViewById(R.id.account_row_icon); 181 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/packages/SystemUI/src/com/android/systemui/qs/ |
QSDetailItems.java | 79 mEmptyIcon = (ImageView) mEmpty.findViewById(android.R.id.icon); 100 public void setEmptyState(int icon, int text) { 101 mEmptyIcon.setImageResource(icon); 163 final ImageView iv = (ImageView) view.findViewById(android.R.id.icon); 164 iv.setImageResource(item.icon); 215 public int icon; field in class:QSDetailItems.Item
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
DemoStatusIcons.java | 141 StatusBarIcon icon = v.getStatusBarIcon(); local 142 icon.iconPackage = iconPkg; 143 icon.iconId = iconId; 144 v.set(icon); 156 StatusBarIcon icon = new StatusBarIcon(iconPkg, UserHandle.CURRENT, iconId, 0, 0, "Demo"); local 159 v.set(icon);
|
/packages/apps/Browser/src/com/android/browser/ |
DownloadTouchIcon.java | 50 private final String mUserAgent; // Sites may serve a different icon to different UAs 57 * Use this ctor to store the touch icon in the bookmarks database for 72 * Use this ctor to download the touch icon and update the bookmarks database 88 * Use this ctor to not store the touch icon in a database, rather add it to 134 Bitmap icon = BitmapFactory.decodeStream( local 137 storeIcon(icon); 140 b.putParcelable(BrowserContract.Bookmarks.TOUCH_ICON, icon); 174 private void storeIcon(Bitmap icon) { 177 // Remove the touch icon loader from the BrowserActivity. 181 if (icon == null || mCursor == null || isCancelled()) [all...] |
/packages/apps/Settings/src/com/android/settings/accounts/ |
AuthenticatorHelper.java | 97 * Gets an icon associated with a particular account type. If none found, return null. 99 * @return a drawable for the icon or null if one cannot be found. 102 Drawable icon = null; local 113 icon = mContext.getPackageManager().getUserBadgedIcon( 116 mAccTypeIconCache.put(accountType, icon); 122 if (icon == null) { 123 icon = context.getPackageManager().getDefaultActivityIcon(); 125 return icon; 144 Log.w(TAG, "No label icon for account type " + accountType);
|
/packages/apps/Settings/src/com/android/settings/drawable/ |
CircleFramedDrawable.java | 37 * Converts the user avatar icon to a circularly clipped one. 58 public static CircleFramedDrawable getInstance(Context context, Bitmap icon) { 67 CircleFramedDrawable instance = new CircleFramedDrawable(icon, 73 public CircleFramedDrawable(Bitmap icon, int size, 88 final int width = icon.getWidth(); 89 final int height = icon.getHeight(); 109 // mask in the icon where the bitmap is opaque 111 canvas.drawBitmap(icon, cropRect, circleRect, mPaint);
|
/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...] |
/external/qemu/distrib/sdl-1.2.15/src/video/x11/ |
SDL_x11wm.c | 44 void X11_SetIcon(_THIS, SDL_Surface *icon, Uint8 *mask) 63 /* The icon must use the default visual, depth and colormap of the 75 sicon = SDL_CreateRGBSurface(SDL_SWSURFACE, icon->w, icon->h, 90 if(icon->format->palette) { 91 /* The icon has a palette as well - we just have to 93 nwant = icon->format->palette->ncolors; 94 SDL_memcpy(want, icon->format->palette->colors, 172 bounds.w = icon->w; 173 bounds.h = icon->h [all...] |
/external/chromium_org/ui/base/models/ |
simple_menu_model.cc | 21 gfx::Image icon; member in struct:ui::SimpleMenuModel::Item 246 void SimpleMenuModel::SetIcon(int index, const gfx::Image& icon) { 247 items_[ValidateItemIndex(index)].icon = icon; 279 if (!i->icon.IsEmpty()) 347 bool SimpleMenuModel::GetIconAt(int index, gfx::Image* icon) { 349 return delegate_->GetIconForCommandId(GetCommandIdAt(index), icon); 352 if (items_[index].icon.IsEmpty()) 355 *icon = items_[index].icon; [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_video.c | [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/ |
FolderIcon.java | 50 * An icon that can appear on in the workspace representing an {@link UserFolder}. 151 FolderIcon icon = (FolderIcon) LayoutInflater.from(launcher).inflate(resId, group, false); local 152 icon.setClipToPadding(false); 153 icon.mFolderName = (BubbleTextView) icon.findViewById(R.id.folder_icon_name); 154 icon.mFolderName.setText(folderInfo.title); 155 icon.mFolderName.setCompoundDrawablePadding(0); 156 FrameLayout.LayoutParams lp = (FrameLayout.LayoutParams) icon.mFolderName.getLayoutParams(); 160 icon.mPreviewBackground = (ImageView) icon.findViewById(R.id.preview_background) [all...] |
/external/chromium_org/ui/gfx/ |
icon_util.cc | 66 // There is no source icon larger than 48x48, so do not create any 141 // The icon images appear in the icon file in same order in which their 143 // this array sorted. Also note that the maximum icon image size we can handle 147 8, // Recommended by the MSDN as a nice to have icon size. 149 14, // Recommended by the MSDN as a nice to have icon size. 150 16, // Toolbar, Application and Shell icon sizes. 151 22, // Recommended by the MSDN as a nice to have icon size. 153 32, // Toolbar, Dialog and Wizard icon size. 155 48, // Alt+Tab icon size 229 HICON icon = ::CreateIconIndirect(&icon_info); local [all...] |
/frameworks/base/core/java/com/android/internal/view/menu/ |
ActionMenuItemView.java | 116 setTitle(itemData.getTitleForItemView(this)); // Title only takes effect if there is no icon 182 public void setIcon(Drawable icon) { 183 mIcon = icon; 184 if (icon != null) { 185 int width = icon.getIntrinsicWidth(); 186 int height = icon.getIntrinsicHeight(); 197 icon.setBounds(0, 0, width, height); 199 setCompoundDrawables(icon, null, null, null); 309 // a little coercion. Pad in to center the icon after we've measured.
|
/frameworks/support/v7/appcompat/src/android/support/v7/internal/view/menu/ |
ActionMenuItemView.java | 121 setTitle(itemData.getTitleForItemView(this)); // Title only takes effect if there is no icon 186 public void setIcon(Drawable icon) { 187 mIcon = icon; 188 if (icon != null) { 189 int width = icon.getIntrinsicWidth(); 190 int height = icon.getIntrinsicHeight(); 201 icon.setBounds(0, 0, width, height); 203 setCompoundDrawables(icon, null, null, null); 292 // a little coercion. Pad in to center the icon after we've measured.
|
/external/chromium_org/third_party/WebKit/Source/devtools/front_end/ |
networkLogView.css | 47 .network-summary-bar .warning-icon-small { 165 .network-log-grid.data-grid .icon { 169 .network-log-grid.data-grid.small .icon { 173 .network-log-grid.data-grid .network-type-script .icon { 177 .network-log-grid.data-grid.small .network-type-script .icon { 181 .network-log-grid.data-grid .network-type-document .icon { 185 .network-log-grid.data-grid.small .network-type-document .icon { 189 .network-log-grid.data-grid .network-type-stylesheet .icon { 193 .network-log-grid.data-grid.small .network-type-stylesheet .icon { 197 .network-log-grid.data-grid .network-type-media .icon { [all...] |
/external/chromium_org/chrome/browser/ui/views/ |
create_application_shortcut_view.cc | 60 // AppInfoView shows the application icon and title. 65 const gfx::ImageFamily& icon); 71 // Updates the icon of the web app. 80 const base::string16& description, const gfx::ImageFamily& icon); 95 const gfx::ImageFamily& icon) 99 Init(title, description, icon); 104 const gfx::ImageFamily& icon) { 106 UpdateIcon(icon); 177 // Get the icon closest to the desired preview size. 178 const gfx::Image* icon = image.GetBest(kIconPreviewSizePixels local 458 const gfx::Image* icon = shortcut_info_.favicon.GetBest(0, 0); local [all...] |
/frameworks/base/core/java/android/app/ |
Notification.java | 164 * The resource id of a drawable to use as the icon in the status bar. 165 * This is required; notifications with an invalid icon resource will not be shown. 167 public int icon; field in class:Notification 170 * If the icon in the status bar is to have more than one level, you can set this. Otherwise, 184 * superimposed over the icon in the status bar. Starting with 517 * {@link #icon} image (stenciled in white) atop a field of this color. Alpha components are 534 * done on Android: The notification's {@link #icon} and {@link #tickerText} (if available) are 543 * Finally, a notification can be made {@link #VISIBILITY_SECRET}, which will suppress its icon 731 * {@link #extras} key: this is the resource ID of the notification's main small icon, as 734 public static final String EXTRA_SMALL_ICON = "android.icon"; 893 public int icon; field in class:Notification.Action [all...] |