Home
last modified time | relevance | path

Searched defs:icon (Results 1 – 25 of 48) sorted by relevance

12

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DIconTest.java171 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/
DPackageItemInfoIconTest.java69 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/
DAnalogClockTest.java102 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/
DNotificationTemplateTest.kt55 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 …]
DNotificationTest.java702 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 …]
DBaseNotificationManagerTest.java307 final int icon) throws Exception { in sendNotification()
312 String groupKey, final int icon) { in sendNotification()
317 String groupKey, final int icon, in sendNotification()
DWearableExtenderTest.java72 final int icon = 3; in testWearableExtender() local
228 final int icon = 3; in testWriteToParcel() local
/cts/tests/tests/app/src/android/app/cts/
DRemoteActionTest.java39 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/
DNotificationTemplateApi30Test.kt41 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/
DChooserActionTest.kt40 val icon = Icon.createWithContentUri("content://org.package.app/image") in testParcel() constant
/cts/tests/smartspace/src/android/smartspace/cts/
DIconTest.java41 android.graphics.drawable.Icon icon = android.graphics.drawable.Icon.createWithBitmap( in testCreateIcon() local
DSmartspaceActionTest.java59 Icon icon = Icon.createWithBitmap( in testCreateSmartspaceAction() local
DSmartspaceTestUtils.java43 android.graphics.drawable.Icon icon = android.graphics.drawable.Icon.createWithBitmap( in createSmartspaceIcon() local
/cts/tests/tests/webkit/src/android/webkit/cts/
DWebHistoryItemTest.java63 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/
DShortcutConfirmPin.java88 final Drawable icon = launcherApps.getShortcutBadgedIconDrawable( in onCreate() local
/cts/tests/quickaccesswallet/src/android/quickaccesswallet/cts/
DGetWalletCardsErrorTest.java49 Icon icon = Icon.createWithResource(mContext, android.R.drawable.ic_dialog_info); in testParcel_toParcel() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodIconSamplerActivity.java98 private static Bitmap convertToBitmap(Drawable icon) { in convertToBitmap()
/cts/tests/tests/textclassifier/src/android/view/textclassifier/cts/
DTextClassifierServiceSwapTest.java199 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/
DIconHeaderItemPresenter.java54 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/
DDeviceTest.java61 Icon icon = createNotificationIcon(); in tryNotificationStart() local
/cts/hostsidetests/securitybulletin/test-apps/CVE-2023-21129/src/android/security/cts/CVE_2023_21129/
DPocService.java61 Icon icon = createNotificationIcon(); in onStartCommand() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DHeartRateMonitorTestActivity.java101 void updateWidgets(float value, float accuracy, int icon) { in updateWidgets()
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/
DManualPackageInstallTest.java127 UiObject2 icon = mDevice.findObject(selector); in automateDismissInstallBlockedDialog() local
/cts/tests/tests/multiuser/src/android/multiuser/cts/
DNewUserRequestTest.java109 final Bitmap icon = Bitmap.createBitmap(32, 32, Bitmap.Config.RGB_565); in testSetUserIcon() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/
DNotificationHidingVerifierActivity.kt200 val icon = Icon.createWithResource( in <lambda>() constant
441 val icon = Icon.createWithResource( in <lambda>() constant

12