/external/chromium_org/chrome/browser/ui/autofill/ |
autofill_dialog_models.h | 46 const gfx::Image& icon); 59 const gfx::Image& icon);
|
/external/chromium_org/chrome/browser/ui/views/ |
avatar_menu_button.cc | 34 // In RTL mode, the avatar icon should be looking the opposite direction. 58 // icon may not fit in the view. That's ok, we just vertically center it. 78 void AvatarMenuButton::SetAvatarIcon(const gfx::Image& icon, 80 icon_.reset(new gfx::Image(icon));
|
browser_action_test_util_views.cc | 50 gfx::ImageSkia icon = GetContainer(browser_)->GetBrowserActionViewAt(index)-> local 52 return gfx::Image(icon);
|
/external/chromium_org/chrome/browser/ui/views/location_bar/ |
script_bubble_icon_view.cc | 36 gfx::ImageSkia* icon = local 39 gfx::Size requested_size(19, 19); // Icon is only 16x16, too small to badge. 43 *icon,
|
/external/chromium_org/skia/ext/ |
skia_utils_mac.h | 96 SK_API NSImage* SkBitmapToNSImageWithColorSpace(const SkBitmap& icon, 102 SK_API NSImage* SkBitmapToNSImage(const SkBitmap& icon);
|
/frameworks/base/core/java/android/app/ |
Notification.java | 121 * The resource id of a drawable to use as the icon in the status bar. 122 * This is required; notifications with an invalid icon resource will not be shown. 124 public int icon; field in class:Notification 127 * If the icon in the status bar is to have more than one level, you can set this. Otherwise, 141 * superimposed over the icon in the status bar. Starting with 481 * {@link #extras} key: this is the resource ID of the notification's main small icon, as 484 public static final String EXTRA_SMALL_ICON = "android.icon"; 487 * {@link #extras} key: this is a bitmap to be used instead of the small icon when showing the 583 * It must include an icon, a label, and a {@link PendingIntent} to be fired when the action is 591 * Small icon representing the action 593 public int icon; field in class:Notification.Action [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/tv/ |
TvStatusBar.java | 35 public void addIcon(String slot, int index, int viewIndex, StatusBarIcon icon) { 40 StatusBarIcon 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);
|
/packages/apps/Nfc/src/com/android/nfc/cardemulation/ |
AppChooserActivity.java | 184 public DisplayAppInfo(ApduServiceInfo serviceInfo, CharSequence label, Drawable icon, 187 displayIcon = icon; 200 // For each component, get the corresponding app name and icon 207 Drawable icon = service.loadIcon(pm); local 216 DisplayAppInfo info = new DisplayAppInfo(service, label, icon, banner); 259 ViewGroup.LayoutParams lp = holder.icon.getLayoutParams(); 261 holder.icon.setImageDrawable(appInfo.displayIcon); 270 public ImageView icon; field in class:AppChooserActivity.ViewHolder 274 icon = (ImageView) view.findViewById(com.android.nfc.R.id.appicon);
|
/external/chromium/chrome/browser/resources/file_manager/css/ |
file_manager.css | 257 .detail-icon-container { 264 /* The icon in the name column. */ 265 .detail-icon { 273 /* Icon for files in the detail list. */ 274 .detail-icon[iconType="audio"] { 278 .detail-icon[iconType="doc"] { 282 .detail-icon[iconType="folder"] { 286 .detail-icon[iconType="html"] { 290 .detail-icon[iconType="image"] { 294 .detail-icon[iconType="pdf"] [all...] |
/external/chromium_org/chrome/common/ |
badge_util.cc | 95 SkBitmap DrawBadgeIconOverlay(const SkBitmap& icon, 112 if (SkScalarRound(text_width) > (icon.width() - kMinPadding * 2)) { 121 int badge_width = icon.width(); 127 gfx::Size(badge_width, icon.height()), ui::SCALE_FACTOR_100P, false)); 128 canvas->DrawImageInt(gfx::ImageSkia::CreateFrom1xBitmap(icon), 0, 0); 134 SkScalar y = (icon.height() - font_size)/2 + font_size - 1; 173 // Force the pixel width of badge to be either odd (if the icon width is odd)
|
/external/chromium_org/ui/views/controls/menu/ |
menu_item_view.h | 47 // MenuItemView represents a single menu item with a label and optional icon. 167 const gfx::ImageSkia& icon, 192 // Append a submenu with an icon to this menu. 196 const gfx::ImageSkia& icon); 210 // Appends a menu item with an icon. This is for the menu item which 211 // needs an icon. Calling this function forces the Menu class to draw 215 const gfx::ImageSkia& icon); 227 const gfx::ImageSkia& icon, 265 // Sets the icon for the descendant identified by item_id. 266 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.getResources().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.getResources().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/DocumentsUI/src/com/android/documentsui/model/ |
RootInfo.java | 50 public int icon; field in class:RootInfo 71 icon = 0; 91 icon = in.readInt(); 110 out.writeInt(icon); 147 root.icon = getCursorInt(cursor, Root.COLUMN_ICON); 210 return IconUtils.loadPackageIcon(context, authority, icon);
|
/frameworks/base/packages/Keyguard/src/com/android/keyguard/ |
KeyguardMessageArea.java | 221 MutableInt icon = new MutableInt(0); local 222 CharSequence status = concat(getChargeInfo(icon), getOwnerInfo(), getCurrentMessage()); 223 setCompoundDrawablesWithIntrinsicBounds(icon.value, 0, 0, 0); 258 private CharSequence getChargeInfo(MutableInt icon) { 267 icon.value = CHARGING_ICON; 271 icon.value = BATTERY_LOW_ICON;
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
DemoStatusIcons.java | 130 StatusBarIcon icon = v.getStatusBarIcon(); local 131 icon.iconPackage = iconPkg; 132 icon.iconId = iconId; 133 v.set(icon); 145 StatusBarIcon icon = new StatusBarIcon(iconPkg, UserHandle.CURRENT, iconId, 0, 0, "Demo"); local 148 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/users/ |
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/third_party/WebKit/Source/devtools/front_end/ |
profilesPanel.css | 50 .profile-launcher-view-tree-item > .icon { 55 .profile-sidebar-tree-item .icon { 59 .profile-sidebar-tree-item.small .icon { 63 .profile-group-sidebar-tree-item .icon { 199 .profile-canvas-decoration .warning-icon-small {
|
/external/chromium_org/ui/base/models/ |
simple_menu_model.cc | 20 gfx::Image icon; member in struct:ui::SimpleMenuModel::Item 228 void SimpleMenuModel::SetIcon(int index, const gfx::Image& icon) { 229 items_[ValidateItemIndex(index)].icon = icon; 253 if (!i->icon.IsEmpty()) 315 bool SimpleMenuModel::GetIconAt(int index, gfx::Image* icon) { 317 return delegate_->GetIconForCommandId(GetCommandIdAt(index), icon); 320 if (items_[index].icon.IsEmpty()) 323 *icon = items_[index].icon; [all...] |
/external/qemu/distrib/sdl-1.2.15/src/video/ |
SDL_video.c | [all...] |
/packages/inputmethods/PinyinIME/src/com/android/inputmethod/pinyin/ |
SoftKeyboardView.java | 257 Drawable icon = mSoftKeyDown.getKeyIcon(); local 258 if (null != icon) { 259 mBalloonOnKey.setBalloonConfig(icon, desired_width, 457 Drawable icon = keyIcon; local 458 int marginLeft = (softKey.width() - icon.getIntrinsicWidth()) / 2; 459 int marginRight = softKey.width() - icon.getIntrinsicWidth() 461 int marginTop = (softKey.height() - icon.getIntrinsicHeight()) / 2; 462 int marginBottom = softKey.height() - icon.getIntrinsicHeight() 464 icon.setBounds(softKey.mLeft + marginLeft, 467 icon.draw(canvas) [all...] |