/cts/apps/CtsVerifier/src/com/android/cts/verifier/managedprovisioning/ |
D | ByodIconSamplerActivity.java | 89 return getResources().getDrawable(packageInfo.applicationInfo.icon); in getAppIcon() 98 private static Bitmap convertToBitmap(Drawable icon) { in convertToBitmap() argument 99 if (icon == null) { in convertToBitmap() 102 Bitmap bitmap = Bitmap.createBitmap(icon.getIntrinsicWidth(), icon.getIntrinsicHeight(), in convertToBitmap() 105 icon.setBounds(0, 0, canvas.getWidth(), canvas.getHeight()); in convertToBitmap() 106 icon.draw(canvas); in convertToBitmap()
|
D | ByodProvisioningTestActivity.java | 106 getResourceUri(R.drawable.icon)) in getTestLogoIntent()
|
D | Utils.java | 90 .setSmallIcon(R.drawable.icon) in showBugreportNotification()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | IconTest.java | 146 private void verifyIconValidity(Icon icon) { in verifyIconValidity() argument 147 assertNotNull(icon); in verifyIconValidity() 150 icon.setTint(Color.BLUE); in verifyIconValidity() 151 icon.setTintList(ColorStateList.valueOf(Color.RED)); in verifyIconValidity() 152 icon.setTintMode(PorterDuff.Mode.XOR); in verifyIconValidity() 155 icon.describeContents(); in verifyIconValidity() 157 icon.writeToParcel(parcel, 0); in verifyIconValidity() 163 assertNotNull(icon.loadDrawable(mActivity)); in verifyIconValidity()
|
/cts/tests/tests/shortcutmanager/packages/src/android/content/pm/cts/shortcutmanager/packages/ |
D | ShortcutConfirmPin.java | 88 final Drawable icon = launcherApps.getShortcutBadgedIconDrawable( in onCreate() local 93 if (icon == null) { in onCreate() 98 if (icon != null) { in onCreate()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebHistoryItemTest.java | 44 public synchronized void onReceivedIcon(WebView webview, Bitmap icon) { in onReceivedIcon() argument 113 Bitmap icon = mOnUiThread.getFavicon(); in testWebHistoryItem() local 114 assertTrue(icon.sameAs(item.getFavicon())); in testWebHistoryItem()
|
/cts/tests/app/src/android/app/cts/ |
D | ConditionTest.java | 52 assertEquals(-1, condition.icon); in testConstructor() 67 assertEquals(-1, condition1.icon); in testWriteToParcel()
|
D | NotificationTest.java | 72 assertEquals(0, mNotification.icon); in testConstructor() 101 mNotification.icon = 0; 132 assertEquals(mNotification.icon, result.icon); 219 assertEquals(1, mNotification.icon);
|
D | NotificationManagerTest.java | 378 private void sendNotification(final int id, final int icon) throws Exception { in sendNotification() argument 388 .setSmallIcon(icon) in sendNotification()
|
/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 55 iconView.setImageDrawable(icon); in onBindViewHolder()
|
/cts/hostsidetests/devicepolicy/app/IntentSender/src/com/android/cts/intent/sender/ |
D | SuspendPackageTest.java | 79 final UiObject2 icon = device.findObject(POPUP_IMAGE_SELECTOR); in dismissPolicyTransparencyDialog() local 80 assertNotNull("Policy transparency dialog icon not found", icon); in dismissPolicyTransparencyDialog()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ResolveInfoTest.java | 68 assertEquals(resolveInfo.icon, infoFromParcel.icon); in testDump()
|
D | ComponentInfoTest.java | 141 mComponentInfo.icon = R.drawable.red; in testGetIconResource() 142 assertEquals(mComponentInfo.icon, mComponentInfo.getIconResource()); in testGetIconResource() 144 mComponentInfo.icon = 0; in testGetIconResource() 145 assertEquals(mComponentInfo.applicationInfo.icon, mComponentInfo.getIconResource()); in testGetIconResource()
|
D | PackageItemInfoTest.java | 89 assertEquals(expected.icon, actual.icon); in checkInfoSame()
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
D | ManualPackageInstallTest.java | 109 UiObject2 icon = mDevice.findObject(POPUP_IMAGE_SELECTOR); in automateDismissInstallBlockedDialog() local 110 assertNotNull("Policy transparency dialog icon not found", icon); in automateDismissInstallBlockedDialog()
|
/cts/tests/tests/preference2/src/android/preference2/cts/ |
D | PreferenceTest.java | 168 Drawable icon = mPreference.getIcon(); in testGetIcon() local 169 assertEquals(iconExp.getIntrinsicHeight(), icon.getIntrinsicHeight()); in testGetIcon() 170 assertEquals(iconExp.getIntrinsicWidth(), icon.getIntrinsicWidth()); in testGetIcon() 171 assertEquals(iconExp.getOpacity(), icon.getOpacity()); in testGetIcon()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/sensors/ |
D | HeartRateMonitorTestActivity.java | 101 void updateWidgets(float value, float accuracy, int icon) { in updateWidgets() argument 106 sensorText.setCompoundDrawablesWithIntrinsicBounds(0, 0, icon, 0); in updateWidgets()
|
D | GyroscopeTestActivity.java | 215 void updateWidgets(float sensorValue, int backgroundColor, int icon) { in updateWidgets() argument 220 mSensorText.setCompoundDrawablesWithIntrinsicBounds(0, 0, icon, 0); in updateWidgets()
|
/cts/tests/tests/shortcutmanager/src/android/content/pm/cts/shortcutmanager/ |
D | ShortcutManagerCtsTestsBase.java | 374 protected ShortcutInfo makeShortcutWithIcon(String id, Icon icon) { in makeShortcutWithIcon() argument 376 id, "Title-" + id, /* activity =*/ null, icon, in makeShortcutWithIcon() 399 Icon icon, Intent intent, int rank) { in makeShortcut() argument 409 if (icon != null) { in makeShortcut() 410 b.setIcon(icon); in makeShortcut()
|
/cts/tests/tests/telecom/src/android/telecom/cts/ |
D | DataObjectUnitTests.java | 203 Icon icon = Icon.createWithResource(context, R.drawable.ic_phone_24dp); in testStatusHints() local 206 icon, in testStatusHints() 209 assertEquals(icon.toString(), hints.getIcon().toString()); in testStatusHints() 222 assertEquals(icon.toString(), parcelHints.getIcon().toString()); in testStatusHints()
|
/cts/tests/inputmethod/src/android/view/inputmethod/cts/ |
D | InputMethodInfoTest.java | 148 assertEquals(expected.icon, actual.icon); in assertService()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/tv/ |
D | MockTvInputSetupActivity.java | 84 "android.resource://" + getPackageName() + "/" + R.drawable.icon); in onCreate()
|
/cts/tools/vm-tests-tf/lib/ |
D | junit.jar | ... .awt.Frame frame
java.awt.Image icon
java.awt.Frame finalFrame
java.awt. ... |
/cts/tests/tests/widget/src/android/widget/cts/ |
D | TabHost_TabSpecTest.java | 107 int idIcon = android.R.id.icon; in testSetIndicator2()
|
D | ImageViewTest.java | 202 Icon icon = Icon.createWithResource(mActivity, R.drawable.testimage); in testSetImageIcon() local 203 mImageViewRegular.setImageIcon(icon); in testSetImageIcon()
|