Searched refs:expectedIcon (Results 1 – 4 of 4) sorted by relevance
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageItemInfoIconTest.java | 62 Drawable expectedIcon = mContext.getDrawable( in testSystemDefault() local 70 assertTrue(comparePixelData(expectedIcon, icon)); in testSystemDefault() 76 Drawable expectedIcon = mContext.getDrawable(R.drawable.size_48x48); in testFromAppInfo() local 84 assertTrue(comparePixelData(expectedIcon, icon)); in testFromAppInfo() 90 Drawable expectedIcon = mContext.getDrawable(R.drawable.start); in testFromActivity() local 99 assertTrue(comparePixelData(expectedIcon, icon)); in testFromActivity() 104 Drawable expectedIcon = mContext.getDrawable( in testDelegatedSystemDefault() local 112 assertTrue(comparePixelData(expectedIcon, icon)); in testDelegatedSystemDefault() 118 Drawable expectedIcon = mContext.getDrawable(R.drawable.size_48x48); in testDelegatedFromAppInfo() local 124 assertTrue(comparePixelData(expectedIcon, icon)); in testDelegatedFromAppInfo() [all …]
|
/cts/hostsidetests/shortcuts/deviceside/common/src/android/content/pm/cts/shortcut/device/common/ |
D | ShortcutManagerDeviceTestBase.java | 110 String shortcutId, Icon expectedIcon) { in assertIconDimensions() argument 112 if (actual == null && expectedIcon == null) { in assertIconDimensions() 115 final Drawable expected = expectedIcon.loadDrawable(getContext()); in assertIconDimensions()
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | PointerIconTest.java | 64 private void assertPointerIcon(String message, PointerIcon expectedIcon, View target) { in assertPointerIcon() argument 73 assertEquals(message, expectedIcon, mTopView.onResolvePointerIcon(event, 0)); in assertPointerIcon()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerCtsTestsBase.java | 555 String shortcutId, Icon expectedIcon) { in assertIconDimensions() argument 557 if (actual == null && expectedIcon == null) { in assertIconDimensions() 560 final Drawable expected = expectedIcon.loadDrawable(getTestContext()); in assertIconDimensions() 565 protected void assertIconDimensions(Icon expectedIcon, Drawable actual) { in assertIconDimensions() argument 566 if (actual == null && expectedIcon == null) { in assertIconDimensions() 569 final Drawable expected = expectedIcon.loadDrawable(getTestContext()); in assertIconDimensions()
|