/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | IconTest.java | 139 Icon icon = Icon.createWithBitmap(Bitmap.createBitmap(16, 16, Bitmap.Config.ARGB_8888)); in testBitmapIcon_getType() local 147 Icon icon = Icon.createWithData(data, 0, 4); in testDataIcon_getType() local 159 Icon icon = Icon.createWithFilePath(file.getPath()); in testFileIcon_getType() local 177 Icon icon = Icon.createWithResource("com.android.cts.testpkg", R.drawable.bmp_test); in testResourceIcon_getType() local 194 private void verifyIconValidity(Icon icon) { in verifyIconValidity()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | PackageItemInfoIconTest.java | 68 Drawable icon = mPackageManager.loadUnbadgedItemIcon(itemInfo, null); in testSystemDefault() local 82 Drawable icon = mPackageManager.loadUnbadgedItemIcon(itemInfo, appInfo); in testFromAppInfo() local 97 Drawable icon = mPackageManager.loadUnbadgedItemIcon(itemInfo, appInfo); in testFromActivity() local 110 Drawable icon = itemInfo.loadUnbadgedIcon(mPackageManager); in testDelegatedSystemDefault() local 122 Drawable icon = appInfo.loadUnbadgedIcon(mPackageManager); in testDelegatedFromAppInfo() local 136 Drawable icon = itemInfo.loadUnbadgedIcon(mPackageManager); in testDelegatedFromActivity() local
|
/cts/tests/app/src/android/app/cts/ |
D | NotificationTest.java | 625 Icon icon = Icon.createWithResource(mContext, 1); in testBubbleMetadataBuilder() local 645 Icon icon = Icon.createWithResource(mContext, 1); in testBubbleMetadata_parcel() local 667 Icon icon = Icon.createWithResource(mContext, 1); in testBubbleMetadata_parcelResId() local 683 Icon icon = Icon.createWithResource(mContext, 1); in testBubbleMetadataBuilder_throwForNoIntent() local 713 Icon icon = Icon.createWithBitmap(b); in testBubbleMetadataBuilder_throwForBitmapIcon() local 730 Icon icon = Icon.createWithAdaptiveBitmap(b); in testBubbleMetadataBuilder_noThrowForAdaptiveBitmapIcon() local 743 Icon icon = Icon.createWithResource(mContext, R.drawable.ic_android); in testBubbleMetadataBuilder_noThrowForNonBitmapIcon() local 758 Icon icon = Icon.createWithResource(mContext, 1); in testBubbleMetadataBuilder_replaceHeightRes() local 777 Icon icon = Icon.createWithResource(mContext, 1); in testBubbleMetadataBuilder_replaceHeightDp() local
|
D | WearableExtenderTest.java | 59 final int icon = 3; in testWearableExtender() local 211 final int icon = 3; in testWriteToParcel() local
|
D | NotificationManagerTest.java | 357 private void sendNotification(final int id, final int icon) throws Exception { in sendNotification() 361 private void sendNotification(final int id, String groupKey, final int icon) throws Exception { in sendNotification() 2490 Icon icon = Icon.createWithResource(mContext, android.R.drawable.sym_def_app_icon); in testNotificationManagerBubblePolicy_flagForMessage_succeeds() local 2754 Icon icon = Icon.createWithResource(mContext, android.R.drawable.sym_def_app_icon); in testNotificationManagerBubblePolicy_noFlag_notEmbeddable() local 2794 Icon icon = Icon.createWithResource(mContext, android.R.drawable.sym_def_app_icon); in testNotificationManagerBubblePolicy_noFlag_notDocumentLaunchModeAlways() local
|
/cts/tests/tests/app/src/android/app/cts/ |
D | RemoteActionTest.java | 39 Icon icon = Icon.createWithContentUri("content://test"); in testParcel() local 63 Icon icon = Icon.createWithContentUri("content://test"); in testClone() local
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebHistoryItemTest.java | 46 public synchronized void onReceivedIcon(WebView webview, Bitmap icon) { in onReceivedIcon() 112 Bitmap icon = mOnUiThread.getFavicon(); in testWebHistoryItem() local
|
D | WebChromeClientTest.java | 582 public void onReceivedIcon(WebView view, Bitmap icon) { in onReceivedIcon()
|
D | WebSettingsTest.java | 1303 public void onReceivedIcon(WebView view, Bitmap icon) { in onReceivedIcon()
|
/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/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodIconSamplerActivity.java | 98 private static Bitmap convertToBitmap(Drawable icon) { in convertToBitmap()
|
/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/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/ |
D | LegacyNotificationManager20Test.java | 129 private void sendNotification(final int id, final int icon) throws Exception { in sendNotification() 133 private void sendNotification(final int id, String groupKey, final int icon) throws Exception { in sendNotification()
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
D | ManualPackageInstallTest.java | 115 UiObject2 icon = mDevice.findObject(getPopUpImageSelector()); in automateDismissInstallBlockedDialog() local
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | HeartRateMonitorTestActivity.java | 101 void updateWidgets(float value, float accuracy, int icon) { in updateWidgets()
|
D | GyroscopeTestActivity.java | 215 void updateWidgets(float sensorValue, int backgroundColor, int icon) { in updateWidgets()
|
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/ |
D | LegacyNotificationManagerTest.java | 332 private void sendNotification(final int id, final int icon) throws Exception { in sendNotification() 336 private void sendNotification(final int id, String groupKey, final int icon) throws Exception { in sendNotification()
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | SuspendPackageTest.java | 100 final UiObject2 icon = device.findObject(getPopUpImageSelector()); in dismissPolicyTransparencyDialog() local
|
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/ |
D | NotificationAssistantServiceTest.java | 465 private void sendNotification(final int id, final int icon) throws Exception { in sendNotification() 469 private void sendNotification(final int id, String groupKey, final int icon) throws Exception { in sendNotification()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | DataObjectUnitTests.java | 207 Icon icon = Icon.createWithResource(context, R.drawable.ic_phone_24dp); in testStatusHints() local
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerCtsTestsBase.java | 418 protected ShortcutInfo makeShortcutWithIcon(String id, Icon icon) { in makeShortcutWithIcon() 443 Icon icon, Intent intent, int rank) { in makeShortcut()
|
/cts/tests/tests/preference/src/android/preference/cts/ |
D | PreferenceTest.java | 166 Drawable icon = mPreference.getIcon(); in testGetIcon() local
|
/cts/tests/tests/view/src/android/view/textclassifier/cts/ |
D | TextClassifierValueObjectsTest.java | 255 final Drawable icon = new ColorDrawable(Color.RED); in testTextClassificationLegacy() local
|
/cts/tests/tests/widget/src/android/widget/cts/ |
D | ImageViewTest.java | 213 Icon icon = Icon.createWithResource(mActivity, R.drawable.testimage); in testSetImageIcon() local
|
/cts/tests/tests/appwidget/src/android/appwidget/cts/ |
D | AppWidgetTest.java | 515 Drawable icon = foundProvider.loadIcon(context, DisplayMetrics.DENSITY_DEFAULT); in testGetAppWidgetInfo() local
|