/cts/tests/tests/widget/src/android/widget/cts/ |
D | SwitchTest.java | 24 import android.cts.util.WidgetTestUtils; 42 WidgetTestUtils.beginDocument(parser, "Switch"); in testConstructor() 53 WidgetTestUtils.beginDocument(parser, "Switch"); in testAccessThumbTint() 68 WidgetTestUtils.beginDocument(parser, "Switch"); in testAccessTrackTint()
|
D | ImageSwitcherTest.java | 26 import android.cts.util.WidgetTestUtils; 72 WidgetTestUtils.assertEquals(sceneryBitmap.getBitmap(), currViewBitmap.getBitmap()); in testSetImageResource() 80 WidgetTestUtils.assertEquals(testimageBitmap.getBitmap(), currViewBitmap.getBitmap()); in testSetImageResource() 108 Bitmap testImageBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap( in testSetImageURI() 111 WidgetTestUtils.assertEquals(testImageBitmap, currViewBitmap.getBitmap()); in testSetImageURI() 117 Bitmap sceneryImageBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap( in testSetImageURI() 122 WidgetTestUtils.assertEquals(sceneryImageBitmap, currViewBitmap.getBitmap()); in testSetImageURI()
|
D | Gallery_LayoutParamsTest.java | 25 import android.cts.util.WidgetTestUtils; 37 WidgetTestUtils.beginDocument(p, "LinearLayout"); in testConstructor()
|
D | AbsoluteLayout_LayoutParamsTest.java | 25 import android.cts.util.WidgetTestUtils; 39 WidgetTestUtils.beginDocument(parser, "LinearLayout"); in getAttributeSet()
|
D | FrameLayout_LayoutParamsTest.java | 25 import android.cts.util.WidgetTestUtils; 40 WidgetTestUtils.beginDocument(parser, "LinearLayout"); in getAttributeSet()
|
D | AbsListView_LayoutParamsTest.java | 24 import android.cts.util.WidgetTestUtils; 39 WidgetTestUtils.beginDocument(parser, "ViewGroup_Layout"); in setUp()
|
D | SimpleCursorTreeAdapterTest.java | 23 import android.cts.util.WidgetTestUtils; 142 WidgetTestUtils.assertEquals(d.getBitmap(), in testSetViewImage() 169 Bitmap test = WidgetTestUtils.getUnscaledAndDitheredBitmap(mContext.getResources(), in testSetViewImage() 171 WidgetTestUtils.assertEquals(test, actualBitmap); in testSetViewImage()
|
D | RemoteViewsTest.java | 30 import android.cts.util.WidgetTestUtils; 165 WidgetTestUtils.assertEquals(dBlack.getBitmap(), in testSetIcon() 178 WidgetTestUtils.assertEquals(dBlue.getBitmap(), in testSetImageViewIcon() 191 WidgetTestUtils.assertEquals(d.getBitmap(), in testSetImageViewResource() 218 Bitmap expectedBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap( in testSetImageViewUri() 220 WidgetTestUtils.assertEquals(expectedBitmap, imageViewBitmap); in testSetImageViewUri() 317 WidgetTestUtils.assertEquals(d.getBitmap(), in testReapply() 395 WidgetTestUtils.assertEquals(bitmap, ((BitmapDrawable) image.getDrawable()).getBitmap()); in testSetImageViewBitmap() 415 WidgetTestUtils.assertEquals(bitmap, ((BitmapDrawable) image.getDrawable()).getBitmap()); in testSetBitmap() 516 Bitmap expectedBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap( in testSetUri() [all …]
|
D | ImageViewTest.java | 32 import android.cts.util.WidgetTestUtils; 190 WidgetTestUtils.assertEquals(testimageBitmap.getBitmap(), imageViewBitmap.getBitmap()); in testSetImageIcon() 206 WidgetTestUtils.assertEquals(testimageBitmap.getBitmap(), imageViewBitmap.getBitmap()); in testSetImageResource() 230 Bitmap testimageBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap( in testSetImageURI() 233 WidgetTestUtils.assertEquals(testimageBitmap, imageViewBitmap.getBitmap()); in testSetImageURI() 250 WidgetTestUtils.assertEquals(testimageBitmap.getBitmap(), imageViewBitmap.getBitmap()); in testSetImageDrawable() 268 WidgetTestUtils.assertEquals(bitmap, imageViewBitmap.getBitmap()); in testSetImageBitmap()
|
D | SimpleAdapterTest.java | 24 import android.cts.util.WidgetTestUtils; 295 WidgetTestUtils.assertEquals(d.getBitmap(), in testSetViewImage() 320 WidgetTestUtils.assertEquals(d.getBitmap(), in testSetViewImage() 337 … Bitmap testBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap(mContext.getResources(), in testSetViewImage() 339 WidgetTestUtils.assertEquals(testBitmap, actualBitmap); in testSetViewImage()
|
D | AbsoluteLayoutTest.java | 27 import android.cts.util.WidgetTestUtils; 63 WidgetTestUtils.beginDocument(parser, "LinearLayout"); in getAttributeSet()
|
D | TextViewTest.java | 30 import android.cts.util.WidgetTestUtils; 2507 WidgetTestUtils.assertEquals(getBitmap(R.drawable.start), 2510 WidgetTestUtils.assertEquals(getBitmap(R.drawable.pass), 2513 WidgetTestUtils.assertEquals(getBitmap(R.drawable.failed), 4205 WidgetTestUtils.assertEquals(getBitmap(R.drawable.icon_blue), in testDrawableResolution() 4207 WidgetTestUtils.assertEquals(getBitmap(R.drawable.icon_red), in testDrawableResolution() 4209 WidgetTestUtils.assertEquals(getBitmap(R.drawable.icon_green), in testDrawableResolution() 4211 WidgetTestUtils.assertEquals(getBitmap(R.drawable.icon_yellow), in testDrawableResolution() 4218 WidgetTestUtils.assertEquals(getBitmap(R.drawable.icon_blue), in testDrawableResolution() 4220 WidgetTestUtils.assertEquals(getBitmap(R.drawable.icon_red), in testDrawableResolution() [all …]
|
D | TabHostTest.java | 25 import android.cts.util.WidgetTestUtils; 204 WidgetTestUtils.assertScaledPixels(1, tabHost.getTabWidget().getPaddingLeft(), in testGetTabWidget() 206 WidgetTestUtils.assertScaledPixels(1, tabHost.getTabWidget().getPaddingRight(), in testGetTabWidget() 208 WidgetTestUtils.assertScaledPixels(4, tabHost.getTabWidget().getPaddingTop(), in testGetTabWidget()
|
D | SimpleCursorAdapterTest.java | 23 import android.cts.util.WidgetTestUtils; 195 WidgetTestUtils.assertEquals(d.getBitmap(), in testSetViewImage() 224 … Bitmap testBitmap = WidgetTestUtils.getUnscaledAndDitheredBitmap(mContext.getResources(), in testSetViewImage() 226 WidgetTestUtils.assertEquals(testBitmap, actualBitmap); in testSetViewImage()
|
D | FrameLayoutTest.java | 20 import android.cts.util.WidgetTestUtils; 202 WidgetTestUtils.assertScaledPixels(expected, actual, getActivity()); in compareScaledPixels() 316 WidgetTestUtils.beginDocument(parser, "LinearLayout"); in getAttributeSet()
|
D | GalleryTest.java | 29 import android.cts.util.WidgetTestUtils; 172 WidgetTestUtils.beginDocument(parser, "LinearLayout"); in testGenerateLayoutParams()
|
D | HorizontalScrollViewTest.java | 27 import android.cts.util.WidgetTestUtils; 518 final int velocityX = WidgetTestUtils.convertDipToPixels(getActivity(), 2000);
|
D | AbsListViewTest.java | 28 import android.cts.util.WidgetTestUtils; 94 WidgetTestUtils.beginDocument(parser, "LinearLayout"); in setUp()
|
/cts/tests/tests/graphics/src/android/graphics/cts/ |
D | MovieTest.java | 27 import android.cts.util.WidgetTestUtils; 146 int scaledHeight = WidgetTestUtils.convertDipToPixels(getActivity(), mMovie.height()); in testGetMovieProperties() 150 int scaledWidth = WidgetTestUtils.convertDipToPixels(getActivity(), mMovie.width()); in testGetMovieProperties()
|
D | BitmapTest.java | 22 import android.cts.util.WidgetTestUtils; 111 WidgetTestUtils.assertEquals(mBitmap, bitmap); in testCopy()
|
/cts/tests/tests/text/src/android/text/style/cts/ |
D | ImageSpanTest.java | 23 import android.cts.util.WidgetTestUtils; 96 WidgetTestUtils.assertEquals(bitmapDrawable.getBitmap(), resultDrawable.getBitmap()); in testGetDrawable()
|
/cts/tests/tests/content/src/android/content/pm/cts/ |
D | ComponentInfoTest.java | 23 import android.cts.util.WidgetTestUtils; 82 WidgetTestUtils.assertEquals(((BitmapDrawable) d).getBitmap(), in testLoadIcon() 88 WidgetTestUtils.assertEquals(((BitmapDrawable) d).getBitmap(), in testLoadIcon()
|
/cts/tests/tests/text/src/android/text/method/cts/ |
D | ScrollingMovementMethodTest.java | 21 import android.cts.util.WidgetTestUtils; 97 int width = WidgetTestUtils.convertDipToPixels(getActivity(), LITTLE_SPACE); in testOnTouchEventHorizontalMotion() 302 int width = WidgetTestUtils.convertDipToPixels(getActivity(), LITTLE_SPACE); 417 int width = WidgetTestUtils.convertDipToPixels(getActivity(), LITTLE_SPACE); 683 int height = WidgetTestUtils.convertDipToPixels(getActivity(), LITTLE_SPACE); 741 int width = WidgetTestUtils.convertDipToPixels(getActivity(), LITTLE_SPACE); in testHorizontalMovement()
|
/cts/libs/deviceutil/src/android/cts/util/ |
D | WidgetTestUtils.java | 34 public class WidgetTestUtils { class
|
/cts/tests/tests/view/src/android/view/cts/ |
D | MenuInflaterTest.java | 23 import android.cts.util.WidgetTestUtils; 227 WidgetTestUtils.assertEquals(expected, b.getBitmap()); in assertIconUsingDrawableRes()
|