/frameworks/support/samples/SupportLeanbackDemos/src/com/example/android/leanback/ |
GuidedStepSupportActivity.java | 132 .icon(R.drawable.lb_ic_search_mic) 215 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), local 217 return new Guidance(title, description, breadcrumb, icon); 276 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), local 278 return new Guidance(title, description, breadcrumb, icon); 404 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), 406 return new Guidance(title, description, breadcrumb, icon); 532 Drawable icon = ResourcesCompat.getDrawable(context.getResources(), 534 return new Guidance(title, description, breadcrumb, icon); 613 Drawable icon = ResourcesCompat.getDrawable(context.getResources() [all...] |
/frameworks/base/core/java/android/app/ |
SearchDialog.java | 432 Drawable icon; local 435 icon = pm.getApplicationIcon(info.applicationInfo); 437 Log.d(LOG_TAG, "Using app-specific icon"); 439 icon = pm.getDefaultActivityIcon(); 440 Log.w(LOG_TAG, mLaunchComponent + " not found, using generic app icon"); 442 mAppIcon.setImageDrawable(icon); 453 Drawable icon = null; local 458 icon = mActivityContext.getDrawable(mSearchable.getIconId()); 460 if (DBG) Log.d(LOG_TAG, "Using badge icon: " + mSearchable.getIconId()); 467 mBadgeLabel.setCompoundDrawablesWithIntrinsicBounds(icon, null, null, null) [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/ |
KeyguardAffordanceHelper.java | 210 private boolean isOnIcon(View icon, float x, float y) { 211 float iconX = icon.getX() + icon.getWidth() / 2.0f; 212 float iconY = icon.getY() + icon.getHeight() / 2.0f; 466 private float getScale(float alpha, KeyguardAffordanceView icon) { 467 float scale = alpha / icon.getRestingAlpha() * 0.2f +
|
/frameworks/base/services/print/java/com/android/server/print/ |
RemotePrintSpooler.java | 27 import android.graphics.drawable.Icon; 362 * Handle that a custom icon for a printer was loaded. 364 * @param printerId the id of the printer the icon belongs to 365 * @param icon the icon that was loaded 369 @Nullable Icon icon) { 377 printerId, icon); local 379 Slog.e(LOG_TAG, "Error loading new custom printer icon.", re); 393 * Get the custom icon for a printer. If the icon is not cached, the icon i [all...] |
/frameworks/support/media-compat/java/android/support/v4/media/session/ |
PlaybackStateCompat.java | 856 CustomAction(String action, CharSequence name, int icon, Bundle extras) { 859 mIcon = icon; [all...] |
/packages/apps/Dialer/java/com/android/incallui/answer/impl/affordance/ |
SwipeButtonHelper.java | 232 private boolean isOnIcon(View icon, float x, float y) { 233 float iconX = icon.getX() + icon.getWidth() / 2.0f; 234 float iconY = icon.getY() + icon.getHeight() / 2.0f; 531 private float getScale(float alpha, SwipeButtonView icon) { 532 float scale = alpha / icon.getRestingAlpha() * 0.2f + SwipeButtonView.MIN_ICON_SCALE_AMOUNT;
|
/packages/apps/Launcher3/src/com/android/launcher3/ |
WidgetPreviewLoader.java | 414 // Draw icon in the center. 416 Drawable icon = info.getIcon(launcher, mIconCache); local 417 if (icon != null) { 422 icon = mutateOnMainThread(icon); 425 icon.setBounds(hoffset, yoffset, hoffset + iconSize, yoffset + iconSize); 426 icon.draw(c); 484 Bitmap icon = LauncherIcons.createScaledBitmapWithoutShadow( local 486 Rect src = new Rect(0, 0, icon.getWidth(), icon.getHeight()) [all...] |
PendingAppWidgetHostView.java | 83 // Load icon 124 Bitmap icon = info.iconBitmap; local 125 if (mIcon == icon) { 128 mIcon = icon; 135 // 1) App icon in the center 136 // 2) Preload icon in the center 137 // 3) Setup icon in the center and app icon in the top right corner. 232 // icon is drawn in the center. 242 // Icon top when we do not draw the tex [all...] |
/packages/apps/Music/src/com/android/music/ |
ArtistAlbumBrowserActivity.java | 280 R.string.party_shuffle); // icon will be set in onPrepareOptionsMenu() 564 ImageView icon; field in class:ArtistAlbumBrowserActivity.ArtistAlbumListAdapter.ViewHolder 630 ImageView iv = (ImageView) v.findViewById(R.id.icon); 638 vh.icon = (ImageView) v.findViewById(R.id.icon); 639 vh.icon.setPadding(0, 0, 1, 0); 652 vh.icon = (ImageView) v.findViewById(R.id.icon); 653 vh.icon.setBackgroundDrawable(mDefaultAlbumIcon); 654 vh.icon.setPadding(0, 0, 1, 0) [all...] |
/packages/apps/Launcher2/src/com/android/launcher2/ |
LauncherModel.java | 2201 Bitmap icon = null; local 2280 Bitmap icon = null; local 2432 Bitmap icon = null; local [all...] |
/frameworks/base/packages/PrintSpooler/src/com/android/printspooler/ui/ |
AddPrinterActivity.java | 556 ImageView icon = (ImageView) convertView.findViewById(R.id.icon); local 560 icon.setImageDrawable(service.getResolveInfo().loadIcon(getPackageManager())); 604 ImageView icon = (ImageView) convertView.findViewById(R.id.icon); local 607 icon.setImageDrawable(service.getResolveInfo().loadIcon(getPackageManager()));
|
/packages/apps/Contacts/src/com/android/contacts/ |
DynamicShortcuts.java | 40 import android.graphics.drawable.Icon; 285 ShortcutInfo getActionShortcutInfo(String id, String label, Intent action, Icon icon) { 294 .setIcon(icon) 334 final Icon icon; local 336 icon = Icon.createWithAdaptiveBitmap(bitmap); 338 icon = Icon.createWithBitmap(bitmap) [all...] |
/packages/inputmethods/OpenWnn/src/jp/co/omronsoft/openwnn/ |
Keyboard.java | 232 /** Icon to display instead of a label. Icon takes precedence over a label */ 233 public Drawable icon; field in class:Keyboard.Key 234 /** Preview version of the icon, for the preview popup */ 373 icon = a.getDrawable( 375 if (icon != null) { 376 icon.setBounds(0, 0, icon.getIntrinsicWidth(), icon.getIntrinsicHeight());
|
/build/make/tools/droiddoc/templates-pdk/assets/ |
carousel.js | 63 var icon = droid.icon; 75 img.setAttribute("src", toRoot + assetsRoot + "images/home/" + droid.icon);
|
/frameworks/base/core/java/android/print/ |
PrinterInfo.java | 31 import android.graphics.drawable.Icon; 72 /** Resource inside the printer's services's package to be used as an icon */ 75 /** If a custom icon can be loaded for the printer */ 78 /** The generation of the icon in the cache. */ 117 * Get the icon to be used for this printer. If no per printer icon is available, the printer's 118 * service's icon is returned. If the printer has a custom icon this icon might get requested 119 * asynchronously. Once the icon is loaded the discovery sessions will be notified that th 135 Icon icon = printManager.getCustomPrinterIcon(mId); local [all...] |
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/ |
TileServices.java | 25 import android.graphics.drawable.Icon; 232 public void updateStatusIcon(IBinder token, Icon icon, String contentDescription) { 243 final StatusBarIcon statusIcon = icon != null 244 ? new StatusBarIcon(userHandle, packageName, icon, 0, 0,
|
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
SearchOrbView.java | 37 * <p>A widget that draws a search affordance, represented by a round background and an icon.</p> 39 * The background color and icon can be customized. 89 * @param iconColor A color used to tint the search orb icon. 110 * A color used to tint the search orb icon. 171 mIcon = (ImageView) mRootView.findViewById(R.id.icon); 207 // Icon has no background, but must be on top of the search orb view 258 * Sets the orb icon. 259 * @param icon the drawable to be used as the icon 261 public void setOrbIcon(Drawable icon) { [all...] |
/packages/apps/Car/Settings/src/com/android/car/settings/applications/ |
ApplicationDetailActivity.java | 85 ImageView icon = (ImageView) findViewById(R.id.icon); local 86 icon.setImageDrawable(mResolveInfo.loadIcon(getPackageManager()));
|
/packages/apps/Contacts/src/com/android/contacts/util/ |
AccountFilterUtil.java | 151 final Drawable icon = accountType != null ? local 155 accountFilters.add(ContactListFilter.createDeviceContactsFilter(icon, account)); 158 account.type, account.name, account.dataSet, icon));
|
/packages/apps/Launcher3/tests/src/com/android/launcher3/model/ |
LoaderCursorTest.java | 34 import static com.android.launcher3.LauncherSettings.Favorites.ICON; 75 ICON, ICON_PACKAGE, ICON_RESOURCE, TITLE, 140 Bitmap icon = Bitmap.createBitmap(1, 1, Bitmap.Config.ALPHA_8); local 141 when(mMockIconCache.getDefaultIcon(eq(mLoaderCursor.user))).thenReturn(icon); 143 assertEquals(icon, info.iconBitmap);
|
/packages/services/Car/tests/InstrumentClusterRendererSample/src/com/android/car/cluster/sample/cards/ |
CardView.java | 182 ImageView icon = (ImageView) (animated local 185 icon.setBackground(null); 186 icon.setImageBitmap(bitmap);
|
/prebuilts/sdk/current/support/customtabs/ |
android-support-customtabs.jar | |
/bootable/recovery/ |
screen_ui.h | 31 // (shows an icon + a progress bar, text logging, menu, etc.) 39 void SetBackground(Icon icon); 75 Icon currentIcon;
|
/build/make/tools/droiddoc/templates-pdk/assets/design/ |
default.css | 489 #content li.with-icon { 493 #content li.with-icon p { 495 #content li.with-icon:before { 502 #content li.with-icon.tablet:before { 504 #content li.with-icon.web:before { 506 #content li.with-icon.checklist:before { 508 #content li.with-icon.action:before { 510 #content li.with-icon.use:before {
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
DataObjectUnitTests.java | 24 import android.graphics.drawable.Icon; 57 Icon phoneIcon = Icon.createWithResource(context, R.drawable.ic_phone_24dp); 203 Icon icon = Icon.createWithResource(context, R.drawable.ic_phone_24dp); local 206 icon, 209 assertEquals(icon.toString(), hints.getIcon().toString()); 222 assertEquals(icon.toString(), parcelHints.getIcon().toString());
|