/developers/build/prebuilts/gradle/PictureInPicture/kotlinApp/app/src/main/java/com/example/android/pictureinpicture/ |
MainActivity.kt | 27 import android.graphics.drawable.Icon 93 * @param iconId The icon to be used. 112 val icon = Icon.createWithResource(this@MainActivity, iconId) 113 actions.add(RemoteAction(icon, title, title, intent)) 117 Icon.createWithResource(this@MainActivity, R.drawable.ic_info_24dp),
|
/developers/samples/android/media/PictureInPicture/kotlinApp/app/src/main/java/com/example/android/pictureinpicture/ |
MainActivity.kt | 27 import android.graphics.drawable.Icon 127 * @param iconId The icon to be used. 146 val icon = Icon.createWithResource(this@MainActivity, iconId) 147 actions.add(RemoteAction(icon, title, title, intent)) 151 Icon.createWithResource(this@MainActivity, R.drawable.ic_info_24dp),
|
/development/samples/ContactManager/src/com/example/android/contactmanager/ |
ContactAdder.java | 382 Drawable icon = data.getIcon(); local 383 if (icon == null) { 384 icon = getResources().getDrawable(android.R.drawable.ic_menu_search); 386 accountIcon.setImageDrawable(icon);
|
/frameworks/base/core/java/android/app/ |
AlertDialog.java | 395 * Set resId to 0 if you don't want an icon. 396 * @param resId the resourceId of the drawable to use as the icon or 0 397 * if you don't want an icon. 403 public void setIcon(Drawable icon) { 404 mAlert.setIcon(icon); 408 * Set an icon as supplied by a theme attribute. e.g. android.R.attr.alertDialogIcon 525 * needs more customization. Using this will replace the title and icon 583 public Builder setIcon(Drawable icon) { 584 P.mIcon = icon; 589 * Set an icon as supplied by a theme attribute. e.g [all...] |
/frameworks/base/core/java/com/android/internal/app/ |
ResolverActivity.java | 468 if (ri.resolvePackageName != null && ri.icon != 0) { 469 dr = getIcon(mPm.getResourcesForApplication(ri.resolvePackageName), ri.icon); 1895 public ImageView icon; field in class:ResolverActivity.ViewHolder [all...] |
/frameworks/base/core/java/com/android/internal/widget/ |
AccountItemView.java | 62 mAccountIcon = (ImageView)view.findViewById(android.R.id.icon);
|
/frameworks/base/core/tests/coretests/src/android/preference/ |
PreferenceIconSpaceTest.java | 57 when(mViewGroup.findViewById(com.android.internal.R.id.icon))
|
/frameworks/base/packages/EasterEgg/src/com/android/egg/neko/ |
NekoDialog.java | 83 ((ImageView) holder.itemView.findViewById(R.id.icon))
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/ |
ColorInversionTile.java | 102 state.icon = enabled ? mEnable : mDisable;
|
NfcTile.java | 111 state.icon = new DrawableIcon(state.value ? mEnable : mDisable);
|
NightDisplayTile.java | 82 state.icon = ResourceIcon.get(isActivated ? R.drawable.ic_qs_night_display_on
|
UserTile.java | 92 state.icon = new Icon() {
|
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/ |
NotificationHeaderUtil.java | 21 import android.graphics.drawable.Icon; 63 ImageView icon = (ImageView) view.findViewById( 64 com.android.internal.R.id.icon); 67 applyToChild(icon, apply, header.getOriginalIconColor()); 97 com.android.internal.R.id.icon, 342 Icon parentIcon = ((Notification) parentData).getSmallIcon(); 343 Icon childIcon = ((Notification) childData).getSmallIcon();
|
/frameworks/base/telecomm/java/android/telecom/ |
PhoneAccount.java | 20 import android.graphics.drawable.Icon; 234 * Indicating no icon tint is set. 258 private final Icon mIcon; 277 private Icon mIcon; 358 * Sets the icon. See {@link PhoneAccount#getIcon}. 360 * @param icon The icon to set. 362 public Builder setIcon(Icon icon) { 363 mIcon = icon; [all...] |
/frameworks/support/design/tests/src/android/support/design/widget/ |
BottomNavigationViewTest.java | 327 // This is due to the translucent color being used in the icon tinting 331 // replacing all non-transparent pixels in the destination (original icon) with 337 // ImageView with id R.id.icon. If the internal implementation of BottomNavigationView 339 onView(allOf(withId(R.id.icon), isDescendantOfA(withId(R.id.destination_home)))).check( 341 onView(allOf(withId(R.id.icon), isDescendantOfA(withId(R.id.destination_profile)))).check( 343 onView(allOf(withId(R.id.icon), isDescendantOfA(withId(R.id.destination_people)))).check( 352 onView(allOf(withId(R.id.icon), isDescendantOfA(withId(R.id.destination_home)))).check( 354 onView(allOf(withId(R.id.icon), isDescendantOfA(withId(R.id.destination_profile)))).check( 356 onView(allOf(withId(R.id.icon), isDescendantOfA(withId(R.id.destination_people)))).check( 359 // And now remove all icon tintin [all...] |
/frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/ |
ControlButtonPresenterSelector.java | 72 mIcon = (ImageView) view.findViewById(R.id.icon);
|
/frameworks/support/v7/appcompat/src/android/support/v7/app/ |
AlertDialog.java | 229 * Set resId to 0 if you don't want an icon. 230 * @param resId the resourceId of the drawable to use as the icon or 0 231 * if you don't want an icon. 240 * @param icon Drawable to use as the icon or null if you don't want an icon. 242 public void setIcon(Drawable icon) { 243 mAlert.setIcon(icon); 247 * Sets an icon as supplied by a theme attribute. e.g. android.R.attr.alertDialogIcon 367 * needs more customization. Using this will replace the title and icon [all...] |
/frameworks/support/v7/preference/tests/src/android/support/v7/preference/tests/ |
PreferenceIconSpaceTest.java | 60 when(mViewGroup.findViewById(android.R.id.icon))
|
/packages/apps/Car/Settings/src/com/android/car/settings/applications/ |
ApplicationListAdapter.java | 71 mIcon = (ImageView) view.findViewById(R.id.icon);
|
/packages/apps/Contacts/src/com/android/contacts/quickcontact/ |
ExpandingEntryCardView.java | 461 // margin. If there is an icon present, the icon's width and margin are added 464 ImageView entryIcon = (ImageView) entry.findViewById(R.id.icon); 531 // If the entry does not have an icon, mark gone. Else if it has an icon, show 598 Drawable icon = entry.getIcon(); local 599 if (icon != null) { 600 icon.mutate(); 601 icon.setColorFilter(mThemeColorFilter); 634 final ImageView icon = (ImageView) view.findViewById(R.id.icon) local [all...] |
/packages/apps/DocumentsUI/tests/common/com/android/documentsui/testing/ |
TestDocumentsProvider.java | 110 .add(Document.COLUMN_ICON, doc.icon);
|
/packages/apps/Launcher2/src/com/android/launcher2/ |
AppsCustomizePagedView.java | 749 Drawable icon = mIconCache.getFullResIcon(createShortcutInfo.shortcutActivityInfo, local 751 preview = Bitmap.createBitmap(icon.getIntrinsicWidth(), 752 icon.getIntrinsicHeight(), Bitmap.Config.ARGB_8888); 756 WidgetPreviewLoader.renderDrawableToBitmap(icon, preview, 0, 0, 757 icon.getIntrinsicWidth(), icon.getIntrinsicHeight()); 1030 PagedViewIcon icon = (PagedViewIcon) mLayoutInflater.inflate( local [all...] |
WidgetPreviewLoader.java | 515 // Draw the icon in the top left corner 522 Drawable icon = null; local 527 if (info.icon > 0) 528 icon = mIconCache.getFullResIcon(info.provider.getPackageName(), 529 info.icon, info.getProfile()); 530 if (icon != null) { 531 renderDrawableToBitmap(icon, defaultPreview, hoffset, 633 // Render the icon 634 Drawable icon = mIconCache.getFullResIcon(info, android.os.Process.myUserHandle()); local 646 icon, tempBitmap, paddingLeft, paddingTop, scaledIconWidth, scaledIconWidth) [all...] |
/packages/apps/Launcher3/src/com/android/launcher3/allapps/ |
AllAppsRecyclerView.java | 114 View icon = adapter.onCreateViewHolder(this, AllAppsGridAdapter.VIEW_TYPE_ICON).itemView; local 115 final int iconHeight = icon.getLayoutParams().height; 189 BubbleTextView icon = (BubbleTextView) v; local 190 int position = getChildPosition(icon); 390 // Otherwise, only account for the first icon in the row since they are the same
|
/packages/apps/Launcher3/src/com/android/launcher3/shortcuts/ |
DeepShortcutView.java | 35 * This lets us animate the DeepShortcutView (icon and text) separately from the background. 67 mIconView = findViewById(R.id.icon); 83 * Returns the position of the center of the icon relative to the container. 127 // shortcut eventually gets its icon updated.
|