/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | IconTest.java | 171 Icon icon = Icon.createWithBitmap(Bitmap.createBitmap(16, 16, Bitmap.Config.ARGB_8888)); in testBitmapIcon_getType() local 177 Icon icon = Icon.createWithAdaptiveBitmap( in testAdaptiveBitmapIcon_getType() local 186 Icon icon = Icon.createWithData(data, 0, 4); in testDataIcon_getType() local 198 Icon icon = Icon.createWithFilePath(file.getPath()); in testFileIcon_getType() local 222 Icon icon = Icon.createWithAdaptiveBitmapContentUri(Uri.fromFile(file)); in testAdaptiveFileIcon_getType() local 236 Icon icon = Icon.createWithResource("com.android.cts.testpkg", R.drawable.bmp_test); in testResourceIcon_getType() local 253 private void verifyIconValidity(Icon icon) { in verifyIconValidity() 275 private void verifyAdaptiveIconValidity(Icon icon) { in verifyAdaptiveIconValidity()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageItemInfoIconTest.java | 69 Drawable icon = mPackageManager.loadUnbadgedItemIcon(itemInfo, null); in testSystemDefault() local 84 Drawable icon = mPackageManager.loadUnbadgedItemIcon(itemInfo, appInfo); in testFromAppInfo() local 103 Drawable icon = mPackageManager.loadUnbadgedItemIcon(itemInfo, appInfo); in testFromActivity() local 117 Drawable icon = itemInfo.loadUnbadgedIcon(mPackageManager); in testDelegatedSystemDefault() local 130 Drawable icon = appInfo.loadUnbadgedIcon(mPackageManager); in testDelegatedFromAppInfo() local 147 Drawable icon = itemInfo.loadUnbadgedIcon(mPackageManager); in testDelegatedFromActivity() local
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | AnalogClockTest.java | 102 Icon icon = Icon.createWithResource(mActivity, R.drawable.magenta_fill); in testSetDial() local 114 Icon icon = Icon.createWithResource(mActivity, R.drawable.magenta_fill); in testSetHourHand() local 126 Icon icon = Icon.createWithResource(mActivity, R.drawable.magenta_fill); in testSetMinuteHand() local 138 Icon icon = Icon.createWithResource(mActivity, R.drawable.magenta_fill); in testSetSecondHand() local
|
/cts/tests/tests/notification/src/android/app/notification/current/cts/ |
D | NotificationTemplateTest.kt | 55 val icon = createBitmap(200, 100) in <lambda>() constant 71 val icon = createBitmap(40, 30) in <lambda>() constant 88 val icon = Icon.createWithContentUri(uri) in <lambda>() constant 104 val icon = createBitmap(200, 300) in <lambda>() constant 118 val icon = createBitmap(200, 100) in <lambda>() constant 134 val icon = createBitmap(40, 30) in <lambda>() constant 150 val icon = createBitmap(200, 300) in <lambda>() constant 169 val icon = createBitmap(200, 100) in <lambda>() constant 191 val icon = createBitmap(40, 30) in <lambda>() constant 213 val icon = createBitmap(200, 300) in <lambda>() constant [all …]
|
D | NotificationTest.java | 702 Icon icon = Icon.createWithResource(mContext, 1); in testBubbleMetadataBuilder() local 726 Icon icon = Icon.createWithResource(mContext, 1); in testBubbleMetadata_parcel() local 791 Icon icon = Icon.createWithResource(mContext, 1); in testBubbleMetadata_parcelResId() local 847 Icon icon = Icon.createWithResource(mContext, 1); in testBubbleMetadataBuilder_shortcutBuilder_throwsForSetIcon() local 898 Icon icon = Icon.createWithAdaptiveBitmap(b); in testBubbleMetadataBuilder_noThrowForAdaptiveBitmapIcon() local 912 Icon icon = Icon.createWithResource(mContext, R.drawable.ic_android); in testBubbleMetadataBuilder_noThrowForNonBitmapIcon() local 931 Icon icon = Icon.createWithResource(mContext, 1); in testBubbleMetadataBuilder_replaceHeightRes() local 952 Icon icon = Icon.createWithResource(mContext, 1); in testBubbleMetadataBuilder_replaceHeightDp() local 1115 Icon icon = Icon.createWithBitmap(Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888)); in testFreeformRemoteInputActionPair_noRemoteInput() local 1127 Icon icon = Icon.createWithBitmap(Bitmap.createBitmap(300, 300, Bitmap.Config.ARGB_8888)); in testFreeformRemoteInputActionPair_hasRemoteInput() local [all …]
|
D | BaseNotificationManagerTest.java | 307 final int icon) throws Exception { in sendNotification() 312 String groupKey, final int icon) { in sendNotification() 317 String groupKey, final int icon, in sendNotification()
|
D | WearableExtenderTest.java | 72 final int icon = 3; in testWearableExtender() local 228 final int icon = 3; in testWriteToParcel() local
|
/cts/tests/tests/app/src/android/app/cts/ |
D | RemoteActionTest.java | 39 Icon icon = Icon.createWithContentUri("content://test"); in testParcel() local 64 Icon icon = Icon.createWithContentUri("content://test"); in testClone() local
|
/cts/tests/tests/notificationlegacy/notificationlegacy30/src/android/app/notification/legacy30/cts/ |
D | NotificationTemplateApi30Test.kt | 41 val icon = createBitmap(200, 100) in <lambda>() constant 55 val icon = createBitmap(200, 100) in <lambda>() constant 74 val icon = createBitmap(200, 100) in <lambda>() constant 137 val icon = createBitmap(80, 65) in <lambda>() constant
|
/cts/tests/tests/sharesheet/src/android/service/chooser/ |
D | ChooserActionTest.kt | 40 val icon = Icon.createWithContentUri("content://org.package.app/image") in testParcel() constant
|
/cts/tests/smartspace/src/android/smartspace/cts/ |
D | IconTest.java | 41 android.graphics.drawable.Icon icon = android.graphics.drawable.Icon.createWithBitmap( in testCreateIcon() local
|
D | SmartspaceActionTest.java | 59 Icon icon = Icon.createWithBitmap( in testCreateSmartspaceAction() local
|
D | SmartspaceTestUtils.java | 43 android.graphics.drawable.Icon icon = android.graphics.drawable.Icon.createWithBitmap( in createSmartspaceIcon() local
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebHistoryItemTest.java | 63 public synchronized void onReceivedIcon(WebView webview, Bitmap icon) { in onReceivedIcon() 149 Bitmap icon = mOnUiThread.getFavicon(); in testWebHistoryItem() local
|
/cts/tests/tests/shortcutmanager/packages/src/android/content/pm/cts/shortcutmanager/packages/ |
D | ShortcutConfirmPin.java | 88 final Drawable icon = launcherApps.getShortcutBadgedIconDrawable( in onCreate() local
|
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/cts/ |
D | GetWalletCardsErrorTest.java | 49 Icon icon = Icon.createWithResource(mContext, android.R.drawable.ic_dialog_info); in testParcel_toParcel() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodIconSamplerActivity.java | 98 private static Bitmap convertToBitmap(Drawable icon) { in convertToBitmap()
|
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/ |
D | TextClassifierServiceSwapTest.java | 199 final Icon icon = classification.getActions().get(0).getIcon(); in testResourceIconsRewrittenToContentUriIcons_classifyText() local 217 final Icon icon = textSelection.getTextClassification().getActions().get(0).getIcon(); in testResourceIconsRewrittenToContentUriIcons_suggestSelection() local
|
/cts/tests/leanbackjank/app/src/android/leanbackjank/app/presenter/ |
D | IconHeaderItemPresenter.java | 54 Drawable icon = rootView.getResources().getDrawable(R.drawable.android_header, null); in onBindViewHolder() local
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2022-20415/src/android/security/cts/CVE_2022_20415/ |
D | DeviceTest.java | 61 Icon icon = createNotificationIcon(); in tryNotificationStart() local
|
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21129/src/android/security/cts/CVE_2023_21129/ |
D | PocService.java | 61 Icon icon = createNotificationIcon(); in onStartCommand() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | HeartRateMonitorTestActivity.java | 101 void updateWidgets(float value, float accuracy, int icon) { in updateWidgets()
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
D | ManualPackageInstallTest.java | 127 UiObject2 icon = mDevice.findObject(selector); in automateDismissInstallBlockedDialog() local
|
/cts/tests/tests/multiuser/src/android/multiuser/cts/ |
D | NewUserRequestTest.java | 109 final Bitmap icon = Bitmap.createBitmap(32, 32, Bitmap.Config.RGB_565); in testSetUserIcon() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | NotificationHidingVerifierActivity.kt | 200 val icon = Icon.createWithResource( in <lambda>() constant 441 val icon = Icon.createWithResource( in <lambda>() constant
|