/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 | 48 + "/" + R.drawable.icon); in onCreate()
|
D | Utils.java | 72 .setSmallIcon(R.drawable.icon) in showBugreportNotification()
|
D | CommandReceiverActivity.java | 179 com.android.cts.verifier.R.drawable.icon)); in onCreate()
|
/cts/tests/tests/graphics/src/android/graphics/drawable/cts/ |
D | IconTest.java | 181 private void checkIconValidity(Icon icon) { in checkIconValidity() argument 182 assertNotNull(icon); in checkIconValidity() 185 icon.setTint(Color.BLUE); in checkIconValidity() 186 icon.setTintList(ColorStateList.valueOf(Color.RED)); in checkIconValidity() 187 icon.setTintMode(PorterDuff.Mode.XOR); in checkIconValidity() 190 icon.describeContents(); in checkIconValidity() 192 icon.writeToParcel(parcel, 0); in checkIconValidity() 198 assertNotNull(icon.loadDrawable(mActivity)); in checkIconValidity()
|
/cts/tests/app/src/android/app/cts/ |
D | NotificationTest.java | 56 assertEquals(0, mNotification.icon); in testConstructor() 68 mNotification.icon = 0; 98 assertEquals(mNotification.icon, result.icon); 164 assertEquals(1, mNotification.icon);
|
D | ConditionTest.java | 52 assertEquals(-1, condition.icon); in testConstructor() 67 assertEquals(-1, condition1.icon); in testWriteToParcel()
|
D | NotificationManagerTest.java | 100 private void sendNotification(final int id, final int icon) { in sendNotification() argument 109 .setSmallIcon(icon) in sendNotification()
|
/cts/tests/tests/webkit/src/android/webkit/cts/ |
D | WebHistoryItemTest.java | 43 public synchronized void onReceivedIcon(WebView webview, Bitmap icon) { in onReceivedIcon() argument 112 Bitmap icon = mOnUiThread.getFavicon(); in testWebHistoryItem() local 113 assertTrue(icon.sameAs(item.getFavicon())); in testWebHistoryItem()
|
D | WebChromeClientTest.java | 466 public void onReceivedIcon(WebView view, Bitmap icon) { in onReceivedIcon() argument
|
/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/tests/tests/preference2/src/android/preference2/cts/ |
D | PreferenceTest.java | 163 Drawable icon = mPreference.getIcon(); in testGetIcon() local 164 assertEquals(iconExp.getIntrinsicHeight(), icon.getIntrinsicHeight()); in testGetIcon() 165 assertEquals(iconExp.getIntrinsicWidth(), icon.getIntrinsicWidth()); in testGetIcon() 166 assertEquals(iconExp.getOpacity(), icon.getOpacity()); in testGetIcon()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ComponentInfoTest.java | 133 mComponentInfo.icon = R.drawable.red; in testGetIconResource() 134 assertEquals(mComponentInfo.icon, mComponentInfo.getIconResource()); in testGetIconResource() 136 mComponentInfo.icon = 0; in testGetIconResource() 137 assertEquals(mComponentInfo.applicationInfo.icon, mComponentInfo.getIconResource()); in testGetIconResource()
|
D | ResolveInfoTest.java | 68 assertEquals(resolveInfo.icon, infoFromParcel.icon); in testDump()
|
D | PackageItemInfoTest.java | 89 assertEquals(expected.icon, actual.icon); in checkInfoSame()
|
/cts/hostsidetests/devicepolicy/app/PackageInstaller/src/com/android/cts/packageinstaller/ |
D | ManualPackageInstallTest.java | 110 UiObject2 icon = mDevice.findObject(POPUP_IMAGE_SELECTOR); in automateDismissInstallBlockedDialog() local 111 assertNotNull("Policy transparency dialog icon not found", icon); in automateDismissInstallBlockedDialog()
|
/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/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/tests/view/src/android/view/inputmethod/cts/ |
D | InputMethodInfoTest.java | 124 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 | 94 int idIcon = android.R.id.icon; in testSetIndicator2()
|
D | ImageViewTest.java | 195 Icon icon = Icon.createWithResource(mActivity, R.drawable.testimage); in testSetImageIcon() local 196 mImageView.setImageIcon(icon); in testSetImageIcon()
|
/cts/apps/CtsVerifier/src/com/android/cts/verifier/notifications/ |
D | MockListener.java | 227 notification.put(JSON_ICON, sbn.getNotification().icon); in onNotificationPosted()
|