Home
last modified time | relevance | path

Searched refs:addIcon (Results 1 – 18 of 18) sorted by relevance

/frameworks/support/slices/view/src/androidTest/java/androidx/slice/
DSliceXmlTest.java81 .addIcon(null, null) in testThrowForImage()
111 .addIcon(null, null) in testNoThrowForImage()
126 .addIcon(IconCompat.createWithBitmap(b), null) in testSerialization()
133 .addIcon(IconCompat.createWithResource(mContext, R.drawable.abc_slice_see_more_bg), in testSerialization()
/frameworks/support/slices/core/src/androidTest/java/androidx/slice/
DSliceTestProvider.java52 return new Slice.Builder(sliceUri).addIcon( in onBindSlice()
69 .addIcon(IconCompat.createWithResource(getContext(), R.drawable.size_48x48), in onBindSlice()
/frameworks/support/slices/core/src/main/java/androidx/slice/
DSliceConvert.java53 builder.addIcon(item.getIcon().toIcon(), item.getSubType(), item.getHints()); in unwrap()
104 builder.addIcon(IconCompat.createFromIcon(item.getIcon()), in wrap()
DSlice.java327 public Builder addIcon(IconCompat icon, @Nullable String subType, in addIcon() method in Slice.Builder
338 public Builder addIcon(IconCompat icon, @Nullable String subType, in addIcon() method in Slice.Builder
340 return addIcon(icon, subType, hints.toArray(new String[hints.size()])); in addIcon()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/statusbar/phone/
DStatusBarIconControllerTest.java118 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, in addIcon() method in StatusBarIconControllerTest.TestDarkIconManager
153 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, in addIcon() method in StatusBarIconControllerTest.TestIconManager
/frameworks/support/slices/builders/src/main/java/androidx/slice/builders/impl/
DMessagingV1Impl.java77 getBuilder().addIcon(IconCompat.createFromIcon(source), in addSource()
DMessagingBasicImpl.java51 builder.addIcon(IconCompat.createFromIcon(mLastMessage.mIcon), null); in apply()
DListBuilderV1Impl.java264 sb.addIcon(mThumb, null); in apply()
404 .addIcon(icon, null /* subType */, hints); in setTitleItem()
507 .addIcon(icon, null /* subType */, hints); in addEndItem()
DGridRowBuilderListV1Impl.java202 getBuilder().addIcon(image, null, hints); in addImage()
/frameworks/support/slices/view/src/main/java/androidx/slice/
DSliceXml.java154 b.addIcon(IconCompat.createWithResource( in parseItem()
169 b.addIcon(IconCompat.createWithContentUri(v), subtype, hints); in parseItem()
175 b.addIcon(IconCompat.createWithBitmap(image), subtype, hints); in parseItem()
/frameworks/base/packages/SystemUI/src/com/android/systemui/statusbar/phone/
DStatusBarIconController.java244 return addIcon(index, slot, blocked, holder.getIcon()); in addHolder()
257 protected StatusBarIconView addIcon(int index, String slot, boolean blocked, in addIcon() method in StatusBarIconController.IconManager
/frameworks/base/core/java/android/app/slice/
DSliceProvider.java480 .addIcon(Icon.createWithResource(context, in createPermissionSlice()
492 .addIcon(Icon.createWithResource(context, in createPermissionSlice()
DSlice.java469 public Builder addIcon(Icon icon, @Nullable @SliceSubtype String subType, in addIcon() method in Slice.Builder
/frameworks/support/slices/core/src/main/java/androidx/slice/core/
DSliceActionImpl.java317 sb.addIcon(mIcon, null, hints); in buildSlice()
/frameworks/support/slices/view/src/main/java/androidx/slice/widget/
DShortcutView.java195 sb.addIcon(SliceViewUtil.createIconFromDrawable(icon), HINT_LARGE); in determineShortcutItems()
/frameworks/base/config/
Dhiddenapi-public-dex.txt4284 Landroid/app/slice/Slice$Builder;->addIcon(Landroid/graphics/drawable/Icon;Ljava/lang/String;Ljava/…
Dboot-image-profile.txt16211 HSPLandroid/app/slice/Slice$Builder;->addIcon(Landroid/graphics/drawable/Icon;Ljava/lang/String;Lja…
/frameworks/base/api/
Dcurrent.txt7253 …method public android.app.slice.Slice.Builder addIcon(android.graphics.drawable.Icon, java.lang.St…