HomeSort by relevance Sort by last modified time
    Searched refs:Icon (Results 151 - 175 of 393) sorted by null

1 2 3 4 5 67 8 91011>>

  /packages/services/Telecomm/testapps/src/com/android/server/telecom/testapps/
SelfManagedConnection.java 24 import android.graphics.drawable.Icon;
121 Icon.createWithResource(mContext, R.drawable.ic_android_black_24dp),
128 Icon.createWithResource(mContext, R.drawable.ic_android_black_24dp),
  /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());
  /cts/tests/tests/view/src/android/view/textclassifier/cts/
TextClassifierValueObjectsTest.java 30 import android.graphics.drawable.Icon;
184 final Icon icon1 = generateTestIcon(16, 16, Color.RED);
189 final Icon icon2 = generateTestIcon(16, 16, Color.GREEN);
234 final Drawable icon = new ColorDrawable(Color.RED); local
243 .setIcon(icon)
260 assertEquals(icon, classification.getIcon());
307 private Icon generateTestIcon(int width, int height, int colorValue) {
314 return Icon.createWithBitmap(bitmap);
  /packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/suggestions/
SuggestionAdapterTest.java 33 import android.graphics.drawable.Icon;
239 final Icon icon = mock(Icon.class); local
242 .setIcon(icon)
254 when(cache.getIcon(icon)).thenReturn(drawable);
265 final Icon icon = mock(Icon.class); local
269 .setIcon(icon)
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/
KeyboardShortcuts.java 32 import android.graphics.drawable.Icon;
447 final Icon assistIcon = Icon.createWithResource(
449 assistPackageInfo.applicationInfo.icon);
460 final Icon browserIcon = getIconForIntentCategory(Intent.CATEGORY_APP_BROWSER, userId);
471 final Icon contactsIcon = getIconForIntentCategory(Intent.CATEGORY_APP_CONTACTS, userId);
481 final Icon emailIcon = getIconForIntentCategory(Intent.CATEGORY_APP_EMAIL, userId);
491 final Icon messagingIcon = getIconForIntentCategory(Intent.CATEGORY_APP_MESSAGING, userId);
501 final Icon musicIcon = getIconForIntentCategory(Intent.CATEGORY_APP_MUSIC, userId);
511 final Icon calendarIcon = getIconForIntentCategory(Intent.CATEGORY_APP_CALENDAR, userId)
    [all...]
  /frameworks/base/services/tests/servicestests/src/com/android/server/pm/
ShortcutManagerTest2.java 40 import android.graphics.drawable.Icon;
246 .setIcon(Icon.createWithResource(mClientContext, 123))
296 .setIcon(Icon.createWithResource(mClientContext, 123))
343 .setIcon(Icon.createWithResource(mClientContext, 123))
450 .setIcon(Icon.createWithResource(mClientContext, 123))
608 .setIcon(Icon.createWithResource(mClientContext, 123))
634 .setIcon(Icon.createWithResource(mClientContext, 456)).build());
732 .setIcon(Icon.createWithResource(mClientContext, 123))
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
QSTileImpl.java 490 public static class DrawableIcon extends Icon {
524 public static class ResourceIcon extends Icon {
525 private static final SparseArray<Icon> ICONS = new SparseArray<Icon>();
533 public static Icon get(int resId) {
534 Icon icon = ICONS.get(resId); local
535 if (icon == null) {
536 icon = new ResourceIcon(resId);
537 ICONS.put(resId, icon);
    [all...]
  /frameworks/base/packages/SystemUI/src/com/android/systemui/tuner/
NavBarTuner.java 34 import android.graphics.drawable.Icon;
61 private static final String ICON = "icon";
125 ListPreference icon = (ListPreference) findPreference(ICON + "_" + k); local
126 setupIcons(icon);
137 icon.setValue(uri);
138 updateSummary(icon);
141 icon.setVisible(true);
145 icon.setVisible(false)
    [all...]
  /packages/apps/Settings/tests/robotests/src/com/android/settings/dashboard/
DashboardFragmentTest.java 30 import android.graphics.drawable.Icon;
180 tile.icon = mock(Icon.class);
202 tile.icon = mock(Icon.class);
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/
ColorInversionTile.java 37 private final Icon mIcon = ResourceIcon.get(drawable.ic_invert_colors);
102 state.icon = mIcon;
RotationLockTile.java 40 private final Icon mIcon = ResourceIcon.get(R.drawable.ic_qs_auto_rotate);
84 state.icon = mIcon;
UserTile.java 92 state.icon = new Icon() {
WorkModeTile.java 35 private final Icon mIcon = ResourceIcon.get(R.drawable.ic_signal_workmode_disable);
104 state.icon = mIcon;
IntentTile.java 144 state.icon = null;
148 state.icon = new BytesIcon(iconBitmap);
150 Log.w(TAG, "Error loading icon bitmap, length " + iconBitmap.length, t);
157 state.icon = new PackageDrawableIcon(iconPackage, iconId);
159 state.icon = ResourceIcon.get(iconId);
183 private static class BytesIcon extends Icon {
207 private class PackageDrawableIcon extends Icon {
  /frameworks/base/core/java/android/content/pm/
ShortcutInfo.java 31 import android.graphics.drawable.Icon;
101 /** @hide When this is set, the bitmap icon is waiting to be saved. */
307 private Icon mIcon;
700 * Look up resource names from the resource IDs for the icon res and the text fields, and fill
725 * Look up resource IDs from the resource names for the icon res and the text fields, and fill
850 public static Icon validateIcon(Icon icon) {
851 switch (icon.getType()) {
852 case Icon.TYPE_RESOURCE
    [all...]
  /external/pdfium/fpdfsdk/
cpdfsdk_formfillenvironment.h 146 void Alert(FPDF_WIDESTRING Msg, FPDF_WIDESTRING Title, int Type, int Icon);
178 uint32_t Icon);
  /frameworks/base/core/java/android/service/quicksettings/
TileService.java 29 import android.graphics.drawable.Icon;
63 * The label and icon for the service will be used as the default label and
64 * icon for the tile. Here is an example TileService declaration.</p>
70 * android:icon="@drawable/my_default_icon_label"
202 * Sets an icon to be shown in the status bar.
204 * The icon will be displayed before all other icons. Can only be called between
207 * @param icon The icon to be displayed, null to hide
208 * @param contentDescription Content description of the icon to be displayed
212 public final void setStatusIcon(Icon icon, String contentDescription)
    [all...]
  /packages/apps/Car/Settings/src/com/android/car/settings/home/
HomepageFragment.java 29 import android.graphics.drawable.Icon;
81 // TODO show a different status icon?
220 Icon.createWithResource(getContext(), R.drawable.ic_lock),
  /packages/services/Telephony/sip/src/com/android/services/telephony/sip/
SipUtil.java 23 import android.graphics.drawable.Icon;
136 .setIcon(Icon.createWithResource(
  /frameworks/base/core/java/android/view/textclassifier/
TextClassification.java 35 import android.graphics.drawable.Icon;
196 * Returns an icon that may be rendered on a widget used to act on the classified text.
198 * <p><strong>NOTE: </strong>This field is not parcelable and only represents the icon of the
402 * Sets the icon for the <i>primary</i> action that may be rendered on a widget used to act
406 * returned icon represents the icon of the first {@link RemoteAction} (if one exists).
412 public Builder setIcon(@Nullable Drawable icon) {
413 mLegacyIcon = icon;
700 // Best effort attempt to try to load a drawable from the provided icon.
702 private static Drawable maybeLoadDrawable(Icon icon)
    [all...]
  /frameworks/base/core/java/com/android/internal/widget/
MessagingGroup.java 29 import android.graphics.drawable.Icon;
63 private Icon mAvatarIcon;
172 public void setAvatar(Icon icon) {
173 mAvatarIcon = icon;
174 mAvatarView.setImageIcon(icon);
341 public Icon getAvatarSymbolIfMatching(CharSequence avatarName, String avatarSymbol,
350 public void setCreatedAvatar(Icon cachedIcon, CharSequence avatarName, String avatarSymbol,
  /packages/apps/Contacts/src/com/android/contacts/
DynamicShortcuts.java 41 import android.graphics.drawable.Icon;
290 ShortcutInfo getActionShortcutInfo(String id, String label, Intent action, Icon icon) {
299 .setIcon(icon)
343 final Icon icon; local
345 icon = Icon.createWithAdaptiveBitmap(bitmap);
347 icon = Icon.createWithBitmap(bitmap)
    [all...]
  /cts/tests/app/src/android/app/cts/
NotificationManagerTest.java 44 import android.graphics.drawable.Icon;
636 Icon.createWithResource(getContext(), R.drawable.icon_black),
639 Icon.createWithResource(getContext(), R.drawable.icon_blue),
661 Icon.createWithResource(getContext(), R.drawable.icon_black),
664 Icon.createWithResource(getContext(), R.drawable.icon_blue),
685 Icon.createWithResource(getContext(), R.drawable.icon_black),
688 Icon.createWithResource(getContext(), R.drawable.icon_blue),
    [all...]
  /packages/apps/Dialer/java/com/android/incallui/
StatusBarNotifier.java 39 import android.graphics.drawable.Icon;
278 Trace.beginSection("read icon and strings");
475 int icon,
501 (savedIcon != icon)
512 "data changed: icon: %b, content: %b, state: %b, videoState: %b, largeIcon: %b, title: %b,"
514 (savedIcon != icon),
533 savedIcon = icon;
583 /** Gets a large icon from the contact info object to display in the notification. */
633 * Returns the appropriate icon res Id to display based on the call for which we want to display
653 // Normally when a call is ongoing the status bar displays an icon of a phone. This is
    [all...]
  /cts/tests/tests/slice/src/android/slice/cts/
SliceBuilderTest.java 28 import android.graphics.drawable.Icon;
68 Icon i = Icon.createWithResource(mContext, R.drawable.size_48x48);

Completed in 1219 milliseconds

1 2 3 4 5 67 8 91011>>