HomeSort by relevance Sort by last modified time
    Searched refs:icon (Results 51 - 75 of 1267) sorted by null

1 23 4 5 6 7 8 91011>>

  /packages/apps/Settings/src/com/android/settings/fuelgauge/
BatteryEntry.java 43 * and icon image.
60 super("BatteryUsage Icon Loader");
122 public Drawable icon; field in class:BatteryEntry
129 Drawable icon; field in class:BatteryEntry.UidToDetail
187 icon = Utils.getUserIcon(context, um, info);
190 icon = null;
209 icon = context.getDrawable(iconId);
217 return icon;
233 icon = utd.icon;
    [all...]
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/qs/tileimpl/
QSIconViewImplTest.java 33 import com.android.systemui.plugins.qs.QSTile.Icon;
59 // No current icon, only the static drawable should be used.
60 s.icon = mock(Icon.class);
63 verify(s.icon, never()).getDrawable(any());
64 verify(s.icon).getInvisibleDrawable(any());
66 // Has icon, should use the standard (animated) form.
67 s.icon = mock(Icon.class);
70 verify(s.icon).getDrawable(any())
    [all...]
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
StatusBarIconControllerTest.java 53 StatusBarIcon icon = mock(StatusBarIcon.class); local
55 manager.onIconAdded(0, "test_slot", false, icon);
56 verify(manager.mMock).set(eq(icon));
63 StatusBarIcon icon = mock(StatusBarIcon.class); local
65 manager.onIconAdded(0, "test_slot", false, icon);
66 verify(manager.mMock).set(eq(icon));
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/tester/android/view/
TestSubMenu.java 26 public SubMenu setHeaderIcon(Drawable icon) {
45 public SubMenu setIcon(Drawable icon) {
  /frameworks/base/tests/VectorDrawableTest/src/com/android/test/dynamic/
AnimatedVectorDrawableDupPerf.java 40 protected int[] icon = { field in class:AnimatedVectorDrawableDupPerf
98 AnimatedVectorDrawable []d = new AnimatedVectorDrawable[icon.length];
100 for (int i = 0; i < icon.length; i++) {
101 d[i] = create(res,icon[i]);
106 t.setText("avgL=" + df.format(time / (icon.length * 1000000.)) + " ms");
109 for (int i = 0; i < icon.length; i++) {
112 button.setBackgroundResource(icon[i]);
118 t.setText("avgS=" + df.format(time / (icon.length * 1000000.)) + " ms");
VectorCheckbox.java 28 int[] icon = { field in class:VectorCheckbox
57 final Button []bArray = new Button[icon.length];
59 for (int i = 0; i < icon.length; i++) {
63 checkBox.setButtonDrawable(icon[i]);
  /packages/apps/Launcher3/src/com/android/launcher3/graphics/
DrawableFactory.java 67 * Returns a FastBitmapDrawable with the icon.
69 public FastBitmapDrawable newIcon(Bitmap icon, ItemInfo info) {
70 return new FastBitmapDrawable(icon);
74 * Returns a FastBitmapDrawable with the icon.
76 public PreloadIconDrawable newPendingIcon(Bitmap icon, Context context) {
80 return new PreloadIconDrawable(icon, mPreloadProgressPath, context);
87 // Try to load the path from Mask Icon
88 Drawable icon = context.getDrawable(R.drawable.adaptive_icon_drawable_wrapper); local
89 icon.setBounds(0, 0,
91 return (Path) icon.getClass().getMethod("getIconMask").invoke(icon)
    [all...]
  /packages/apps/Settings/src/com/android/settings/
AppWidgetPickActivity.java 98 Drawable icon = null; local
100 if (info.icon != 0) {
123 icon = packageResources.getDrawableForDensity(info.icon, iconDensity);
125 Log.w(TAG, "Can't load icon drawable 0x" + Integer.toHexString(info.icon)
128 if (icon == null) {
129 Log.w(TAG, "Can't load icon drawable 0x" + Integer.toHexString(info.icon)
134 PickAdapter.Item item = new PickAdapter.Item(context, label, icon);
    [all...]
  /packages/apps/Settings/src/com/android/settings/accounts/
ProviderPreference.java 36 Context context, String accountType, Drawable icon, CharSequence providerName) {
39 setIcon(icon);
  /frameworks/base/core/java/android/app/
LauncherActivity.java 68 public Drawable icon; field in class:LauncherActivity.ListItem
83 icon = resizer.createIconThumbnail(resolveInfo.loadIcon(pm));
166 if (item.icon == null) {
167 item.icon = mIconResizer.createIconThumbnail(item.resolveInfo.loadIcon(getPackageManager()));
169 text.setCompoundDrawablesWithIntrinsicBounds(item.icon, null, null, null);
246 * Utility class to resize icons to match default icon size.
272 * @param icon The icon to get a thumbnail of.
274 * @return A thumbnail for the specified icon or the icon itself if th
    [all...]
  /sdk/eclipse/plugins/com.android.ide.eclipse.adt/src/com/android/ide/eclipse/adt/internal/editors/
IconFactory.java 78 for (Image icon : mIconMap.values()) {
80 if (icon != null) {
81 icon.dispose();
85 for (Image icon : mUrlMap.values()) {
87 if (icon != null) {
88 icon.dispose();
93 for (Image icon : mErrorIcons.values()) {
95 if (icon != null) {
96 icon.dispose();
102 for (Image icon : mWarningIcons.values())
140 Image icon = mIconMap.get(key); local
215 Image icon = mIconMap.get(key); local
    [all...]
  /development/samples/ApiDemos/src/com/example/android/apis/view/
List14.java 112 holder.icon = (ImageView) convertView.findViewById(R.id.icon);
123 holder.icon.setImageBitmap((position & 1) == 1 ? mIcon1 : mIcon2);
130 ImageView icon; field in class:List14.EfficientAdapter.ViewHolder
  /external/lzma/CPP/Windows/Control/
ImageList.h 63 int AddIcon(HICON icon)
64 { return ImageList_AddIcon(m_Object, icon); }
65 int Replace(int index, HICON icon)
66 { return ImageList_ReplaceIcon(m_Object, index, icon); }
  /frameworks/base/core/java/com/android/internal/view/menu/
SubMenuBuilder.java 85 public SubMenu setIcon(Drawable icon) {
86 mItem.setIcon(icon);
95 public SubMenu setHeaderIcon(Drawable icon) {
96 return (SubMenu) super.setHeaderIconInt(icon);
  /frameworks/base/core/java/com/android/internal/widget/
AccountViewAdapter.java 85 * A structure with basic element of an Account, icon, name and number
87 * @param icon Account icon id
91 public AccountElements(int icon, String name, String number) {
92 this(icon, null, name, number);
107 private AccountElements(int icon, Drawable drawable, String name, String number) {
108 mIcon = icon;
  /frameworks/base/services/core/java/com/android/server/am/
LaunchWarningWindow.java 45 ImageView icon = (ImageView)findViewById(R.id.replace_app_icon); local
46 icon.setImageDrawable(next.info.applicationInfo.loadIcon(context.getPackageManager()));
50 icon = (ImageView)findViewById(R.id.original_app_icon);
51 icon.setImageDrawable(cur.info.applicationInfo.loadIcon(context.getPackageManager()));
  /frameworks/opt/telephony/src/java/com/android/internal/telephony/cat/
Input.java 30 public Bitmap icon; field in class:Input
45 icon = null;
61 icon = in.readParcelable(null);
83 dest.writeParcelable(icon, 0);
108 boolean setIcon(Bitmap Icon) { return true; }
  /frameworks/support/v17/leanback/src/android/support/v17/leanback/widget/
Action.java 72 * @param icon The icon to display for the Action.
74 public Action(long id, CharSequence label1, CharSequence label2, Drawable icon) {
78 setIcon(icon);
124 * Sets the icon drawable for this Action.
126 public final void setIcon(Drawable icon) {
127 mIcon = icon;
131 * Returns the icon drawable for this Action.
171 sb.append("(action icon)");
  /packages/apps/Contacts/tests/src/com/android/contacts/tests/
FakeAccountType.java 84 public static FakeAccountType create(String accountType, String label, Drawable icon) {
87 result.displayIcon = icon;
92 public static AccountType create(AccountWithDataSet account, String label, Drawable icon) {
93 final FakeAccountType result = create(account.type, label, icon);
  /packages/apps/Launcher3/src/com/android/launcher3/allapps/
AllAppsRecyclerViewContainerView.java 34 * A container for RecyclerView to allow for the click shadow view to be shown behind an icon that
64 public void setPressedIcon(BubbleTextView icon, Bitmap background) {
65 if (icon == null || background == null) {
70 mTouchFeedbackView.alignWithIconView(icon, (ViewGroup) icon.getParent(), rv);
  /packages/apps/Settings/src/com/android/settings/search2/
SearchResult.java 79 * Result's icon.
81 public final Drawable icon; field in class:SearchResult
93 icon = builder.mIcon;
153 public Builder addIcon(Drawable icon) {
154 mIcon = icon;
  /external/pdfium/testing/
embedder_test_timer_handling_delegate.h 22 int icon; member in struct:EmbedderTestTimerHandlingDelegate::AlertRecord
34 int icon) override {
36 {GetPlatformWString(message), GetPlatformWString(title), type, icon});
  /external/robolectric/v1/src/main/java/com/xtremelabs/robolectric/shadows/
ShadowNotification.java 23 public void __constructor__(int icon, CharSequence tickerText, long when) {
24 realNotification.icon = icon;
  /frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tileimpl/
QSIconViewImpl.java 88 if (!Objects.equals(state.icon, iv.getTag(R.id.qs_icon_tag))) {
91 Drawable d = state.icon != null
92 ? shouldAnimate ? state.icon.getDrawable(mContext)
93 : state.icon.getInvisibleDrawable(mContext) : null;
94 int padding = state.icon != null ? state.icon.getPadding() : 0;
99 iv.setTag(R.id.qs_icon_tag, state.icon);
169 final ImageView icon = new ImageView(mContext); local
170 icon.setId(android.R.id.icon);
    [all...]
  /frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/policy/
NetworkControllerEthernetTest.java 41 protected void verifyLastEthernetIcon(boolean visible, int icon) {
48 assertEquals("Ethernet icon, in status bar", icon, iconState.icon);

Completed in 1195 milliseconds

1 23 4 5 6 7 8 91011>>