Home
last modified time | relevance | path

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

12

/cts/tests/tests/graphics/src/android/graphics/drawable/cts/
DIconTest.java139 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/
DPackageItemInfoIconTest.java68 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/
DNotificationTest.java625 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
DWearableExtenderTest.java59 final int icon = 3; in testWearableExtender() local
211 final int icon = 3; in testWriteToParcel() local
DNotificationManagerTest.java357 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/
DRemoteActionTest.java39 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/
DWebHistoryItemTest.java46 public synchronized void onReceivedIcon(WebView webview, Bitmap icon) { in onReceivedIcon()
112 Bitmap icon = mOnUiThread.getFavicon(); in testWebHistoryItem() local
DWebChromeClientTest.java582 public void onReceivedIcon(WebView view, Bitmap icon) { in onReceivedIcon()
DWebSettingsTest.java1303 public void onReceivedIcon(WebView view, Bitmap icon) { in onReceivedIcon()
/cts/tests/tests/shortcutmanager/packages/src/android/content/pm/cts/shortcutmanager/packages/
DShortcutConfirmPin.java88 final Drawable icon = launcherApps.getShortcutBadgedIconDrawable( in onCreate() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/
DByodIconSamplerActivity.java98 private static Bitmap convertToBitmap(Drawable icon) { in convertToBitmap()
/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/tests/tests/notificationlegacy/notificationlegacy20/src/android/app/notification/legacy20/cts/
DLegacyNotificationManager20Test.java129 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/
DManualPackageInstallTest.java115 UiObject2 icon = mDevice.findObject(getPopUpImageSelector()); in automateDismissInstallBlockedDialog() local
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/
DHeartRateMonitorTestActivity.java101 void updateWidgets(float value, float accuracy, int icon) { in updateWidgets()
DGyroscopeTestActivity.java215 void updateWidgets(float sensorValue, int backgroundColor, int icon) { in updateWidgets()
/cts/tests/tests/notificationlegacy/notificationlegacy27/src/android/app/notification/legacy/cts/
DLegacyNotificationManagerTest.java332 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/
DSuspendPackageTest.java100 final UiObject2 icon = device.findObject(getPopUpImageSelector()); in dismissPolicyTransparencyDialog() local
/cts/tests/tests/notificationlegacy/notificationlegacy29/src/android/app/notification/legacy29/cts/
DNotificationAssistantServiceTest.java465 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/
DDataObjectUnitTests.java207 Icon icon = Icon.createWithResource(context, R.drawable.ic_phone_24dp); in testStatusHints() local
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/
DShortcutManagerCtsTestsBase.java418 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/
DPreferenceTest.java166 Drawable icon = mPreference.getIcon(); in testGetIcon() local
/cts/tests/tests/view/src/android/view/textclassifier/cts/
DTextClassifierValueObjectsTest.java255 final Drawable icon = new ColorDrawable(Color.RED); in testTextClassificationLegacy() local
/cts/tests/tests/widget/src/android/widget/cts/
DImageViewTest.java213 Icon icon = Icon.createWithResource(mActivity, R.drawable.testimage); in testSetImageIcon() local
/cts/tests/tests/appwidget/src/android/appwidget/cts/
DAppWidgetTest.java515 Drawable icon = foundProvider.loadIcon(context, DisplayMetrics.DENSITY_DEFAULT); in testGetAppWidgetInfo() local

12