Home
last modified time | relevance | path

Searched refs:icon2 (Results 1 – 17 of 17) sorted by relevance

/frameworks/base/tests/StatusBar/src/com/android/statusbartest/
DNotificationTestList.java121 .setSmallIcon(R.drawable.icon2)
133 .setSmallIcon(R.drawable.icon2)
151 .setSmallIcon(R.drawable.icon2)
167 .setSmallIcon(R.drawable.icon2)
173 .setSmallIcon(R.drawable.icon2)
179 .setSmallIcon(R.drawable.icon2)
188 .setSmallIcon(R.drawable.icon2)
200 .setSmallIcon(R.drawable.icon2)
206 .setSmallIcon(R.drawable.icon2)
212 .setSmallIcon(R.drawable.icon2)
[all …]
DNotificationBuilderTest.java252 b.setSmallIcon(R.drawable.icon2); in buildNotification()
336 b.setLargeIcon(loadBitmap(R.drawable.icon2)); in buildNotification()
/frameworks/base/packages/SystemUI/tests/src/com/android/systemui/controls/
DCustomIconCacheTest.kt46 private lateinit var icon2: Icon variable in com.android.systemui.controls.CustomIconCacheTest
80 customIconCache.store(TEST_COMPONENT2, CONTROL_ID_2, icon2) in testChangeComponentOldComponentIsRemoved()
89 customIconCache.store(TEST_COMPONENT2, CONTROL_ID_1, icon2) in testChangeComponentCorrectIconRetrieved()
91 assertTrue(icon2 === customIconCache.retrieve(TEST_COMPONENT2, CONTROL_ID_1)) in testChangeComponentCorrectIconRetrieved()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/tiles/impl/custom/data/repository/
DCustomTileRepository.kt216 private fun Icon.isResourceEqual(icon2: Icon?): Boolean { in restoreForTheUserIfNeeded()
217 if (icon2 == null) { in restoreForTheUserIfNeeded()
220 if (this === icon2) { in restoreForTheUserIfNeeded()
223 if (type != Icon.TYPE_RESOURCE || icon2.type != Icon.TYPE_RESOURCE) { in restoreForTheUserIfNeeded()
226 if (resId != icon2.resId) { in restoreForTheUserIfNeeded()
229 return resPackage == icon2.resPackage in restoreForTheUserIfNeeded()
/frameworks/base/packages/SystemUI/src/com/android/systemui/qs/external/
DCustomTile.java220 @Nullable android.graphics.drawable.Icon icon2) { in iconEquals() argument
221 if (icon1 == icon2) { in iconEquals()
224 if (icon1 == null || icon2 == null) { in iconEquals()
228 || icon2.getType() != android.graphics.drawable.Icon.TYPE_RESOURCE) { in iconEquals()
231 if (icon1.getResId() != icon2.getResId()) { in iconEquals()
234 if (!Objects.equals(icon1.getResPackage(), icon2.getResPackage())) { in iconEquals()
/frameworks/base/packages/SystemUI/multivalentTests/src/com/android/systemui/common/data/repository/
DPackageInstallerMonitorTest.kt57 @Mock private lateinit var icon2: Bitmap in <lambda>() variable in com.android.systemui.common.data.repository.PackageInstallerMonitorTest
87 appIcon = icon2 in <lambda>()
/frameworks/base/core/tests/coretests/src/android/view/stylus/
DHandwritingInitiatorTest.java636 PointerIcon icon2 = mHandwritingInitiator.onResolvePointerIcon(mContext, hoverEvent2); in onResolvePointerIcon_afterHandwriting_hidePointerIconForConnectedView() local
638 assertThat(icon2.getType()).isEqualTo(PointerIcon.TYPE_HANDWRITING); in onResolvePointerIcon_afterHandwriting_hidePointerIconForConnectedView()
687 PointerIcon icon2 = mHandwritingInitiator.onResolvePointerIcon(mContext, hoverEvent1); in onResolvePointerIcon_showHoverIconAfterTap() local
688 assertThat(icon2.getType()).isEqualTo(PointerIcon.TYPE_HANDWRITING); in onResolvePointerIcon_showHoverIconAfterTap()
708 PointerIcon icon2 = mHandwritingInitiator.onResolvePointerIcon(mContext, hoverEvent1); in onResolvePointerIcon_showHoverIconAfterFocusChange() local
710 assertThat(icon2.getType()).isEqualTo(PointerIcon.TYPE_HANDWRITING); in onResolvePointerIcon_showHoverIconAfterFocusChange()
/frameworks/base/core/tests/coretests/src/android/widget/
DRemoteViewsTest.java712 final Icon icon2 = Icon.createWithContentUri("content://media/icon2"); in visitUris() local
716 views.setTextViewCompoundDrawables(R.id.text, icon1, icon2, icon3, icon4); in visitUris()
722 verify(visitor, times(1)).accept(eq(icon2.getUri())); in visitUris()
747 final Icon icon2 = Icon.createWithContentUri("content://inner/icon2"); in visitUris_nestedViews() local
751 inner.setTextViewCompoundDrawables(R.id.text, icon1, icon2, icon3, icon4); in visitUris_nestedViews()
759 verify(visitor, times(1)).accept(eq(icon2.getUri())); in visitUris_nestedViews()
/frameworks/base/services/tests/servicestests/src/com/android/server/pm/
DShortcutManagerTest1.java291 final Icon icon2 = Icon.createWithBitmap(BitmapFactory.decodeResource( in testSetDynamicShortcuts() local
292 getTestContext().getResources(), R.drawable.icon2)); in testSetDynamicShortcuts()
294 getTestContext().getResources(), R.drawable.icon2)); in testSetDynamicShortcuts()
309 icon2, in testSetDynamicShortcuts()
3924 final Icon icon2 = Icon.createWithBitmap(BitmapFactory.decodeResource( in testSaveAndLoadUser()
3925 getTestContext().getResources(), R.drawable.icon2)); in testSaveAndLoadUser()
3940 icon2, in testSaveAndLoadUser()
3951 final Icon icon2 = Icon.createWithBitmap(BitmapFactory.decodeResource( in testSaveAndLoadUser()
3952 getTestContext().getResources(), R.drawable.icon2)); in testSaveAndLoadUser()
3967 icon2, in testSaveAndLoadUser()
[all …]
/frameworks/base/core/tests/coretests/src/android/view/textclassifier/
DTextClassificationTest.java237 final Icon icon2 = generateTestIcon(2, 10, Color.BLUE); in testToBuilder() local
/frameworks/opt/chips/src/com/android/ex/chips/
DDropdownChipLayouter.java454 return android.R.id.icon2; in getPermissionRequestDismissResId()
/frameworks/base/core/tests/coretests/src/android/app/
DNotificationTest.java1136 Icon icon2 = Icon.createWithContentUri("uri"); in areIconsDifferent_sameLargeIcon_false() local
1140 .setSmallIcon(1).setLargeIcon(icon2).build(); in areIconsDifferent_sameLargeIcon_false()
1151 Icon icon2 = Icon.createWithContentUri("uri2"); in areIconsDifferent_differentLargeIcon_true() local
1155 .setSmallIcon(2).setLargeIcon(icon2).build(); in areIconsDifferent_differentLargeIcon_true()
/frameworks/base/core/java/android/widget/
DSuggestionsAdapter.java310 mIcon2 = v.findViewById(com.android.internal.R.id.icon2); in ChildViewCache()
/frameworks/base/tools/aapt2/integration-tests/CommandTests/
Dandroid-33.jarAndroidManifest.xml META-INF/ META-INF/MANIFEST.MF NOTICES/ NOTICES/libcore ...
/frameworks/opt/setupwizard/tools/docs/
Dandroid-22.txt1692 field public static final int icon2 = 16908296; // 0x1020008
/frameworks/base/core/api/
Dcurrent.txt2410 field public static final int icon2 = 16908296; // 0x1020008
/frameworks/base/boot/hiddenapi/
Dhiddenapi-max-target-o.txt77248 Lcom/android/internal/R$id;->icon2:I